[packages/gradle] - new

atler atler at pld-linux.org
Tue Jul 23 12:03:23 CEST 2013


commit 62f431919fa76d65c857e168a78f24a318604909
Author: Jan Palus <jan.palus at gmail.com>
Date:   Tue Jul 23 12:03:05 2013 +0200

    - new

 gradle.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/gradle.spec b/gradle.spec
new file mode 100644
index 0000000..cf07cb9
--- /dev/null
+++ b/gradle.spec
@@ -0,0 +1,45 @@
+Summary:	Groovy based build system
+Name:		gradle
+Version:	1.6
+Release:	1
+License:	Apache
+Group:		Development/Languages/Java
+Source0:	http://services.gradle.org/distributions/%{name}-%{version}-bin.zip
+# Source0-md5:	38d163cc74290bb8e81adaf43e774b9d
+URL:		http://www.gradle.org/
+Requires:	jdk
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Gradle is a build system written in Groovy. It uses Groovy
+also as the language for its build scripts. It has a powerful
+multi-project build support. It has a layer on top of Ivy
+that provides a build-by-convention integration for Ivy. It
+gives you always the choice between the flexibility of Ant
+and the convenience of a build-by-convention behavior.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/bin}
+ln -sf %{_datadir}/%{name}/bin/gradle $RPM_BUILD_ROOT%{_bindir}/gradle
+
+install -d $RPM_BUILD_ROOT
+install bin/gradle $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
+cp -a lib media $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NOTICE changelog.txt getting-started.html
+%attr(755,root,root) %{_bindir}/gradle
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/bin
+%attr(755,root,root) %{_datadir}/%{name}/bin/gradle
+%{_datadir}/%{name}/lib
+%{_datadir}/%{name}/media
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gradle.git/commitdiff/62f431919fa76d65c857e168a78f24a318604909



More information about the pld-cvs-commit mailing list