[sonatype-forge-parent] Initial packaging

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed Aug 8 12:34:10 UTC 2012


commit 9960dd32caf4aff9c9cab93856f993c5ef76c59a
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed Aug 8 14:34:22 2012 +0200

    Initial packaging

 sonatype-forge-parent.spec |   42 ++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 2 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/sonatype-forge-parent.spec b/sonatype-forge-parent.spec
new file mode 100644
index 0000000..65eba9f
--- /dev/null
+++ b/sonatype-forge-parent.spec
@@ -0,0 +1,42 @@
+%global tag c983737
+
+Name:           sonatype-forge-parent
+Version:        12
+Release:        1%{?dist}
+Summary:        Sonatype Forge Parent POM
+BuildArch:      noarch
+Group:          Development/Libraries
+License:        ASL 2.0
+URL:            https://github.com/sonatype/oss-parents
+Source:         https://github.com/sonatype/oss-parents/tarball/forge-parent-%{version}#/%{name}-%{version}.tar.gz
+
+BuildRequires:  maven
+BuildRequires:  jpackage-utils
+
+Requires:       maven
+Requires:       jpackage-utils
+
+%description
+This package provides Sonatype forge parent POM used by other Sonatype
+packages.
+
+%prep
+%setup -q -n sonatype-oss-parents-%{tag}
+
+%check
+cd ./forge-parent
+mvn-rpmbuild install
+
+%install
+cd ./forge-parent
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom
+
+%files
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%changelog
+* Wed Aug  8 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 12-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..16cd049 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+52ef258557fe4f8824d7a4d6764c3421  sonatype-forge-parent-12.tar.gz


More information about the scm-commits mailing list