package created by autospec [release 2.2.3-1mamba;Mon Apr 27 2015]

This commit is contained in:
Davide Madrisan 2024-01-06 08:05:41 +01:00
parent 765a235349
commit d5582103fa
2 changed files with 75 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# ocl-icd # ocl-icd
OpenCL implementations are provided as ICD (Installable Client Driver).
An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project.
This free ICD Loader can load any (free or non free) ICD.

72
ocl-icd.spec Normal file
View File

@ -0,0 +1,72 @@
Name: ocl-icd
Version: 2.2.3
Release: 1mamba
Summary: OpenCL ICD Loader
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://forge.imag.fr/projects/ocl-icd/
Source: https://forge.imag.fr/frs/download.php/598/ocl-icd-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 ocl-icd' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: opencl-headers
BuildRequires: ruby
Provides: opencl-icd-loader
Conflicts: libFreeOCL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
OpenCL implementations are provided as ICD (Installable Client Driver).
An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project.
This free ICD Loader can load any (free or non free) ICD.
## remove the following two blocks if there's no devel files
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
#--enable-update-database
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_libdir}/libOpenCL.la
rm -rf %{buildroot}%{_defaultdocdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libOpenCL.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/ocl_icd.h
%{_libdir}/libOpenCL.so
%{_libdir}/pkgconfig/OpenCL.pc
%{_libdir}/pkgconfig/ocl-icd.pc
%{_mandir}/man7/libOpenCL.so.7*
%{_mandir}/man7/libOpenCL.7*
%doc NEWS README ocl_icd_loader_gen.map ocl_icd_bindings.c
%changelog
* Mon Apr 27 2015 Davide Madrisan <davide.madrisan@gmail.com> 2.2.3-1mamba
- package created by autospec