File mingw64-mpg123.spec of Package mingw64-mpg123

#
# spec file for package mingw64-mpg123
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2015-2025, Martin Hauke <mardnh@gmx.de>
#
# 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-mpg123
Version:        1.33.3
Release:        0
Summary:        Console MPEG audio player and decoder library
License:        LGPL-2.1-only
URL:            https://mpg123.org/
Source:         https://mpg123.org/download/mpg123-%{version}.tar.bz2
BuildRequires:  mingw64-SDL2
BuildRequires:  mingw64-cross-gcc
BuildArch:      noarch
BuildSystem:    mingw64autotools
BuildOption:    --with-cpu=x86-64_dither
BuildOption:    --enable-modules=no

%description
The mpg123 distribution contains an MPEG 1.0/2.0/2.5 audio player/decoder for
layers 1, 2 and 3 (most commonly MPEG 1.0 Layer 3 aka MP3), as well as re-usable decoding
and output libraries.

%{_mingw64_debug_package}

%files
%license COPYING
%doc AUTHORS ChangeLog NEWS NEWS.libmpg123 NEWS.libout123 NEWS.libsyn123 README
%{_mingw64_bindir}/mpg123-id3dump.exe
%{_mingw64_bindir}/mpg123-strip.exe
%{_mingw64_bindir}/mpg123.exe
%{_mingw64_bindir}/out123.exe
%{_mingw64_mandir}/man1/mpg123.1%{?ext_man}
%{_mingw64_mandir}/man1/out123.1%{?ext_man}

%{_mingw64_includedir}/fmt123.h
%{_mingw64_includedir}/mpg123.h
%{_mingw64_includedir}/out123.h
%{_mingw64_includedir}/syn123.h
%{_mingw64_libdir}/libmpg123.a
%{_mingw64_libdir}/libout123.a
%{_mingw64_libdir}/libsyn123.a
%{_mingw64_libdir}/pkgconfig/libmpg123.pc
%{_mingw64_libdir}/pkgconfig/libout123.pc
%{_mingw64_libdir}/pkgconfig/libsyn123.pc

%changelog
openSUSE Build Service is sponsored by