|
|
|
@ -2,13 +2,14 @@
|
|
|
|
|
|
|
|
|
|
Name: %{short_name}-pom
|
|
|
|
|
Version: 1.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?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
|
|
|
|
|
Source0: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom
|
|
|
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
|
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
|
BuildRequires: maven
|
|
|
|
@ -21,6 +22,7 @@ Plexus packages.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
cp -p %{SOURCE0} pom.xml
|
|
|
|
|
cp -p %{SOURCE1} LICENSE
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
mvn-rpmbuild verify
|
|
|
|
@ -31,9 +33,13 @@ install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
|
%add_maven_depmap JPP-%{name}.pom
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
|
%{_mavendepmapfragdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Nov 12 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-2
|
|
|
|
|
- Install LICENSE file
|
|
|
|
|
|
|
|
|
|
* Wed Oct 31 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-1
|
|
|
|
|
- Initial packaging
|
|
|
|
|