package created using the webbuild interface [release 20140919git-1mamba;Fri Sep 19 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 04:00:14 +01:00
parent 968ed49d3e
commit 5b9071aca4
2 changed files with 58 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libclc # libclc
libclc is an open source, BSD licensed implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification.

56
libclc.spec Normal file
View File

@ -0,0 +1,56 @@
Name: libclc
Version: 20140919git
Release: 1mamba
Summary: An implementation of the library requirements of the OpenCL C programming language
Group: System/Libraries
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
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: libllvm-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libclc is an open source, BSD licensed implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q
%build
./configure.py \
--prefix=%{_prefix}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files devel
%defattr(-,root,root)
%dir %{_includedir}/clc
%{_includedir}/clc/*
%dir %{_prefix}/lib/clc
%{_prefix}/lib/clc/*.bc
%{_datadir}/pkgconfig/libclc.pc
%doc README.TXT
%changelog
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140919git-1mamba
- package created using the webbuild interface