Name: maven-plugins-pom Version: 4 Release: 1%{?dist} Summary: ServiceMix :: Maven2 Plugins POM Group: Development/Libraries License: ASL 2.0 URL: http://servicemix.apache.org/ # svn export http://svn.apache.org/repos/asf/servicemix/maven-plugins/tags/maven-plugins-pom-4 # tar czf maven-plugins-pom-4-src-svn.tar.gz maven-plugins-pom-4 Source0: %{name}-%{version}-src-svn.tar.gz BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: servicemix-pom BuildRequires: maven Requires: servicemix-pom Requires: java Requires: jpackage-utils BuildArch: noarch %description Maven parent POM for all ServiceMix Maven projects. %prep %setup -q # requires org.apache.servicemix.legal legal 1.0 %pom_remove_plugin org.apache.maven.plugins:maven-dependency-plugin %pom_remove_plugin :maven-remote-resources-plugin chmod 644 LICENSE %build # nothing to do %install mkdir -p %{buildroot}%{_mavenpomdir} install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap JPP-%{name}.pom %check mvn-rpmbuild verify %files %{_mavenpomdir}/JPP-%{name}.pom %{_mavendepmapfragdir}/%{name} %doc LICENSE NOTICE %changelog * Fri Nov 09 2012 gil cattaneo 4-1 - initial rpm