57 lines
1.5 KiB
RPMSpec
57 lines
1.5 KiB
RPMSpec
|
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
|