Files
gradle-kit/gradle-kit.spec

59 lines
1.9 KiB
RPMSpec

#
# spec file for package gradle-kit
#
# 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: gradle-kit
Version: 7.5.1
%define binversion 7.5
Release: 0
Summary: Build-time dependency of project "gradle"
License: SUSE-NonFree
Group: Development/Libraries/Java
Url: https://github.com/gradle/gradle
Source0: %{name}.tar.xz
Source1: %{name}-rpmlintrc
Source2: https://services.gradle.org/distributions/gradle-%{binversion}-bin.zip
Source3: https://services.gradle.org/distributions/gradle-%{binversion}-bin.zip.sha256
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
# don't provide bundled libraries
AutoReqProv: no
%description
This package contains build time dependencies of Java packages.
It should not be used except for rebuilding other packages,
thus it should never be installed on end users' systems.
%prep
%build
# nothing to do, precompiled by design
%install
export NO_BRP_CHECK_BYTECODE_VERSION=true
install -d -m 0755 %{buildroot}%{_datadir}/tetra/
(cd %{buildroot}%{_datadir}/tetra/; tar xf %{S:0})
cp %{S:2} %{buildroot}%{_datadir}/tetra/
%fdupes -s %{buildroot}%{_datadir}/tetra/
%files
%defattr(-,root,root)
%{_datadir}/tetra/
%changelog