Fridrich Strba 2019-04-16 17:55:17 +00:00 committed by Git OBS Bridge
parent 59d29287d2
commit eb53923425

View File

@ -22,20 +22,14 @@ Name: groovy18
Version: 1.8.9 Version: 1.8.9
Release: 0 Release: 0
Summary: Dynamic language for the Java Platform Summary: Dynamic language for the Java Platform
# Some of the files are licensed under BSD and CPL terms, but the CPL has been superceded License: Apache-2.0
# by the EPL. We include copies of both for completeness.
# groovyConsole uses CC-BY licensed icons
# thanks to Michal Srb and Mikolaj Izdebski, and Tom Callaway
License: Apache-2.0 AND BSD AND EPL-1.0 AND SUSE-Public-Domain AND CC-BY
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: http://groovy-lang.org URL: http://groovy-lang.org
Source0: https://github.com/groovy/groovy-core/archive/GROOVY_%{archiver}.zip Source0: https://github.com/groovy/groovy-core/archive/GROOVY_%{archiver}.zip
# thanks to Johannes Lips and Matt Spaulding # thanks to Johannes Lips and Matt Spaulding
Source1: groovy18-script Source1: groovy18-script
Source2: groovy18-starter.conf Source2: groovy18-starter.conf
Source4: cpl-v10.txt Source3: http://www.apache.org/licenses/LICENSE-2.0.txt
Source5: epl-v10.txt
Source6: http://www.apache.org/licenses/LICENSE-2.0.txt
# thanks to Andy Grimm # thanks to Andy Grimm
Patch0: groovy-inner-interface-annotations.patch Patch0: groovy-inner-interface-annotations.patch
Patch1: groovy-build-with-java8.patch Patch1: groovy-build-with-java8.patch
@ -126,7 +120,7 @@ JavaDoc documentation for %{name}
find . -name "*.class" -delete find . -name "*.class" -delete
find . -name "*.jar" -delete find . -name "*.jar" -delete
cp %{SOURCE4} %{SOURCE5} %{SOURCE6} . cp %{SOURCE3} .
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
@ -204,13 +198,13 @@ install -p -m644 %{SOURCE2} \
%{_bindir}/* %{_bindir}/*
%config(noreplace) %{_sysconfdir}/%{name}-starter.conf %config(noreplace) %{_sysconfdir}/%{name}-starter.conf
%doc README.md %doc README.md
%license LICENSE.txt LICENSE-2.0.txt NOTICE.txt cpl-v10.txt epl-v10.txt %license LICENSE.txt LICENSE-2.0.txt NOTICE.txt
%files lib -f .mfiles-%{name}-lib %files lib -f .mfiles-%{name}-lib
%license LICENSE.txt LICENSE-2.0.txt NOTICE.txt cpl-v10.txt epl-v10.txt %license LICENSE.txt LICENSE-2.0.txt NOTICE.txt
%files javadoc %files javadoc
%{_javadocdir}/%{name} %{_javadocdir}/%{name}
%license LICENSE.txt LICENSE-2.0.txt NOTICE.txt cpl-v10.txt epl-v10.txt %license LICENSE.txt LICENSE-2.0.txt NOTICE.txt
%changelog %changelog