summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-08-20 16:16:24 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-08-20 16:16:24 +0700
commit70c89f0c418b9a17898dc2dcecc7e2732b323316 (patch)
tree00aa1dc40c0406e58441cac7b5a84633bf10ee2a
parentf45749bb5267e848d0960bd00a87d76f2da9e011 (diff)
downloadspecs-70c89f0c418b9a17898dc2dcecc7e2732b323316.tar.gz
specs-70c89f0c418b9a17898dc2dcecc7e2732b323316.tar.xz
specs-70c89f0c418b9a17898dc2dcecc7e2732b323316.zip
robert-hooke: done
-rw-r--r--clojure/robert-hooke.spec99
1 files changed, 0 insertions, 99 deletions
diff --git a/clojure/robert-hooke.spec b/clojure/robert-hooke.spec
deleted file mode 100644
index f25c4a9..0000000
--- a/clojure/robert-hooke.spec
+++ /dev/null
@@ -1,99 +0,0 @@
-%global vendor technomancy
-%global groupId robert
-%global artifactId hooke
-%global commit_hash 30d2f8f
-
-Name: %{groupId}-%{artifactId}
-Version: 1.2.0
-Release: 2%{?dist}
-Summary: Extension mechanism for Clojure functions
-
-# upstream asked to include license text:
-# https://github.com/technomancy/robert-hooke/issues/9
-License: EPL
-URL: https://github.com/%{vendor}/%{name}/
-# wget --content-disposition %%{url}/tarball/%%{commit_hash}
-# upstream has not pushed post-1.1.2 tags yet, thus the odd source filename:
-# https://github.com/technomancy/robert-hooke/issues/8
-Source0: %{vendor}-%{name}-1.1.2-18-g%{commit_hash}.tar.gz
-# generated using 'lein pom' using Leiningen 2.0.0-preview6
-# as we don't have leiningen 2.x packaged yet
-# (Leiningen 2.x is needed as project.clj uses new-style profiles
-# not supported by Leiningen 1.x)
-Source1: %{name}-pom.xml
-
-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
-Requires: java
-
-%description
-Robert Hooke provides a flexible, composable mechanism by which you
-can extend behavior of functions after they've been defined. It's
-named after Robert Hooke FRS, a founding member of the Royal Society
-who made many important discoveries in the fields of Gravitation,
-Microscopy, and Astronomy.
-
-
-%prep
-%setup -q -n %{vendor}-%{name}-%{commit_hash}
-cp -p %{SOURCE1} pom.xml
-
-
-%build
-jar cf %{name}.jar -C src .
-
-
-%install
-install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
-install -pm 644 %{name}.jar \
- $RPM_BUILD_ROOT/%{_javadir}/%{name}.jar
-pushd $RPM_BUILD_ROOT/%{_javadir}
-# so developers can find this by the upstream name
-ln -s %{name}.jar %{artifactId}.jar
-popd
-
-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 README.md Changelog
-%{_mavendepmapfragdir}/%{name}
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_javadir}/%{name}.jar
-%{_javadir}/%{artifactId}.jar
-
-
-%changelog
-* Mon Jun 11 2012 Michel Salim <salimma@fedoraproject.org> - 1.2.0-2
-- Adopt packaging scriptlet from upstream's Debian branch
-
-* Mon Jun 11 2012 Michel Salim <salimma@fedoraproject.org> - 1.2.0-1
-- Initial package