#
# spec file for package gradle
#
# Copyright (c) 2015 Peter Czanik, Budapest, Hungary.
#

Name:		gradle
Version:	2.6
Release:	1%{?dist}
Summary:	Gradle binary turned into rpm (hack...)
License:	Apache-2.0
Url:		http://gradle.org/
Source:		https://services.gradle.org/distributions/gradle-2.6-bin.zip

%description
Gradle is a Java build system. It is required to build syslog-ng
Java modules, but only available for Fedora 22+. This hack makes gradle
available for EPEL and Fedora 21.

%prep
%setup -q

%install
mkdir -p ${RPM_BUILD_ROOT}/opt/gradle
cp -rp * ${RPM_BUILD_ROOT}/opt/gradle

%files
%dir /opt/gradle
%dir /opt/gradle/bin
%dir /opt/gradle/lib
%dir /opt/gradle/lib/plugins
%dir /opt/gradle/lib/plugins/sonar
%dir /opt/gradle/init.d
%dir /opt/gradle/media
/opt/gradle/getting-started.html
/opt/gradle/bin/gradle
/opt/gradle/bin/gradle.bat
/opt/gradle/NOTICE
/opt/gradle/changelog.txt
/opt/gradle/lib/native-platform-linux-i386-0.10.jar
/opt/gradle/lib/asm-all-5.0.3.jar
/opt/gradle/lib/native-platform-windows-i386-0.10.jar
/opt/gradle/lib/gradle-cli-2.6.jar
/opt/gradle/lib/jul-to-slf4j-1.7.10.jar
/opt/gradle/lib/slf4j-api-1.7.10.jar
/opt/gradle/lib/jaxen-1.1.jar
/opt/gradle/lib/jansi-1.2.1.jar
/opt/gradle/lib/groovy-all-2.3.10.jar
/opt/gradle/lib/ant-launcher-1.9.3.jar
/opt/gradle/lib/dom4j-1.6.1.jar
/opt/gradle/lib/gradle-resources-2.6.jar
/opt/gradle/lib/jcl-over-slf4j-1.7.10.jar
/opt/gradle/lib/log4j-over-slf4j-1.7.10.jar
/opt/gradle/lib/commons-collections-3.2.1.jar
/opt/gradle/lib/gradle-tooling-api-2.6.jar
/opt/gradle/lib/gradle-docs-2.6.jar
/opt/gradle/lib/native-platform-freebsd-i386-0.10.jar
/opt/gradle/lib/native-platform-0.10.jar
/opt/gradle/lib/gradle-base-services-groovy-2.6.jar
/opt/gradle/lib/ant-1.9.3.jar
/opt/gradle/lib/reflectasm-1.07-shaded.jar
/opt/gradle/lib/objenesis-1.2.jar
/opt/gradle/lib/gradle-native-2.6.jar
/opt/gradle/lib/gradle-base-services-2.6.jar
/opt/gradle/lib/native-platform-windows-amd64-0.10.jar
/opt/gradle/lib/gradle-wrapper-2.6.jar
/opt/gradle/lib/gradle-ui-2.6.jar
/opt/gradle/lib/gradle-launcher-2.6.jar
/opt/gradle/lib/plugins/maven-model-3.0.4.jar
/opt/gradle/lib/plugins/commons-cli-1.2.jar
/opt/gradle/lib/plugins/jackson-core-2.3.2.jar
/opt/gradle/lib/plugins/joda-time-2.7.jar
/opt/gradle/lib/plugins/gradle-ide-native-2.6.jar
/opt/gradle/lib/plugins/aether-api-1.13.1.jar
/opt/gradle/lib/plugins/sonar/logback-classic-1.0.13.jar
/opt/gradle/lib/plugins/sonar/logback-core-1.0.13.jar
/opt/gradle/lib/plugins/plexus-classworlds-2.4.jar
/opt/gradle/lib/plugins/jcommander-1.12.jar
/opt/gradle/lib/plugins/jsch-0.1.51.jar
/opt/gradle/lib/plugins/gradle-sonar-2.6.jar
/opt/gradle/lib/plugins/wagon-http-2.4.jar
/opt/gradle/lib/plugins/gradle-ide-2.6.jar
/opt/gradle/lib/plugins/wagon-file-2.4.jar
/opt/gradle/lib/plugins/aether-util-1.13.1.jar
/opt/gradle/lib/plugins/gradle-announce-2.6.jar
/opt/gradle/lib/plugins/gradle-platform-native-2.6.jar
/opt/gradle/lib/plugins/aether-spi-1.13.1.jar
/opt/gradle/lib/plugins/core-3.1.1.jar
/opt/gradle/lib/plugins/httpcore-4.2.2.jar
/opt/gradle/lib/plugins/gradle-test-kit-2.6.jar
/opt/gradle/lib/plugins/maven-settings-builder-3.0.4.jar
/opt/gradle/lib/plugins/gson-2.2.4.jar
/opt/gradle/lib/plugins/jetty-plus-6.1.25.jar
/opt/gradle/lib/plugins/gradle-scala-2.6.jar
/opt/gradle/lib/plugins/jetty-naming-6.1.25.jar
/opt/gradle/lib/plugins/gradle-ear-2.6.jar
/opt/gradle/lib/plugins/maven-plugin-api-3.0.4.jar
/opt/gradle/lib/plugins/maven-model-builder-3.0.4.jar
/opt/gradle/lib/plugins/testng-6.3.1.jar
/opt/gradle/lib/plugins/plexus-sec-dispatcher-1.3.jar
/opt/gradle/lib/plugins/bcpg-jdk15on-1.51.jar
/opt/gradle/lib/plugins/gradle-plugins-2.6.jar
/opt/gradle/lib/plugins/jetty-annotations-6.1.25.jar
/opt/gradle/lib/plugins/servlet-api-2.5-20081211.jar
/opt/gradle/lib/plugins/plexus-utils-2.0.6.jar
/opt/gradle/lib/plugins/gradle-reporting-2.6.jar
/opt/gradle/lib/plugins/nekohtml-1.9.14.jar
/opt/gradle/lib/plugins/gradle-signing-2.6.jar
/opt/gradle/lib/plugins/gradle-jetty-2.6.jar
/opt/gradle/lib/plugins/aws-java-sdk-s3-1.9.19.jar
/opt/gradle/lib/plugins/jsp-api-2.1-6.1.14.jar
/opt/gradle/lib/plugins/gradle-osgi-2.6.jar
/opt/gradle/lib/plugins/plexus-interpolation-1.14.jar
/opt/gradle/lib/plugins/jatl-0.2.2.jar
/opt/gradle/lib/plugins/gradle-platform-jvm-2.6.jar
/opt/gradle/lib/plugins/maven-core-3.0.4.jar
/opt/gradle/lib/plugins/pmaven-common-0.8-20100325.jar
/opt/gradle/lib/plugins/plexus-cipher-1.7.jar
/opt/gradle/lib/plugins/gradle-antlr-2.6.jar
/opt/gradle/lib/plugins/junit-4.12.jar
/opt/gradle/lib/plugins/geronimo-annotation_1.0_spec-1.0.jar
/opt/gradle/lib/plugins/maven-settings-3.0.4.jar
/opt/gradle/lib/plugins/commons-codec-1.6.jar
/opt/gradle/lib/plugins/bcprov-jdk15on-1.51.jar
/opt/gradle/lib/plugins/wagon-provider-api-2.4.jar
/opt/gradle/lib/plugins/gradle-dependency-management-2.6.jar
/opt/gradle/lib/plugins/plexus-container-default-1.5.5.jar
/opt/gradle/lib/plugins/xml-apis-1.3.04.jar
/opt/gradle/lib/plugins/hamcrest-core-1.3.jar
/opt/gradle/lib/plugins/maven-repository-metadata-3.0.4.jar
/opt/gradle/lib/plugins/maven-artifact-3.0.4.jar
/opt/gradle/lib/plugins/gradle-ivy-2.6.jar
/opt/gradle/lib/plugins/jsp-2.1-6.1.14.jar
/opt/gradle/lib/plugins/gradle-resources-sftp-2.6.jar
/opt/gradle/lib/plugins/jackson-annotations-2.3.2.jar
/opt/gradle/lib/plugins/gradle-language-scala-2.6.jar
/opt/gradle/lib/plugins/jcifs-1.3.17.jar
/opt/gradle/lib/plugins/gradle-javascript-2.6.jar
/opt/gradle/lib/plugins/jetty-util-6.1.25.jar
/opt/gradle/lib/plugins/simple-4.1.21.jar
/opt/gradle/lib/plugins/rhino-1.7R3.jar
/opt/gradle/lib/plugins/gradle-plugin-development-2.6.jar
/opt/gradle/lib/plugins/maven-aether-provider-3.0.4.jar
/opt/gradle/lib/plugins/gradle-jacoco-2.6.jar
/opt/gradle/lib/plugins/aws-java-sdk-kms-1.9.19.jar
/opt/gradle/lib/plugins/gradle-platform-play-2.6.jar
/opt/gradle/lib/plugins/gradle-maven-2.6.jar
/opt/gradle/lib/plugins/bndlib-2.1.0.jar
/opt/gradle/lib/plugins/gradle-code-quality-2.6.jar
/opt/gradle/lib/plugins/maven-compat-3.0.4.jar
/opt/gradle/lib/plugins/gradle-publish-2.6.jar
/opt/gradle/lib/plugins/gradle-plugin-use-2.6.jar
/opt/gradle/lib/plugins/gradle-language-native-2.6.jar
/opt/gradle/lib/plugins/gradle-build-comparison-2.6.jar
/opt/gradle/lib/plugins/ivy-2.2.0.jar
/opt/gradle/lib/plugins/gradle-testing-native-2.6.jar
/opt/gradle/lib/plugins/sonar-batch-bootstrapper-2.9.jar
/opt/gradle/lib/plugins/gradle-language-groovy-2.6.jar
/opt/gradle/lib/plugins/aether-impl-1.13.1.jar
/opt/gradle/lib/plugins/wagon-http-shared4-2.4.jar
/opt/gradle/lib/plugins/gradle-platform-base-2.6.jar
/opt/gradle/lib/plugins/gradle-diagnostics-2.6.jar
/opt/gradle/lib/plugins/plexus-component-annotations-1.5.5.jar
/opt/gradle/lib/plugins/xercesImpl-2.9.1.jar
/opt/gradle/lib/plugins/jetty-6.1.25.jar
/opt/gradle/lib/plugins/gradle-resources-s3-2.6.jar
/opt/gradle/lib/plugins/xbean-reflect-3.4.jar
/opt/gradle/lib/plugins/gradle-resources-http-2.6.jar
/opt/gradle/lib/plugins/bsh-2.0b4.jar
/opt/gradle/lib/plugins/gradle-language-jvm-2.6.jar
/opt/gradle/lib/plugins/jackson-databind-2.3.2.jar
/opt/gradle/lib/plugins/snakeyaml-1.6.jar
/opt/gradle/lib/plugins/aether-connector-wagon-1.13.1.jar
/opt/gradle/lib/plugins/pmaven-groovy-0.8-20100325.jar
/opt/gradle/lib/plugins/gradle-language-java-2.6.jar
/opt/gradle/lib/plugins/gradle-build-init-2.6.jar
/opt/gradle/lib/plugins/httpclient-4.2.2.jar
/opt/gradle/lib/plugins/gradle-tooling-api-builders-2.6.jar
/opt/gradle/lib/plugins/aws-java-sdk-core-1.9.19.jar
/opt/gradle/lib/native-platform-osx-amd64-0.10.jar
/opt/gradle/lib/kryo-2.20.jar
/opt/gradle/lib/native-platform-freebsd-amd64-0.10.jar
/opt/gradle/lib/commons-io-1.4.jar
/opt/gradle/lib/gradle-open-api-2.6.jar
/opt/gradle/lib/native-platform-linux-amd64-0.10.jar
/opt/gradle/lib/jarjar-1.3.jar
/opt/gradle/lib/gradle-messaging-2.6.jar
/opt/gradle/lib/guava-jdk5-17.0.jar
/opt/gradle/lib/gradle-model-core-2.6.jar
/opt/gradle/lib/jcip-annotations-1.0.jar
/opt/gradle/lib/minlog-1.2.jar
/opt/gradle/lib/gradle-core-2.6.jar
/opt/gradle/lib/native-platform-osx-i386-0.10.jar
/opt/gradle/lib/commons-lang-2.6.jar
/opt/gradle/lib/jna-3.2.7.jar
/opt/gradle/lib/gradle-model-groovy-2.6.jar
/opt/gradle/lib/javax.inject-1.jar
/opt/gradle/init.d/readme.txt
/opt/gradle/LICENSE
/opt/gradle/media/gradle-icon-256x256.png
/opt/gradle/media/gradle-icon-32x32.png
/opt/gradle/media/gradle-icon-16x16.png
/opt/gradle/media/gradle-icon-48x48.png
/opt/gradle/media/gradle.icns
/opt/gradle/media/gradle-icon-512x512.png
/opt/gradle/media/gradle-icon-24x24.png
/opt/gradle/media/gradle-icon-64x64.png
/opt/gradle/media/gradle-icon-128x128.png

%changelog
* Tue Aug 18 2015 Peter Czanik - 2.6-1
- initial version