3 %bcond_without tests # build without tests
6 Summary(pl.UTF-8): 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/
16 Patch0: %{name}-update.patch
17 BuildRequires: autoconf
18 BuildRequires: automake
21 BuildRequires: libtool
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Cilk is a language for multithreaded parallel programming based on
27 ANSI C. Cilk is designed for general-purpose parallel programming, but
28 it is especially effective for exploiting dynamic, highly asynchronous
29 parallelism, which can be difficult to write in data-parallel or
30 message-passing style.
32 %description -l pl.UTF-8
33 Clik to język to wielowątkowego, równoległego programowania oparty na
34 ANSI C. Cilk został zaprojektowany do programowania równoległego
35 ogólnego przeznaczenia, ale jest szczególnie efektywny do
36 wykorzystywania dynamicznej, wysoce asynchronicznej równoległości,
37 kiedy może być trudno pisać w stylu z równoległymi danymi lub
38 przekazywaniem komunikatów.
41 Summary: Static cilk libraries
42 Summary(pl.UTF-8): Statyczne biblioteki cilka
43 Group: Development/Libraries
44 Requires: %{name} = %{version}-%{release}
47 Static cilk libraries.
49 %description static -l pl.UTF-8
50 Statyczne biblioteki cilka.
53 %setup -q -n %{version}
55 %{!?with_tests:sed 's/ examples / /' -i Makefile.in}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS README THANKS
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/*.so.*.*.*
84 %attr(755,root,root) %{_libdir}/*.so
86 # contains libcilkrt0*.a
88 %{_includedir}/%{name}
91 %defattr(644,root,root,755)