%global gituser libsidplayfp %global gitname libsidplayfp Name: libsidplayfp Version: 3.1.1 Release: 1%{?dist} Summary: SID chip music module playing library License: GPLv2+ URL: https://github.com/%{gituser}/%{gitname} Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ doxygen libftdi-c++-devel libgcrypt-devel libtool libresidfp-devel BuildRequires: devscripts %description This library provides support for playing SID music modules originally created on Commodore 64 and compatibles. It contains a processing engine for MOS 6510 machine code and MOS 6581 Sound Interface Device (SID) chip output. It is used by music player programs like SIDPLAY and several plug-ins for versatile audio players. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel These are the files needed for compiling programs that use %{name}. %package devel-doc Summary: API documentation for %{name} BuildArch: noarch %description devel-doc This package contains API documentation for %{name}. %prep %setup -q doxygen -u Doxyfile.in rm -r aclocal.m4 build-aux autoreconf -ivf %build %set_build_flags export CFLAGS=$(echo "$CFLAGS" | sed -e 's|-g |-g1 |' -e 's|-march=x86-64|-march=x86-64-v2 -fvect-cost-model=dynamic|') export CXXFLAGS=$(echo "$CXXFLAGS" | sed -e 's|-g |-g1 |' -e 's|-march=x86-64|-march=x86-64-v2 -fvect-cost-model=dynamic|') %configure --disable-static %make_build all doc %install hardening-check -v --nobranchprotection src/.libs/libsidplayfp.so.7.* %make_install INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %ldconfig_scriptlets %files %doc AUTHORS.md NEWS.md README.md TODO %license COPYING %{_libdir}/libsidplayfp.so.7.* %{_libdir}/libstilview.so.0* %files devel %{_libdir}/libsidplayfp.so %{_libdir}/libstilview.so %{_includedir}/sidplayfp/ %{_includedir}/stilview/ %{_libdir}/pkgconfig/*.pc %files devel-doc %doc docs/html %changelog * Fri Sep 04 2026 samoht0 3.1.1 - update 3.1.1 - history cleanup