%global aid forge-parent Name: sonatype-forge-parent Version: 9 Release: 1%{?dist} Summary: Sonatype forge parent POM Group: Development/Libraries License: ASL 2.0 URL: http://maven.apache.org Source0: https://repository.sonatype.org/content/groups/public/org/sonatype/forge/%{aid}/%{version}/%{aid}-%{version}.pom BuildArch: noarch BuildRequires: jpackage-utils >= 0:1.7.5-5 Requires: jpackage-utils Requires(post): jpackage-utils >= 0:1.7.5-5 Requires(postun): jpackage-utils >= 0:1.7.5-5 %description Sonatype forge parent POM file used by other sonatype projects within Apache Maven build system. %prep # nothing to unpack %build #nothing to do for the pom %install # poms install -d -m 755 %{buildroot}%{_mavenpomdir} install -pm 644 %{SOURCE0} \ %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap JPP-%{name}.pom %post %update_maven_depmap %postun %update_maven_depmap %files %{_mavenpomdir}/JPP-%{name}.pom %{_mavendepmapfragdir}/%{name} %changelog * Thu Jun 23 2011 Stanislav Ochotnicky - 9-1 - Initial version of the package