Name: jbosgi-parent Version: 1.0.22 Release: 1%{?dist} Summary: JBossOSGi Parent Group: Development/Libraries License: LGPLv2+ URL: http://www.jboss.org/ Source0: https://raw.github.com/jbosgi/jbosgi-parent/%{version}/pom.xml BuildArch: noarch BuildRequires: jpackage-utils BuildRequires: maven BuildRequires: maven-compiler-plugin BuildRequires: maven-install-plugin BuildRequires: maven-jar-plugin BuildRequires: maven-javadoc-plugin Requires: jpackage-utils Requires: java Requires: maven %description This package contains the JBossOSGi Parent %prep cp %{SOURCE0} . %build mvn-rpmbuild install javadoc:aggregate %install install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} # POM install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom # DEPMAP %add_maven_depmap JPP-%{name}.pom %files %{_mavenpomdir}/* %{_mavendepmapfragdir}/* %changelog * Sun Mar 04 2012 Marek Goldmann 1.0.22-1 - Initial packaging