summaryrefslogtreecommitdiffstats
path: root/clojure
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-07-01 10:32:40 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-07-01 10:32:40 +0700
commit8efc4965f5b9c1a497d1f59b16eba88b3ce07191 (patch)
treec10cccf668d43173231d532aed1123206c3b89f3 /clojure
parentf13ae440d4cf68b07fca42b5c8bb6181ebb76e6e (diff)
clucy: review done
Diffstat (limited to 'clojure')
-rw-r--r--clojure/clucy.spec91
1 files changed, 0 insertions, 91 deletions
diff --git a/clojure/clucy.spec b/clojure/clucy.spec
deleted file mode 100644
index be1a3e2..0000000
--- a/clojure/clucy.spec
+++ /dev/null
@@ -1,91 +0,0 @@
-%global vendor weavejester
-%global groupId clucy
-%global artifactId clucy
-%global commit_hash 103a939
-
-Name: %{artifactId}
-Version: 0.3.0
-Release: 2%{?dist}
-Summary: Clojure interface to Lucene
-
-License: EPL
-URL: https://github.com/%{vendor}/%{name}/
-# wget --content-disposition %%{url}/tarball/%%{version}
-Source0: %{vendor}-%{name}-%{version}-0-g%{commit_hash}.tar.gz
-# generated using 'lein multi pom --with 1.2-lucene2' using Leiningen 1.7.1
-# as we don't have leiningen packaged yet
-# (Leiningen 2.x is needed as project.clj uses new-style profiles
-# not supported by Leiningen 1.x)
-Source1: %{name}-pom.xml
-# Manifest file for our JAR generation
-Source2: %{name}-manifest.txt
-
-BuildArch: noarch
-
-BuildRequires: jpackage-utils
-
-BuildRequires: java-devel
-
-Requires: jpackage-utils
-%if 0%{?rhel}
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
-%endif
-
-Requires: clojure-compat
-Requires: java
-Requires: lucene-contrib
-
-
-%description
-Clucy is a Clojure interface to Lucene.
-
-
-%prep
-%setup -q -n %{vendor}-%{name}-ea39643
-cp -p %{SOURCE1} pom.xml
-cp -p %{SOURCE2} manifest.txt
-
-
-%build
-jar cmf manifest.txt %{name}.jar -C src .
-
-
-%install
-install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
-install -pm 644 %{name}.jar \
- $RPM_BUILD_ROOT/%{_javadir}/%{name}.jar
-
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
-install -pm 644 pom.xml \
- $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom
-
-%if 0%{?add_maven_depmap:1}
-%add_maven_depmap JPP-%{name}.pom %{name}.jar
-%else
-%add_to_maven_depmap %{groupId} %{artifactId} %{version} JPP %{name}.jar
-%endif
-
-
-%if 0%{?rhel}
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-%endif
-
-
-%files
-%doc LICENSE.html README.md ChangeLog
-%{_mavendepmapfragdir}/%{name}
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_javadir}/%{name}.jar
-
-
-%changelog
-* Mon Jun 11 2012 Michel Salim <salimma@fedoraproject.org> - 0.3.0-2
-- Adopt packaging scriptlet from upstream's Debian branch
-
-* Mon Jun 11 2012 Michel Salim <salimma@fedoraproject.org> - 0.3.0-1
-- Initial package