]> git.pld-linux.org Git - packages/libcuckoo.git/blame - libcuckoo.spec
- updated to 0.3.1
[packages/libcuckoo.git] / libcuckoo.spec
CommitLineData
db50481d
JB
1# TODO: package libcuckoo-gdb-printers
2Summary: High-performance, compact hash table
3Summary(pl.UTF-8): Wydajna, zwarta tablica asocjacyjna
4Name: libcuckoo
e8d7f1f9
JB
5Version: 0.3.1
6Release: 1
db50481d
JB
7License: Apache v2.0
8Group: Libraries
9#Source0Download: https://github.com/efficient/libcuckoo/releases
10Source0: https://github.com/efficient/libcuckoo/archive/v%{version}/%{name}-%{version}.tar.gz
e8d7f1f9 11# Source0-md5: 9652ec37186cb95ff253178b26f444c5
db50481d
JB
12URL: https://github.com/efficient/libcuckoo
13BuildRequires: cmake >= 3.1.0
14BuildRequires: libstdc++-devel >= 6:4.7
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19libcuckoo provides a high-performance, compact hash table that allows
20multiple concurrent reader and writer threads.
21
22%description -l pl.UTF-8
23libcuckoo dostarcza wydajną, zwartą tablicę asocjacyjną, pozwalającą
24na wiele wątków czytających i piszących.
25
26%package devel
27Summary: High-performance, compact hash table
28Summary(pl.UTF-8): Wydajna, zwarta tablica asocjacyjna
29Group: Development/Libraries
db50481d
JB
30
31%description devel
32libcuckoo provides a high-performance, compact hash table that allows
33multiple concurrent reader and writer threads.
34
35%description devel -l pl.UTF-8
36libcuckoo dostarcza wydajną, zwartą tablicę asocjacyjną, pozwalającą
37na wiele wątków czytających i piszących.
38
39%prep
40%setup -q
41
42%build
43install -d build
44cd build
45%cmake ..
46
47%{__make}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} -C build install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56cp -pr examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files devel
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}
This page took 0.108636 seconds and 4 git commands to generate.