[java-sig-commits] [maven-parent] Initial commit

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Jun 23 15:01:51 UTC 2011


commit 31c49442b418ee93a1c70652a80b488e1c986347
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Jun 23 17:00:51 2011 +0200

    Initial commit

 .gitignore        |    1 +
 maven-parent.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
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 <sochotnicky at redhat.com> - 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


More information about the java-sig-commits mailing list