Name: jetty-distribution-remote-resources Version: 1.1 Release: 2%{?dist} Summary: Jetty toolchain artifact for distribution remote resources Group: Development/Libraries License: ASL 2.0 or EPL URL: http://www.eclipse.org/jetty/ Source0: http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/%{name}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: jpackage-utils BuildRequires: maven BuildRequires: maven-remote-resources-plugin BuildRequires: jetty-toolchain Requires: jpackage-utils Requires: maven Requires: maven-remote-resources-plugin Requires: jetty-toolchain %description Jetty toolchain artifact for distribution remote distribution resources %prep %setup -q %build mvn-rpmbuild install javadoc:aggregate %install # poms install -d -m 755 %{buildroot}%{_mavenpomdir} install -pm 644 pom.xml \ %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom install -Dp -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar %add_maven_depmap JPP-%{name}.pom %{name}.jar %files %doc src/main/resources/LICENSE* %{_mavenpomdir}/JPP-%{name}.pom %{_javadir}/%{name}.jar %{_mavendepmapfragdir}/%{name} %changelog * Tue Dec 20 2011 Stanislav Ochotnicky - 1.1-2 - Install license files as well * Wed Dec 14 2011 Stanislav Ochotnicky - 1.1-1 - Initial version of the package