diff --git a/README.md b/README.md index 34b1e0d..0c5f725 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # clinfo +Print all known information about all available OpenCL platforms and devices in the system. + diff --git a/clinfo.spec b/clinfo.spec new file mode 100644 index 0000000..2255e1d --- /dev/null +++ b/clinfo.spec @@ -0,0 +1,43 @@ +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 +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 3.0.23.01.25-1mamba +- package created using the webbuild interface