LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mingw32-opencl-headers.spec of Package mingw32-opencl-headers (Project home:mnhauke:mingw:win32:sdr)

#
# spec file for package mingw32-opencl-headers
#
# Copyright (c) 2015, Martin Hauke <mardnh@gmx.de>
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define date 20130212
Name:           mingw32-opencl-headers
Version:        1.2
Release:        0
Summary:        OpenCL (Open Computing Language) headers
License:        MIT
Group:          Development/C
Url:            http://www.khronos.org/registry/cl/
Source:         opencl-headers-%{version}-%{date}.tar.bz2
Source1:        get-tarball.sh
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  mingw32-cross-pkg-config
BuildRequires:  mingw32-filesystem >= 35
BuildArch:      noarch

%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 Khronos Group OpenCL headers needed to
compile programs that use OpenCL.

%prep
%setup -q -n opencl-headers-%{version}-%{date}

%build

%install
install -d -m 755 %{buildroot}%{_mingw32_includedir}/CL
install -m644 *.h* %{buildroot}%{_mingw32_includedir}/CL

%files
%defattr(-, root, root, -)
%dir %{_mingw32_includedir}/CL
%{_mingw32_includedir}/CL/*.h*

%changelog