Name: adoptium-temurin-java-repository Version: 1 Release: 1%{dist} Summary: Third party repository providing temurin java License: EPL-2.0 URL: https://adoptium.net/installation/linux/#_centosrhelfedora_instructions Source0: LICENSE Source1: %{name}.conf Source2: %{name}.repo BuildArch: noarch # except tool owns also fedora-third-party/conf.d/ Requires: fedora-third-party %global repodir yum.repos.d %global thirdparty lib/fedora-third-party/conf.d %description This package adds configuration to add a remote repository of https://adoptium.net/installation/linux/#_centosrhelfedora_instructions , if third-party repositories are enabled on a Fedora Linux system. This repository contains all JDKS which are live and not available in fedora as per https://fedoraproject.org/wiki/Changes/ThirdPartyLegacyJdks . %prep %build %install install -D -m0644 %{SOURCE0} %{buildroot}%{_datadir}/licenses/%{name}/LICENSE install -D -m0644 %{SOURCE1} -t %{buildroot}%{_prefix}/%{thirdparty}/ install -D -m0644 %{SOURCE2} -t %{buildroot}%{_sysconfdir}/%{repodir}/ %files %license LICENSE %{_prefix}/%{thirdparty}/* %{_sysconfdir}/%{repodir}/* %changelog * Wed Sep 18 2024 Jiri Vanek - 1-1 - intial load