diff --git a/.gitignore b/.gitignore index e69de29..68766c9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/maven-parent-20-source-release.zip diff --git a/maven-parent.spec b/maven-parent.spec new file mode 100644 index 0000000..9c48876 --- /dev/null +++ b/maven-parent.spec @@ -0,0 +1,49 @@ +Name: maven-parent +Version: 20 +Release: 1%{?dist} +Summary: Apache Maven parent POM + +Group: Development/Libraries +License: ASL 2.0 +URL: http://maven.apache.org +Source0: http://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}-%{version}-source-release.zip + +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 +Apache Maven parent POM file used by other Maven projects. + +%prep +%setup -q + +%build +#nothing to do for the pom + +%install +# poms +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml \ + %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom + +%add_maven_depmap JPP-%{name}.pom + +%post +%update_maven_depmap + +%postun +%update_maven_depmap + +%files +%doc LICENSE NOTICE +%{_mavenpomdir}/JPP-%{name}.pom +%{_mavendepmapfragdir}/%{name} + +%changelog +* Thu Jun 23 2011 Stanislav Ochotnicky - 20-1 +- Initial version of the package diff --git a/sources b/sources index e69de29..e305f15 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +17ff30d589be8948285fe34fbea74899 maven-parent-20-source-release.zip