59bb078
%global base_name       compress
59bb078
%global short_name      commons-%{base_name}
66235de
6a6c141
Name:           apache-%{short_name}
9a03feb
Version:        1.8.1
ab4def7
Release:        2%{?dist}
6a6c141
Summary:        Java API for working with compressed files and archivers
6a6c141
Group:          Development/Libraries
6a6c141
License:        ASL 2.0
6a6c141
URL:            http://commons.apache.org/%{base_name}/
6a6c141
Source0:        http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
6a6c141
BuildArch:      noarch
6a6c141
Stanislav Ochotnicky b62abb0
BuildRequires:  maven-local
30ba1fb
BuildRequires:  mvn(junit:junit)
30ba1fb
BuildRequires:  mvn(org.apache.commons:commons-parent)
30ba1fb
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
30ba1fb
BuildRequires:  mvn(org.apache.maven.plugins:maven-assembly-plugin)
30ba1fb
BuildRequires:  mvn(org.tukaani:xz)
6a6c141
6a6c141
Provides:       jakarta-%{short_name} = %{version}-%{release}
6a6c141
Obsoletes:      jakarta-%{short_name} < 1.0-2
66235de
66235de
%description
6a6c141
The Apache Commons Compress library defines an API for working with
6a6c141
ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200 and bzip2 files.
66235de
66235de
66235de
%package javadoc
6a6c141
Summary:        API documentation for %{name}
66235de
Group:          Documentation
6a6c141
Provides:       jakarta-%{short_name}-javadoc = %{version}-%{release}
6a6c141
Obsoletes:      jakarta-%{short_name}-javadoc < 1.0-2
ee7e540
66235de
%description javadoc
6a6c141
This package provides %{summary}.
66235de
66235de
%prep
59bb078
%setup -q -n %{short_name}-%{version}-src
66235de
66235de
%build
6a6c141
%mvn_file  : %{short_name} %{name}
6a6c141
%mvn_alias : commons:
6a6c141
%mvn_build
66235de
66235de
%install
6a6c141
%mvn_install
66235de
6a6c141
%files -f .mfiles
66235de
%doc LICENSE.txt NOTICE.txt
66235de
6a6c141
%files javadoc -f .mfiles-javadoc
59bb078
%doc LICENSE.txt NOTICE.txt
b545e8c
66235de
66235de
%changelog
ab4def7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
ab4def7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ab4def7
9a03feb
* Fri May 23 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.1-1
9a03feb
- Update to upstream version 1.8.1
9a03feb
30e4ab7
* Mon Mar 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-2
30e4ab7
- Remove dependency on maven-scm-publish-plugin
30e4ab7
30ba1fb
* Fri Mar 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-1
30ba1fb
- Update to upstream version 1.8
30ba1fb
Stanislav Ochotnicky 4733620
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-2
Stanislav Ochotnicky 4733620
- Use Requires: java-headless rebuild (#1067528)
Stanislav Ochotnicky 4733620
826b8f2
* Mon Jan 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-1
826b8f2
- Update to upstream version 1.7
826b8f2
8157200
* Tue Oct 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-1
8157200
- Update to upstream version 1.6
8157200
a53f536
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
a53f536
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a53f536
c2b2516
* Thu Mar 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
c2b2516
- Update to upstream version 1.5
c2b2516
1d96c36
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-6
1d96c36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1d96c36
Stanislav Ochotnicky e4aa458
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4.1-5
Stanislav Ochotnicky e4aa458
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky e4aa458
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky e4aa458
3fb5455
* Wed Jan  9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.1-4
3fb5455
- Bump release tag
3fb5455
6a6c141
* Tue Jan  8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.1-3
6a6c141
- Build with xmvn
6a6c141
- Update to current packaging guidelines
6a6c141
c6b8423
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
c6b8423
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c6b8423
82bf4a7
* Thu May 24 2012 Sandro Mathys <red at fedoraproject.org> - 1.4.1-1
82bf4a7
- Updated to 1.4.1
82bf4a7
- Fixes CVE-2012-2098 Low: Denial of Service
82bf4a7
5ec5f72
* Fri Apr 27 2012 Sandro Mathys <red at fedoraproject.org> - 1.4-1
5ec5f72
- Updated to 1.4
5ec5f72
768322d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
768322d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
768322d
6e53eaf
* Tue Nov 01 2011 Sandro Mathys <red at fedoraproject.org> - 1.3-1
6e53eaf
- Updated to 1.3
6e53eaf
59bb078
* Thu Aug 04 2011 Sandro Mathys <red at fedoraproject.org> - 1.2-2
59bb078
- Fixing mistake where different versions of the spec file got mixed up
3e5dd05
59bb078
* Thu Aug 04 2011 Sandro Mathys <red at fedoraproject.org> - 1.2-1
59bb078
- Updated to 1.2
59bb078
59bb078
* Sat Apr 16 2011 Chris Spike <spike@fedoraproject.org> 1.1-1
59bb078
- Updated to 1.1
59bb078
- Adapted to current java packaging guidelines
59bb078
59bb078
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
59bb078
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a21f23f
df04eec
* Sun Jul 11 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-8
df04eec
- Fixed the Maven depmap line by replacing org.apache.maven by org.apache.commons
df04eec
ee7e540
* Mon May 31 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-7
ee7e540
- Fixed regression with missing Provides/Obsoletes for javadocs
ee7e540
- Fixed changelog format
ee7e540
9123243
* Sun May 23 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-6
ee7e540
- Fixed Maven depmap to use commons-compress
b0b6e5b
9123243
* Thu May 13 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-5
9123243
- Added missing Provides/Obsoletes for javadocs 
9123243
66235de
* Mon May 10 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-4
ee7e540
- Cleared some problems after the review
66235de
66235de
* Thu May 06 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-3
66235de
- Now using maven2 (mvn-jpp) instead of directly calling javac & co
66235de
66235de
* Tue May 04 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-2
66235de
- Renamed from jakarta-commons-compress