7464dc
%global base_name       compress
7464dc
%global short_name      commons-%{base_name}
7464dc
7464dc
Name:           apache-%{short_name}
7464dc
Version:        1.5
0e6d53
Release:        4%{?dist}
7464dc
Summary:        Java API for working with compressed files and archivers
7464dc
Group:          Development/Libraries
7464dc
License:        ASL 2.0
7464dc
URL:            http://commons.apache.org/%{base_name}/
7464dc
Source0:        http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
7464dc
BuildArch:      noarch
7464dc
7464dc
BuildRequires:  maven-local
7464dc
BuildRequires:  javapackages-tools >= 0.10.0
7464dc
BuildRequires:  apache-commons-parent >= 26-7
7464dc
BuildRequires:  maven-surefire-provider-junit
7464dc
BuildRequires:  xz-java
7464dc
7464dc
Provides:       jakarta-%{short_name} = %{version}-%{release}
7464dc
Obsoletes:      jakarta-%{short_name} < 1.0-2
7464dc
7464dc
%description
7464dc
The Apache Commons Compress library defines an API for working with
7464dc
ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200 and bzip2 files.
7464dc
7464dc
7464dc
%package javadoc
7464dc
Summary:        API documentation for %{name}
7464dc
Group:          Documentation
7464dc
Provides:       jakarta-%{short_name}-javadoc = %{version}-%{release}
7464dc
Obsoletes:      jakarta-%{short_name}-javadoc < 1.0-2
7464dc
7464dc
%description javadoc
7464dc
This package provides %{summary}.
7464dc
7464dc
%prep
7464dc
%setup -q -n %{short_name}-%{version}-src
7464dc
7464dc
%build
7464dc
%mvn_file  : %{short_name} %{name}
7464dc
%mvn_alias : commons:
7464dc
%mvn_build
7464dc
7464dc
%install
7464dc
%mvn_install
7464dc
7464dc
%files -f .mfiles
7464dc
%doc LICENSE.txt NOTICE.txt
7464dc
7464dc
%files javadoc -f .mfiles-javadoc
7464dc
%doc LICENSE.txt NOTICE.txt
7464dc
7464dc
7464dc
%changelog
0e6d53
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.5-4
0e6d53
- Mass rebuild 2013-12-27
0e6d53
7464dc
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-3
7464dc
- Add BuildRequires on apache-commons-parent >= 26-7
7464dc
7464dc
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-2
7464dc
- Rebuild to regenerate API documentation
7464dc
- Resolves: CVE-2013-1571
7464dc
7464dc
* Thu Mar 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
7464dc
- Update to upstream version 1.5
7464dc
7464dc
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-6
7464dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7464dc
7464dc
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4.1-5
7464dc
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
7464dc
- Replace maven BuildRequires with maven-local
7464dc
7464dc
* Wed Jan  9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.1-4
7464dc
- Bump release tag
7464dc
7464dc
* Tue Jan  8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.1-3
7464dc
- Build with xmvn
7464dc
- Update to current packaging guidelines
7464dc
7464dc
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
7464dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7464dc
7464dc
* Thu May 24 2012 Sandro Mathys <red at fedoraproject.org> - 1.4.1-1
7464dc
- Updated to 1.4.1
7464dc
- Fixes CVE-2012-2098 Low: Denial of Service
7464dc
7464dc
* Fri Apr 27 2012 Sandro Mathys <red at fedoraproject.org> - 1.4-1
7464dc
- Updated to 1.4
7464dc
7464dc
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
7464dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7464dc
7464dc
* Tue Nov 01 2011 Sandro Mathys <red at fedoraproject.org> - 1.3-1
7464dc
- Updated to 1.3
7464dc
7464dc
* Thu Aug 04 2011 Sandro Mathys <red at fedoraproject.org> - 1.2-2
7464dc
- Fixing mistake where different versions of the spec file got mixed up
7464dc
7464dc
* Thu Aug 04 2011 Sandro Mathys <red at fedoraproject.org> - 1.2-1
7464dc
- Updated to 1.2
7464dc
7464dc
* Sat Apr 16 2011 Chris Spike <spike@fedoraproject.org> 1.1-1
7464dc
- Updated to 1.1
7464dc
- Adapted to current java packaging guidelines
7464dc
7464dc
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
7464dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7464dc
7464dc
* Sun Jul 11 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-8
7464dc
- Fixed the Maven depmap line by replacing org.apache.maven by org.apache.commons
7464dc
7464dc
* Mon May 31 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-7
7464dc
- Fixed regression with missing Provides/Obsoletes for javadocs
7464dc
- Fixed changelog format
7464dc
7464dc
* Sun May 23 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-6
7464dc
- Fixed Maven depmap to use commons-compress
7464dc
7464dc
* Thu May 13 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-5
7464dc
- Added missing Provides/Obsoletes for javadocs 
7464dc
7464dc
* Mon May 10 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-4
7464dc
- Cleared some problems after the review
7464dc
7464dc
* Thu May 06 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-3
7464dc
- Now using maven2 (mvn-jpp) instead of directly calling javac & co
7464dc
7464dc
* Tue May 04 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-2
7464dc
- Renamed from jakarta-commons-compress