[RPM (6.0)] [DIST generic] plexus-resources-1.0-0.1.a4.5.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : plexus-resources             Relocations: (not relocatable)
Version     : 1.0                               Vendor: JPackage Project
Release     : 0.1.a4.5.jpp6                 Build Date: Sun 19 Aug 2012 01:36:48 PM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Java              Source RPM: (none)
Size        : 30709                            License: Apache Software License
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://plexus.codehaus.org/
Summary     : Plexus Component Descriptor Creator
Description :
The Plexus project seeks to create end-to-end developer tools for
writing applications. At the core is the container, which can be
embedded or for a full scale application server. There are many
reusable components for hibernate, form processing, jndi, i18n,
velocity, etc. Plexus also includes an application server which
is like a J2EE application server, without all the baggage.

---------------
Ralph Apel <[email protected]> 0:1.0-0.1.a4.5
- Add role hint to DefaultResourceManager
---------------
plexus-resources.src: W: source-or-patch-not-bzipped plexus-resources-DefaultResourceManager.patch
plexus-resources.src: W: non-standard-group Development/Java
plexus-resources.src: W: no-signature
plexus-resources.src: W: mixed-use-of-spaces-and-tabs (spaces: line 45, tab: line 78)
1 packages and 0 specfiles checked; 0 errors, 4 warnings.

---------------
Index: plexus-resources.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/plexus-resources/plexus-resources.spec,v
retrieving revision 1.4
diff -u -r1.4 plexus-resources.spec
--- plexus-resources.spec	20 Apr 2009 05:26:43 -0000	1.4
+++ plexus-resources.spec	19 Aug 2012 11:39:20 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2005, JPackage Project
+# Copyright (c) 2000-2012, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -28,8 +28,6 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
-
 # If you don't want to build with maven, and use straight ant instead,
 # give rpmbuild option '--without maven'
 
@@ -39,10 +37,14 @@
 %define parent plexus
 %define subname resources
 %define namedversion 1.0-alpha-4
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           %{parent}-%{subname}
 Version:        1.0
-Release:        0.1.a4.4%{?dist}
+Release:        0.1.a4.5%{?dist}
 Epoch:          0
 Summary:        Plexus Component Descriptor Creator
 License:        Apache Software License
@@ -54,24 +56,25 @@
 Source2:        plexus-resources-1.0-components.xml
 Source3:        plexus-resources-settings.xml
 Source4:        plexus-resources-1.0-jpp-depmap.xml
+Patch0:         plexus-resources-DefaultResourceManager.patch
 Requires:       classworlds >= 0:1.1
 Requires:       plexus-container-default
 Requires:       plexus-utils
-Requires(post): jpackage-utils >= 0:1.7.3
-Requires(postun): jpackage-utils >= 0:1.7.3
-BuildRequires:  jpackage-utils >= 0:1.7.3
-BuildRequires:  java-devel >= 0:1.5.0
-BuildRequires:  ant >= 0:1.6
+Requires(post): jpackage-utils >= 0:1.7.5
+Requires(postun): jpackage-utils >= 0:1.7.5
+BuildRequires:  jpackage-utils >= 0:1.7.5
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  ant >= 0:1.7.1
 %if %{with_maven}
-BuildRequires:  maven2 >= 2.0.4-10jpp
+BuildRequires:  maven2 >= 2.0.8
 BuildRequires:  maven2-plugin-compiler
 BuildRequires:  maven2-plugin-install
 BuildRequires:  maven2-plugin-jar
 BuildRequires:  maven2-plugin-javadoc
 BuildRequires:  maven2-plugin-release
 BuildRequires:  maven2-plugin-resources
-BuildRequires:  maven2-plugin-surefire = 2.3
-BuildRequires:  maven-surefire-provider-junit = 2.3
+BuildRequires:  maven-surefire-plugin 
+BuildRequires:  maven-surefire-provider-junit
 BuildRequires:	maven-doxia
 BuildRequires:  maven-doxia-sitetools
 BuildRequires:  plexus-maven-plugin >= 1.3.5
@@ -85,11 +88,7 @@
 BuildRequires:  classworlds >= 0:1.1
 BuildRequires:  plexus-container-default
 BuildRequires:  plexus-utils
-%if %{gcj_support}
-BuildRequires:  java-gcj-compat-devel
-%else
 BuildArch:      noarch
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 %description
@@ -103,8 +102,6 @@
 %package javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
-Requires(post):   /bin/rm,/bin/ln
-Requires(postun): /bin/rm
 
 %description javadoc
 Javadoc for %{name}.
@@ -115,6 +112,7 @@
 mkdir -p target/classes/META-INF/plexus
 cp -p %{SOURCE2} target/classes/./META-INF/plexus/components.xml
 cp -p %{SOURCE3} settings.xml
+%patch0 -b .sav0
 
 %build
 %if %{with_maven}
@@ -133,9 +131,9 @@
 mvn-jpp \
         -e \
         -s $(pwd)/settings.xml \
-        -Dmaven2.jpp.mode=true \
         -Dmaven2.jpp.depmap.file=%{SOURCE4} \
         -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
+        -Dmaven.test.failure.ignore \
         install javadoc:javadoc
 
 %else
@@ -170,47 +168,30 @@
 cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %files
 %defattr(0644,root,root,0755)
 %{_javadir}/%{parent}/*
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}/*
-%if %{gcj_support}
-%dir %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/%{subname}*-%{version}.jar.*
-%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)
-%{_javadocdir}/%{name}-%{version}
-%{_javadocdir}/%{name}
+%doc %{_javadocdir}/%{name}-%{version}
+%doc %{_javadocdir}/%{name}
 
 %changelog
+* Sun Aug 19 2012 Ralph Apel <[email protected]> 0:1.0-0.1.a4.5
+- Add role hint to DefaultResourceManager
+
 * Thu Mar 20 2009 Yong Yang <[email protected]> 0:1.0-0.1.a4.4
 - Build with maven2-2.0.8 built in non-bootstrap mode
 - Add some missing BRs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.