Blame rocm-cmake.spec

e5af5f7
# there is no debug package - this is just cmake modules
e5af5f7
%global debug_package %{nil}
e5af5f7
Jeremy Newton 643f194
%global rocm_release 6.0
96eba4f
%global rocm_patch 2
e5af5f7
%global rocm_version %{rocm_release}.%{rocm_patch}
e5af5f7
e5af5f7
Name:     rocm-cmake
e5af5f7
Version:  %{rocm_version}
Jeremy Newton 6855340
Release:  %autorelease
e5af5f7
Summary:  CMake modules for common build and dev tasks within the ROCm project
e5af5f7
License:  MIT
e5af5f7
URL:      https://github.com/radeonopencompute/rocm-cmake
e5af5f7
Source:   https://github.com/RadeonOpenCompute/rocm-cmake/archive/refs/tags/rocm-%{version}.tar.gz#/rocm-cmake-rocm-%{version}.tar.gz
e5af5f7
e5af5f7
BuildArch: noarch
e5af5f7
BuildRequires: cmake
e5af5f7
Requires: cmake
e5af5f7
e5af5f7
%description
e5af5f7
rocm-cmake is a collection of CMake modules for common build and development
e5af5f7
tasks within the ROCm project. It is therefore a build dependency for many of
e5af5f7
the libraries that comprise the ROCm platform.
e5af5f7
e5af5f7
rocm-cmake is not required for building libraries or programs that use ROCm; it
e5af5f7
is required for building some of the libraries that are a part of ROCm.
e5af5f7
e5af5f7
e5af5f7
%prep
e5af5f7
%autosetup -n rocm-cmake-rocm-%{version}
e5af5f7
e5af5f7
e5af5f7
%build
e5af5f7
%cmake
e5af5f7
%cmake_build
e5af5f7
e5af5f7
e5af5f7
%install
e5af5f7
%cmake_install
e5af5f7
e5af5f7
rm %{buildroot}/%{_docdir}/rocm-cmake/LICENSE
e5af5f7
e5af5f7
%files
e5af5f7
%doc CHANGELOG.md
e5af5f7
%license LICENSE
e5af5f7
%{_datadir}/rocm
e5af5f7
e5af5f7
%changelog
e5af5f7
%autochangelog