59bb078
%global base_name       compress
59bb078
%global short_name      commons-%{base_name}
66235de
6a6c141
Name:           apache-%{short_name}
6a6c141
Version:        1.4.1
Stanislav Ochotnicky e4aa458
Release:        5%{?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
6a6c141
BuildRequires:  javapackages-tools >= 0.10.0
6a6c141
BuildRequires:  apache-commons-parent
6a6c141
BuildRequires:  maven-surefire-provider-junit
6a6c141
BuildRequires:  xz-java
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
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