File mingw64-sidplayfp.spec of Package mingw64-sidplayfp

#
# spec file for package mingw64-sidplayfp
#
# Copyright (c) 2024-2026, 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 http://bugs.opensuse.org/
#

Name:           mingw64-sidplayfp
Version:        2.16.1
Release:        0
Summary:        SID chip music module player
License:        GPL-2.0-or-later
Group:          Productivity/Multimedia/Sound/Players
#Git-Clone:     https://github.com/libsidplayfp/sidplayfp.git
URL:            https://sourceforge.net/projects/sidplay-residfp/
Source0:        https://github.com/libsidplayfp/sidplayfp/releases/download/v%{version}/sidplayfp-%{version}.tar.gz
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-filesystem
BuildRequires:  mingw64-libsidplayfp-devel
BuildRequires:  mingw64-libstilview-devel
BuildRequires:  mingw64-mpg123-devel
BuildRequires:  autoconf automake
#
%_mingw64_package_header_debug
BuildArch:      noarch

%description
A player for playing SID music modules originally created on the Commodore 64
and compatibles.

%_mingw64_debug_package

%prep
%autosetup -p1 -n sidplayfp-%{version}

%build
autoreconf -fiv
%{_mingw64_configure}
%{_mingw64_make} %{?_smp_mflags}

%install
%{_mingw64_make_install}

%files
%license COPYING
%doc AUTHORS README TODO
%{_mingw64_bindir}/sidplayfp.exe
%{_mingw64_bindir}/stilview.exe
%{_mingw64_mandir}/man1/sidplayfp.1%{?ext_man}
%{_mingw64_mandir}/man1/stilview.1%{?ext_man}
%{_mingw64_mandir}/man5/sidplayfp.ini.5%{?ext_man}

%changelog
openSUSE Build Service is sponsored by