Josef Möllers 2017-04-19 08:29:33 +00:00 committed by Git OBS Bridge
parent 4038fd26ef
commit 00b374586f

View File

@ -22,6 +22,7 @@
%define appfolder opa-fmgui %define appfolder opa-fmgui
%define appjar opa-fmgui.jar %define appjar opa-fmgui.jar
%define _binary_payload w9.gzdio %define _binary_payload w9.gzdio
%define gradle_version 2.9
Name: opa-fmgui Name: opa-fmgui
Version: 10.1.0.0 Version: 10.1.0.0
@ -67,7 +68,7 @@ Source33: swingx-mavensupport-1.6.5.jar
Source34: swingx-painters-1.6.5.jar Source34: swingx-painters-1.6.5.jar
Source35: swingx-plaf-1.6.5.jar Source35: swingx-plaf-1.6.5.jar
Source36: swingx-testsupport-1.6.5.jar Source36: swingx-testsupport-1.6.5.jar
Source37: gradle-2.9-bin.zip Source37: gradle-%{gradle_version}-bin.zip
Source38: javax.mail-1.5.2.jar Source38: javax.mail-1.5.2.jar
Patch1: gradle-use_local_repo.patch Patch1: gradle-use_local_repo.patch
@ -98,10 +99,10 @@ script fmgui.
%patch5 -p1 %patch5 -p1
%build %build
(cd %{_tmppath}; unzip $RPM_SOURCE_DIR/gradle-2.9-bin.zip) (cd %{_tmppath}; unzip $RPM_SOURCE_DIR/gradle-%{gradle_version}-bin.zip)
GRADLE_LIB_DIR=$RPM_SOURCE_DIR GRADLE_LIB_DIR=$RPM_SOURCE_DIR
export GRADLE_LIB_DIR export GRADLE_LIB_DIR
%{_tmppath}/gradle-2.9/bin/gradle copyDeps build --info %{_tmppath}/gradle-%{gradle_version}/bin/gradle copyDeps build --info
%install %install
mkdir -p %{buildroot}%{_javadir}/%{appfolder} mkdir -p %{buildroot}%{_javadir}/%{appfolder}