head 1.9;
access;
symbols;
locks; strict;
comment @-- @;
1.9
date 2009.08.12.10.27.31; author rse; state Exp;
branches;
next 1.8;
commitid BY9nxil9K0PZpoZt;
1.8
date 2009.07.01.10.31.31; author rse; state Exp;
branches;
next 1.7;
commitid uLkauI5TgFA4NZTt;
1.7
date 2009.06.25.11.07.14; author rse; state Exp;
branches;
next 1.6;
commitid STFk42Exfp9ibeTt;
1.6
date 2009.04.18.13.12.39; author rse; state Exp;
branches;
next 1.5;
commitid 4pHXU27WTIGCZuKt;
1.5
date 2009.03.26.07.17.51; author rse; state Exp;
branches;
next 1.4;
commitid cZGuAjDmsKqWPvHt;
1.4
date 2008.04.10.16.02.26; author rse; state Exp;
branches;
next 1.3;
commitid JJnmDtzMdttqZzYs;
1.3
date 2008.01.01.14.58.04; author rse; state Exp;
branches;
next 1.2;
commitid B8esaHJHoduuKILs;
1.2
date 2007.11.28.19.21.50; author rse; state Exp;
branches;
next 1.1;
commitid THzEh6C6x81TonHs;
1.1
date 2007.11.17.22.03.58; author rse; state Exp;
branches;
next ;
commitid C5cJtuqv7uKpEYFs;
desc
@@
1.9
log
@upgrading package: maven 2.2.0 -> 2.2.1
@
text
@##
## maven.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: maven
Summary: Java Build Management Tool
URL: http://maven.apache.org/
Vendor: Apache Software Foundation
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Building
License: Apache Software License
Version: 2.2.1
Release: 20090812
# list of sources
Source0: http://www.apache.org/dist/maven/binaries/apache-maven-%{version}-bin.tar.bz2
Source1: maven.sh
Source2: maven.conf
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823
PreReq: OpenPKG, openpkg >= 20060823, java, JAVA-JDK
AutoReq: no
AutoReqProv: no
%description
Maven is a software project management and comprehension tool. Based
on the concept of a project object model (POM), Maven can manage a
project's build, reporting and documentation from a central piece of
information.
%track
prog maven = {
version = %{version}
url = http://www.apache.org/dist/maven/binaries/
regex = apache-maven-(\d+\.\d+\.\d+)-bin\.tar\.bz2
}
%prep
%setup -q -n apache-maven-%{version}
%build
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/etc/maven \
$RPM_BUILD_ROOT%{l_prefix}/lib/maven \
$RPM_BUILD_ROOT%{l_prefix}/libexec/maven
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE maven.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/mvn
%{l_shtool} install -c -m 644 \
boot/* $RPM_BUILD_ROOT%{l_prefix}/libexec/maven/
%{l_shtool} install -c -m 644 \
lib/* $RPM_BUILD_ROOT%{l_prefix}/lib/maven/
%{l_shtool} install -c -m 644 \
conf/settings.xml $RPM_BUILD_ROOT%{l_prefix}/etc/maven/
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE maven.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/maven/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/maven'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.8
log
@upgrading package: maven 2.1.0 -> 2.2.0
@
text
@d34 2
a35 2
Version: 2.2.0
Release: 20090701
@
1.7
log
@run Maven in headless mode, too
@
text
@d26 1
a26 1
Summary: Java Building Tool
d34 2
a35 2
Version: 2.1.0
Release: 20090625
d38 1
a38 1
Source0: http://archive.apache.org/dist/maven/binaries/apache-maven-%{version}-bin.tar.bz2
d46 1
a46 1
PreReq: OpenPKG, openpkg >= 20060823
d59 2
a60 2
url = http://archive.apache.org/dist/maven/binaries/
regex = apache-maven-(__VER__)-bin\.tar\.bz2
@
1.6
log
@bump years in copyright messages
@
text
@d35 1
a35 1
Release: 20090326
@
1.5
log
@upgrading package: maven 2.0.9 -> 2.1.0
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.4
log
@upgrading package: maven 2.0.8 -> 2.0.9
@
text
@d34 2
a35 2
Version: 2.0.9
Release: 20080410
@
1.3
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version: 2.0.8
Release: 20080101
@
1.2
log
@upgrading package: maven 2.0.7 -> 2.0.8
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20071128
@
1.1
log
@new package: maven 2.0.7 (Java Building Tool)
@
text
@d35 2
a36 2
Version: 2.0.7
Release: 20071117
d39 1
a39 1
Source0: http://archive.apache.org/dist/maven/binaries/maven-%{version}-bin.tar.bz2
d61 1
a61 1
regex = maven-(__VER__)-bin\.tar\.bz2
d65 1
a65 1
%setup -q
@