[plexus-component-factories-pom/f17] Initial import

Michal Srb msrb at fedoraproject.org
Thu Dec 13 17:01:31 UTC 2012


commit ebc34634446300daa59638c6a2cf691fb4d6d936
Author: Michal Srb <msrb at redhat.com>
Date:   Thu Dec 13 17:58:04 2012 +0100

    Initial import

 .gitignore                          |    2 +
 plexus-component-factories-pom.spec |   59 +++++++++++++++++++++++++++++++++++
 sources                             |    2 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..65e1048 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/plexus-component-factories-1.0-alpha-11.pom
+/LICENSE-2.0.txt
diff --git a/plexus-component-factories-pom.spec b/plexus-component-factories-pom.spec
new file mode 100644
index 0000000..e70663d
--- /dev/null
+++ b/plexus-component-factories-pom.spec
@@ -0,0 +1,59 @@
+%global artifactId plexus-component-factories
+
+Name:		plexus-component-factories-pom
+Version:	1.0
+Release:	0.3.alpha11%{?dist}
+Summary:	Plexus Component Factories POM
+BuildArch:	noarch
+Group:		Development/Libraries
+License:	ASL 2.0
+URL:		http://plexus.codehaus.org/
+Source0:	http://repo1.maven.org/maven2/org/codehaus/plexus/%{artifactId}/%{version}-alpha-11/%{artifactId}-%{version}-alpha-11.pom
+Source1:	http://www.apache.org/licenses/LICENSE-2.0.txt
+
+BuildRequires:	jpackage-utils
+BuildRequires:	maven
+
+
+%description
+This package provides Plexus Component Factories parent POM used by different
+Plexus packages.
+
+%prep
+%setup -cT
+cp -p %{SOURCE0} pom.xml
+cp -p %{SOURCE1} LICENSE
+
+%pom_xpath_remove pom:modules
+
+%check
+mvn-rpmbuild verify
+
+%install
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+
+# POM file
+install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
+
+# depmap
+%add_maven_depmap -a "plexus:%{artifactId}" JPP-%{name}.pom
+
+%files
+%doc LICENSE
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%changelog
+* Thu Dec 13 2012 Michal Srb <msrb at redhat.com> - 1.0-0.3.alpha11
+- Fixed artifactId
+
+* Tue Dec 11 2012 Michal Srb <msrb at redhat.com> - 1.0-0.2.alpha11
+- Use direct link in Source0
+- Improved prep/setup section
+- mvn-rpmbuild verify is now in check section
+- More specific files section
+- add_maven_depmap macro now with -a option
+
+* Mon Dec 10 2012 Michal Srb <msrb at redhat.com> - 1.0-0.1.alpha11
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..90b91b9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+f9a9680aa77da44149a65b13b5be5e12  plexus-component-factories-1.0-alpha-11.pom
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt


More information about the scm-commits mailing list