]> git.pld-linux.org Git - packages/clcc.git/blame - clcc.spec
- fix building with boost 1.59
[packages/clcc.git] / clcc.spec
CommitLineData
7e5e9a01
JB
1Summary: CLCC - The OpenCL kernel compiler
2Summary(pl.UTF-8): CLCC - kompilator jąder OpenCL
3Name: clcc
4Version: 0.3.0
67b4c8c9 5Release: 4
7e5e9a01
JB
6License: Boost v1.0
7Group: Development/Tools
8Source0: http://downloads.sourceforge.net/clcc/%{name}-%{version}-25-src.zip
9# Source0-md5: 7ec003cc775d1cd06e789fb054c1d695
10Patch0: %{name}-shared.patch
11Patch1: %{name}-no-svn.patch
12Patch2: %{name}-opencl.patch
67b4c8c9 13Patch3: boost-1.59.patch
7e5e9a01
JB
14URL: http://clcc.sourceforge.net/
15BuildRequires: boost-devel
16BuildRequires: cmake >= 2.8
17BuildRequires: doxygen
18BuildRequires: libstdc++-devel
19Requires: OpenCL
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23CLCC is a compiler for OpenCL kernel source files. It is intended to
24be a tool for application developers who need to incorporate OpenCL
25source code into their programs and who want to verify their OpenCL
26code actually gets compiled by the driver before their program tries
27to compile it on-demand.
28
29%description -l pl.UTF-8
30CLCC to kompilator plików źródłowych jąder OpenCL. Jest pomyślany jako
31narzędzie dla programistów potrzebujących wykorzystywać we własnych
32programach kody źródłowe OpenCL i chcących zweryfikować je przed
33skompilowaniem przez sterownik na żądanie w przypadku użycia przez
34program.
35
36%prep
37%setup -q -c
38%patch0 -p1
39%patch1 -p1
40%patch2 -p1
67b4c8c9 41%patch3 -p1
7e5e9a01
JB
42
43%build
44install -d build
45cd build
46%cmake .. \
47 -DBOOST_LIBRARIES=%{_libdir}
48%{__make} all clcc_doc
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} -C build install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56# not really useful for non-clcc developers
57%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc license.txt
65%attr(755,root,root) %{_bindir}/clcc
This page took 0.116431 seconds and 4 git commands to generate.