[mojo-parent] Initial commit of mojo-parent

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Sep 16 07:52:30 UTC 2010


commit a4c7ce1a8fc5e7dba17c3ac7b001135de03ff5e4
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Sep 16 09:52:08 2010 +0200

    Initial commit of mojo-parent

 .gitignore       |    1 +
 mojo-parent.spec |   66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5f329da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mojo-parent-24-source-release.zip
diff --git a/mojo-parent.spec b/mojo-parent.spec
new file mode 100644
index 0000000..dc68cb5
--- /dev/null
+++ b/mojo-parent.spec
@@ -0,0 +1,66 @@
+Name:           mojo-parent
+Version:        24
+Release:        3%{?dist}
+Summary:        Codehaus MOJO parent project pom file
+
+Group:          Development/Libraries
+License:        ASL 2.0
+URL:            http://mojo.codehaus.org/
+Source0:        https://nexus.codehaus.org/content/repositories/releases/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+Requires:       maven-plugin-plugin
+Requires:       junit
+
+Requires:       jpackage-utils
+Requires(post):       jpackage-utils
+Requires(postun):     jpackage-utils
+
+%description
+Codehaus MOJO parent project pom file
+
+%prep
+%setup -q
+
+# see http://jira.codehaus.org/browse/MOJO-1561
+sed -i 's:<artifactId>plexus-javadoc</artifactId>:<artifactId>plexus-component-javadoc</artifactId>:' pom.xml
+
+%install
+rm -rf %{buildroot}
+
+%add_to_maven_depmap org.codehaus.mojo %{name} %{version} JPP %{name}
+
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml \
+    %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
+
+%files
+%defattr(-,root,root,-)
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+
+
+
+%changelog
+* Tue Sep 14 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 24-3
+- Change to license used by upstream (ASL 2.0)
+
+* Mon Sep  6 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 24-2
+- Removed %%build section and BRs (not really needed)
+
+* Mon Sep  6 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 24-1
+- Initial version of the package
+
diff --git a/sources b/sources
index e69de29..846c878 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5074553f2dc773baa69b45037626b168  mojo-parent-24-source-release.zip


More information about the scm-commits mailing list