template-specs: java.spec - manual build example (for packages that lacks u...

pawelz pawelz at pld-linux.org
Tue Feb 9 17:32:24 CET 2010


Author: pawelz                       Date: Tue Feb  9 16:32:24 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- manual build example (for packages that lacks usable build script)

---- Files affected:
template-specs:
   java.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: template-specs/java.spec
diff -u template-specs/java.spec:1.40 template-specs/java.spec:1.41
--- template-specs/java.spec:1.40	Tue Feb  9 17:29:50 2010
+++ template-specs/java.spec	Tue Feb  9 17:32:19 2010
@@ -116,8 +116,13 @@
 export LC_ALL=en_US # source code not US-ASCII
 
 %ant
+
 %{__make}
 
+cd src
+%javac -cp $CLASSPATH $(find -name '*.java')
+%jar cf ../%{srcname}.jar $(find -name '*.class')
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_javadir}
@@ -177,6 +182,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2010/02/09 16:32:19  pawelz
+- manual build example (for packages that lacks usable build script)
+
 Revision 1.40  2010/02/09 16:29:50  pawelz
 - Summary/description pl stubs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/java.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list