[RPM (6.0)] [DIST generic] apache-commons-compress-1.4.1-1.jpp6

Ralph Apel <[email protected]> Wed, 22 Aug 2012 07:16:52 +0200
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : apache-commons-compress      Relocations: (not relocatable)
Version     : 1.4.1                             Vendor: JPackage Project
Release     : 1.jpp6                        Build Date: Tue 21 Aug 2012 11:47:56 PM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 3262453                          License: ASL 2.0
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://commons.apache.org/compress/
Summary     : Apache Commons Compress
Description :
Commons Compress is a component that contains
Tar, Zip and BZip2 packages.

---------------
Ralph Apel <[email protected]> 0:1.4.1-1
- 1.4.1
---------------
apache-commons-compress.src: W: source-or-patch-not-bzipped commons-compress-1.4.1-src.tgz
apache-commons-compress.src: W: no-signature
apache-commons-compress.src: W: invalid-license ASL 2.0
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

---------------
Index: apache-commons-compress.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/apache-commons-compress/apache-commons-compress.spec,v
retrieving revision 1.6
diff -u -r1.6 apache-commons-compress.spec
--- apache-commons-compress.spec	7 Mar 2012 10:41:31 -0000	1.6
+++ apache-commons-compress.spec	22 Aug 2012 05:16:51 -0000
@@ -34,35 +34,26 @@
 %define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
 
 %bcond_without maven
-%bcond_with gcj_support
-%bcond_without repolib
-
-%define repodir %{_javadir}/repository.jboss.com/apache-%{base_name}/%{version}-brew
-%define repodirlib %{repodir}/lib
-%define repodirres %{repodir}/resources
-%define repodirsrc %{repodir}/src
-
-%if %with gcj_support
-%define gcj_support 1
-%else
-%define gcj_support 0
-%endif
 
 %define section   free
 %define base_name compress
 %define short_name commons-%{base_name}
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           apache-%{short_name}
-Version:        1.3
+Version:        1.4.1
 Release:        1%{?dist}
 Epoch:          0
 Summary:        Apache Commons Compress
 License:        ASL 2.0
 Group:          Development/Libraries/Java
 URL:            http://commons.apache.org/compress/
-Source0:        commons-compress-1.3-src.tgz
-# svn export http://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS_1.3/ commons-compress-1.3-src
-# tar czf commons-compress-1.3-src.tgz commons-compress-1.3-src/
+Source0:        commons-compress-1.4.1-src.tgz
+# svn export http://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS_1.4.1/ commons-compress-1.4.1-src
+# tar czf commons-compress-1.4.1-src.tgz commons-compress-1.4.1-src/
 Source1:        %{name}-settings.xml
 Source2:        %{name}-jpp-depmap.xml
 Source3:        %{name}-component-info.xml
@@ -76,6 +67,7 @@
 BuildRequires:  ant >= 0:1.7.1
 BuildRequires:  junit
 BuildRequires:  apache-commons-io
+BuildRequires:  tukaani-xz
 %if %with maven
 BuildRequires:  apache-commons-parent >= 0:12
 BuildRequires:  maven2 >= 0:2.0.8
@@ -91,15 +83,12 @@
 BuildRequires:  maven2-plugin-resources
 BuildRequires:  commons-build-plugin
 %endif
-%if %{gcj_support}
-BuildRequires:  java-gcj-compat-devel
-%else
 BuildArch:      noarch
-%endif
 Requires(post): jpackage-utils >= 0:1.7.5
 Requires(postun): jpackage-utils >= 0:1.7.5
 Requires:       java >= 0:1.6.0
 Requires:       apache-commons-io
+Requires:       tukaani-xz
 Provides:       jakarta-%{short_name} = %{epoch}:%{version}-%{release}
 Obsoletes:      jakarta-%{short_name} < %{epoch}:%{version}-%{release}
 Provides:       %{short_name} = %{epoch}:%{version}-%{release}
@@ -121,21 +110,6 @@
 %description javadoc
 %{summary}.
 
-%if %with repolib
-%package repolib
-Summary:        Artifacts to be uploaded to a repository library
-Group:          Development/Libraries/Java
-Provides:       jakarta-%{short_name}-repolib = %{epoch}:%{version}-%{release}
-Obsoletes:      jakarta-%{short_name}-repolib < %{epoch}:%{version}-%{release}
-Provides:       %{short_name}-repolib = %{epoch}:%{version}-%{release}
-Obsoletes:      %{short_name}-repolib < %{epoch}:%{version}-%{release}
-
-%description repolib
-Artifacts to be uploaded to a repository library.
-This package is not meant to be installed but so its contents
-can be extracted through rpm2cpio.
-%endif
-
 %prep
 %setup -q -n %{short_name}-%{version}-src
 %{__perl} -pi \
@@ -213,45 +187,14 @@
 # FIXME: (dwalluck): breaks --short-circuit
 rm -rf target/site/apidocs
 
-%if %with repolib
-%{__mkdir_p} %{buildroot}%{repodir}
-%{__mkdir_p} %{buildroot}%{repodirlib}
-%{__install} -p -m 0644 %{SOURCE3} %{buildroot}%{repodir}/component-info.xml
-tag=`/bin/echo %{name}-%{version}-%{release} | %{__sed} 's|\.|_|g'`
-%{__sed} -i "s/@TAG@/$tag/g" %{buildroot}%{repodir}/component-info.xml
-%{__sed} -i "s/@VERSION@/%{version}-brew/g" %{buildroot}%{repodir}/component-info.xml
-%{__mkdir_p} %{buildroot}%{repodirsrc}
-#%{__install} -m 0644 %{PATCH0} %{buildroot}%{repodirsrc}/
-%{__install} -m 0644 %{SOURCE0} %{buildroot}%{repodirsrc}/
-%{__install} -m 0644 %{SOURCE1} %{buildroot}%{repodirsrc}/
-%{__install} -m 0644 %{SOURCE2} %{buildroot}%{repodirsrc}/
-%{__cp} -p %{buildroot}%{_javadir}/%{name}-%{version}.jar %{buildroot}%{repodirlib}/%{short_name}.jar
-%endif
-
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %files
 %defattr(0644,root,root,0755)
@@ -259,22 +202,15 @@
 %{_javadir}/*.jar
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}/*
-%if %{gcj_support}
-%dir %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
-%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)
 %{_javadocdir}/*
 
-%if %with repolib
-%files repolib
-%defattr(0644,root,root,0755)
-%{_javadir}/repository.jboss.com
-%endif
-
 %changelog
+* Tue Aug 21 2012 Ralph Apel <[email protected]> 0:1.4.1-1
+- 1.4.1
+
 * Mon Feb 13 2012 Ralph Apel <[email protected]> 0:1.3-1
 - 1.3