diff --git a/README.md b/README.md index 67b27ed..002de71 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libcuckoo +A high-performance, concurrent hash table. + diff --git a/libcuckoo.spec b/libcuckoo.spec new file mode 100644 index 0000000..5ba3531 --- /dev/null +++ b/libcuckoo.spec @@ -0,0 +1,55 @@ +Name: libcuckoo +Version: 0.3 +Release: 1mamba +Summary: A high-performance, concurrent hash table +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/efficient/libcuckoo +Source: https://github.com/efficient/libcuckoo.git/v%{version}/libcuckoo-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +A high-performance, concurrent hash table. + +%package devel +Group: Development/Libraries +Summary: A high-performance, concurrent hash table. + +%description devel +A high-performance, concurrent hash table. +This package contains header files for developing applications that use %{name}. + +#% debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libcuckoo-c +%{_includedir}/libcuckoo-c/* +%dir %{_includedir}/libcuckoo +%{_includedir}/libcuckoo/* +%dir %{_datadir}/cmake/libcuckoo +%{_datadir}/cmake/libcuckoo/libcuckoo*.cmake +%doc LICENSE README.md + +%changelog +* Mon Apr 18 2022 Silvan Calarco 0.3-1mamba +- package created using the webbuild interface