Name: apache-parent Version: 10 Release: %mkrel 8 Summary: Parent pom file for Apache projects Group: Development/Java License: ASL 2.0 URL: http://apache.org/ Source0: http://svn.apache.org/repos/asf/maven/pom/tags/apache-10/pom.xml BuildArch: noarch BuildRequires: maven BuildRequires: jpackage-utils BuildRequires: apache-resource-bundles BuildRequires: maven-remote-resources-plugin Requires: jpackage-utils Requires: apache-resource-bundles Requires: maven-remote-resources-plugin %description This package contains the parent pom file for apache projects. %prep %setup -n %{name}-%{version} -Tc # This simplifies work with child projects that can use generics cp %{SOURCE0} . sed -i 's:<source>1.4</source>:<source>1.5</source>:' pom.xml sed -i 's:<target>1.4</target>:<target>1.5</target>:' pom.xml %build %install install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} install -pm 644 pom.xml \ $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap JPP-%{name}.pom %check mvn-rpmbuild verify %files %{_mavenpomdir}/JPP-%{name}.pom %{_mavendepmapfragdir}/%{name} %changelog * Fri Jan 11 2013 umeabot <umeabot> 10-8.mga3 + Revision: 345879 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Dec 01 2012 dmorgan <dmorgan> 10-7.mga3 + Revision: 324028 - imported package apache-parent