[sonatype-oss-parent] Initial commit

Stanislav Ochotnicky sochotni at fedoraproject.org
Tue Jan 25 12:02:16 UTC 2011


commit d91aa28c448164b83505509258d1c2e51c17c71c
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Tue Jan 25 13:01:58 2011 +0100

    Initial commit

 .gitignore               |    1 +
 sonatype-oss-parent.spec |   57 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6cd1bd7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sonatype-oss-parent-6.tar.gz
diff --git a/sonatype-oss-parent.spec b/sonatype-oss-parent.spec
new file mode 100644
index 0000000..0d23ad7
--- /dev/null
+++ b/sonatype-oss-parent.spec
@@ -0,0 +1,57 @@
+%global artifactid oss-parent
+
+Name:           sonatype-oss-parent
+Version:        6
+Release:        1%{?dist}
+Summary:        Sonatype OSS Parent
+
+Group:          Development/Libraries
+License:        ASL 2.0
+URL:            http://svn.sonatype.org/spice/tags/oss-parent-6
+#svn export http://svn.sonatype.org/spice/tags/oss-parent-6 sonatype-oss-parent-6
+#tar zcf sonatype-oss-parent-6.tar.gz sonatype-oss-parent-6/
+Source0:       %{name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires:  jpackage-utils >= 0:1.7.2
+
+Requires:          jpackage-utils
+Requires:          maven-release-plugin
+Requires(post):    jpackage-utils >= 0:1.7.2
+Requires(postun):  jpackage-utils >= 0:1.7.2
+
+%description
+Sonatype OSS parent pom used by other sonatype packages
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%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_to_maven_depmap org.sonatype.oss %{artifactid} %{version} JPP %{name}
+
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
+%files
+%defattr(-,root,root,-)
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%changelog
+* Thu Jan 20 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 6-1
+- Update to latest version that includes the license header
+
+* Wed Dec  1 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 5-1
+- Initial version of the package
diff --git a/sources b/sources
index e69de29..97d1a40 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ad217f2ff32d6a76c6287a47dbf5a7d6  sonatype-oss-parent-6.tar.gz


More information about the scm-commits mailing list