diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2012-08-20 16:18:37 +0700 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2012-08-20 16:18:37 +0700 |
commit | a17551fa761dc0bae9c124b61948665e744c4512 (patch) | |
tree | c59cb8aa7756dd04238ac3403a15f3fb2958777f | |
parent | 70c89f0c418b9a17898dc2dcecc7e2732b323316 (diff) | |
download | specs-a17551fa761dc0bae9c124b61948665e744c4512.tar.gz specs-a17551fa761dc0bae9c124b61948665e744c4512.tar.xz specs-a17551fa761dc0bae9c124b61948665e744c4512.zip |
clojure-{contrib,maven-plugin}: done
-rw-r--r-- | clojure/clojure-contrib.spec | 105 | ||||
-rw-r--r-- | clojure/clojure-maven-plugin.spec | 112 |
2 files changed, 0 insertions, 217 deletions
diff --git a/clojure/clojure-contrib.spec b/clojure/clojure-contrib.spec deleted file mode 100644 index b204870..0000000 --- a/clojure/clojure-contrib.spec +++ /dev/null @@ -1,105 +0,0 @@ -%global vendor clojure -%global groupId org.clojure -%global artifactId clojure-contrib -%global commit_hash 2a4e52d - -Name: %{artifactId} -Version: 1.2.0 -Release: 1%{?dist} -Summary: User contributions library for Clojure - -License: EPL -URL: http://richhickey.github.com/clojure-contrib/ -# wget --content-disposition \ -# https://github.com/%%{vendor}/%%{name}/tarball/%%{version} -Source0: %{vendor}-%{name}-%{version}-0-g%{commit_hash}.tar.gz - -BuildArch: noarch - -BuildRequires: jpackage-utils - -BuildRequires: java-devel - -BuildRequires: maven - -BuildRequires: maven-compiler-plugin -BuildRequires: maven-install-plugin -BuildRequires: maven-jar-plugin -BuildRequires: maven-javadoc-plugin -BuildRequires: maven-release-plugin -BuildRequires: maven-resources-plugin -BuildRequires: maven-surefire-plugin - -BuildRequires: clojure-compat -BuildRequires: clojure-maven-plugin - -Requires: jpackage-utils -%if 0%{?rhel} -Requires(post): jpackage-utils -Requires(postun): jpackage-utils -%endif - -Requires: clojure-compat -Requires: java - -%description -The user contributions library, clojure-contrib, is a collection of -namespaces implementing features that may be useful to a large part of -the Clojure community. - -It includes namespaces for math utilities, string manipulation, -sequence manipulation, json read and write and many more. - - -%prep -%setup -q -n %{vendor}-%{name}-c9572b3 - - -%build -%if 0%{?rhel} -export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository -mkdir -p $MAVEN_REPO_LOCAL - -mvn-jpp \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ -%else -mvn-rpmbuild \ -%endif - install - - -%install -install -d -m 755 $RPM_BUILD_ROOT%{_javadir} -install -pm 644 target/%{name}-%{version}.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 epl-v10.html README.txt -%{_mavendepmapfragdir}/%{name} -%{_mavenpomdir}/JPP-%{name}.pom -%{_javadir}/%{name}.jar - - -%changelog -* Fri Jun 8 2012 Michel Salim <salimma@fedoraproject.org> - 1.2.0-1 -- Initial package diff --git a/clojure/clojure-maven-plugin.spec b/clojure/clojure-maven-plugin.spec deleted file mode 100644 index d95db66..0000000 --- a/clojure/clojure-maven-plugin.spec +++ /dev/null @@ -1,112 +0,0 @@ -%global vendor talios -%global groupId com.theoryinpractise -%global artifactId clojure-maven-plugin -%global commit_hash 48bc0ce - -Name: %{artifactId} -Version: 1.3.10 -Release: 1%{?dist} -Summary: Clojure plugin for Maven - -License: EPL -URL: https://github.com/%{vendor}/%{name} -# wget --content-disposition %%{url}/tarball/%%{version} -Source0: %{vendor}-%{name}-%{name}-%{version}-0-g%{commit_hash}.tar.gz - -BuildArch: noarch - -BuildRequires: jpackage-utils - -BuildRequires: java-devel - -BuildRequires: maven - -BuildRequires: maven-compiler-plugin -BuildRequires: maven-install-plugin -BuildRequires: maven-jar-plugin -BuildRequires: maven-javadoc-plugin -BuildRequires: maven-release-plugin -BuildRequires: maven-resources-plugin -BuildRequires: maven-surefire-plugin - -BuildRequires: apache-commons-exec -BuildRequires: fest-assert -BuildRequires: maven-invoker-plugin -BuildRequires: maven-surefire-provider-junit4 -BuildRequires: mockito - -Requires: maven -# non-test dependency -Requires: apache-commons-exec - -Requires: jpackage-utils -%if 0%{?rhel} -Requires(post): jpackage-utils -Requires(postun): jpackage-utils -%endif - -Requires: java - -%description -This plugin has been designed to make working with clojure as easy as -possible, when working in a mixed language, enterprise project. - - -%prep -%setup -q -n %{vendor}-%{artifactId}-d03beed - - -%build -# test1.clj does not get discovered if LANG=C -# also, using 'package' instead of 'install' to avoid -# running integration tests - they do installation tests -# for a lot of packages*versions we do not currently have -export LANG=en_US.utf8 -%if 0%{?rhel} -export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository -mkdir -p $MAVEN_REPO_LOCAL - -mvn-jpp \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ -%else -mvn-rpmbuild \ -%endif - package - - -%install -install -d -m 755 $RPM_BUILD_ROOT%{_javadir} -install -pm 644 target/%{name}-%{version}.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 epl-v10.html README.markdown -%{_mavendepmapfragdir}/%{name} -%{_mavenpomdir}/JPP-%{name}.pom -%{_javadir}/%{name}.jar - - -%changelog -* Fri Jun 8 2012 Michel Salim <salimma@fedoraproject.org> - 1.3.10-1 -- Initial package - |