Bootstrap build
This commit is contained in:
parent
f15bafc49c
commit
4f37f2cadf
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@ sonatype-plexus-archiver-plexus-archiver-2.1.1-0-ge64d181.tar.gz
|
||||
/plexus-archiver-2.7.tar.gz
|
||||
/plexus-archiver-2.7.1.tar.gz
|
||||
/plexus-archiver-2.8.tar.gz
|
||||
/plexus-io-2.3.tar.gz
|
||||
|
@ -1,6 +1,9 @@
|
||||
%global __requires_exclude_from .
|
||||
#global __provides_exclude_from .
|
||||
|
||||
Name: plexus-archiver
|
||||
Version: 2.8
|
||||
Release: 1%{?dist}
|
||||
Release: 0.1%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Plexus Archiver Component
|
||||
License: ASL 2.0
|
||||
@ -8,6 +11,7 @@ URL: http://plexus.codehaus.org/plexus-components/plexus-archiver/
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://github.com/sonatype/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/sonatype/plexus-io/archive/plexus-io-2.3.tar.gz
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: plexus-containers-container-default
|
||||
@ -32,7 +36,24 @@ Javadoc for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
%setup -qcT
|
||||
tar xf %{SOURCE0}
|
||||
tar xf %{SOURCE1}
|
||||
cat <<EOF >pom.xml
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>plexus-archiver-boot</groupId>
|
||||
<artifactId>plexus-archiver-boot</artifactId>
|
||||
<version>1</version>
|
||||
<packaging>pom</packaging>
|
||||
<modules>
|
||||
<module>plexus-archiver-plexus-archiver-2.8</module>
|
||||
<module>plexus-io-plexus-io-2.3</module>
|
||||
</modules>
|
||||
</project>
|
||||
EOF
|
||||
%mvn_package :%{name}
|
||||
%mvn_package : __noinstall
|
||||
%mvn_file :%{name} plexus/archiver
|
||||
|
||||
%build
|
||||
@ -42,10 +63,10 @@ Javadoc for %{name}.
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc LICENSE
|
||||
%doc plexus-archiver-plexus-archiver-2.8/LICENSE
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE
|
||||
%doc plexus-archiver-plexus-archiver-2.8/LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Oct 24 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.8-1
|
||||
|
Loading…
Reference in New Issue
Block a user