From de034c4d063fd093f66eb2426e18b00175b7afba Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Sep 20 2013 15:29:40 +0000 Subject: import apache-commons-cli-1.2-12.el7.src.rpm --- diff --git a/.apache-commons-cli.metadata b/.apache-commons-cli.metadata new file mode 100644 index 0000000..2ef67ed --- /dev/null +++ b/.apache-commons-cli.metadata @@ -0,0 +1 @@ +0aa042a0e35d96afaffbfb6cdbdad3e16d67fd7c SOURCES/commons-cli-1.2-src.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/apache-commons-cli.spec b/SPECS/apache-commons-cli.spec new file mode 100644 index 0000000..fa4e7d4 --- /dev/null +++ b/SPECS/apache-commons-cli.spec @@ -0,0 +1,94 @@ +%global base_name cli +%global short_name commons-%{base_name} + +Name: apache-%{short_name} +Version: 1.2 +Release: 12%{?dist} +Summary: Command Line Interface Library for Java +Group: Development/Libraries +License: ASL 2.0 +URL: http://commons.apache.org/%{base_name}/ +Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz +BuildArch: noarch + +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: jpackage-utils +BuildRequires: maven-local +BuildRequires: apache-commons-parent >= 26-7 + +# This should go away with F-17 +Provides: jakarta-%{short_name} = 0:%{version}-%{release} +Obsoletes: jakarta-%{short_name} < 0:1.1-6 + +%description +The CLI library provides a simple and easy to use API for working with the +command line arguments and options. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation +# This should go away with F-17 +Obsoletes: jakarta-%{short_name}-javadoc < 0:1.1-6 + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n %{short_name}-%{version}-src + +# Compatibility links +%mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}" +%mvn_file :commons-cli %{short_name} %{name} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt NOTICE.txt + + +%changelog +* Fri Sep 20 2013 Mikolaj Izdebski - 1.2-12 +- Add BuildRequires on apache-commons-parent >= 26-7 + +* Thu Aug 22 2013 Michal Srb - 1.2-11 +- Migrate away from mvn-rpmbuild (Resolves: #997473) + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.2-10 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Tue Feb 19 2013 Mat Booth - 1.2-9 +- Add missing maven-local BuildRequires + +* Wed Feb 13 2013 Fedora Release Engineering - 1.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 1.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Nov 30 2011 Alexander Kurtakov 1.2-5 +- Build with maven 3. +- Adapt to current guidelines. + +* Mon Feb 07 2011 Fedora Release Engineering - 1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Nov 9 2010 Chris Spike 1.2-3 +- Removed maven* BRs in favour of apache-commons-parent +- Added deprecated groupId to depmap for compatibility reasons + +* Mon Oct 18 2010 Chris Spike 1.2-2 +- Removed Epoch + +* Sun Oct 3 2010 Chris Spike 1.2-1 +- Rename and rebase from jakarta-commons-cli