parent
f346e59859
commit
7af273ba12
@ -0,0 +1,39 @@
|
|||||||
|
%global short_name plexus-components
|
||||||
|
|
||||||
|
Name: %{short_name}-pom
|
||||||
|
Version: 1.2
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Plexus Components POM
|
||||||
|
BuildArch: noarch
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://plexus.codehaus.org/%{short_name}
|
||||||
|
Source: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom
|
||||||
|
|
||||||
|
BuildRequires: jpackage-utils
|
||||||
|
BuildRequires: maven
|
||||||
|
|
||||||
|
Requires: jpackage-utils
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides Plexus Components parent POM used by different
|
||||||
|
Plexus packages.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
cp -p %{SOURCE0} pom.xml
|
||||||
|
|
||||||
|
%check
|
||||||
|
mvn-rpmbuild verify
|
||||||
|
|
||||||
|
%install
|
||||||
|
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 Oct 31 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-1
|
||||||
|
- Initial packaging
|
Loading…
Reference in new issue