]> git.pld-linux.org Git - packages/gradle.git/blame - gradle.spec
up to 4.3
[packages/gradle.git] / gradle.spec
CommitLineData
62f43191
JP
1Summary: Groovy based build system
2Name: gradle
b8245120 3Version: 4.3
62f43191 4Release: 1
8343316d 5License: Apache v2.0
62f43191
JP
6Group: Development/Languages/Java
7Source0: http://services.gradle.org/distributions/%{name}-%{version}-bin.zip
b8245120 8# Source0-md5: 01c94598a0c2e65706f652b9cb95ccc6
62f43191 9URL: http://www.gradle.org/
8e4c327b 10BuildRequires: rpmbuild(macros) >= 1.672
2d4a1588 11Requires: jdk >= 1.7
62f43191
JP
12BuildArch: noarch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
8e4c327b
JP
15%define _noautoreq_java ClassDataVersion
16
62f43191
JP
17%description
18Gradle is a build system written in Groovy. It uses Groovy
19also as the language for its build scripts. It has a powerful
20multi-project build support. It has a layer on top of Ivy
21that provides a build-by-convention integration for Ivy. It
22gives you always the choice between the flexibility of Ant
23and the convenience of a build-by-convention behavior.
24
25%prep
26%setup -q
27
28%install
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/bin}
31ln -sf %{_datadir}/%{name}/bin/gradle $RPM_BUILD_ROOT%{_bindir}/gradle
32
33install -d $RPM_BUILD_ROOT
34install bin/gradle $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
35cp -a lib media $RPM_BUILD_ROOT%{_datadir}/%{name}
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%files
41%defattr(644,root,root,755)
4edb9bba 42%doc NOTICE getting-started.html
62f43191
JP
43%attr(755,root,root) %{_bindir}/gradle
44%dir %{_datadir}/%{name}
45%dir %{_datadir}/%{name}/bin
46%attr(755,root,root) %{_datadir}/%{name}/bin/gradle
47%{_datadir}/%{name}/lib
48%{_datadir}/%{name}/media
This page took 0.101865 seconds and 4 git commands to generate.