3 %bcond_without tests # build without tests
6 Summary(pl): Kompilator Cilka
11 License: GPL v2 and LGPL
12 Group: Development/Languages
13 Source0: http://bradley.csail.mit.edu/~bradley/cilk/downloads/%{name}-%{version}_%{_rev}.tar.bz2
14 # Source0-md5: 1046f684ac72076106574fcc8326e612
15 URL: http://supertech.lcs.mit.edu/cilk/
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Cilk is a language for multithreaded parallel programming based on
23 ANSI C. Cilk is designed for general-purpose parallel programming, but
24 it is especially effective for exploiting dynamic, highly asynchronous
25 parallelism, which can be difficult to write in data-parallel or
26 message-passing style.
32 Summary: Static cilk libraries
33 Summary(pl): Statyczne biblioteki cilka
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 Static cilk libraries.
40 %description static -l pl
41 Statyczne biblioteki cilka.
44 %setup -q -n %{version}
45 %{!?with_tests:sed 's/ examples / /' -i Makefile.in}
49 #%%{__aclocal} -I m4dir
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
66 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README THANKS
72 %attr(755,root,root) %{_bindir}/*
73 %attr(755,root,root) %{_libdir}/*.so.*.*.*
74 %{_includedir}/%{name}
75 %attr(755,root,root) %{_libdir}/*.so
77 # contains libcilkrt0*.a
81 %defattr(644,root,root,755)