Name: level-zero %global major_version 1 %global minor_version 5 %global patch_version 0 Version: %{major_version}.%{minor_version}.%{patch_version} Release: 1%{?dist} Summary: oneAPI Level Zero Specification Headers and Loader License: MIT URL: https://github.com/oneapi-src/level-zero Source0: %{url}/archive/v%{version}.tar.gz ExclusiveArch: x86_64 %define debug_package %{nil} BuildRequires: gcc-c++ cmake make %description oneAPI Level Zero Specification Headers and Loader %package devel Summary: oneAPI Level Zero Specification Headers and Loader development package Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains library and header files for developing applications that use %{name}. %prep %autosetup -p1 -n level-zero-%{version} echo %{patch_version} > VERSION_PATCH %build mkdir build pushd build %cmake -DCMAKE_BUILD_TYPE=Release .. %cmake_build popd %install cd build %cmake_install %files %{_libdir}/libze_loader.so.%{major_version} %{_libdir}/libze_loader.so.%{major_version}.%{minor_version}.%{patch_version} %{_libdir}/libze_validation_layer.so.%{major_version} %{_libdir}/libze_validation_layer.so.%{major_version}.%{minor_version}.%{patch_version} %{_libdir}/libze_tracing_layer.so.%{major_version} %{_libdir}/libze_tracing_layer.so.%{major_version}.%{minor_version}.%{patch_version} %files devel %{_includedir}/level_zero/* %{_libdir}/libze_loader.so %{_libdir}/libze_validation_layer.so %{_libdir}/libze_tracing_layer.so %{_libdir}/pkgconfig/libze_loader.pc %{_libdir}/pkgconfig/level-zero.pc %changelog * Fri Oct 01 2021 Jacek Danecki - 1.5.0-1 - Update to 1.5.0 * Mon Jul 05 2021 Jacek Danecki - 1.4.1-1 - Update to 1.4.1 * Fri Mar 19 2021 Jacek Danecki - 1.2.3-1 - Update to 1.2.3 * Fri Feb 12 2021 Jacek Danecki - 1.1.0-1 - Update to 1.1.0 * Fri Jan 22 2021 Jacek Danecki - 1.0.26-1 - Update to 1.0.26 * Mon Jan 11 2021 Jacek Danecki - 1.0.22-1 - Update to 1.0.22 * Thu Nov 05 2020 Jacek Danecki - 1.0.16-1 - Update to 1.0.16 * Thu Apr 09 2020 Jacek Danecki - 0.91.10-1 - Update to 0.91.10 * Fri Mar 27 2020 Jacek Danecki - 0.91.2-1 - Initial packaging 0.91.2