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
Mikolaj Izdebski a5d917
Release:          4%{?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
Stanislav Ochotnicky 6c326a
BuildRequires:    maven-local
Mikolaj Izdebski a5d917
BuildRequires:    java-devel
Mikolaj Izdebski a5d917
Mikolaj Izdebski a5d917
BuildRequires:    mvn(org.apache:apache)
Mikolaj Izdebski a5d917
BuildRequires:    mvn(org.apache.felix:maven-bundle-plugin)
Mikolaj Izdebski a5d917
BuildRequires:    mvn(org.apache.maven.plugins:maven-antrun-plugin)
Mikolaj Izdebski a5d917
BuildRequires:    mvn(org.apache.maven.plugins:maven-compiler-plugin)
Mikolaj Izdebski a5d917
BuildRequires:    mvn(org.apache.maven.plugins:maven-jar-plugin)
Mikolaj Izdebski a5d917
BuildRequires:    mvn(org.apache.maven.plugins:maven-surefire-plugin)
Mikolaj Izdebski a5d917
BuildRequires:    mvn(org.apache.rat:apache-rat-plugin)
Mikolaj Izdebski a5d917
Mikolaj Izdebski a5d917
Requires:         mvn(org.apache:apache)
Mikolaj Izdebski a5d917
Requires:         mvn(org.apache.felix:maven-bundle-plugin)
Mikolaj Izdebski a5d917
Requires:         mvn(org.apache.maven.plugins:maven-antrun-plugin)
Mikolaj Izdebski a5d917
Requires:         mvn(org.apache.maven.plugins:maven-compiler-plugin)
Mikolaj Izdebski a5d917
Requires:         mvn(org.apache.maven.plugins:maven-jar-plugin)
Mikolaj Izdebski a5d917
Requires:         mvn(org.apache.maven.plugins:maven-surefire-plugin)
Mikolaj Izdebski a5d917
Requires:         mvn(org.apache.rat:apache-rat-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
Mikolaj Izdebski a5d917
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-4
Mikolaj Izdebski a5d917
- Fix Requires and BuildRequires
Mikolaj Izdebski a5d917
Dennis Gilmore 12afb8
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 26-3
Dennis Gilmore 12afb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Dennis Gilmore 12afb8
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