opencl-headers/opencl-headers.spec

50 lines
1.3 KiB
RPMSpec
Raw Normal View History

%global date 2020.06.16
2020-05-02 20:04:55 +08:00
Name: opencl-headers
Version: 2.2
2021-01-19 14:53:05 +08:00
Release: 8
2020-05-02 20:04:55 +08:00
Summary: OpenCL (Open Computing Language) header files
2021-01-19 14:53:05 +08:00
License: Apache-2.0
URL: https://github.com/KhronosGroup/OpenCL-Headers
Source0: https://github.com/KhronosGroup/OpenCL-Headers/archive/v%{date}.tar.gz
2020-05-02 20:04:55 +08:00
BuildArch: noarch
%description
%{summary}.
%prep
%autosetup -n OpenCL-Headers-%{date}
2020-05-02 20:04:55 +08:00
%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
2020-05-02 20:04:55 +08:00
%{_includedir}/CL/cl_va_api_media_sharing_intel.h
%{_includedir}/CL/cl_version.h
2020-05-08 23:29:53 +08:00
%changelog
2021-01-19 14:53:05 +08:00
* Tue Jan 19 2021 caodongxia <caodongxia@huawei.com> - 2.2-8
- Modify license information.
* Fri Oct 23 2020 Senlin Xia <xiasenlin1@huawei.com> - 2.2-7
- rebuild on v2020.06.16 and add yaml
2020-05-08 23:29:53 +08:00
* Sat May 2 2020 sinever <sinever@126.com> - 2.2
- Package init