Name: servicemix-pom Version: 2.0 Release: 1%{?dist} Summary: ServiceMix Master POM Group: Development/Libraries License: ASL 2.0 URL: http://servicemix.apache.org/ # svn export http://svn.apache.org/repos/asf/servicemix/servicemix-pom/tags/servicemix-pom-2.0 # tar czf servicemix-pom-2.0-src-svn.tar.gz servicemix-pom-2.0 Source0: %{name}-%{version}-src-svn.tar.gz # servicemix-pom package don't include the license file Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: maven Requires: java Requires: jpackage-utils BuildArch: noarch %description This pom provides project information that is common to all ServiceMix branches. %prep %setup -q cp -p %{SOURCE1} . sed -i 's/\r//' LICENSE-2.0.txt %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-2.0.txt %changelog * Fri Nov 09 2012 gil cattaneo 2.0-1 - initial rpm