add license text, correct tag

f38
Tom Callaway 12 years ago
parent 4270435700
commit 183915845e

@ -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.

@ -34,16 +34,18 @@
Name: java_cup Name: java_cup
Version: 0.11a Version: 0.11a
Release: 9%{?dist} Release: 10%{?dist}
Epoch: 1 Epoch: 1
Summary: Java source interpreter Summary: Java source interpreter
License: BSD and LGPLv2 License: MIT
URL: http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/ 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 #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/ #tar cjf java_cup-0.11a.tar.bz2 java_cup-0.11a/
Source0: java_cup-0.11a.tar.bz2 Source0: java_cup-0.11a.tar.bz2
Source1: java_cup-pom.xml Source1: java_cup-pom.xml
Source2: %{name}-runtime-MANIFEST.MF Source2: %{name}-runtime-MANIFEST.MF
# Taken from http://www2.cs.tum.edu/projects/cup/
Source3: LICENSE.txt
Patch0: %{name}-build.patch Patch0: %{name}-build.patch
Patch1: java_cup-0.11a-manifest.patch Patch1: java_cup-0.11a-manifest.patch
BuildRequires: zip BuildRequires: zip
@ -82,6 +84,7 @@ Documentation for java_cup.
%patch0 -b .build %patch0 -b .build
%patch1 -p1 -b .manifest %patch1 -p1 -b .manifest
cp %{SOURCE1} pom.xml cp %{SOURCE1} pom.xml
cp %{SOURCE3} .
# remove all binary files # remove all binary files
find -name "*.class" -delete find -name "*.class" -delete
@ -140,7 +143,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc changelog.txt %doc changelog.txt LICENSE.txt
%{_javadir}/* %{_javadir}/*
%{_mavenpomdir}/* %{_mavenpomdir}/*
%{_mavendepmapfragdir}/* %{_mavendepmapfragdir}/*
@ -155,6 +158,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_javadocdir}/%{name} %doc %{_javadocdir}/%{name}
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

Loading…
Cancel
Save