|
|
|
|
@ -22,8 +22,8 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_opkg 1.0m1 |
|
|
|
|
%define V_dist 1.0-milestone-1 |
|
|
|
|
%define V_opkg 1.0m3 |
|
|
|
|
%define V_dist 1.0-milestone-3 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: gradle |
|
|
|
|
@ -36,7 +36,7 @@ Class: EVAL
|
|
|
|
|
Group: Building |
|
|
|
|
License: Apache |
|
|
|
|
Version: %{V_opkg} |
|
|
|
|
Release: 20110522 |
|
|
|
|
Release: 20110716 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://gradle.artifactoryonline.com/gradle/distributions/gradle-%{V_dist}-bin.zip |
|
|
|
|
@ -72,6 +72,7 @@ PreReq: OpenPKG, openpkg >= 20100101, java, JAVA-JDK
|
|
|
|
|
%install |
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/gradle/lib/core-impl \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/gradle/lib/plugins |
|
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \ |
|
|
|
|
%{SOURCE gradle.sh} \ |
|
|
|
|
@ -82,6 +83,9 @@ PreReq: OpenPKG, openpkg >= 20100101, java, JAVA-JDK
|
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
lib/plugins/*.jar \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/gradle/lib/plugins/ |
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
lib/core-impl/*.jar \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/gradle/lib/core-impl/ |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|