658a3e
%global base_name       parent
658a3e
%global short_name      commons-%{base_name}
658a3e
658a3e
Name:             apache-%{short_name}
658a3e
Version:          26
658a3e
Release:          8%{?dist}
658a3e
Summary:          Apache Commons Parent Pom
658a3e
Group:            Development/Libraries
658a3e
License:          ASL 2.0
658a3e
URL:              http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
658a3e
658a3e
# svn export http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-26
658a3e
# tar caf commons-parent-26.tar.xz commons-parent-26
658a3e
Source0:          %{short_name}-%{version}.tar.xz
658a3e
658a3e
#common-build-plugin not in fedora yet
658a3e
Patch1:           %{name}-remove-build-plugin.patch
658a3e
BuildArch:        noarch
658a3e
658a3e
BuildRequires:    maven-local
658a3e
BuildRequires:    java-devel
658a3e
658a3e
BuildRequires:    mvn(org.apache:apache)
658a3e
BuildRequires:    mvn(org.apache.felix:maven-bundle-plugin)
658a3e
BuildRequires:    mvn(org.apache.maven.plugins:maven-antrun-plugin)
658a3e
BuildRequires:    mvn(org.apache.maven.plugins:maven-compiler-plugin)
658a3e
BuildRequires:    mvn(org.apache.maven.plugins:maven-jar-plugin)
658a3e
BuildRequires:    mvn(org.apache.maven.plugins:maven-surefire-plugin)
658a3e
BuildRequires:    mvn(org.apache.rat:apache-rat-plugin)
658a3e
BuildRequires:    mvn(org.codehaus.mojo:buildnumber-maven-plugin)
658a3e
658a3e
Requires:         mvn(org.codehaus.mojo:buildnumber-maven-plugin)
658a3e
658a3e
658a3e
%description
658a3e
The Project Object Model files for the apache-commons packages.
658a3e
658a3e
%prep
658a3e
%setup -q -n %{short_name}-%{version}
658a3e
%patch1 -p0
658a3e
658a3e
%build
658a3e
%mvn_build
658a3e
658a3e
%install
658a3e
%mvn_install
658a3e
658a3e
%files -f .mfiles
658a3e
%doc LICENSE.txt NOTICE.txt
658a3e
658a3e
%changelog
658a3e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 26-8
658a3e
- Mass rebuild 2013-12-27
658a3e
658a3e
* Thu Sep 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-7
658a3e
- Add missing Requires: buildnumber-maven-plugin
658a3e
658a3e
* Mon Aug 26 2013 Michal Srb <msrb@redhat.com> - 26-6
658a3e
- Migrate away from mvn-rpmbuild (Resolves: #997512)
658a3e
658a3e
* Mon Apr 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-5
658a3e
- Add buildnumber-maven-plugin to R/BR
658a3e
658a3e
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-4
658a3e
- Fix Requires and BuildRequires
658a3e
658a3e
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 26-3
658a3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
658a3e
658a3e
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 26-2
658a3e
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
658a3e
- Replace maven BuildRequires with maven-local
658a3e
658a3e
* Fri Oct 19 2012 Chris Spike <spike@fedoraproject.org> 22-4
658a3e
- Updated to 26
658a3e
658a3e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-4
658a3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
658a3e
658a3e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-3
658a3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
658a3e
658a3e
* Wed Dec 14 2011 Alexander Kurtakov <akurtako@redhat.com> 22-2
658a3e
- Add missing BR/R on buildbumber-maven-plugin.
658a3e
658a3e
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 22-1
658a3e
- Update to latest upstream.
658a3e
658a3e
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 20-1
658a3e
- Updated to 20
658a3e
- Fixed Rs for maven 3
658a3e
658a3e
* Sat Nov 6 2010 Chris Spike <spike@fedoraproject.org> 15-2
658a3e
- Added patch to remove commons-build-plugin from pom file
658a3e
658a3e
* Wed Oct 20 2010 Chris Spike <spike@fedoraproject.org> 15-1
658a3e
- Initial version of the package