## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # there is no debug package - this is just cmake modules %global debug_package %{nil} %global rocm_release 6.2 %global rocm_patch 0 %global rocm_version %{rocm_release}.%{rocm_patch} Name: rocm-cmake Version: %{rocm_version} %if 0%{?suse_version} || 0%{?rhel} && 0%{?rhel} < 10 Release: 1%{?dist} %else Release: %autorelease %endif Summary: CMake modules for common build and dev tasks within the ROCm project License: MIT URL: https://github.com/ROCm/rocm-cmake Source: %{url}/archive/rocm-%{version}.tar.gz#/rocm-cmake-rocm-%{version}.tar.gz BuildArch: noarch BuildRequires: cmake Requires: cmake %description rocm-cmake is a collection of CMake modules for common build and development tasks within the ROCm project. It is therefore a build dependency for many of the libraries that comprise the ROCm platform. rocm-cmake is not required for building libraries or programs that use ROCm; it is required for building some of the libraries that are a part of ROCm. %prep %autosetup -n rocm-cmake-rocm-%{version} %build %cmake %cmake_build %install %cmake_install if [ -f %{buildroot}%{_prefix}/share/doc/rocm-cmake/LICENSE ]; then rm %{buildroot}%{_prefix}/share/doc/rocm-cmake/LICENSE fi %files %dir %{_datadir}/rocm %dir %{_datadir}/rocmcmakebuildtools %doc CHANGELOG.md %license LICENSE %{_datadir}/rocm/* %{_datadir}/rocmcmakebuildtools/* %changelog ## START: Generated by rpmautospec * Fri Nov 22 2024 Tom Rix - 6.2.0-4 - change is_opensuse to suse_version * Sun Nov 10 2024 Tom Rix - 6.2.0-3 - Build for TW * Tue Sep 24 2024 Tom Rix - 6.2.0-2 - Update URL * Thu Aug 08 2024 Jeremy Newton - 6.2.0-1 - Update to 6.2 * Fri Jul 19 2024 Fedora Release Engineering - 6.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 16 2024 Tom Rix - 6.1.1-1 - Update for 6.1.1 * Sun Mar 10 2024 Tom Rix - 6.0.2-1 - Update to 6.0.2 * Fri Jan 26 2024 Fedora Release Engineering - 6.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 6.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Dec 19 2023 Jeremy Newton - 6.0.0-1 - Update to 6.0 * Tue Sep 19 2023 Jeremy Newton - 5.7.0-1 - Update to 5.7 * Fri Jul 21 2023 Fedora Release Engineering - 5.5.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 07 2023 Tim Flink - 5.5.1-5 - initial 5.5.1 package post-review ## END: Generated by rpmautospec