[RPM (6.0)] [DIST generic] javatools-package-rename-task-1.2-2.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : javatools-package-rename-task  Relocations: (not relocatable)
Version     : 1.2                               Vendor: JPackage Project
Release     : 2.jpp6                        Build Date: Sun 08 Jul 2012 09:13:07 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 16962                            License: CDDL
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : https://package-rename-task.dev.java.net/
Summary     : Ant task to relocate code from one package tree to another
Description :
Ant task to relocate code from one package tree to another.

---------------
Ralph Apel <r.apel at r-apel.de> 0:1.2-2
- Refloat for JPP-6
---------------
javatools-package-rename-task.src: W: no-signature
javatools-package-rename-task.src: W: invalid-license CDDL
1 packages and 0 specfiles checked; 0 errors, 2 warnings.

---------------
Index: javatools-package-rename-task.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/javatools-package-rename-task/javatools-package-rename-task.spec,v
retrieving revision 1.1
diff -u -r1.1 javatools-package-rename-task.spec
--- javatools-package-rename-task.spec	11 Mar 2008 17:05:22 -0000	1.1
+++ javatools-package-rename-task.spec	8 Jul 2012 07:14:30 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2008, 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'
 
@@ -43,24 +41,22 @@
 Summary:        Ant task to relocate code from one package tree to another
 Name:           javatools-package-rename-task
 Version:        1.2
-Release:        1jpp
+Release:        2%{?dist}
 Epoch:          0
 License:        CDDL
 URL:            https://package-rename-task.dev.java.net/
 Group:          Development/Libraries/Java
-Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
-Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
 Source0:        %{name}-%{version}-src.tar.gz
 #  cvs -d :pserver:[email protected]:/cvs login
 #  cvs -d :pserver:[email protected]:/cvs export -r HEAD package-rename-task
 Source1:        javatools-package-rename-task-jpp-depmap.xml
 Source2:        package-rename-task-autogenerated-files.tar.gz
-BuildRequires:  jpackage-utils >= 0:1.7.4
-BuildRequires:  java-devel = 0:1.5.0
-BuildRequires:  ant >= 0:1.6.5
+BuildRequires:  jpackage-utils >= 0:1.7.5
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  ant >= 0:1.7.1
 BuildRequires:  junit >= 0:3.8.1
 %if %{with_maven}
-BuildRequires:  maven2 >= 0:2.0.7
+BuildRequires:  maven2 >= 0:2.0.8
 BuildRequires:  maven2-plugin-ant
 BuildRequires:  maven2-plugin-compiler
 BuildRequires:  maven2-plugin-install
@@ -68,35 +64,25 @@
 BuildRequires:  maven2-plugin-javadoc
 BuildRequires:  maven2-plugin-plugin
 BuildRequires:  maven2-plugin-resources
-BuildRequires:  maven2-plugin-surefire
+BuildRequires:  maven-surefire-plugin
+BuildRequires:  maven-surefire-provider-junit3
 %endif
-BuildRequires:  maven2-bootstrap >= 0:2.0.7
+BuildRequires:  maven2-bootstrap >= 0:2.0.8
 
 Requires:          java >= 0:1.5.0
-Requires:          maven2-bootstrap >= 0:2.0.7
-Requires(post):    jpackage-utils >= 0:1.7.4
-Requires(postun):  jpackage-utils >= 0:1.7.4
+Requires:          maven2-bootstrap >= 0:2.0.8
+Requires(post):    jpackage-utils >= 0:1.7.5
+Requires(postun):  jpackage-utils >= 0:1.7.5
 
-%if ! %{gcj_support}
 BuildArch:      noarch
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
-%if %{gcj_support}
-BuildRequires:    gnu-crypto
-BuildRequires:    java-gcj-compat-devel
-Requires(post):   java-gcj-compat
-Requires(postun): java-gcj-compat
-%endif
-
 %description
 Ant task to relocate code from one package tree to another.
 
 %package javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
-Requires(post):   /bin/rm,/bin/ln
-Requires(postun): /bin/rm
 
 %description javadoc
 %{summary}.
@@ -161,58 +147,32 @@
 cp -pr %{bname}/target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
 
-%if %{gcj_support}
-export CLASSPATH=$(build-classpath gnu-crypto)
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post javadoc
-rm -f %{_javadocdir}/%{name}
-ln -s %{name}-%{version} %{_javadocdir}/%{name}
-
-%postun javadoc
-if [ "$1" = "0" ]; then
-  rm -f %{_javadocdir}/%{name}
-fi
-
 %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}/%{name}.jar
 %{_javadir}/%{name}-%{version}.jar
-%{_datadir}/maven2
-%{_mavendepmapfragdir}
-%if %{gcj_support}
-%dir %attr(-,root,root) %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
-%endif
+%{_datadir}/maven2/plugins/*
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}/*
 
 %files javadoc
 %defattr(0644,root,root,0755)
 %doc %{_javadocdir}/%{name}-%{version}
-%ghost %{_javadocdir}/%{name}
+%{_javadocdir}/%{name}
 
 %changelog
+* Sun Jul 07 2012 Ralph Apel <r.apel at r-apel.de> 0:1.2-2
+- Refloat for JPP-6
+
 * Tue Mar 11 2008 Ralph Apel <r.apel at r-apel.de> 0:1.2-1jpp
 - First release
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.