Blame SPECS/apache-commons-cli.spec

b865bf
%global base_name       cli
b865bf
%global short_name      commons-%{base_name}
b865bf
b865bf
Name:             apache-%{short_name}
b865bf
Version:          1.2
b865bf
Release:          13%{?dist}
b865bf
Summary:          Command Line Interface Library for Java
b865bf
Group:            Development/Libraries
b865bf
License:          ASL 2.0
b865bf
URL:              http://commons.apache.org/%{base_name}/
b865bf
Source0:          http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
b865bf
BuildArch:        noarch
b865bf
b865bf
BuildRequires:    java-devel >= 1:1.6.0
b865bf
BuildRequires:    jpackage-utils
b865bf
BuildRequires:    maven-local
b865bf
BuildRequires:    apache-commons-parent >= 26-7
b865bf
b865bf
# This should go away with F-17
b865bf
Provides:         jakarta-%{short_name} = 0:%{version}-%{release}
b865bf
Obsoletes:        jakarta-%{short_name} < 0:1.1-6
b865bf
b865bf
%description
b865bf
The CLI library provides a simple and easy to use API for working with the 
b865bf
command line arguments and options.
b865bf
b865bf
%package javadoc
b865bf
Summary:          Javadoc for %{name}
b865bf
Group:            Documentation
b865bf
# This should go away with F-17
b865bf
Obsoletes:        jakarta-%{short_name}-javadoc < 0:1.1-6
b865bf
b865bf
%description javadoc
b865bf
This package contains the API documentation for %{name}.
b865bf
b865bf
%prep
b865bf
%setup -q -n %{short_name}-%{version}-src
b865bf
b865bf
# Compatibility links
b865bf
%mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}"
b865bf
%mvn_file :commons-cli %{short_name} %{name}
b865bf
b865bf
%build
b865bf
%mvn_build
b865bf
b865bf
%install
b865bf
%mvn_install
b865bf
b865bf
%files -f .mfiles
b865bf
%doc LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt
b865bf
b865bf
%files javadoc -f .mfiles-javadoc
b865bf
%doc LICENSE.txt NOTICE.txt
b865bf
b865bf
b865bf
%changelog
b865bf
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2-13
b865bf
- Mass rebuild 2013-12-27
b865bf
b865bf
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-12
b865bf
- Add BuildRequires on apache-commons-parent >= 26-7
b865bf
b865bf
* Thu Aug 22 2013 Michal Srb <msrb@redhat.com> - 1.2-11
b865bf
- Migrate away from mvn-rpmbuild (Resolves: #997473)
b865bf
b865bf
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-10
b865bf
- Rebuild to regenerate API documentation
b865bf
- Resolves: CVE-2013-1571
b865bf
b865bf
* Tue Feb 19 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-9
b865bf
- Add missing maven-local BuildRequires
b865bf
b865bf
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
b865bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b865bf
b865bf
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
b865bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b865bf
b865bf
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
b865bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b865bf
b865bf
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2-5
b865bf
- Build with maven 3.
b865bf
- Adapt to current guidelines.
b865bf
b865bf
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
b865bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b865bf
b865bf
* Tue Nov 9 2010 Chris Spike <chris.spike@arcor.de> 1.2-3
b865bf
- Removed maven* BRs in favour of apache-commons-parent
b865bf
- Added deprecated groupId to depmap for compatibility reasons
b865bf
b865bf
* Mon Oct 18 2010 Chris Spike <chris.spike@arcor.de> 1.2-2
b865bf
- Removed Epoch
b865bf
b865bf
* Sun Oct 3 2010 Chris Spike <chris.spike@arcor.de> 1.2-1
b865bf
- Rename and rebase from jakarta-commons-cli