47 lines
1.2 KiB
RPMSpec
47 lines
1.2 KiB
RPMSpec
%global date 2020.06.16
|
|
Name: opencl-headers
|
|
Version: 2.2
|
|
Release: 7
|
|
Summary: OpenCL (Open Computing Language) header files
|
|
License: MIT
|
|
URL: https://github.com/KhronosGroup/OpenCL-Headers
|
|
Source0: https://github.com/KhronosGroup/OpenCL-Headers/archive/v%{date}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%autosetup -n OpenCL-Headers-%{date}
|
|
|
|
%build
|
|
# Nothing to build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_includedir}/CL/
|
|
install -p -m 0644 CL/* -t %{buildroot}%{_includedir}/CL/
|
|
# We're not interested in Direct3D things
|
|
rm -vf %{buildroot}%{_includedir}/CL/cl_{dx9,d3d}*
|
|
|
|
%files
|
|
%dir %{_includedir}/CL
|
|
%{_includedir}/CL/opencl.h
|
|
%{_includedir}/CL/cl_platform.h
|
|
%{_includedir}/CL/cl.h
|
|
%{_includedir}/CL/cl_ext.h
|
|
%{_includedir}/CL/cl_egl.h
|
|
%{_includedir}/CL/cl_gl.h
|
|
%{_includedir}/CL/cl_gl_ext.h
|
|
%{_includedir}/CL/cl_ext_intel.h
|
|
%{_includedir}/CL/cl_half.h
|
|
%{_includedir}/CL/cl_icd.h
|
|
%{_includedir}/CL/cl_va_api_media_sharing_intel.h
|
|
%{_includedir}/CL/cl_version.h
|
|
|
|
%changelog
|
|
* Fri Oct 23 2020 Senlin Xia <xiasenlin1@huawei.com> - 2.2-7
|
|
- rebuild on v2020.06.16 and add yaml
|
|
|
|
* Sat May 2 2020 sinever <sinever@126.com> - 2.2
|
|
- Package init
|