File mingw64-xz.spec of Package mingw64-xz
#
# spec file for package mingw64-xz
#
# 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-xz
Version: 5.8.1
Release: 0
Summary: Command line tools for XZ and LZMA compressed files
License: GPL-2.0-or-later AND 0BSD
URL: https://tukaani.org/xz/
Source: http://tukaani.org/xz/xz-%{version}.tar.xz
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: xz
Provides: mingw64-lzma = %{version}
BuildArch: noarch
BuildSystem: mingw64autotools
BuildOption: --docdir=%{_mingw64_docdir}/%{name}
BuildOption: --disable-lzma-links
%description
This package includes the xz compression tool and other command
line tools from XZ Utils. xz has command line syntax similar to
that of gzip. The native file format is the .xz format, but also
the legacy .lzma format is supported. The .xz format supports
multiple compression algorithms, of which LZMA2 is currently the
primary algorithm.
%package -n mingw64-liblzma
Summary: LZMA compression library
License: 0BSD
%description -n mingw64-liblzma
This package contains xz's LZMA compression library.
%{_mingw64_debug_package}
%files
%license COPYING*
%{_mingw64_bindir}/lzmadec.exe
%{_mingw64_bindir}/lzmainfo.exe
%{_mingw64_bindir}/unxz.exe
%{_mingw64_bindir}/xz.exe
%{_mingw64_bindir}/xzcat.exe
%{_mingw64_bindir}/xzdec.exe
%{_mingw64_bindir}/xzcmp
%{_mingw64_bindir}/xzdiff
%{_mingw64_bindir}/xzegrep
%{_mingw64_bindir}/xzfgrep
%{_mingw64_bindir}/xzgrep
%{_mingw64_bindir}/xzless
%{_mingw64_bindir}/xzmore
%{_mingw64_docdir}
%{_mingw64_mandir}/man1
%files -n mingw64-liblzma
%license COPYING.0BSD
%{_mingw64_includedir}/lzma.h
%{_mingw64_includedir}/lzma
%{_mingw64_libdir}/liblzma.a
%{_mingw64_libdir}/pkgconfig/liblzma.pc
%changelog