diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c243d71 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jsr-311-1.1.1.tgz diff --git a/.jsr-311.metadata b/.jsr-311.metadata new file mode 100644 index 0000000..b4ba833 --- /dev/null +++ b/.jsr-311.metadata @@ -0,0 +1 @@ +8905a5a7432f8ec877efe0534a79047c2df88dc3 SOURCES/jsr-311-1.1.1.tgz diff --git a/SOURCES/jsr-311-pom.patch b/SOURCES/jsr-311-pom.patch new file mode 100644 index 0000000..1c4b2a1 --- /dev/null +++ b/SOURCES/jsr-311-pom.patch @@ -0,0 +1,57 @@ +--- pom.xml 2009-11-09 13:43:21.000000000 +0100 ++++ pom.xml-gil 2012-02-10 17:23:47.881823249 +0100 +@@ -83,7 +83,7 @@ + + + +- ++ + + org.apache.maven.plugins + maven-javadoc-plugin ++ 2.8 + + + validate +@@ -116,6 +117,7 @@ + + org.apache.maven.plugins + maven-source-plugin ++ 2.1.2 + + + attach-sources +@@ -129,6 +131,7 @@ + + org.apache.felix + maven-bundle-plugin ++ 2.0.0 + true + + +@@ -148,13 +151,13 @@ + + + +- ++ + + + + diff --git a/SPECS/jsr-311.spec b/SPECS/jsr-311.spec new file mode 100644 index 0000000..200d49a --- /dev/null +++ b/SPECS/jsr-311.spec @@ -0,0 +1,78 @@ +Name: jsr-311 +Version: 1.1.1 +Release: 6%{?dist} +Summary: JAX-RS: Java API for RESTful Web Services +Group: Development/Libraries +License: CDDL +Url: http://jsr311.java.net + +# svn export https://svn.java.net/svn/jsr311~svn/tags/jsr311-api-1.1.1 jsr-311-1.1.1 +# tar cvzf jsr-311-1.1.1.tgz jsr-311-1.1.1 +Source0: %{name}-%{version}.tgz + +# Patch the POM: +Patch0: %{name}-pom.patch + +BuildRequires: buildnumber-maven-plugin +BuildRequires: junit +BuildRequires: maven-local +BuildRequires: maven-plugin-bundle +BuildRequires: maven-source-plugin + +BuildArch: noarch + + +%description +JAX-RS: Java API for RESTful Web Services + + +%package javadoc +Summary: Javadocs for %{name} + + +%description javadoc +This package contains javadoc for %{name}. + + +%prep +%setup -q +%patch0 + +%mvn_file : %{name} + + +%build +%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 + + +%install +%mvn_install + + +%files -f .mfiles + + +%files javadoc -f .mfiles-javadoc + + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.1.1-6 +- Mass rebuild 2013-12-27 + +* Wed Nov 13 2013 Mikolaj Izdebski - 1.1.1-5 +- Update to current packaging guidelines + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.1.1-3 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Feb 10 2011 Juan Hernandez 1.1.1-1 +- Adapted (mostly copied, in fact) from the corresponding package from Mageia + (http://www.mageia.org) with support from Gil Cattaneo . +