%define snap 20150303 %define rel 1 Name: opencl-headers Version: 1.2 Release: %mkrel 1.%snap.%rel Summary: OpenCL (Open Computing Language) headers License: MIT Group: Development/C URL: http://www.khronos.org/registry/cl/ # Generated by get-tarball.sh (khronos provides header # files only) - snapshot date comes from last-modified. Source: %name-%version-%snap.tar.xz # See $API and $HEADERS variables inside get-tarball.sh when updating: Source1: get-tarball.sh # Fix typo causing compiler error BuildArch: noarch # Usually we want libOpenCL.so as well, so suggest it: Recommends: opencl-devel %description OpenCL is a royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. This package provides the official Khronos Group OpenCL headers needed to compile programs that use OpenCL. %prep %setup -q -n %name-%version-%snap %apply_patches %install install -d -m755 %{buildroot}%{_includedir}/CL install -m644 *.h* %{buildroot}%{_includedir}/CL %files %dir %{_includedir}/CL %{_includedir}/CL/*.h* %changelog * Sun Jan 24 2016 tmb <tmb> 1.2-1.20150303.1.mga5 + Revision: 926860 - update to 2015-03-03 refresh * Wed Oct 15 2014 umeabot <umeabot> 1.2-1.20121130.6.mga5 + Revision: 743491 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.2-1.20121130.5.mga5 + Revision: 683193 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Fri Oct 18 2013 umeabot <umeabot> 1.2-1.20121130.4.mga4 + Revision: 508648 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 1.2-1.20121130.3.mga3 + Revision: 361916 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 09 2013 anssi <anssi> 1.2-1.20121130.2.mga3 + Revision: 343633 - fix typos in cl_ext.h causing compiler errors (fix-typo.patch) * Wed Jan 09 2013 anssi <anssi> 1.2-1.20121130.1.mga3 + Revision: 343629 - new snapshot * Sun Aug 05 2012 anssi <anssi> 1.2-1.20120418.2.mga3 + Revision: 278575 - add missing cl.hpp header * Sun Aug 05 2012 anssi <anssi> 1.2-1.20120418.1.mga3 + Revision: 278532 - initial Mageia package release