Mageia Bugzilla – Attachment 13121 Details for
Bug 30010
OpenCL-Headers update request
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec file
ocl-icd.spec (text/x-rpm-spec), 2.61 KB, created by
Aurelian R
on 2022-02-07 19:44:55 CET
(
hide
)
Description:
spec file
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2022-02-07 19:44:55 CET
Size:
2.61 KB
patch
obsolete
>%define major 1 >%define libname %mklibname opencl %{major} >%define devname %mklibname opencl -d >%define icddevname %mklibname ocl-icd -d > >%bcond_without check_tests > >Summary: OpenCL ICL Loader >Name: ocl-icd >Version: 2.3.1 >Release: 3%{dist}X >License: BSD >Group: System/Libraries >URL: https://github.com/OCL-dev/%{name}/ >Source: https://github.com/OCL-dev/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz >BuildRequires: asciidoc >BuildRequires: ruby >BuildRequires: xmlto >BuildRequires: pkgconfig(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 an Installable Client Driver loader (ICD Loader). >The provided libOpenCL library is able to load any free or non-free installed >ICD (driver backend). > >%package -n %{libname} >Summary: OpenCL ICL Loader >Group: System/Libraries > >%description -n %{libname} >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 an Installable Client Driver loader (ICD Loader). >The provided libOpenCL library is able to load any free or non-free installed >ICD (driver backend). > >%package -n %{devname} >Summary: OpenCL development files >Group: Development/C >Requires: %{libname} = %{version} >Requires: opencl-headers >Provides: opencl-devel = %{version}-%{release} > >%description -n %{devname} >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 files needed to compile software that uses >OpenCL. > >%package -n %{icddevname} >Summary: ocl-icd development files >Group: Development/C >Requires: %{devname} = %{version}-%{release} >Provides: ocl-icd-devel = %{version}-%{release} > >%description -n %{icddevname} >This package provides the files needed to build OpenCL client drivers that >use ocl-icd for ICL functionality. > >%prep >%autosetup -p1 > >%build >autoreconf -fvi >%configure >%make_build > >%install >%make_install > >find %{buildroot} -name '*.la' -delete > >rm -rf instdocs >mv %{buildroot}%{_docdir}/%{name} instdocs > >%check >%{?with_check_tests:make check} > >%files -n %{libname} >%doc README >%{_libdir}/libOpenCL.so.%{major}{,.*} > >%files -n %{devname} >%doc README NEWS COPYING >%{_libdir}/libOpenCL.so >%{_libdir}/pkgconfig/OpenCL.pc >%{_mandir}/man7/libOpenCL.7* >%{_mandir}/man7/libOpenCL.so.7* > >%files -n %{icddevname} >%doc README NEWS COPYING >%doc instdocs/* >%{_includedir}/ocl_icd.h >%{_libdir}/pkgconfig/ocl-icd.pc
%define major 1 %define libname %mklibname opencl %{major} %define devname %mklibname opencl -d %define icddevname %mklibname ocl-icd -d %bcond_without check_tests Summary: OpenCL ICL Loader Name: ocl-icd Version: 2.3.1 Release: 3%{dist}X License: BSD Group: System/Libraries URL: https://github.com/OCL-dev/%{name}/ Source: https://github.com/OCL-dev/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: asciidoc BuildRequires: ruby BuildRequires: xmlto BuildRequires: pkgconfig(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 an Installable Client Driver loader (ICD Loader). The provided libOpenCL library is able to load any free or non-free installed ICD (driver backend). %package -n %{libname} Summary: OpenCL ICL Loader Group: System/Libraries %description -n %{libname} 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 an Installable Client Driver loader (ICD Loader). The provided libOpenCL library is able to load any free or non-free installed ICD (driver backend). %package -n %{devname} Summary: OpenCL development files Group: Development/C Requires: %{libname} = %{version} Requires: opencl-headers Provides: opencl-devel = %{version}-%{release} %description -n %{devname} 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 files needed to compile software that uses OpenCL. %package -n %{icddevname} Summary: ocl-icd development files Group: Development/C Requires: %{devname} = %{version}-%{release} Provides: ocl-icd-devel = %{version}-%{release} %description -n %{icddevname} This package provides the files needed to build OpenCL client drivers that use ocl-icd for ICL functionality. %prep %autosetup -p1 %build autoreconf -fvi %configure %make_build %install %make_install find %{buildroot} -name '*.la' -delete rm -rf instdocs mv %{buildroot}%{_docdir}/%{name} instdocs %check %{?with_check_tests:make check} %files -n %{libname} %doc README %{_libdir}/libOpenCL.so.%{major}{,.*} %files -n %{devname} %doc README NEWS COPYING %{_libdir}/libOpenCL.so %{_libdir}/pkgconfig/OpenCL.pc %{_mandir}/man7/libOpenCL.7* %{_mandir}/man7/libOpenCL.so.7* %files -n %{icddevname} %doc README NEWS COPYING %doc instdocs/* %{_includedir}/ocl_icd.h %{_libdir}/pkgconfig/ocl-icd.pc
View Attachment As Raw
Actions:
View
Attachments on
bug 30010
:
13117
|
13118
|
13119
|
13120
| 13121 |
13122
|
13123
|
13124