Name: servicemix-legal Version: 1.0 Release: 1%{?dist} Summary: Apache ServiceMix Legal Group: Development/Libraries License: ASL 2.0 URL: http://servicemix.apache.org/ # svn export http://svn.apache.org/repos/asf/servicemix/smx4/legal/tags/legal-1.0 servicemix-legal-1.0 # tar czf servicemix-legal-1.0-src-svn.tar.gz servicemix-legal-1.0 Source0: %{name}-%{version}-src-svn.tar.gz # servicemix-legal package don't include the license file Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: apache-resource-bundles BuildRequires: maven BuildRequires: maven-plugin-build-helper BuildRequires: maven-remote-resources-plugin Requires: java Requires: jpackage-utils BuildArch: noarch %description This pom provides "legal" information for all the ServiceMix dependencies. %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 1.0-1 - initial rpm