2010-10-25 20:16:52 +00:00
|
|
|
%global base_name parent
|
|
|
|
%global short_name commons-%{base_name}
|
|
|
|
|
|
|
|
Name: apache-%{short_name}
|
2011-12-07 16:38:13 +00:00
|
|
|
Version: 22
|
2012-07-18 16:18:22 +00:00
|
|
|
Release: 4%{?dist}
|
2010-10-25 20:16:52 +00:00
|
|
|
Summary: Apache Commons Parent Pom
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
|
|
|
|
|
2011-12-07 16:38:13 +00:00
|
|
|
# svn export http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-22
|
|
|
|
# tar caf commons-parent-22.tar.xz commons-parent-22
|
2010-10-25 20:16:52 +00:00
|
|
|
Source0: %{short_name}-%{version}.tar.xz
|
2010-11-07 05:21:22 +00:00
|
|
|
|
|
|
|
#common-build-plugin not in fedora yet
|
|
|
|
Patch1: %{name}-remove-build-plugin.patch
|
2010-10-25 20:16:52 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
|
|
|
BuildRequires: jpackage-utils
|
2011-12-14 11:40:33 +00:00
|
|
|
BuildRequires: maven
|
|
|
|
BuildRequires: buildnumber-maven-plugin
|
2010-10-25 20:16:52 +00:00
|
|
|
|
|
|
|
Requires: java >= 1:1.6.0
|
|
|
|
Requires: jpackage-utils
|
2011-04-15 02:08:32 +00:00
|
|
|
Requires: maven
|
2011-12-14 11:40:33 +00:00
|
|
|
Requires: buildnumber-maven-plugin
|
2010-10-25 20:16:52 +00:00
|
|
|
Requires: maven-antrun-plugin
|
|
|
|
Requires: maven-compiler-plugin
|
|
|
|
Requires: maven-idea-plugin
|
|
|
|
Requires: maven-install-plugin
|
|
|
|
Requires: maven-jar-plugin
|
|
|
|
Requires: maven-javadoc-plugin
|
|
|
|
Requires: maven-plugin-bundle
|
|
|
|
Requires: maven-resources-plugin
|
|
|
|
Requires: maven-surefire-plugin
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Project Object Model files for the apache-commons packages.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{short_name}-%{version}
|
2010-11-07 05:21:22 +00:00
|
|
|
%patch1 -p0
|
2010-10-25 20:16:52 +00:00
|
|
|
|
|
|
|
%build
|
2011-12-14 11:40:33 +00:00
|
|
|
mvn-rpmbuild install
|
2010-10-25 20:16:52 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
# poms
|
|
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
|
|
|
|
|
2011-12-07 16:38:13 +00:00
|
|
|
%add_maven_depmap JPP-%{short_name}.pom
|
2010-10-25 20:16:52 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc LICENSE.txt NOTICE.txt
|
|
|
|
%{_mavenpomdir}/*
|
|
|
|
%{_mavendepmapfragdir}/*
|
|
|
|
|
|
|
|
%changelog
|
2012-07-18 16:18:22 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-12 21:36:49 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-14 11:40:33 +00:00
|
|
|
* Wed Dec 14 2011 Alexander Kurtakov <akurtako@redhat.com> 22-2
|
|
|
|
- Add missing BR/R on buildbumber-maven-plugin.
|
|
|
|
|
2011-12-07 16:38:13 +00:00
|
|
|
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 22-1
|
|
|
|
- Update to latest upstream.
|
|
|
|
|
2011-04-15 02:08:32 +00:00
|
|
|
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 20-1
|
|
|
|
- Updated to 20
|
|
|
|
- Fixed Rs for maven 3
|
2011-02-08 01:37:26 +00:00
|
|
|
|
2011-04-15 02:08:32 +00:00
|
|
|
* Sat Nov 6 2010 Chris Spike <spike@fedoraproject.org> 15-2
|
2010-11-07 05:21:22 +00:00
|
|
|
- Added patch to remove commons-build-plugin from pom file
|
|
|
|
|
2011-04-15 02:08:32 +00:00
|
|
|
* Wed Oct 20 2010 Chris Spike <spike@fedoraproject.org> 15-1
|
2010-10-25 20:16:52 +00:00
|
|
|
- Initial version of the package
|