1 Summary: xxHash - extremely fast hash algorithm
2 Summary(pl.UTF-8): xxHash - bardzo szybki algorytm haszowania
8 #Source0Download: https://github.com/Cyan4973/xxHash/releases
9 Source0: https://github.com/Cyan4973/xxHash/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: a7628d7a4fd608a7573c5a3e2c856ea5
11 URL: https://github.com/Cyan4973/xxHash
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define specflags_arm -DXXH_FORCE_MEMORY_ACCESS=1
17 xxHash is an Extremely fast Hash algorithm, running at RAM speed
18 limits. It successfully completes the SMHasher test suite which
19 evaluates collision, dispersion and randomness qualities of hash
20 functions. Code is highly portable, and hashes are identical on all
21 platforms (little / big endian).
23 %description -l pl.UTF-8
24 xxHash to niezwykle szybki algorytm haszowania, dochodzący do
25 ograniczeń szybkości pamięci RAM. Przechodzi zestaw testów SMHasher,
26 oceniający współczynniki kolizji, dyspersji i losowości funkcji
27 haszujących. Kod jest przenośny, a wartości haszy identyczne na
28 wszystkich platformach (little- i big-endian).
31 Summary: Header files for xxHash library
32 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki xxHash
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 Header files for xxHash library.
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki xxHash.
43 Summary: Static xxHash library
44 Summary(pl.UTF-8): Statyczna biblioteka xxHash
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 Static xxHash library.
51 %description static -l pl.UTF-8
52 Statyczna biblioteka xxHash.
59 CFLAGS="%{rpmcflags}" \
60 CPPFLAGS="%{rpmcflags}" \
61 LDFLAGS="%{rpmldflags}" \
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT \
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc CHANGELOG LICENSE README.md
83 %attr(755,root,root) %{_bindir}/xxhsum
84 %attr(755,root,root) %{_bindir}/xxh32sum
85 %attr(755,root,root) %{_bindir}/xxh64sum
86 %attr(755,root,root) %{_bindir}/xxh128sum
87 %attr(755,root,root) %{_libdir}/libxxhash.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libxxhash.so.0
89 %{_mandir}/man1/xxhsum.1*
90 %{_mandir}/man1/xxh32sum.1*
91 %{_mandir}/man1/xxh64sum.1*
92 %{_mandir}/man1/xxh128sum.1*
95 %defattr(644,root,root,755)
96 %doc doc/xxhash_spec.md
97 %attr(755,root,root) %{_libdir}/libxxhash.so
99 %{_includedir}/xxhash.h
100 %{_pkgconfigdir}/libxxhash.pc
103 %defattr(644,root,root,755)
104 %{_libdir}/libxxhash.a