package init
This commit is contained in:
parent
e6fef019c5
commit
e2e9437d94
51
ocl-icd.spec
Normal file
51
ocl-icd.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
Name: ocl-icd
|
||||||
|
Version: 2.2.12
|
||||||
|
Release: 1
|
||||||
|
Summary: OpenCL ICD Bindings
|
||||||
|
License: BSD
|
||||||
|
URL: https://github.com/OCL-dev/ocl-icd
|
||||||
|
Source0: https://github.com/OCL-dev/ocl-icd/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gcc automake autoconf make libtool opencl-headers ruby rubygems
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release} opencl-headers
|
||||||
|
%description devel
|
||||||
|
This package contains the development files for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -vfi
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
rm -vf %{buildroot}%{_libdir}/*.la
|
||||||
|
rm -vrf %{buildroot}%{_defaultdocdir}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS README
|
||||||
|
%{_libdir}/libOpenCL.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc ocl_icd_loader_gen.map ocl_icd_bindings.c
|
||||||
|
%{_includedir}/ocl_icd.h
|
||||||
|
%{_libdir}/libOpenCL.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
%{_libdir}/pkgconfig/OpenCL.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 27 2020 maminjie <maminjie1@huawei.com> - 2.2.12-1
|
||||||
|
- package init
|
||||||
4
ocl-icd.yaml
Normal file
4
ocl-icd.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: OCL-dev/ocl-icd
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: "."
|
||||||
BIN
v2.2.12.tar.gz
Normal file
BIN
v2.2.12.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user