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