SPECS: jflex.spec - up to 1.4.1 - sorry, no javadoc

baggins baggins at pld-linux.org
Tue Sep 12 16:38:56 CEST 2006


Author: baggins                      Date: Tue Sep 12 14:38:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.4.1
- sorry, no javadoc

---- Files affected:
SPECS:
   jflex.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/jflex.spec
diff -u SPECS/jflex.spec:1.3 SPECS/jflex.spec:1.4
--- SPECS/jflex.spec:1.3	Wed May 17 07:51:55 2006
+++ SPECS/jflex.spec	Tue Sep 12 16:38:50 2006
@@ -2,13 +2,12 @@
 Summary:	Fast Scanner Generator
 Summary(pl):	Szybki generator skanerów leksykalnych
 Name:		jflex
-Version:	1.3.5
+Version:	1.4.1
 Release:	0.1
 License:	GPL
 Group:		Development/Languages/Java
 Source0:	http://jflex.de/%{name}-%{version}.tar.gz
-# Source0-md5:	c77a9656aa20979f2268d7443995700f
-Patch0:		%{name}-Makefile.patch
+# Source0-md5:	9e4be6e826e6b344e84c0434d6fd4b46
 URL:		http://jflex.de/
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,14 +47,11 @@
 Dokumentacja javadoc dla pakietu %{name}.
 
 %prep
-%setup -q -n JFlex
-for j in $(find . -name "*.jar"); do mv $j $j.no; done
-find . -name "*.class" -exec rm {} \;
-%patch0
+%setup -q
 
 %build
-%{__make} -j1 -C src \
-	all javadoc
+cd src
+%{ant} gettools realclean jar
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -72,9 +68,9 @@
 cd -
 
 # javadoc
-install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-cp -pr api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
+#install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
+#cp -pr api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
+#ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
 
 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 cp -p doc/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
@@ -96,10 +92,10 @@
 %doc %{_docdir}/%{name}-%{version}
 %{_javadir}/*.jar
 
-%files javadoc
-%defattr(644,root,root,755)
-%{_javadocdir}/%{name}-%{version}
-%ghost %{_javadocdir}/%{name}
+#%files javadoc
+#%defattr(644,root,root,755)
+#%{_javadocdir}/%{name}-%{version}
+#%ghost %{_javadocdir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -107,6 +103,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/09/12 14:38:50  baggins
+- up to 1.4.1
+- sorry, no javadoc
+
 Revision 1.3  2006/05/17 05:51:55  qboosh
 - pl, killed subshell
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/jflex.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list