diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..ba43a7d --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,19 @@ +CUP Parser Generator Copyright Notice, License, and Disclaimer +Copyright 1996-1999 by Scott Hudson, Frank Flannery, C. Scott Ananian + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both the copyright notice and this permission notice and warranty +disclaimer appear in supporting documentation, and that the names of the +authors or their employers not be used in advertising or publicity +pertaining to distribution of the software without specific, written +prior permission. + +The authors and their employers disclaim all warranties with regard to +this software, including all implied warranties of merchantability and +fitness. In no event shall the authors or their employers be liable for +any special, indirect or consequential damages or any damages whatsoever +resulting from loss of use, data or profits, whether in an action of +contract, negligence or other tortious action, arising out of or in +connection with the use or performance of this software. diff --git a/java_cup.spec b/java_cup.spec index 8d49f06..7a6d0a7 100644 --- a/java_cup.spec +++ b/java_cup.spec @@ -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 - 1:0.11a-10 +- include copy of LICENSE, correct License tag + * Thu Jul 19 2012 Fedora Release Engineering - 1:0.11a-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild