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