Group :: Sistema/Bibliotecas
RPM: roct-thunk-interface
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define soname 1
Name: roct-thunk-interface
Version: 5.6.1
Release: alt0.1
License: MIT
Summary: AMD user-mode API interfaces used to interact with the ROCk driver
Url: https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface
Group: System/Libraries
Source: %name-%version.tar
BuildRequires(pre): cmake
BuildRequires: gcc-c++ libnuma-devel libdrm-devel
%description
User-mode API interfaces used to interact with the ROCk driver.
%package -n libhsakmt%{soname}
Summary: Thunk libraries for AMD KFD
Group: System/Libraries
Provides: hsakmt-roct = %EVR
%description -n libhsakmt%{soname}
This package includes the libhsakmt (Thunk) libraries for AMD KFD.
%package -n hsakmt-rocm-devel
Summary: Development headers for AMD KFD thunk libraries
Group: Development/C
%description -n hsakmt-rocm-devel
Development headers for AMD KFD thunk libraries.
%prep
%setup
%build
%cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_SHARED_LIBS=on
%cmake_build
%install
%cmake_install
%files -n libhsakmt%{soname}
%doc README.md LICENSE.md
%_libdir/libhsakmt.so.%{soname}*
%files -n hsakmt-rocm-devel
%_includedir/*
%_datadir/pkgconfig/*.pc
%_libdir/cmake/hsakmt
%_libdir/libhsakmt.so
%changelog
…
Todas as alterações você pod ver aqui
Name: roct-thunk-interface
Version: 5.6.1
Release: alt0.1
License: MIT
Summary: AMD user-mode API interfaces used to interact with the ROCk driver
Url: https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface
Group: System/Libraries
Source: %name-%version.tar
BuildRequires(pre): cmake
BuildRequires: gcc-c++ libnuma-devel libdrm-devel
%description
User-mode API interfaces used to interact with the ROCk driver.
%package -n libhsakmt%{soname}
Summary: Thunk libraries for AMD KFD
Group: System/Libraries
Provides: hsakmt-roct = %EVR
%description -n libhsakmt%{soname}
This package includes the libhsakmt (Thunk) libraries for AMD KFD.
%package -n hsakmt-rocm-devel
Summary: Development headers for AMD KFD thunk libraries
Group: Development/C
%description -n hsakmt-rocm-devel
Development headers for AMD KFD thunk libraries.
%prep
%setup
%build
%cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_SHARED_LIBS=on
%cmake_build
%install
%cmake_install
%files -n libhsakmt%{soname}
%doc README.md LICENSE.md
%_libdir/libhsakmt.so.%{soname}*
%files -n hsakmt-rocm-devel
%_includedir/*
%_datadir/pkgconfig/*.pc
%_libdir/cmake/hsakmt
%_libdir/libhsakmt.so
%changelog
…
Todas as alterações você pod ver aqui