OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-compress?expand=0&rev=35
This commit is contained in:
parent
18414a46d5
commit
da2cf59d9a
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<property name="commons.osgi.dynamicImport" value=""/>
|
<property name="commons.osgi.dynamicImport" value=""/>
|
||||||
<property name="commons.osgi.excludeDependencies" value="true"/>
|
<property name="commons.osgi.excludeDependencies" value="true"/>
|
||||||
<property name="commons.osgi.export" value="org.apache.commons.compress.archivers.ar;version="${project.version}",org.apache.commons.compress.archivers.arj;version="${project.version}",org.apache.commons.compress.archivers.cpio;version="${project.version}",org.apache.commons.compress.archivers.dump;version="${project.version}",org.apache.commons.compress.archivers.examples;version="${project.version}",org.apache.commons.compress.archivers.jar;version="${project.version}",org.apache.commons.compress.archivers.sevenz;version="${project.version}",org.apache.commons.compress.archivers.tar;version="${project.version}",org.apache.commons.compress.archivers.zip;version="${project.version}",org.apache.commons.compress.archivers;version="${project.version}",org.apache.commons.compress.changes;version="${project.version}",org.apache.commons.compress.compressors.bzip2;version="${project.version}",org.apache.commons.compress.compressors.deflate64;version="${project.version}",org.apache.commons.compress.compressors.deflate;version="${project.version}",org.apache.commons.compress.compressors.gzip;version="${project.version}",org.apache.commons.compress.compressors.lz4;version="${project.version}",org.apache.commons.compress.compressors.lz77support;version="${project.version}",org.apache.commons.compress.compressors.lzma;version="${project.version}",org.apache.commons.compress.compressors.lzw;version="${project.version}",org.apache.commons.compress.compressors.snappy;version="${project.version}",org.apache.commons.compress.compressors.xz;version="${project.version}",org.apache.commons.compress.compressors.z;version="${project.version}",org.apache.commons.compress.compressors;version="${project.version}",org.apache.commons.compress.java.util.jar;version="${project.version}",org.apache.commons.compress.parallel;version="${project.version}",org.apache.commons.compress.utils;version="${project.version}",org.apache.commons.compress;version="${project.version}""/>
|
<property name="commons.osgi.export" value="org.apache.commons.compress.archivers.ar;version="${build.version}",org.apache.commons.compress.archivers.arj;version="${build.version}",org.apache.commons.compress.archivers.cpio;version="${build.version}",org.apache.commons.compress.archivers.dump;version="${build.version}",org.apache.commons.compress.archivers.examples;version="${build.version}",org.apache.commons.compress.archivers.jar;version="${build.version}",org.apache.commons.compress.archivers.sevenz;version="${build.version}",org.apache.commons.compress.archivers.tar;version="${build.version}",org.apache.commons.compress.archivers.zip;version="${build.version}",org.apache.commons.compress.archivers;version="${build.version}",org.apache.commons.compress.changes;version="${build.version}",org.apache.commons.compress.compressors.bzip2;version="${build.version}",org.apache.commons.compress.compressors.deflate64;version="${build.version}",org.apache.commons.compress.compressors.deflate;version="${build.version}",org.apache.commons.compress.compressors.gzip;version="${build.version}",org.apache.commons.compress.compressors.lz4;version="${build.version}",org.apache.commons.compress.compressors.lz77support;version="${build.version}",org.apache.commons.compress.compressors.lzma;version="${build.version}",org.apache.commons.compress.compressors.lzw;version="${build.version}",org.apache.commons.compress.compressors.snappy;version="${build.version}",org.apache.commons.compress.compressors.xz;version="${build.version}",org.apache.commons.compress.compressors.z;version="${build.version}",org.apache.commons.compress.compressors;version="${build.version}",org.apache.commons.compress.java.util.jar;version="${build.version}",org.apache.commons.compress.parallel;version="${build.version}",org.apache.commons.compress.utils;version="${build.version}",org.apache.commons.compress;version="${build.version}""/>
|
||||||
<property name="commons.osgi.import" value="javax.crypto.spec;resolution:=optional,javax.crypto;resolution:=optional,org.apache.commons.codec.digest;resolution:=optional,org.apache.commons.codec;resolution:=optional,org.apache.commons.io.build;resolution:=optional,org.apache.commons.io.file.attribute;resolution:=optional,org.apache.commons.io.input;resolution:=optional,org.apache.commons.io.output;resolution:=optional,org.apache.commons.io;resolution:=optional,org.apache.commons.lang3.reflect;resolution:=optional,org.apache.commons.lang3;resolution:=optional,org.objectweb.asm;resolution:=optional,org.tukaani.xz;resolution:=optional"/>
|
<property name="commons.osgi.import" value="javax.crypto.spec;resolution:=optional,javax.crypto;resolution:=optional,org.apache.commons.codec.digest;resolution:=optional,org.apache.commons.codec;resolution:=optional,org.apache.commons.io.build;resolution:=optional,org.apache.commons.io.file.attribute;resolution:=optional,org.apache.commons.io.input;resolution:=optional,org.apache.commons.io.output;resolution:=optional,org.apache.commons.io;resolution:=optional,org.apache.commons.lang3.reflect;resolution:=optional,org.apache.commons.lang3;resolution:=optional,org.objectweb.asm;resolution:=optional,org.tukaani.xz;resolution:=optional"/>
|
||||||
<property name="commons.osgi.private" value=""/>
|
<property name="commons.osgi.private" value=""/>
|
||||||
<property name="commons.osgi.symbolicName" value="org.apache.commons.compress"/>
|
<property name="commons.osgi.symbolicName" value="org.apache.commons.compress"/>
|
||||||
@ -113,7 +113,7 @@
|
|||||||
basedir="${build.outputDir}"
|
basedir="${build.outputDir}"
|
||||||
excludes="**/package.html">
|
excludes="**/package.html">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Automatic-Module-Name" value="org.apache.commons.compress"/>
|
<attribute name="Automatic-Module-Name" value="${commons.osgi.symbolicName}"/>
|
||||||
<attribute name="Bundle-SymbolicName" value="${commons.osgi.symbolicName}"/>
|
<attribute name="Bundle-SymbolicName" value="${commons.osgi.symbolicName}"/>
|
||||||
<attribute name="Bundle-Version" value="${build.version}"/>
|
<attribute name="Bundle-Version" value="${build.version}"/>
|
||||||
<attribute name="Export-Package" value="${commons.osgi.export}"/>
|
<attribute name="Export-Package" value="${commons.osgi.export}"/>
|
||||||
|
@ -33,6 +33,7 @@ Patch2: 0003-Remove-Pack200-compressor.patch
|
|||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: commons-codec
|
BuildRequires: commons-codec
|
||||||
BuildRequires: commons-io >= 2.14
|
BuildRequires: commons-io >= 2.14
|
||||||
|
BuildRequires: commons-lang3
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local >= 6
|
BuildRequires: javapackages-local >= 6
|
||||||
@ -85,7 +86,7 @@ rm src/test/java/org/apache/commons/compress/java/util/jar/Pack200Test.java
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib xz-java commons-io commons-codec
|
build-jar-repository -s lib xz-java commons-io commons-codec commons-lang3
|
||||||
%{ant} package javadoc
|
%{ant} package javadoc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user