|
|
|
@ -34,7 +34,7 @@
|
|
|
|
|
|
|
|
|
|
Name: java_cup
|
|
|
|
|
Version: 0.11a
|
|
|
|
|
Release: 14%{?dist}
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Summary: Java source interpreter
|
|
|
|
|
License: MIT
|
|
|
|
@ -43,7 +43,9 @@ URL: http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/
|
|
|
|
|
#tar cjf java_cup-0.11a.tar.bz2 java_cup-0.11a/
|
|
|
|
|
Source0: java_cup-0.11a.tar.bz2
|
|
|
|
|
Source1: java_cup-pom.xml
|
|
|
|
|
Source2: %{name}-runtime-MANIFEST.MF
|
|
|
|
|
# Add OSGi manifests
|
|
|
|
|
Source2: %{name}-MANIFEST.MF
|
|
|
|
|
Source4: %{name}-runtime-MANIFEST.MF
|
|
|
|
|
# Taken from http://www2.cs.tum.edu/projects/cup/
|
|
|
|
|
Source3: LICENSE.txt
|
|
|
|
|
Patch0: %{name}-build.patch
|
|
|
|
@ -112,10 +114,13 @@ find -name parser.cup -delete
|
|
|
|
|
ant javadoc
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
# inject OSGi manifest
|
|
|
|
|
# inject OSGi manifests
|
|
|
|
|
mkdir -p META-INF
|
|
|
|
|
cp -p %{SOURCE2} META-INF/MANIFEST.MF
|
|
|
|
|
touch META-INF/MANIFEST.MF
|
|
|
|
|
zip -u dist/java-cup-%{pkg_version}.jar META-INF/MANIFEST.MF
|
|
|
|
|
cp -p %{SOURCE4} META-INF/MANIFEST.MF
|
|
|
|
|
touch META-INF/MANIFEST.MF
|
|
|
|
|
zip -u dist/java-cup-%{pkg_version}-runtime.jar META-INF/MANIFEST.MF
|
|
|
|
|
|
|
|
|
|
# jar
|
|
|
|
@ -146,6 +151,9 @@ cp -pr dist/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
|
%{_javadocdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 31 2013 Mat Booth <fedora@matbooth.co.uk> - 1:0.11a-15
|
|
|
|
|
- Inject OSGi manifests into both jars.
|
|
|
|
|
|
|
|
|
|
* Fri Aug 30 2013 Mat Booth <fedora@matbooth.co.uk> - 1:0.11a-14
|
|
|
|
|
- Patch so that generated action methods do not exceed the 65535 byte JVM
|
|
|
|
|
method size limit. Supplied by eclipse-pdt project.
|
|
|
|
|