# # Copyright (c) 2020 - Max Vasin # Name: gradle Version: 6.3 Release: 1%{?dist} Summary: Gradle Build System Group: Development License: Apache License 2.0 URL: https://gradle.org/ Source0: https://services.gradle.org/distributions/gradle-%{version}-bin.zip BuildArch: noarch BuildRequires: unzip Requires: java %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. %global debug_package %{nil} %prep %setup -q %build %install mkdir -p %{buildroot}/opt/gradle cp -R * %{buildroot}/opt/gradle chmod +x %{buildroot}/opt/gradle/bin/gradle mkdir -p %{buildroot}/usr/bin ln -s /opt/gradle/bin/gradle %{buildroot}/usr/bin rm %{buildroot}/opt/gradle/bin/gradle.bat rm -rf %{buildroot}/opt/gradle/init.d %files /opt/gradle /usr/bin/gradle %changelog * Sun Apr 12 2020 Max Vasin 6.3-1 - Initial version.