Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
security:logging
gradle4_3_1
gradle4_3_1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gradle4_3_1.spec of Package gradle4_3_1
# # spec file for package gradle # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gradle4_3_1 Version: 4.3.1 Release: 0 Summary: A powerful build system for the JVM License: Apache-2.0 Group: Development/Libraries/Java Url: http://www.gradle.org Source0: %{name}-v%{version}.tar.gz # https://services.gradle.org/versions/all Source1: all-released-versions.json # https://discuss.gradle.org/t/cache-dependencies-into-local-maven-repository-from-gradle/7525 # Disable tests which demand gradle cache in user's home Patch1: 0001-Build-patch.patch Patch2: 0002-Disable-code-quality.patch Patch3: 0003-Search-system-jar.patch Patch4: 0004-Relax-warnings.patch Patch5: 0005-Fix-checkstyle-error.patch Patch6: 0006-drop-fonts.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{name}-kit == %{version} BuildRequires: java-devel = 1.8.0 BuildRequires: procps BuildRequires: unzip BuildArch: noarch Requires: java #Requires: libnative-platform0 AutoReqProv: no %description Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Scala, Android, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins. For more information about Gradle, please visit: http://gradle.org %prep %setup -q -n gradle-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 rm -rf ../kit cp -Rf %{_datadir}/tetra ../kit cd ../kit rm -rf ~/.gradle ln -s `pwd`/gradle ~/.gradle %build # from debian:rules mkdir --parents buildSrc/src/main/java # These symlinks are due to new APIs introduced in Gradle 3.1 ln -s ../../../../subprojects/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/PackageListGenerator.java buildSrc/src/main/java/PackageListGenerator.java ln -s ../../../../subprojects/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/Trie.java buildSrc/src/main/java/Trie.java export BUILD_VCS_NUMBER=%{version} export M2_HOME=`pwd`/../kit/m2 export GRADLE_OPTS="-Xmx1024m" export GRADLE_USER_HOME=/home/abuild/rpmbuild/BUILD/kit/gradle export LANG=en_US.UTF-8 mkdir build cp %{S:1} build ../kit/gradle/wrapper/dists/gradle-4.3-rc-3-bin/66bkz0pxezdc0t6rsbvb0jcmf/gradle-4.3-rc-3/bin/gradle \ --stacktrace \ -x :docs:userguidePdf \ -Dfile.encoding=UTF-8 \ --project-prop finalRelease=true \ --offline \ --no-daemon \ assemble %install export BUILD_VCS_NUMBER=%{version} export NO_BRP_CHECK_BYTECODE_VERSION=true export GRADLE_USER_HOME=`pwd`/../kit/gradle ../kit/gradle/wrapper/dists/gradle-4.3-rc-3-bin/66bkz0pxezdc0t6rsbvb0jcmf/gradle-4.3-rc-3/bin/gradle \ --project-prop finalRelease=true \ --offline \ --no-daemon \ --project-prop gradle_installPath=%{buildroot}%{_datadir}/gradle \ install chmod 644 %{buildroot}%{_datadir}/gradle/lib/*.jar chmod 644 %{buildroot}%{_datadir}/gradle/lib/plugins/*.jar mkdir %{buildroot}%{_bindir} ln -s %{_datadir}/gradle/bin/gradle %{buildroot}%{_bindir} rm -f %{buildroot}%{_datadir}/gradle/bin/gradle.bat %files %defattr(-,root,root) %dir %{_datadir}/gradle %{_datadir}/gradle %{_bindir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor