2017-11-13 15:19:39 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package opencl-cpp-headers
|
|
|
|
|
#
|
2024-05-10 20:10:25 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
|
# Copyright (c) 2024 Aaron Puchert.
|
2017-11-13 15:19:39 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2020-03-14 17:29:12 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-11-13 15:19:39 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: opencl-cpp-headers
|
2024-05-10 20:10:25 +00:00
|
|
|
Version: 2024.05.08
|
2017-11-13 15:19:39 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: OpenCL C++ headers
|
2020-06-17 22:47:00 +00:00
|
|
|
License: Apache-2.0
|
2017-11-13 15:19:39 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-03-14 17:29:12 +00:00
|
|
|
URL: https://www.khronos.org/registry/OpenCL/
|
2023-02-07 21:01:55 +00:00
|
|
|
Source: https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v%{version}.tar.gz
|
2017-11-13 15:19:39 +00:00
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
BuildRequires: findutils
|
2017-11-19 13:12:35 +00:00
|
|
|
Conflicts: opencl-headers-1_2
|
2017-11-13 15:19:39 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: opencl-headers
|
|
|
|
|
|
|
|
|
|
%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 C++ headers for OpenCL, which are wrappers
|
|
|
|
|
around the C headers.
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-02-07 21:01:55 +00:00
|
|
|
%setup -q -n OpenCL-CLHPP-%{version}
|
2017-11-13 15:19:39 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Fix line endings
|
2020-03-14 17:29:12 +00:00
|
|
|
find -type f -exec dos2unix {} \;
|
2017-11-13 15:19:39 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_includedir}/CL
|
2022-06-04 15:28:16 +00:00
|
|
|
install -p -m 0644 include/CL/* %{buildroot}%{_includedir}/CL
|
2017-11-13 15:19:39 +00:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{_includedir}/CL
|
2020-06-17 22:47:00 +00:00
|
|
|
%{_includedir}/CL/cl2.hpp
|
2021-05-08 18:29:52 +00:00
|
|
|
%{_includedir}/CL/opencl.hpp
|
2017-11-13 15:19:39 +00:00
|
|
|
|
|
|
|
|
%changelog
|