apache-commons-compress/apache-commons-compress.spec

113 lines
3.6 KiB
RPMSpec
Raw Normal View History

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