File mingw64-libsidplayfp.spec of Package mingw64-libsidplayfp
#
# spec file for package mingw64-libsidplayfp
#
# Copyright (c) 2024-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 http://bugs.opensuse.org/
#
Name: mingw64-libsidplayfp
Version: 2.14.0
Release: 0
Summary: A library to play Commodore 64 music
License: GPL-2.0-or-later
Group: System/Libraries
#Git-Clone: https://github.com/libsidplayfp/libsidplayfp.git
URL: https://sourceforge.net/projects/sidplay-residfp/
Source0: https://sourceforge.net/projects/sidplay-residfp/files/libsidplayfp/2.14/libsidplayfp-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: mingw64-cross-gcc-c++
%_mingw64_package_header_debug
BuildArch: noarch
%description
A library to play Commodore 64 music based on libsidplay2.
%package -n mingw64-libsidplayfp6
Summary: A library to play Commodore 64 music
Group: System/Libraries
%description -n mingw64-libsidplayfp6
A library to play Commodore 64 music based on libsidplay2.
%package -n mingw64-libsidplayfp-devel
Summary: Development files for libsidplayfp
Group: Development/Libraries/C and C++
Requires: mingw64-libsidplayfp6 = %{version}
%description -n mingw64-libsidplayfp-devel
A library to play Commodore 64 music based on libsidplay2.
This package contains development tools and libraries for use when
cross-compiling Windows software.
%package -n mingw64-libstilview0
Summary: A library to play Commodore 64 music
Group: System/Libraries
%description -n mingw64-libstilview0
A library to play Commodore 64 music based on libsidplay2.
%package -n mingw64-libstilview-devel
Summary: Development files for libstilview
Group: Development/Libraries/C and C++
Requires: mingw64-libstilview0 = %{version}
%description -n mingw64-libstilview-devel
A library to play Commodore 64 music based on libsidplay2.
This package contains development tools and libraries for use when
cross-compiling Windows software.
%_mingw64_debug_package
%prep
%setup -q -n libsidplayfp-%{version}
%build
%{_mingw64_configure} --disable-static
%{_mingw64_make} %{?_smp_mflags}
%install
%{_mingw64_make_install}
%files -n mingw64-libsidplayfp6
%license COPYING
%{_mingw64_bindir}/libsidplayfp-6.dll
%files -n mingw64-libstilview0
%license COPYING
%{_mingw64_bindir}/libstilview-0.dll
%files -n mingw64-libsidplayfp-devel
%doc AUTHORS NEWS README TODO
%{_mingw64_includedir}/sidplayfp
%{_mingw64_libdir}/libsidplayfp.dll.a
%{_mingw64_libdir}/pkgconfig/libsidplayfp.pc
%files -n mingw64-libstilview-devel
%doc AUTHORS NEWS README TODO
%{_mingw64_includedir}/stilview/
%{_mingw64_libdir}/libstilview.dll.a
%{_mingw64_libdir}/pkgconfig/libstilview.pc
%changelog