[RPM (6.0)] [DIST generic] gsbase-2.0.1-2.jpp6
Ralph Apel <[email protected]>
| Newsgroups | gmane.linux.jpackage.announce |
|---|---|
| Message-ID | <[email protected]> |
Name : gsbase Relocations: (not relocatable) Version : 2.0.1 Vendor: JPackage Project Release : 2.jpp6 Build Date: Sun 05 Aug 2012 01:50:06 PM CEST Install Date: (not installed) Build Host: flat.netmindz.net Group : Development/Java Source RPM: (none) Size : 242097 License: Apache-style Software License Signature : (none) Packager : Ralph Apel <[email protected]> URL : http://gsbase.sourceforge.net/ Summary : GSBase Description : A collection of classes that are helpful when writing JUnit test cases. --------------- Ralph Apel <r.apel at r-apel.de> - 0:2.0.1-2 - First JPP-6 release --------------- gsbase.src: W: source-or-patch-not-bzipped gsbase-site-jsl.patch gsbase.src: W: source-or-patch-not-bzipped gsbase-maven.patch gsbase.src: W: source-or-patch-not-bzipped gsbase-jdk6.patch gsbase.src: W: non-standard-group Development/Java gsbase.src: W: no-signature gsbase.src: W: name-repeated-in-summary GSBase gsbase.src: W: invalid-license Apache-style Software License 1 packages and 0 specfiles checked; 0 errors, 7 warnings. --------------- Index: gsbase.spec =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/gsbase/gsbase.spec,v retrieving revision 1.1 diff -u -r1.1 gsbase.spec --- gsbase.spec 21 Dec 2007 13:51:56 -0000 1.1 +++ gsbase.spec 5 Aug 2012 11:51:57 -0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2000-2007, 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' @@ -37,16 +35,18 @@ %define without_maven %{?_without_maven:1}%{!?_without_maven:0} %define section free +%define _binary_payload w9.gzdio +%define _source_payload w9.gzdio +%define _binary_filedigest_algorithm 1 +%define _source_filedigest_algorithm 1 Name: gsbase Version: 2.0.1 -Release: 1jpp +Release: 2%{?dist} Epoch: 0 Summary: GSBase License: Apache-style Software License Group: Development/Java -Vendor: JPackage Project -Distribution: JPackage URL: http://gsbase.sourceforge.net/ Source0: %{name}-%{version}.tar.gz # cvs -d:pserver:anonymous-Rrm9hos4H5QS80KnDVp5UUlJZQVUctH7rE5yTffgRl4@public.gmane.org:/cvsroot/gsbase login @@ -60,15 +60,14 @@ Patch0: %{name}-maven.patch Patch1: %{name}-site-jsl.patch +Patch2: %{name}-jdk6.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -%if ! %{gcj_support} BuildArch: noarch -%endif -BuildRequires: jpackage-utils >= 0:1.7.3 -BuildRequires: ant >= 0:1.6.5 +BuildRequires: jpackage-utils >= 0:1.7.5 +BuildRequires: ant >= 0:1.7.1 BuildRequires: junit BuildRequires: junitperf %if %{with_maven} @@ -90,16 +89,10 @@ BuildRequires: saxon BuildRequires: saxon-scripts %endif -%if %{gcj_support} -BuildRequires: gnu-crypto -BuildRequires: java-gcj-compat-devel -Requires(post): java-gcj-compat -Requires(postun): java-gcj-compat -%endif Requires: junit Requires: junitperf -Requires(post): jpackage-utils >= 0:1.7.3 -Requires(postun): jpackage-utils >= 0:1.7.3 +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 %description A collection of classes that are helpful @@ -109,8 +102,6 @@ %package javadoc Summary: Javadoc for %{name} Group: Development/Documentation -Requires(post): /bin/rm,/bin/ln -Requires(postun): /bin/rm %description javadoc %{summary}. @@ -132,6 +123,7 @@ done %patch0 -b .sav0 %patch1 -b .sav1 +%patch2 -b .sav2 cp %{SOURCE6} build.xml %build @@ -179,7 +171,7 @@ install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -pm 644 target/%{name}-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar -%add_to_maven_depmap %{name} %{name} %{namedversion} JPP %{name} +%add_to_maven_depmap %{name} %{name} %{version} JPP %{name} (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) @@ -201,40 +193,14 @@ cp -pr target/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %endif -%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(-,root,root,-) @@ -242,16 +208,12 @@ %dir %{_docdir}/%{name}-%{version} %doc %{_docdir}/%{name}-%{version}/LICENSE.txt %{_datadir}/maven2/poms/* -%{_mavendepmapfragdir} -%if %{gcj_support} -%dir %attr(-,root,root) %{_libdir}/gcj/%{name} -%attr(-,root,root) %{_libdir}/gcj/%{name}/%{subname}*-%{version}.jar.* -%endif +%{_mavendepmapfragdir}/* %files javadoc %defattr(-,root,root,-) %doc %{_javadocdir}/%{name}-%{version} -%ghost %doc %{_javadocdir}/%{name} +%doc %{_javadocdir}/%{name} %if %{with_maven} %files manual @@ -260,6 +222,9 @@ %endif %changelog +* Sun Aug 05 2012 Ralph Apel <r.apel at r-apel.de> - 0:2.0.1-2 +- First JPP-6 release + * Fri Dec 21 2007 Ralph Apel <r.apel at r-apel.de> - 0:2.0.1-1jpp - First JPackage build