1 # TODO: package libcuckoo-gdb-printers
2 Summary: High-performance, compact hash table
3 Summary(pl.UTF-8): Wydajna, zwarta tablica asocjacyjna
9 #Source0Download: https://github.com/efficient/libcuckoo/releases
10 Source0: https://github.com/efficient/libcuckoo/archive/v%{version}/%{name}-%{version}.tar.gz
11 # Source0-md5: 9652ec37186cb95ff253178b26f444c5
12 URL: https://github.com/efficient/libcuckoo
13 BuildRequires: cmake >= 3.1.0
14 BuildRequires: libstdc++-devel >= 6:4.7
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 libcuckoo provides a high-performance, compact hash table that allows
20 multiple concurrent reader and writer threads.
22 %description -l pl.UTF-8
23 libcuckoo dostarcza wydajną, zwartą tablicę asocjacyjną, pozwalającą
24 na wiele wątków czytających i piszących.
27 Summary: High-performance, compact hash table
28 Summary(pl.UTF-8): Wydajna, zwarta tablica asocjacyjna
29 Group: Development/Libraries
32 libcuckoo provides a high-performance, compact hash table that allows
33 multiple concurrent reader and writer threads.
35 %description devel -l pl.UTF-8
36 libcuckoo dostarcza wydajną, zwartą tablicę asocjacyjną, pozwalającą
37 na wiele wątków czytających i piszących.
50 rm -rf $RPM_BUILD_ROOT
52 %{__make} -C build install \
53 DESTDIR=$RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56 cp -pr examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc LICENSE README.md
64 %{_includedir}/libcuckoo
65 %{_includedir}/libcuckoo-c
66 %{_datadir}/cmake/libcuckoo
67 %{_examplesdir}/%{name}-%{version}