File mingw64-tiff.spec of Package mingw64-tiff

#
# spec file for package mingw64-tiff
#
# 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-tiff
Version:        4.7.1
Release:        0
Summary:        Tools for Converting from and to the Tagged Image File Format
License:        HPND
URL:            https://libtiff.gitlab.io/libtiff/
Source:         https://download.osgeo.org/libtiff/tiff-%{version}.tar.xz
Source1:        https://download.osgeo.org/libtiff/tiff-%{version}.tar.xz.sig
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-libjpeg-turbo
BuildRequires:  mingw64-liblzma
BuildRequires:  mingw64-zlib
BuildRequires:  mingw64-zstd
BuildArch:      noarch
BuildSystem:    mingw64autotools

%description
This package contains the library and support programs for the TIFF image format.

%{_mingw64_debug_package}

%install -a
rm -v %{buildroot}/%{_mingw64_docdir}/tiff-%{version}/manual/.buildinfo

%files
%license LICENSE.md
%{_mingw64_bindir}/*.exe
%{_mingw64_docdir}/tiff-%{version}
%{_mingw64_includedir}/tiff*.h
%{_mingw64_includedir}/tiff*.hxx
%{_mingw64_libdir}/libtiff.a
%{_mingw64_libdir}/libtiffxx.a
%{_mingw64_libdir}/pkgconfig/libtiff-4.pc
%{_mingw64_mandir}/man[1,3]/*%{?ext_man}

%changelog
openSUSE Build Service is sponsored by