update to 11.0.0 [release 11.0.0-1mamba;Wed Jan 06 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:00:14 +01:00
parent 5b9071aca4
commit dd61b9e50a

View File

@ -1,5 +1,6 @@
Name: libclc Name: libclc
Version: 20140919git Epoch: 1
Version: 11.0.0
Release: 1mamba Release: 1mamba
Summary: An implementation of the library requirements of the OpenCL C programming language Summary: An implementation of the library requirements of the OpenCL C programming language
Group: System/Libraries Group: System/Libraries
@ -7,8 +8,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libclc.llvm.org/ URL: http://libclc.llvm.org/
## GITSOURCE http://llvm.org/git/libclc.git master Source: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libclc-%{version}.src.tar.xz
Source: http://llvm.org/git/libclc.git/master/libclc-%{version}.tar.bz2
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -27,17 +27,25 @@ Requires: pkg-config
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%prep %prep
%setup -q %setup -q -n %{name}-%{version}.src
#-D -T
%build %build
./configure.py \ #:<< _EOF
--prefix=%{_prefix} mkdir -p build
cd build
%make cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{_prefix}
ninja
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall cd build
export DESTDIR=%{buildroot}
ninja install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -46,11 +54,14 @@ This package contains libraries and header files for developing applications tha
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/clc %dir %{_includedir}/clc
%{_includedir}/clc/* %{_includedir}/clc/*
%dir %{_prefix}/lib/clc %dir %{_datadir}/clc
%{_prefix}/lib/clc/*.bc %{_datadir}/clc/*.bc
%{_datadir}/pkgconfig/libclc.pc %{_datadir}/pkgconfig/libclc.pc
%doc README.TXT %doc README.TXT
%changelog %changelog
* Wed Jan 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 11.0.0-1mamba
- update to 11.0.0
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140919git-1mamba * Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140919git-1mamba
- package created using the webbuild interface - package created using the webbuild interface