]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- manual build example (for packages that lacks usable build script)
authorpawelz <pawelz@pld-linux.org>
Tue, 9 Feb 2010 16:32:19 +0000 (16:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    java.spec -> 1.41

java.spec

index 974f3b8c9e77ea84f4de3c5a6c3d083b14b62c8a..867d73f1456b338a0f8f7f872f441c25ab69f81e 100644 (file)
--- a/java.spec
+++ b/java.spec
@@ -115,8 +115,13 @@ export CLASSPATH
 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}
This page took 0.037079 seconds and 4 git commands to generate.