File mingw64-libpng.spec of Package mingw64-libpng
#
# spec file for package mingw64-libpng
#
# 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-libpng
Version: 1.6.50
Release: 0
Summary: PNG reference library
License: Zlib
URL: https://www.libpng.org/pub/png/
Source: https://download.sourceforge.net/libpng/libpng-%{version}.tar.xz
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-zlib
BuildArch: noarch
BuildSystem: mingw64autotools
%description
MinGW Windows libpng library. Libpng is the official reference library for the
Portable Network Graphics (PNG) format.
%package tools
Summary: MinGW port of the PNG reference library's tools
%description tools
MinGW Windows libpng library. Libpng is the official reference library for the
Portable Network Graphics (PNG) format.
%{_mingw64_debug_package}
%files
%{_mingw64_bindir}/libpng-config
%{_mingw64_bindir}/libpng16-config
%{_mingw64_includedir}/libpng16
%{_mingw64_includedir}/png.h
%{_mingw64_includedir}/pngconf.h
%{_mingw64_includedir}/pnglibconf.h
%{_mingw64_libdir}/libpng.a
%{_mingw64_libdir}/libpng16.a
%{_mingw64_libdir}/pkgconfig/libpng.pc
%{_mingw64_libdir}/pkgconfig/libpng16.pc
%exclude %{_mingw64_mandir}/man3
%exclude %{_mingw64_mandir}/man5
%{_mingw64_libdir}/libpng.a
%{_mingw64_libdir}/libpng16.a
%files tools
%{_mingw64_bindir}/png-fix-itxt.exe
%{_mingw64_bindir}/pngfix.exe
%changelog