Name: activemq-parent Version: 5.6.0 Release: 1%{?dist} Summary: ActiveMQ Parent Group: Development/Libraries License: ASL 2.0 URL: http://activemq.apache.org # git clone -b activemq-5.6.0 https://github.com/apache/activemq.git activemq-parent-5.6.0 # rm -rf activemq-parent-5.6.0/{activemq-*,kahadb,assembly,etc} # tar cJf activemq-parent-5.6.0.tar.xz activemq-parent-5.6.0 Source0: activemq-parent-5.6.0.tar.xz BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: maven-compiler-plugin BuildRequires: maven-gpg-plugin BuildRequires: maven-idea-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven-plugin-cobertura BuildRequires: maven-pmd-plugin BuildRequires: maven-source-plugin BuildRequires: maven-release-plugin BuildRequires: maven-surefire-plugin Requires: jpackage-utils Requires: java BuildArch: noarch %description ActiveMQ Parent POM %prep %setup -q -n activemq-parent-%{version} # Remove missing plugins %pom_remove_plugin org.codehaus.mojo:ianal-maven-plugin # Remove missing test dependencies %pom_remove_dep org.springframework:spring-test # Remove missing optional dependencies %pom_remove_dep org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec chmod 644 LICENSE %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 %files %doc LICENSE %{_mavenpomdir}/* %{_mavendepmapfragdir}/* %changelog * Mon Sep 10 2012 Matt Spaulding - 5.6.0-1 - Initial RPM package