SPECS (ANT-1_4): ant.spec - try building ant-1.4.1

glen glen at pld-linux.org
Wed Apr 18 00:43:36 CEST 2007


Author: glen                         Date: Tue Apr 17 22:43:36 2007 GMT
Module: SPECS                         Tag: ANT-1_4
---- Log message:
- try building ant-1.4.1

---- Files affected:
SPECS:
   ant.spec (1.11 -> 1.11.2.1) 

---- Diffs:

================================================================
Index: SPECS/ant.spec
diff -u SPECS/ant.spec:1.11 SPECS/ant.spec:1.11.2.1
--- SPECS/ant.spec:1.11	Sat Aug 24 22:18:50 2002
+++ SPECS/ant.spec	Wed Apr 18 00:43:31 2007
@@ -6,8 +6,10 @@
 Release:	4
 License:	Apache
 Group:		Development/Languages/Java
-Source0:	http://jakarta.apache.org/builds/%{name}/release/v%{version}/src/%{name}-%{version}-src.tar.gz
-Source1:	http://jakarta.apache.org/builds/%{name}/release/v%{version}/bin/%{name}-%{version}-optional.jar
+Source0:	http://archive.apache.org/dist/ant/source/%{name}-%{version}-src.zip
+# Source0-md5:	e6bbfcfd3934ff19903d905821582fe4
+Source1:	http://jakarta.apache.org/builds/jakarta-ant/release/v%{version}/bin/%{name}-%{version}-optional.jar
+# Source1-md5:	319583f83c98e7c9db4d73b2d1122d76
 Patch0:		%{name}-ANT_HOME.patch
 URL:		http://jakarta.apache.org/ant/
 BuildRequires:	jdk
@@ -45,7 +47,7 @@
 
 %build
 if [ -z "$JAVA_HOME" ]; then
-	JAVA_HOME=/usr/lib/java
+	JAVA_HOME=%{_libdir}/java
 fi
 CLASSPATH="$JAVA_HOME/jre/lib/rt.jar:%{SOURCE1}"
 export JAVA_HOME CLASSPATH
@@ -83,10 +85,13 @@
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
-* %{date} PLD Team <feedback at pld.org.pl>
-All persons listed below can be reached at <cvs_login>@pld.org.pl
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11.2.1  2007/04/17 22:43:31  glen
+- try building ant-1.4.1
+
 Revision 1.11  2002/08/24 20:18:50  qboosh
 - standarized JAVA_HOME, Requires: jdk
 - added standard JAVA_HOME detection to ANT_HOME patch
@@ -99,25 +104,24 @@
 - exit when JAVA_HOME is not set
 
 Revision 1.8  2002/04/25 16:38:27  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.7  2002/03/21 14:38:55  wiget
 - make ant work out of the box (ANT_HOME.patch)
 - fix CLASSPATH definition (don't add CLASSPATH from env. outside spec, this grow entropy)
-
-/usr/share/java/lib symlink look very strange...
+  /usr/share/java/lib symlink look very strange...
 
 Revision 1.6  2002/03/12 18:41:31  aflinta
- - changed buildrequires to jdk, every Java Development package should provide it
- - changed JAVA_HOME initialization to proper directory
- - release 2
+- changed buildrequires to jdk, every Java Development package should provide it
+- changed JAVA_HOME initialization to proper directory
+- release 2
 
 Revision 1.5  2002/02/22 23:29:05  kloczek
 - removed all Group fields translations (our rpm now can handle translating
   Group field using gettext).
 
 Revision 1.4  2002/01/18 02:13:23  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.3  2001/11/30 11:57:46  qboosh
 - pl descriptions, cosmetics, removed bashisms
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ant.spec?r1=1.11&r2=1.11.2.1&f=u



More information about the pld-cvs-commit mailing list