[RPM (6.0)] [DIST generic] args4j10-1.0-2.jpp6
Ralph Apel <[email protected]>
| Newsgroups | gmane.linux.jpackage.announce |
|---|---|
| Message-ID | <[email protected]> |
Name : args4j10 Relocations: (not relocatable) Version : 1.0 Vendor: JPackage Project Release : 2.jpp6 Build Date: Sun 08 Jul 2012 08:50:22 AM CEST Install Date: (not installed) Build Host: linux.fritz.box Group : Development/Libraries/Java Source RPM: (none) Size : 24538 License: MIT-style Signature : (none) Packager : Ralph Apel <[email protected]> URL : https://args4j.dev.java.net/ Summary : Commandline parser Description : Args4j is a small Java class library that makes it easy to parse command line options/arguments in your CUI application. --------------- Ralph Apel <r.apel at r-apel.de> - 0:1.0-2 - Refloat for JPP-6 --------------- args4j10.src: W: specfile-error sh: line 0: fg: no job control args4j10.src: W: specfile-error sh: line 0: fg: no job control args4j10.src: W: source-or-patch-not-bzipped args4j10-project.patch args4j10.src: W: no-signature args4j10.src: W: invalid-license MIT-style 1 packages and 0 specfiles checked; 0 errors, 5 warnings. --------------- Index: args4j10.spec =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/args4j10/args4j10.spec,v retrieving revision 1.1 diff -u -r1.1 args4j10.spec --- args4j10.spec 10 Mar 2008 17:01:02 -0000 1.1 +++ args4j10.spec 8 Jul 2012 06:51:21 -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,17 +28,17 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# If you don't want to build with maven, and use straight ant instead, -# give rpmbuild option '--without maven' +# If you want to build with maven1, instead of straight ant, +# give rpmbuild option '--with maven' -%define with_maven %{!?_without_maven:1}%{?_without_maven:0} -%define without_maven %{?_without_maven:1}%{!?_without_maven:0} +%define with_maven %{!?_with_maven:0}%{?_with_maven:1} +%define without_maven %{?_with_maven:0}%{!?_with_maven:1} %define section free Name: args4j10 Version: 1.0 -Release: 1jpp +Release: 2%{?dist} Epoch: 0 Summary: Commandline parser @@ -50,12 +50,10 @@ Source1: args4j-1.0.pom Patch0: args4j10-project.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}} -Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} BuildArch: noarch -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: ant-junit BuildRequires: junit %if %{with_maven} @@ -78,8 +76,8 @@ BuildRequires: saxon-scripts %endif -Requires(post): jpackage-utils >= 0:1.7.4 -Requires(postun): jpackage-utils >= 0:1.7.4 +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 %description Args4j is a small Java class library that makes it easy to @@ -88,8 +86,6 @@ %package javadoc Summary: Javadoc for %{name} Group: Development/Documentation -Requires(post): /bin/rm,/bin/ln -Requires(postun): /bin/rm %description javadoc %{summary}. @@ -112,7 +108,6 @@ %patch0 -b .sav0 %build -export JAVA_HOME=%{_jvmdir}/java-1.5.0 %if %{with_maven} export MAVEN_HOME_LOCAL=$(pwd)/.maven @@ -155,16 +150,6 @@ %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 @@ -175,15 +160,18 @@ %defattr(-,root,root,-) %{_docdir}/%{name}-%{version}/LICENSE.txt %{_javadir}/*.jar -%{_datadir}/maven2 -%{_mavendepmapfragdir} +%{_datadir}/maven2/poms/* +%{_mavendepmapfragdir}/* %files javadoc %defattr(-,root,root,-) %doc %{_javadocdir}/%{name}-%{version} -%ghost %doc %{_javadocdir}/%{name} +%doc %{_javadocdir}/%{name} %changelog +* Sun Jul 08 2012 Ralph Apel <r.apel at r-apel.de> - 0:1.0-2 +- Refloat for JPP-6 + * Mon Mar 10 2008 Ralph Apel <r.apel at r-apel.de> - 0:1.0-1jpp - First release