File mingw64-flac.spec of Package mingw64-flac

#
# spec file for package mingw64-flac
#
# 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-flac
Version:        1.5.0
Release:        0
Summary:        Free Lossless Audio Codec Library
License:        BSD-3-Clause
URL:            https://xiph.org/flac/
Source:         https://github.com/xiph/flac/releases/download/%{version}/flac-%{version}.tar.xz
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-libogg
BuildRequires:  mingw64-win_iconv
BuildArch:      noarch
BuildSystem:    mingw64autotools

%description
FLAC is an open source lossless audio codec.

%{_mingw64_debug_package}

%files
%license COPYING*
%doc README.md
%{_mingw64_bindir}/metaflac.exe
%{_mingw64_bindir}/flac.exe
%{_mingw64_mandir}/man1/metaflac.1*
%{_mingw64_mandir}/man1/flac.1*
%{_mingw64_includedir}/FLAC
%{_mingw64_includedir}/FLAC++
%{_mingw64_libdir}/libFLAC.a
%{_mingw64_libdir}/libFLAC++.a
%{_mingw64_libdir}/pkgconfig/flac.pc
%{_mingw64_libdir}/pkgconfig/flac++.pc
%{_mingw64_datadir}/aclocal/libFLAC.m4
%{_mingw64_datadir}/aclocal/libFLAC++.m4
%{_mingw64_datadir}/doc/flac

%changelog
openSUSE Build Service is sponsored by