diff --git a/extra166y-1.7.0.pom b/extra166y-1.7.0.pom new file mode 100644 index 0000000..5429ac3 --- /dev/null +++ b/extra166y-1.7.0.pom @@ -0,0 +1,16 @@ + + + 4.0.0 + org.codehaus.jsr166-mirror + extra166y + 1.7.0 + + + junit + junit + 4.8.2 + test + + + diff --git a/extra166y-OSGi.bnd b/extra166y-OSGi.bnd new file mode 100644 index 0000000..6268201 --- /dev/null +++ b/extra166y-OSGi.bnd @@ -0,0 +1,18 @@ +Export-Package: extra166y;uses:="sun.misc";version="@VERSION@" +Implementation-Title: Extra166y +Implementation-Version: @VERSION@ +Built-By: ${user.name} +Specification-Vendor: Doug Lea +Bundle-Name: extra166y +Created-By: ${java.version} (${java.vendor}) +Implementation-Vendor: Doug Lea +Bundle-Vendor: Doug Lea +Bundle-Version: @VERSION@ +Bundle-ManifestVersion: 2 +Specification-Title: Extra166y +Bundle-Description: build +Bundle-DocURL: http://jsr166.codehaus.org +Bundle-SymbolicName: extra166y +Import-Package: extra166y;resolution:=optional;version="@VERSION@",sun.misc;resolution:=optional +Specification-Version: @VERSION@ +Extension-Name: extra166y diff --git a/extra166y-osgi-manifest.patch b/extra166y-osgi-manifest.patch new file mode 100644 index 0000000..f34a636 --- /dev/null +++ b/extra166y-osgi-manifest.patch @@ -0,0 +1,28 @@ +--- build.xml 2010-11-25 13:48:45.000000000 +0100 ++++ build.xml-gil 2014-11-03 19:10:50.375388995 +0100 +@@ -716,7 +716,7 @@ + + + +- ++ + + + +- +- +- +- ++ + + + diff --git a/extra166y.spec b/extra166y.spec new file mode 100644 index 0000000..aa78239 --- /dev/null +++ b/extra166y.spec @@ -0,0 +1,70 @@ +Name: extra166y +Version: 1.7.0 +Release: 11 +Summary: A collection that supports parallel operations +License: Public Domain +URL: http://gee.cs.oswego.edu/dl/concurrency-interest +Source0: jsr166-%{version}.tar.xz +Source1: http://repository.codehaus.org/org/codehaus/jsr166-mirror/%{name}/%{version}/%{name}-%{version}.pom +Source2: extra166y-OSGi.bnd + +Patch0: extra166y-osgi-manifest.patch + +BuildRequires: ant aqute-bnd >= 3.2.0-2 javapackages-local junit + +BuildArch: noarch + +Provides: extra166y-javadoc = %{version}-%{release} +Obsoletes: extra166y-javadoc < %{version}-%{release} + +%description +A collection that supports parallel operations + +%package_help + +%prep +%autosetup -n jsr166 -p0 + +for java_file in $(find . -name "*.java"); +do + sed -i "s|jsr166y.|java.util.concurrent.|" ${java_file} +done + +sed -i '/configure-compiler, jsr166ycompile/d' build.xml +sed -i '/ - 1.7.0-11 +- Package init diff --git a/jsr166-1.7.0.tar.xz b/jsr166-1.7.0.tar.xz new file mode 100644 index 0000000..c4ea684 Binary files /dev/null and b/jsr166-1.7.0.tar.xz differ