Пакет extra166y: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: extra166y Version: 1.7.0 Release: alt1_10jpp8 Summary: Concurrency JSR-166 - Collections supporting parallel operations License: Public Domain URL: http://gee.cs.oswego.edu/dl/concurrency-interest # cvs -d :pserver:anonymous@gee.cs.oswego.edu/home/jsr166/jsr166 login # cvs -d :pserver:anonymous@gee.cs.oswego.edu/home/jsr166/jsr166 export -r release-1_7_0 jsr166 # available in java 7 rt.jar # rm -r jsr166/src/main/java # rm -r jsr166/src/jsr166x jsr166/.cvsignore # rm -r jsr166/src/jsr166y # rm -r jsr166/src/loops # rm -r jsr166/src/test/jtreg # rm -r jsr166/src/test/loops # rm -r jsr166/src/test/tck # find jsr166 -type f -name "*.jar" -delete # find jsr166 -type f -name "*.class" -delete # tar cJf jsr166-1.7.0.tar.xz jsr166 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 BuildRequires: aqute-bnd >= 3.2.0 BuildRequires: javapackages-local BuildRequires: junit BuildArch: noarch Source44: import.info %description Implementation of Java collections supporting parallel operations using Fork-Join concurrent framework provided by JSR-166. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n jsr166 %patch0 -p0 # Use JVM jsr166 for s in $(find . -name "*.java");do sed -i "s|jsr166y.|java.util.concurrent.|" ${s} done sed -i '/configure-compiler, jsr166ycompile/d' build.xml sed -i '/<compilerarg line="${build.args}"/d' build.xml cp -p %{SOURCE2} extra166y.bnd sed -i "s|@VERSION@|%{version}|" extra166y.bnd %build %mvn_file org.codehaus.jsr166-mirror:%{name} %{name} export CLASSPATH=$(build-classpath junit) ant extra166yjar extra166ydist-docs %mvn_artifact %{SOURCE1} build/%{name}lib/%{name}.jar %install %mvn_install -J dist/%{name}docs %files -f .mfiles %doc src/main/intro.html src/main/readme %files javadoc -f .mfiles-javadoc %doc src/main/intro.html src/main/readme %changelog * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1_10jpp8 - fc29 update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1_9jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1_8jpp8 - fc27 update * Thu Nov 02 2017 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1_7jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1_5jpp8 - new fc release * Mon Feb 01 2016 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1_4jpp8 - new version * Sat Jan 30 2016 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt0.1jpp - bootstrap pack of jars created with jppbootstrap script - temporary package to satisfy circular dependencies |