File mingw64-xxhash.spec of Package mingw64-xxhash
#
# spec file for package mingw64-xxhash
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{_mingw64_package_header_debug}
Name: mingw64-xxhash
Version: 0.8.3
Release: 0
Summary: Non-cryptographic hash algorithm
License: BSD-2-Clause AND GPL-2.0-only
URL: https://github.com/Cyan4973/xxHash
Source0: https://github.com/Cyan4973/xxHash/archive/v%{version}.tar.gz#/xxHash-%{version}.tar.gz
BuildRequires: mingw64-cross-cmake
BuildRequires: mingw64-cross-gcc
BuildArch: noarch
BuildSystem: mingw64cmake
BuildOption: -S ../cmake_unofficial
%description
xxHash is a hash algorithm. It completes the SMHasher test suite which
evaluates collision, dispersion and randomness qualities of hash functions.
Hashes are identical on all platforms.
%{_mingw64_debug_package}
%files
%license LICENSE
%doc README.md
%{_mingw64_bindir}/xxhsum.exe
%{_mingw64_mandir}/man1/xxhsum.*
%{_mingw64_includedir}/xxhash.h
%{_mingw64_includedir}/xxh3.h
%{_mingw64_libdir}/libxxhash.a
%{_mingw64_libdir}/pkgconfig/libxxhash.pc
%{_mingw64_libdir}/cmake
%changelog