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.
61 lines
1.5 KiB
61 lines
1.5 KiB
13 years ago
|
Name: plexus-pom
|
||
|
Version: 3.0.1
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Root Plexus Projects pom
|
||
|
Group: Development/Libraries
|
||
|
License: ASL 2.0
|
||
|
URL: https://github.com/sonatype/%{name}/
|
||
|
# git clone git://github.com/sonatype/plexus-pom.git
|
||
|
# cd plexus-pom
|
||
|
# git archive --format=tar --prefix=plexus-pom-3.0.1/ plexus-3.0.1 | xz >plexus-pom-3.0.1.tar.xz
|
||
|
Source0: plexus-pom-%{version}.tar.xz
|
||
|
|
||
|
# remove
|
||
|
# org.codehaus.mojo taglist-maven-plugin 2.4
|
||
|
# org.apache.maven.wagon wagon-webdav-jackrabbit 1.0
|
||
|
Patch0: plexus-pom-3.0.1-pom.patch
|
||
|
# remove
|
||
|
# maven-site-plugin which require org.codehaus.plexus:plexus-stylus-skin 1.0
|
||
|
Patch1: plexus-pom-3.0.1-no-site-plugin.patch
|
||
|
|
||
|
BuildRequires: java-devel
|
||
|
BuildRequires: jpackage-utils >= 0:1.7.5
|
||
|
BuildRequires: spice-parent
|
||
|
|
||
|
BuildRequires: maven
|
||
|
BuildRequires: maven-install-plugin
|
||
|
BuildRequires: modello
|
||
|
BuildRequires: plexus-containers-component-metadata
|
||
|
|
||
|
Requires: maven
|
||
|
Requires: spice-parent
|
||
|
|
||
|
Requires: jpackage-utils >= 0:1.7.5
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description
|
||
|
The Plexus project provides a full software stack for creating and
|
||
|
executing software projects.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p0
|
||
|
%patch1 -p0
|
||
|
|
||
|
%build
|
||
|
|
||
|
mvn-rpmbuild install
|
||
|
|
||
|
%install
|
||
|
|
||
|
mkdir -p %{buildroot}%{_mavenpomdir}
|
||
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.plexus-plexus.pom
|
||
|
%add_maven_depmap JPP.plexus-plexus.pom
|
||
|
|
||
|
%files
|
||
|
%{_mavenpomdir}/JPP.plexus-plexus.pom
|
||
|
%{_mavendepmapfragdir}/%{name}
|
||
|
|
||
|
%changelog
|
||
|
* Wed Feb 08 2012 gil cattaneo <puntogil@libero.it> 3.0.1-1
|
||
|
- initial rpm
|