clinfo/clinfo.spec

44 lines
1.1 KiB
RPMSpec
Raw Normal View History

Name: clinfo
Version: 3.0.23.01.25
Release: 1mamba
Summary: Print all known information about all available OpenCL platforms and devices in the system
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/Oblomov/clinfo
Source: https://github.com/Oblomov/clinfo.git/%{version}/clinfo-%{version}.tar.bz2
License: Public Domain
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ocl-icd-devel
## AUTOBUILDREQ-END
%description
Print all known information about all available OpenCL platforms and devices in the system.
%debug_package
%prep
%setup -q
%build
%make PREFIX=%{_prefix}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{_prefix} MANDIR=%{_mandir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/clinfo
%{_mandir}/man1/clinfo.1*
%doc LICENSE
%changelog
* Sat Oct 12 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.23.01.25-1mamba
- package created using the webbuild interface