X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gradle.spec;h=7f4bce0343ac263d58790808dbaabd07a0dd3f28;hb=668d94a06804eea5f484dd147107161262dd6f5d;hp=3e758ac7a78bf47a3c7df77d81494e6270f382e0;hpb=9723183ec75f0221d8a59c6a9ea6f59be2f7f515;p=packages%2Fgradle.git diff --git a/gradle.spec b/gradle.spec index 3e758ac..7f4bce0 100644 --- a/gradle.spec +++ b/gradle.spec @@ -1,16 +1,19 @@ Summary: Groovy based build system Name: gradle -Version: 1.10 +Version: 5.2 Release: 1 -License: Apache +License: Apache v2.0 Group: Development/Languages/Java Source0: http://services.gradle.org/distributions/%{name}-%{version}-bin.zip -# Source0-md5: 5594e5bc7f088683c1e90f99aa49f5fc +# Source0-md5: 0aa034edfed78fff9dcba7da401b382b URL: http://www.gradle.org/ -Requires: jdk +BuildRequires: rpmbuild(macros) >= 1.672 +Requires: jdk >= 1.7 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define _noautoreq_java ClassDataVersion + %description Gradle is a build system written in Groovy. It uses Groovy also as the language for its build scripts. It has a powerful @@ -22,6 +25,8 @@ and the convenience of a build-by-convention behavior. %prep %setup -q +%{__sed} -i -e '1s,/usr/bin/env sh,/bin/sh,' bin/gradle + %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/bin} @@ -36,7 +41,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc NOTICE changelog.txt getting-started.html +%doc NOTICE getting-started.html %attr(755,root,root) %{_bindir}/gradle %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/bin