]> git.pld-linux.org Git - packages/gradle.git/blame_incremental - gradle.spec
up to 4.5
[packages/gradle.git] / gradle.spec
... / ...
CommitLineData
1Summary: Groovy based build system
2Name: gradle
3Version: 4.5
4Release: 1
5License: Apache v2.0
6Group: Development/Languages/Java
7Source0: http://services.gradle.org/distributions/%{name}-%{version}-bin.zip
8# Source0-md5: 9c7cbfd98810317ddb831f318bd009ce
9URL: http://www.gradle.org/
10BuildRequires: rpmbuild(macros) >= 1.672
11Requires: jdk >= 1.7
12BuildArch: noarch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%define _noautoreq_java ClassDataVersion
16
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%{__sed} -i -e '1s,/usr/bin/env sh,/bin/sh,' bin/gradle
29
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/bin}
33ln -sf %{_datadir}/%{name}/bin/gradle $RPM_BUILD_ROOT%{_bindir}/gradle
34
35install -d $RPM_BUILD_ROOT
36install bin/gradle $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
37cp -a lib media $RPM_BUILD_ROOT%{_datadir}/%{name}
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc NOTICE getting-started.html
45%attr(755,root,root) %{_bindir}/gradle
46%dir %{_datadir}/%{name}
47%dir %{_datadir}/%{name}/bin
48%attr(755,root,root) %{_datadir}/%{name}/bin/gradle
49%{_datadir}/%{name}/lib
50%{_datadir}/%{name}/media
This page took 0.032186 seconds and 4 git commands to generate.