From 0d9a68de19194a9599b1d0af0062838f3edfd497 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 13 Oct 2024 09:37:52 +0200 Subject: [PATCH] package created using the webbuild interface [release 3.0.23.01.25-1mamba;Sat Oct 12 2024] --- README.md | 2 ++ clinfo.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 clinfo.spec 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