2020-07-24 11:23:14 +00:00
|
|
|
%global commit0 d082d4206597f56d35f3f0a5447343ed6879ae75
|
2020-05-20 15:55:38 +00:00
|
|
|
%global date 20200512
|
2018-03-25 08:07:56 +00:00
|
|
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
2020-07-24 11:23:14 +00:00
|
|
|
%global cl_hpp_ver 2.0.12
|
2014-04-25 08:00:21 +00:00
|
|
|
|
2016-08-31 08:29:37 +00:00
|
|
|
Name: opencl-headers
|
2020-05-20 15:55:38 +00:00
|
|
|
Version: 3.0
|
2020-07-28 12:40:21 +00:00
|
|
|
Release: 2%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
|
2016-08-31 08:29:37 +00:00
|
|
|
Summary: OpenCL (Open Computing Language) header files
|
2013-02-27 23:58:36 +00:00
|
|
|
|
2016-08-31 08:29:37 +00:00
|
|
|
License: MIT
|
|
|
|
URL: https://www.khronos.org/registry/cl/
|
2014-04-25 08:00:21 +00:00
|
|
|
|
2018-03-25 08:07:56 +00:00
|
|
|
Source0: https://github.com/KhronosGroup/OpenCL-Headers/archive/%{commit0}/OpenCL-Headers-%{commit0}.tar.gz#/OpenCL-Headers-%{shortcommit0}.tar.gz
|
2020-07-24 11:23:14 +00:00
|
|
|
Source1: https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v%{cl_hpp_ver}.zip#/OpenCL-CLHPP-%{cl_hpp_ver}.zip
|
2016-08-31 08:29:37 +00:00
|
|
|
# OCL 1.2 compatibility
|
2018-03-25 08:07:56 +00:00
|
|
|
Source2: https://www.khronos.org/registry/cl/api/2.1/cl.hpp
|
2014-04-25 08:00:21 +00:00
|
|
|
|
2016-08-31 08:29:37 +00:00
|
|
|
BuildArch: noarch
|
2013-02-27 23:58:36 +00:00
|
|
|
|
2016-08-31 08:29:37 +00:00
|
|
|
%description
|
|
|
|
%{summary}.
|
2014-04-25 08:00:21 +00:00
|
|
|
|
2013-02-27 23:58:36 +00:00
|
|
|
%prep
|
2018-03-25 08:07:56 +00:00
|
|
|
%autosetup -n OpenCL-Headers-%{commit0}
|
|
|
|
|
2020-07-24 11:23:14 +00:00
|
|
|
%{uncompress:%{SOURCE1}}
|
|
|
|
cp -p OpenCL-CLHPP-%{cl_hpp_ver}/include/CL/cl2.hpp %{SOURCE2} .
|
2013-02-27 23:58:36 +00:00
|
|
|
|
|
|
|
%build
|
2016-08-31 08:29:37 +00:00
|
|
|
# Nothing to build
|
2014-04-25 08:00:21 +00:00
|
|
|
|
2013-02-27 23:58:36 +00:00
|
|
|
%install
|
2016-08-31 08:29:37 +00:00
|
|
|
mkdir -p %{buildroot}%{_includedir}/CL/
|
2019-02-04 22:51:25 +00:00
|
|
|
install -p -m 0644 *hpp CL/* -t %{buildroot}%{_includedir}/CL/
|
2018-03-25 08:07:56 +00:00
|
|
|
# We're not interested in Direct3D things
|
|
|
|
rm -vf %{buildroot}%{_includedir}/CL/cl_{dx9,d3d}*
|
2014-04-25 09:42:46 +00:00
|
|
|
|
2013-02-27 23:58:36 +00:00
|
|
|
%files
|
2013-02-28 23:23:49 +00:00
|
|
|
%dir %{_includedir}/CL
|
2013-02-27 23:58:36 +00:00
|
|
|
%{_includedir}/CL/opencl.h
|
2016-08-31 08:29:37 +00:00
|
|
|
%{_includedir}/CL/cl_platform.h
|
2013-02-27 23:58:36 +00:00
|
|
|
%{_includedir}/CL/cl.h
|
|
|
|
%{_includedir}/CL/cl_ext.h
|
2016-08-31 08:29:37 +00:00
|
|
|
%{_includedir}/CL/cl_egl.h
|
2013-02-27 23:58:36 +00:00
|
|
|
%{_includedir}/CL/cl_gl.h
|
|
|
|
%{_includedir}/CL/cl_gl_ext.h
|
2018-03-25 08:07:56 +00:00
|
|
|
%{_includedir}/CL/cl_ext_intel.h
|
|
|
|
%{_includedir}/CL/cl_va_api_media_sharing_intel.h
|
2019-02-04 22:51:25 +00:00
|
|
|
%{_includedir}/CL/cl_version.h
|
2020-02-28 12:24:28 +00:00
|
|
|
%{_includedir}/CL/cl_icd.h
|
2020-05-20 15:55:38 +00:00
|
|
|
%{_includedir}/CL/cl_half.h
|
2016-08-31 08:29:37 +00:00
|
|
|
%{_includedir}/CL/cl2.hpp
|
2013-02-27 23:58:36 +00:00
|
|
|
%{_includedir}/CL/cl.hpp
|
|
|
|
|
|
|
|
%changelog
|
2020-07-28 12:40:21 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org>
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-24 11:23:14 +00:00
|
|
|
* Fri Jul 24 2020 Karol Herbst <kherbst@redhat.com> - 3.0-1.20200512gitd082d42
|
|
|
|
- Update to latest upstream, pick up new extensions for OpenCL-CTS build fix
|
|
|
|
- Rework CLHPP handling as file is not downloadable anymore
|
|
|
|
- Bump CLHPP version to 2.0.12
|
|
|
|
|
2020-05-20 15:55:38 +00:00
|
|
|
* Wed May 20 2020 Karol Herbst <kherbst@redhat.com> - 3.0-0.20200512git5cc337c
|
|
|
|
- Update to latest upstream, pick up new extensions for OpenCL-CTS build fix
|
|
|
|
- Bump CLHPP version to 2.0.11
|
|
|
|
|
2020-02-28 12:24:28 +00:00
|
|
|
* Fri Feb 28 2020 Karol Herbst <kherbst@redhat.com> - 2.2-7.20200218git96f5bde
|
|
|
|
- Update to latest upstream, pick up new extensions for OpenCL-CTS build fix
|
|
|
|
|
2020-01-29 20:14:07 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-6.20190205git49f07d3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 23:23:47 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-5.20190205git49f07d3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-04 22:51:25 +00:00
|
|
|
* Tue Feb 05 2019 Dave Airlie <airlied@redhat.com> - 2.2-4.20190205git49f07d3
|
|
|
|
- Update to latest upstream, pick up the ppc fix
|
|
|
|
|
2019-02-01 17:20:32 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3.20180306gite986688
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 15:03:47 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-2.20180306gite986688
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-25 08:07:56 +00:00
|
|
|
* Fri Mar 23 2018 Simone Caronni <negativo17@gmail.com> - 2.2-1.20180306gite986688
|
|
|
|
- Update to 2.2.
|
|
|
|
- Use packaging guidelines for snapshots.
|
|
|
|
|
2018-02-08 09:24:21 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 01:45:04 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 00:49:06 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-08-31 08:29:37 +00:00
|
|
|
* Wed Aug 31 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.1-1
|
|
|
|
- Update to 2.1
|
|
|
|
|
2016-02-04 11:25:15 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-18 02:55:09 +00:00
|
|
|
* Sun Jan 17 2016 Dave Airlie <airlied@redhat.com> - 1.2-8
|
|
|
|
- add cl_egl.h
|
|
|
|
|
2015-06-17 23:54:35 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 16:31:03 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-04-25 14:30:16 +00:00
|
|
|
* Fri Apr 25 2014 Fabian Deutsch <fabiand@fedoraproject.org> - 1.2-5
|
|
|
|
- Pull patch application into pre
|
|
|
|
|
2014-04-25 08:00:21 +00:00
|
|
|
* Fri Apr 25 2014 Fabian Deutsch <fabiand@fedoraproject.org> - 1.2-4
|
|
|
|
- Add patch for cl.hpp to be usable on arm rhbz#1027199
|
|
|
|
|
2013-08-03 15:32:05 +00:00
|
|
|
* 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
|
|
|
|
|
2013-02-28 23:23:49 +00:00
|
|
|
* Fri Mar 01 2013 Dave Airlie <airlied@redhat.com> 1.2-2
|
|
|
|
- fix missing dir and remove defattr.
|
|
|
|
|
2013-02-27 23:58:36 +00:00
|
|
|
* Wed Feb 27 2013 Dave Airlie <airlied@redhat.com> 1.2-1
|
|
|
|
- OpenCL header files from Khronos for OpenCL 1.2
|
|
|
|
|