opencl-headers/opencl-headers.spec
Fabian Deutsch 5a7b8168bc Add patch to make headers usable on ARM
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1027199
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2014-04-25 10:00:38 +02:00

74 lines
1.9 KiB
RPMSpec

Summary: Khronos OpenCL development headers
Name: opencl-headers
Version: 1.2
Release: 4%{?dist}
License: MIT
URL: http://www.khronos.org/registry/cl/
BuildArch: noarch
Source0: http://www.khronos.org/registry/cl/api/1.2/opencl.h
Source1: http://www.khronos.org/registry/cl/api/1.2/cl_platform.h
Source2: http://www.khronos.org/registry/cl/api/1.2/cl.h
Source3: http://www.khronos.org/registry/cl/api/1.2/cl_ext.h
Source4: http://www.khronos.org/registry/cl/api/1.2/cl_dx9_media_sharing.h
Source5: http://www.khronos.org/registry/cl/api/1.2/cl_d3d10.h
Source6: http://www.khronos.org/registry/cl/api/1.2/cl_d3d11.h
Source7: http://www.khronos.org/registry/cl/api/1.2/cl_gl.h
Source8: http://www.khronos.org/registry/cl/api/1.2/cl_gl_ext.h
Source9: http://www.khronos.org/registry/cl/api/1.2/cl.hpp
Patch0: arm-nosse2.patch
%description
Khronos OpenCL development headers
%prep
%patch0 -b .arm-nosse2
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_includedir}/CL/
cp \
%{SOURCE0} \
%{SOURCE1} \
%{SOURCE2} \
%{SOURCE3} \
%{SOURCE4} \
%{SOURCE5} \
%{SOURCE6} \
%{SOURCE7} \
%{SOURCE8} \
%{SOURCE9} \
$RPM_BUILD_ROOT%{_includedir}/CL/
%files
%dir %{_includedir}/CL
%{_includedir}/CL/opencl.h
%{_includedir}/CL/cl.h
%{_includedir}/CL/cl_ext.h
%{_includedir}/CL/cl_d3d10.h
%{_includedir}/CL/cl_d3d11.h
%{_includedir}/CL/cl_gl.h
%{_includedir}/CL/cl_gl_ext.h
%{_includedir}/CL/cl_platform.h
%{_includedir}/CL/cl_dx9_media_sharing.h
%{_includedir}/CL/cl.hpp
%changelog
* Fri Apr 25 2014 Fabian Deutsch <fabiand@fedoraproject.org> - 1.2-4
- Add patch for cl.hpp to be usable on arm rhbz#1027199
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Mar 01 2013 Dave Airlie <airlied@redhat.com> 1.2-2
- fix missing dir and remove defattr.
* Wed Feb 27 2013 Dave Airlie <airlied@redhat.com> 1.2-1
- OpenCL header files from Khronos for OpenCL 1.2