Name: xxhash Version: 0.8.0 Release: 1mamba Summary: An Extremely fast Hash algorithm Group: Applications/Security Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/Cyan4973/xxHash.git Source: https://github.com/Cyan4973/xxHash.git/v%{version}/xxHash-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description xxHash is an Extremely fast Hash algorithm, running at RAM speed limits. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n xxHash-%{version} %build %make prefix=%{_prefix} LIBDIR=%{_libdir} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall prefix=%{_prefix} LIBDIR=%{_libdir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/xxh128sum %{_bindir}/xxh32sum %{_bindir}/xxh64sum %{_bindir}/xxhsum %{_mandir}/man1/xxh128sum.1* %{_mandir}/man1/xxh32sum.1* %{_mandir}/man1/xxh64sum.1* %{_mandir}/man1/xxhsum.1* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libxxhash.so.* %doc LICENSE %files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/xxh3.h %{_includedir}/xxhash.h %{_libdir}/libxxhash.a %{_libdir}/libxxhash.so %{_libdir}/pkgconfig/libxxhash.pc %doc README.md %changelog * Sun Sep 06 2020 Silvan Calarco 0.8.0-1mamba - package created using the webbuild interface