File opencl-headers.spec of Package opencl-headers
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define date 20130212
Name: opencl-headers
Version: 1.2
Release: 2
License: MIT
Summary: OpenCL (Open Computing Language) headers
Url: http://www.khronos.org/registry/cl/
Group: Development/C
Source: %{name}-%{version}-%{date}.tar.bz2
Source1: get-tarball.sh
Buildroot: %{_tmppath}/%{name}-%{version}-build
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 %{name}-%{version}-%{date}
%install
install -d -m 755 %{buildroot}%{_includedir}/CL
install -m644 *.h* %{buildroot}%{_includedir}/CL
%files
%defattr(-, root, root, -)
%dir %{_includedir}/CL
%{_includedir}/CL/*.h*
%changelog