[Jpackage-commits] dist/maven2-common-poms/devel .cvsignore, 1.1, 1.2 maven2-common-poms-jpp-depmap.xml, NONE, 1.1 maven2-common-poms.spec, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Wed May 28 21:06:09 CEST 2008


Update of /home/projects/jpackage/cvs/dist/maven2-common-poms/devel
In directory ryu.zarb.org:/tmp/cvs-serv32353/devel

Modified Files:
	.cvsignore sources 
Added Files:
	maven2-common-poms-jpp-depmap.xml maven2-common-poms.spec 
Log Message:
Import from JPP 5.0

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/maven2-common-poms/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	28 May 2008 19:04:46 -0000	1.1
--- .cvsignore	28 May 2008 19:06:07 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ maven2-common-poms-src.tar.gz

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/maven2-common-poms/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	28 May 2008 19:04:46 -0000	1.1
--- sources	28 May 2008 19:06:07 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ 5a0405a81459fd7c9913fc073ca1dc94  maven2-common-poms-src.tar.gz

--- NEW FILE: maven2-common-poms-jpp-depmap.xml ---
<dependencies>
	<dependency>
		<maven>
			<groupId>commons-collections</groupId>
			<artifactId>commons-collections</artifactId>
			<version>2.1</version>
		</maven>
		<jpp>
			<groupId>JPP</groupId>
			<artifactId>commons-collections</artifactId>
			<version>2.1</version>
		</jpp>
	</dependency>
	<dependency>
		<maven>
			<groupId>commons-httpclient</groupId>
			<artifactId>commons-httpclient</artifactId>
			<version>3.0</version>
		</maven>
[...2586 lines suppressed...]
			<artifactId>jdom</artifactId>
			<version>1.0</version>
		</maven>
		<jpp>
			<groupId>JPP</groupId>
			<artifactId>jdom</artifactId>
			<version>1.0</version>
		</jpp>
	</dependency>
	

	<!-- Remove jetty -->
	<dependency>
		<maven>
			<groupId>org.mortbay.jetty</groupId>
			<artifactId>jetty</artifactId>
			<version>6.0.0beta6</version>
		</maven>
	</dependency>
</dependencies>

--- NEW FILE: maven2-common-poms.spec ---
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS 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 COPYRIGHT
# OWNER OR 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.
#

%define section     free

%define parent maven2
%define subname common-poms

Name:           %{parent}-%{subname}
Version:        1.0
Release:        4jpp
Epoch:          0
Summary:        Common poms for maven2
License:        Apache Software License
Group:          Development/Java
Vendor:         JPackage Project
Distribution:   JPackage
URL:            http://jpackage.org/
Source0:        %{name}-src.tar.gz
Source1:        %{name}-jpp-depmap.xml

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

BuildArch:      noarch
BuildRequires:  findutils
BuildRequires:  jpackage-utils >= 0:1.7.4
Requires:       jpackage-utils >= 0:1.7.4

%description
This package is a collection of poms required by various maven2
dependent packages.

%prep
%setup -q -n %{name}

%build

%install
rm -rf $RPM_BUILD_ROOT

# Map
install -dm 755 $RPM_BUILD_ROOT%{_mavendepmapdir}
cp %{SOURCE1} $RPM_BUILD_ROOT%{_mavendepmapdir}/maven2-versionless-depmap.xml

install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/maven2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/default_poms
install -pm 644 *.pom $RPM_BUILD_ROOT%{_datadir}/maven2/default_poms

install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/maven2
ln -s %{_datadir}/maven2/default_poms $RPM_BUILD_ROOT%{_javadir}/maven2

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_mavendepmapdir}/maven2-versionless-depmap.xml
%{_javadir}/maven2
%{_datadir}/maven2

%changelog
* Fri Feb 01 2008 Ralph Apel <r.apel at r-apel.de> 1.0-4jpp
- Some interim adjustments
- TODO: Minimalize

* Fri Oct 13 2006 Deepak Bhole <dbhole at redhat.com> 1.0-3jpp
- Changed file names to comply with the new maven2 rpm.

* Fri Sep 18 2006 Deepak Bhole <dbhole at redhat.com> - 0:1.0-2jpp
- Moved common poms from maven2 rpm into this one.

* Tue Jun 13 2006 Deepak Bhole <dbhole at redhat.com> - 0:1.0-1jpp
- Initial build




More information about the JPackage-commits mailing list