ocl-icd/ocl-icd.spec

85 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: ocl-icd
Version: 2.2.10
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://github.com/OCL-dev/ocl-icd.git/v%{version}/ocl-icd-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## 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.
%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
./bootstrap
%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
* Wed Dec 28 2016 Automatic Build System <autodist@mambasoft.it> 2.2.10-1mamba
- automatic version update by autodist
* Sun Jul 31 2016 Automatic Build System <autodist@mambasoft.it> 2.2.9-1mamba
- automatic version update by autodist
* Wed Feb 03 2016 Automatic Build System <autodist@mambasoft.it> 2.2.8-1mamba
- automatic version update by autodist
* Sat Aug 01 2015 Automatic Build System <autodist@mambasoft.it> 2.2.7-1mamba
- automatic version update by autodist
* Mon Apr 27 2015 Davide Madrisan <davide.madrisan@gmail.com> 2.2.3-1mamba
- package created by autospec