Index: Makefile
===================================================================
--- /dev/null
+++ Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
Index: package.yml
===================================================================
--- /dev/null
+++ package.yml
@@ -0,0 +1,17 @@
+name : rocm-cmake
+version : 5.1.0
+release : 1
+source :
+ - https://github.com/RadeonOpenCompute/rocm-cmake/archive/refs/tags/rocm-5.1.0.tar.gz : 2eff47b7cf5bd56d465ff3c110eb936d31860df60182a82ba511ba11bbcf23fc
+license : MIT
+component : programming.devel
+homepage : https://github.com/RadeonOpenCompute
+summary : ROCm cmake modules
+description: |
+ ROCm cmake modules provides cmake modules for common build tasks needed for the ROCM software stack.
+setup : |
+ %cmake_ninja
+build : |
+ %ninja_build
+install : |
+ %ninja_install
Index: pspec_x86_64.xml
===================================================================
--- /dev/null
+++ pspec_x86_64.xml
@@ -0,0 +1,51 @@
+
+
+ rocm-cmake
+
+ Jacek Jagosz
+ jacek.jagosz@outlook.com
+
+ MIT
+ xorg.driver
+ PLEASE FILL ME IN
+ PLEASE FILL ME IN
+
+ https://getsol.us/sources/README.Solus
+
+
+ rocm-cmake
+ PLEASE FILL ME IN
+ PLEASE FILL ME IN
+
+ xorg.driver
+
+ /usr/share/doc/rocm-cmake/LICENSE
+ /usr/share/rocm/cmake/ROCMAnalyzers.cmake
+ /usr/share/rocm/cmake/ROCMCheckTargetIds.cmake
+ /usr/share/rocm/cmake/ROCMChecks.cmake
+ /usr/share/rocm/cmake/ROCMClangTidy.cmake
+ /usr/share/rocm/cmake/ROCMClients.cmake
+ /usr/share/rocm/cmake/ROCMConfig.cmake
+ /usr/share/rocm/cmake/ROCMConfigVersion.cmake
+ /usr/share/rocm/cmake/ROCMCppCheck.cmake
+ /usr/share/rocm/cmake/ROCMCreatePackage.cmake
+ /usr/share/rocm/cmake/ROCMDocs.cmake
+ /usr/share/rocm/cmake/ROCMDoxygenDoc.cmake
+ /usr/share/rocm/cmake/ROCMInstallSymlinks.cmake
+ /usr/share/rocm/cmake/ROCMInstallTargets.cmake
+ /usr/share/rocm/cmake/ROCMPackageConfigHelpers.cmake
+ /usr/share/rocm/cmake/ROCMSetupVersion.cmake
+ /usr/share/rocm/cmake/ROCMSphinxDoc.cmake
+ /usr/share/rocm/cmake/ROCMUtilities.cmake
+
+
+
+
+ 2022-04-09
+ 5.1.0
+ Packaging update
+ Jacek Jagosz
+ jacek.jagosz@outlook.com
+
+
+
\ No newline at end of file
Index: rocm-cmake.spec
===================================================================
--- /dev/null
+++ rocm-cmake.spec
@@ -0,0 +1,47 @@
+Name: rocm-cmake
+Version: 5.1.0
+Release: 1%{?dist}
+Summary: ROCm HIP Runtime
+
+Url: https://github.com/RadeonOpenCompute/rocm-cmake
+License: MIT
+Source0: https://github.com/RadeonOpenCompute/%{name}/archive/refs/tags/rocm-%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+#FIXME: This is a noarch package, cmake shouldn't request gcc
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: cmake
+
+BuildArch: noarch
+
+%description
+ROCM cmake modules provides cmake modules for common build tasks needed for the
+ROCM software stack.
+
+%prep
+%autosetup -p1 -n %{name}-rocm-%{version}
+
+#Remove exec perm from changelog
+chmod a-x CHANGELOG.md
+
+%build
+%cmake
+%cmake_build
+
+%install
+%cmake_install
+
+# We install this via license macro instead:
+rm %{buildroot}%{_docdir}/%{name}/LICENSE
+
+%files
+%doc CHANGELOG.md
+%license LICENSE
+%{_datadir}/rocm
+
+%changelog
+* Fri Apr 01 2022 Jeremy Newton - 5.1.0-1
+- Update to 5.1.0
+
+* Thu Feb 24 2022 Jeremy Newton - 5.0.0-1
+- Initial package