Name: dht Version: 0.27 Release: 1mamba Summary: Headers-only library implementing the Kademlia Distributed Hash Table (DHT) used in the Bittorrent networ Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.irif.fr/~jch/software/bittorrent/ Source: https://github.com/jech/dht.git/dht-%{version}/dht-%{version}.tar.bz2 Patch0: dht-0.27-cmake.patch License: MIT ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: cmake %description Headers-only library implementing the Kademlia Distributed Hash Table (DHT) used in the Bittorrent networ %package -n lib%{name}-devel Group: Development/Libraries Summary: Headers-only library implementing the Kademlia Distributed Hash Table (DHT) used in the Bittorrent networ %description -n lib%{name}-devel Headers-only library implementing the Kademlia Distributed Hash Table (DHT) used in the Bittorrent networ This package contains header files for developing applications that use %{name}. #% debug_package %prep %setup -q %patch 0 -p1 -b .cmake %build %cmake \ -DCMAKE_INSTALL_INCLUDEDIR=include/dht %cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %cmake_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/dht %{_includedir}/dht/dht.h %{_libdir}/libdht.a %dir %{_libdir}/cmake/DHT %{_libdir}/cmake/DHT/DHT*.cmake %dir %{_docdir}/DHT %{_docdir}/DHT/* %doc LICENCE CHANGES README %changelog * Sun Aug 04 2024 Silvan Calarco 0.27-1mamba - package created using the webbuild interface