add license text, correct tag

This commit is contained in:
Tom Callaway 2012-11-13 10:59:51 -05:00
commit 183915845e
2 changed files with 28 additions and 3 deletions

View file

@ -34,16 +34,18 @@
Name: java_cup
Version: 0.11a
Release: 9%{?dist}
Release: 10%{?dist}
Epoch: 1
Summary: Java source interpreter
License: BSD and LGPLv2
License: MIT
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
Source1: java_cup-pom.xml
Source2: %{name}-runtime-MANIFEST.MF
# Taken from http://www2.cs.tum.edu/projects/cup/
Source3: LICENSE.txt
Patch0: %{name}-build.patch
Patch1: java_cup-0.11a-manifest.patch
BuildRequires: zip
@ -82,6 +84,7 @@ Documentation for java_cup.
%patch0 -b .build
%patch1 -p1 -b .manifest
cp %{SOURCE1} pom.xml
cp %{SOURCE3} .
# remove all binary files
find -name "*.class" -delete
@ -140,7 +143,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(0644,root,root,0755)
%doc changelog.txt
%doc changelog.txt LICENSE.txt
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
@ -155,6 +158,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_javadocdir}/%{name}
%changelog
* Tue Nov 13 2012 Tom Callaway <spot@fedoraproject.org> - 1:0.11a-10
- include copy of LICENSE, correct License tag
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.11a-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild