rpms/java_cup/devel java_cup-build.patch, NONE, 1.1 java_cup.spec, 1.27, 1.28 sources, 1.4, 1.5 .cvsignore, 1.6, 1.7 java_cup-build.xml, 1.1, NONE cup-ant-task.patch, 1.1, NONE

Alexander Kurtakov akurtakov at fedoraproject.org
Fri Jan 8 11:55:23 UTC 2010


Author: akurtakov

Update of /cvs/pkgs/rpms/java_cup/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16595/devel

Modified Files:
	java_cup.spec sources .cvsignore 
Added Files:
	java_cup-build.patch 
Removed Files:
	java_cup-build.xml cup-ant-task.patch 
Log Message:
Update to new version 0.11a.

java_cup-build.patch:
 build.xml |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

--- NEW FILE java_cup-build.patch ---
--- build.xml.sav	2006-03-28 14:34:52.000000000 +0300
+++ build.xml	2010-01-08 12:50:20.346608627 +0200
@@ -76,4 +76,19 @@
     </java>  
     
   </target>
+	
+	<target name="javadoc" >
+			<mkdir dir="${dist}/javadoc"/>
+			<javadoc 
+			destdir="${dist}/javadoc"
+			author="true"
+			version="true"
+			use="true"
+			windowtitle="java_cup API">
+
+			<fileset dir="src" defaultexcludes="yes">
+			</fileset>
+			</javadoc>
+
+		</target>
 </project>


Index: java_cup.spec
===================================================================
RCS file: /cvs/pkgs/rpms/java_cup/devel/java_cup.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- java_cup.spec	25 Jul 2009 03:55:20 -0000	1.27
+++ java_cup.spec	8 Jan 2010 11:55:22 -0000	1.28
@@ -28,37 +28,26 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define _with_gcj_support 1
-
-%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
-
-%define pkg_version     v10k
+%define pkg_version     11a
 %define section         free
 
 Name:           java_cup
-Version:        0.10k
-Release:        3
+Version:        0.11a
+Release:        1%{?dist}
 Epoch:          1
 Summary:        Java source interpreter
 License:        BSD and LGPLv2
-Url:            http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/
-Source0:        http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/%{name}_%{pkg_version}.tar.gz
-Source1:        %{name}-build.xml
-Patch0:         http://jflex.de/cup-ant-task.patch
+URL:            http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/
+#svn export -r 21 https://www2.in.tum.de/repos/cup/develop/ java_cup-0.11a 
+#tar cjf java_cup-0.11a.tar.bz2 java_cup-0.11a/
+Source0:        java_cup-0.11a.tar.bz2
+Patch0:         %{name}-build.patch
 BuildRequires:  ant
 BuildRequires:  jpackage-utils >= 0:1.5
 Group:          Development/Tools
-%if ! %{gcj_support}
-Buildarch:      noarch
-%endif
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-%if %{gcj_support}
-BuildRequires:          java-gcj-compat-devel
-Requires(post):         java-gcj-compat
-Requires(postun):       java-gcj-compat
-%endif
-
 %description
 java_cup is a LALR Parser Generator for Java
 
@@ -80,9 +69,8 @@ Group:          Documentation
 Documentation for java_cup.
 
 %prep
-%setup -q -c -n %{name}-%{version}
-%patch0 -p0 
-install -m 644 %{SOURCE1} build.xml
+%setup -q 
+%patch0 -b .sav
 
 # remove all binary files
 find . -name "*.class" -exec rm -f {} \;
@@ -97,8 +85,8 @@ rm -rf $RPM_BUILD_ROOT
 
 # jar
 install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
-install -m 644 dist/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-install -m 644 dist/lib/%{name}-runtime.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-runtime-%{version}.jar
+install -m 644 dist/java-cup-%{pkg_version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
+install -m 644 dist/java-cup-%{pkg_version}-runtime.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-runtime-%{version}.jar
 (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do \
 ln -sf ${jar} ${jar/-%{version}/}; done)
 
@@ -107,59 +95,28 @@ install -d -m 755 $RPM_BUILD_ROOT%{_java
 cp -pr dist/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 (cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name})
 
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post javadoc
-rm -f %{_javadocdir}/%{name}
-ln -s %{name}-%{version} %{_javadocdir}/%{name}
-
-%postun javadoc
-if [ $1 -eq 0 ]; then
-  rm -f %{_javadocdir}/%{name}
-fi
-
-%post
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
-
-%postun
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
-
 %files
 %defattr(0644,root,root,0755)
-%doc README LICENSE CHANGELOG
+%doc changelog.txt
 %{_javadir}/*
 
-%if %{gcj_support}
-%attr(-,root,root) %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/java_cup-%{version}.jar.*
-%attr(-,root,root) %{_libdir}/gcj/%{name}/java_cup-runtime-%{version}.jar.*
-%endif
-
 %files manual
 %defattr(0644,root,root,0755)
-%doc cup_logo.gif manual.html
+%doc manual.html
 
 %files javadoc
 %defattr(0644,root,root,0755)
 %doc %{_javadocdir}/%{name}-%{version}
-%ghost %doc %{_javadocdir}/%{name}
+%doc %{_javadocdir}/%{name}
 
 %changelog
+* Fri Jan 8 2010 Alexander Kurtakov <akurtako at redhat.com> 1:0.11a-1
+- Update to 0.11a.
+- Drop gcj_support.
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.10k-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/java_cup/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources	17 Feb 2008 21:33:16 -0000	1.4
+++ sources	8 Jan 2010 11:55:23 -0000	1.5
@@ -1 +1 @@
-8b11edfec13c590ea443d0f0ae0da479  java_cup_v10k.tar.gz
+686765898d356a6d3e780d83b3236f39  java_cup-0.11a.tar.bz2


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/java_cup/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- .cvsignore	17 Feb 2008 21:33:16 -0000	1.6
+++ .cvsignore	8 Jan 2010 11:55:23 -0000	1.7
@@ -1 +1,2 @@
 java_cup_v10k.tar.gz
+java_cup-0.11a.tar.bz2


--- java_cup-build.xml DELETED ---


--- cup-ant-task.patch DELETED ---




More information about the fedora-extras-commits mailing list