spike b4ef36
%global base_name       parent
spike b4ef36
%global short_name      commons-%{base_name}
spike b4ef36
spike b4ef36
Name:             apache-%{short_name}
spike ee5601
Version:          26
Stanislav Ochotnicky 6c326a
Release:          2%{?dist}
spike b4ef36
Summary:          Apache Commons Parent Pom
spike b4ef36
Group:            Development/Libraries
spike b4ef36
License:          ASL 2.0
spike b4ef36
URL:              http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
spike b4ef36
spike ee5601
# svn export http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-26
spike ee5601
# tar caf commons-parent-26.tar.xz commons-parent-26
spike b4ef36
Source0:          %{short_name}-%{version}.tar.xz
spike 476436
spike 476436
#common-build-plugin not in fedora yet
spike 476436
Patch1:           %{name}-remove-build-plugin.patch
spike b4ef36
BuildArch:        noarch
spike b4ef36
spike b4ef36
BuildRequires:    java-devel >= 1:1.6.0
spike b4ef36
BuildRequires:    jpackage-utils
Stanislav Ochotnicky 6c326a
BuildRequires:    maven-local
Alexander Kurtakov 297fbc
BuildRequires:    buildnumber-maven-plugin
spike b4ef36
spike b4ef36
Requires:         java >= 1:1.6.0
spike b4ef36
Requires:         jpackage-utils
spike db0a21
Requires:         maven
Alexander Kurtakov 297fbc
Requires:         buildnumber-maven-plugin
spike b4ef36
Requires:         maven-antrun-plugin
spike b4ef36
Requires:         maven-compiler-plugin
spike b4ef36
Requires:         maven-idea-plugin
spike b4ef36
Requires:         maven-install-plugin
spike b4ef36
Requires:         maven-jar-plugin
spike b4ef36
Requires:         maven-javadoc-plugin
spike b4ef36
Requires:         maven-plugin-bundle
spike b4ef36
Requires:         maven-resources-plugin
spike b4ef36
Requires:         maven-surefire-plugin
spike b4ef36
spike b4ef36
spike b4ef36
%description
spike b4ef36
The Project Object Model files for the apache-commons packages.
spike b4ef36
spike b4ef36
%prep
spike b4ef36
%setup -q -n %{short_name}-%{version}
spike 476436
%patch1 -p0
spike b4ef36
spike b4ef36
%build
Alexander Kurtakov 297fbc
mvn-rpmbuild install
spike b4ef36
spike b4ef36
%install
spike b4ef36
# poms
spike b4ef36
install -d -m 755 %{buildroot}%{_mavenpomdir}
spike b4ef36
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
spike b4ef36
Alexander Kurtakov 1a4f1e
%add_maven_depmap JPP-%{short_name}.pom
spike b4ef36
spike b4ef36
%files
spike b4ef36
%doc LICENSE.txt NOTICE.txt
spike b4ef36
%{_mavenpomdir}/*
spike b4ef36
%{_mavendepmapfragdir}/*
spike b4ef36
spike b4ef36
%changelog
Stanislav Ochotnicky 6c326a
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 26-2
Stanislav Ochotnicky 6c326a
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 6c326a
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 6c326a
spike ee5601
* Fri Oct 19 2012 Chris Spike <spike@fedoraproject.org> 22-4
spike ee5601
- Updated to 26
spike ee5601
Dennis Gilmore f77816
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-4
Dennis Gilmore f77816
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore f77816
Dennis Gilmore a6b89d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-3
Dennis Gilmore a6b89d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore a6b89d
Alexander Kurtakov 297fbc
* Wed Dec 14 2011 Alexander Kurtakov <akurtako@redhat.com> 22-2
Alexander Kurtakov 297fbc
- Add missing BR/R on buildbumber-maven-plugin.
Alexander Kurtakov 297fbc
Alexander Kurtakov 1a4f1e
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 22-1
Alexander Kurtakov 1a4f1e
- Update to latest upstream.
Alexander Kurtakov 1a4f1e
spike db0a21
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 20-1
spike db0a21
- Updated to 20
spike db0a21
- Fixed Rs for maven 3
Dennis Gilmore 87c45b
spike db0a21
* Sat Nov 6 2010 Chris Spike <spike@fedoraproject.org> 15-2
spike 476436
- Added patch to remove commons-build-plugin from pom file
spike 476436
spike db0a21
* Wed Oct 20 2010 Chris Spike <spike@fedoraproject.org> 15-1
spike b4ef36
- Initial version of the package