You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
51 lines
1.3 KiB
%global short_name plexus-components
|
|
|
|
Name: %{short_name}-pom
|
|
Version: 1.2
|
|
Release: 3%{?dist}
|
|
Summary: Plexus Components POM
|
|
BuildArch: noarch
|
|
Group: Development/Libraries
|
|
License: ASL 2.0
|
|
URL: http://plexus.codehaus.org/%{short_name}
|
|
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
|
|
BuildRequires: plexus-pom
|
|
|
|
Requires: jpackage-utils
|
|
Requires: plexus-pom
|
|
|
|
%description
|
|
This package provides Plexus Components parent POM used by different
|
|
Plexus packages.
|
|
|
|
%prep
|
|
cp -p %{SOURCE0} pom.xml
|
|
cp -p %{SOURCE1} LICENSE
|
|
|
|
%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
|
|
%doc LICENSE
|
|
%{_mavenpomdir}/JPP-%{name}.pom
|
|
%{_mavendepmapfragdir}/%{name}
|
|
|
|
%changelog
|
|
* Tue Nov 13 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-3
|
|
- Add missing BR/R: plexus-pom
|
|
|
|
* 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
|