|
rdobuilder |
c973ae |
Name: xxhash
|
|
rdobuilder |
c973ae |
Version: 0.8.1
|
|
rdobuilder |
c973ae |
Release: 1%{?dist}
|
|
rdobuilder |
c973ae |
Summary: Extremely fast hash algorithm
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
# The source for the library (xxhash.c and xxhash.h) is BSD
|
|
rdobuilder |
c973ae |
# The source for the command line tool (xxhsum.c) is GPLv2+
|
|
rdobuilder |
c973ae |
License: BSD and GPLv2+
|
|
rdobuilder |
c973ae |
URL: http://www.xxhash.com/
|
|
rdobuilder |
c973ae |
Source0: https://github.com/Cyan4973/xxHash/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
rdobuilder |
c973ae |
# Fix compilation on RHEL 7 ppc64le (gcc 4.8)
|
|
rdobuilder |
c973ae |
# https://github.com/Cyan4973/xxHash/issues/622
|
|
rdobuilder |
c973ae |
# https://github.com/Cyan4973/xxHash/pull/631
|
|
rdobuilder |
c973ae |
Patch0: %{name}-epel7-ppc64le.patch
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
BuildRequires: make
|
|
rdobuilder |
c973ae |
BuildRequires: gcc
|
|
rdobuilder |
c973ae |
BuildRequires: doxygen
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%description
|
|
rdobuilder |
c973ae |
xxHash is an Extremely fast Hash algorithm, running at RAM speed
|
|
rdobuilder |
c973ae |
limits. It successfully completes the SMHasher test suite which
|
|
rdobuilder |
c973ae |
evaluates collision, dispersion and randomness qualities of hash
|
|
rdobuilder |
c973ae |
functions. Code is highly portable, and hashes are identical on all
|
|
rdobuilder |
c973ae |
platforms (little / big endian).
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%package libs
|
|
rdobuilder |
c973ae |
Summary: Extremely fast hash algorithm - library
|
|
rdobuilder |
c973ae |
License: BSD
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%description libs
|
|
rdobuilder |
c973ae |
xxHash is an Extremely fast Hash algorithm, running at RAM speed
|
|
rdobuilder |
c973ae |
limits. It successfully completes the SMHasher test suite which
|
|
rdobuilder |
c973ae |
evaluates collision, dispersion and randomness qualities of hash
|
|
rdobuilder |
c973ae |
functions. Code is highly portable, and hashes are identical on all
|
|
rdobuilder |
c973ae |
platforms (little / big endian).
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%package devel
|
|
rdobuilder |
c973ae |
Summary: Extremely fast hash algorithm - development files
|
|
rdobuilder |
c973ae |
License: BSD
|
|
rdobuilder |
c973ae |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
rdobuilder |
c973ae |
# By setting XXH_INLINE_ALL, xxhash may be used as a header-only library.
|
|
rdobuilder |
c973ae |
# Dependent packages that use xxhash this way must BR this virtual Provide:
|
|
rdobuilder |
c973ae |
Provides: %{name}-static = %{version}-%{release}
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%description devel
|
|
rdobuilder |
c973ae |
Development files for the xxhash library
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%package doc
|
|
rdobuilder |
c973ae |
Summary: Extremely fast hash algorithm - documentation files
|
|
rdobuilder |
c973ae |
License: BSD
|
|
rdobuilder |
c973ae |
BuildArch: noarch
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%description doc
|
|
rdobuilder |
c973ae |
Documentation files for the xxhash library
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%prep
|
|
rdobuilder |
c973ae |
%setup -q -n xxHash-%{version}
|
|
rdobuilder |
c973ae |
%patch0 -p1
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%build
|
|
rdobuilder |
c973ae |
# Enable runtime detection of sse2/avx2/avx512 on intel architectures
|
|
rdobuilder |
c973ae |
%ifarch %{ix86} x86_64
|
|
rdobuilder |
c973ae |
%global dispatch 1
|
|
rdobuilder |
c973ae |
%else
|
|
rdobuilder |
c973ae |
%global dispatch 0
|
|
rdobuilder |
c973ae |
%endif
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%make_build MOREFLAGS="%{__global_cflags} %{?__global_ldflags}" \
|
|
rdobuilder |
c973ae |
DISPATCH=%{dispatch}
|
|
rdobuilder |
c973ae |
doxygen
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%install
|
|
rdobuilder |
c973ae |
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
|
rdobuilder |
c973ae |
rm %{buildroot}/%{_libdir}/libxxhash.a
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%check
|
|
rdobuilder |
c973ae |
make check
|
|
rdobuilder |
c973ae |
make test-xxhsum-c
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%ldconfig_scriptlets libs
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%files
|
|
rdobuilder |
c973ae |
%{_bindir}/xxh*sum
|
|
rdobuilder |
c973ae |
%{_mandir}/man1/xxh*sum.1*
|
|
rdobuilder |
c973ae |
%license cli/COPYING
|
|
rdobuilder |
c973ae |
%doc cli/README.md
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%files libs
|
|
rdobuilder |
c973ae |
%{_libdir}/libxxhash.so.*
|
|
rdobuilder |
c973ae |
%license LICENSE
|
|
rdobuilder |
c973ae |
%doc README.md
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%files devel
|
|
rdobuilder |
c973ae |
%{_includedir}/xxhash.h
|
|
rdobuilder |
c973ae |
%{_includedir}/xxh3.h
|
|
rdobuilder |
c973ae |
%{_libdir}/libxxhash.so
|
|
rdobuilder |
c973ae |
%{_libdir}/pkgconfig/libxxhash.pc
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%files doc
|
|
rdobuilder |
c973ae |
%doc doxygen/html
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
%changelog
|
|
rdobuilder |
c973ae |
* Mon Nov 29 2021 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.8.1-1
|
|
rdobuilder |
c973ae |
- Update to version 0.8.1
|
|
rdobuilder |
c973ae |
- Drop patch xxhash-pkgconfig-version.patch (accepted upstream)
|
|
rdobuilder |
c973ae |
- Fix compilation on RHEL 7 ppc64le (gcc 4.8)
|
|
rdobuilder |
c973ae |
- The x86 dispatch code now enables sse2 and avx2 separately, it can now use
|
|
rdobuilder |
c973ae |
sse2 on EPEL 7 without trying to use avx2 which is not supported by gcc 4.8
|
|
rdobuilder |
c973ae |
- Add documentation package - doxygen mark-up was added
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
|
rdobuilder |
c973ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Thu Jun 10 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.8.0-3
|
|
rdobuilder |
c973ae |
- Add virtual Provide for xxhash-static in xxhash-devel
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
|
rdobuilder |
c973ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Tue Jul 28 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.8.0-1
|
|
rdobuilder |
c973ae |
- Update to version 0.8.0
|
|
rdobuilder |
c973ae |
- Drop patches xxhash-compiler-warning-32-bit.patch (accepted upstream)
|
|
rdobuilder |
c973ae |
and xxhash-pkgconfig.patch (issue fixed upstream)
|
|
rdobuilder |
c973ae |
- Fix empty version in .pc file
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Fri Jul 24 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.7.4-2
|
|
rdobuilder |
c973ae |
- Fix libdir in pkg-config file
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Sat Jun 27 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.7.4-1
|
|
rdobuilder |
c973ae |
- Update to version 0.7.4
|
|
rdobuilder |
c973ae |
- Enable runtime detection of sse2/avx2/avx512 on intel architectures
|
|
rdobuilder |
c973ae |
- Fix compiler warning for 32 bit architectures
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Fri Mar 06 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.7.3-1
|
|
rdobuilder |
c973ae |
- Update to version 0.7.3
|
|
rdobuilder |
c973ae |
- Drop patch xxhash-gcc10-altivec.patch (accepted upstream)
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Fri Feb 07 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.7.2-3
|
|
rdobuilder |
c973ae |
- Fix ppc64le build with gcc 10
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
rdobuilder |
c973ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Wed Oct 09 2019 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.7.2-1
|
|
rdobuilder |
c973ae |
- Update to version 0.7.2
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Sat Aug 17 2019 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.7.1-1
|
|
rdobuilder |
c973ae |
- Update to version 0.7.1
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
rdobuilder |
c973ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Mon Mar 18 2019 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.7.0-1
|
|
rdobuilder |
c973ae |
- Update to version 0.7.0
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-3
|
|
rdobuilder |
c973ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-2
|
|
rdobuilder |
c973ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Thu Apr 19 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.6.5-1
|
|
rdobuilder |
c973ae |
- Update to version 0.6.5
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
|
|
rdobuilder |
c973ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Wed Jan 03 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.6.4-1
|
|
rdobuilder |
c973ae |
- Update to version 0.6.4
|
|
rdobuilder |
c973ae |
- Drop previously backported patches
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Thu Oct 19 2017 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.6.3-2
|
|
rdobuilder |
c973ae |
- Correct License tag (command line tool is GPLv2+)
|
|
rdobuilder |
c973ae |
- Adjust Source tag to get a more descriptive tarfile name
|
|
rdobuilder |
c973ae |
|
|
rdobuilder |
c973ae |
* Wed Oct 18 2017 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.6.3-1
|
|
rdobuilder |
c973ae |
- Initial packaging
|