Name: weld-parent Version: 17 Release: 2%{?dist} Summary: Parent POM for Weld Group: Development/Libraries License: ASL 2.0 URL: http://seamframework.org/Weld Source0: http://repo1.maven.org/maven2/org/jboss/weld/%{name}/%{version}/%{name}-%{version}.pom # Removed accessing remote repos Patch0: weld-parent-%{version}-pom.patch BuildArch: noarch BuildRequires: jpackage-utils BuildRequires: maven Requires: jpackage-utils Requires: java Requires: maven Requires: maven-compiler-plugin Requires: maven-install-plugin Requires: maven-jar-plugin Requires: maven-javadoc-plugin Requires: maven-source-plugin Requires: maven-enforcer-plugin Requires: maven-plugin-build-helper Requires: buildnumber-maven-plugin %description Parent POM for Weld %prep cp %{SOURCE0} pom.xml %patch0 -p0 %build mvn-rpmbuild install %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 * Mon Mar 19 2012 Marek Goldmann 17-2 - Added build section * Wed Mar 14 2012 Marek Goldmann 17-1 - Initial packaging