%global gituser libsidplayfp %global gitname libresidfp Name: libresidfp Version: 1.0.1 Release: 1%{?dist} Summary: SID chip emulation library License: GPLv2+ URL: https://github.com/%{gituser}/%{gitname} Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ doxygen libtool BuildRequires: devscripts %description The project is meant to replicate the SID as faithfully as possible while keeping good performance for realtime use. It is not intended to expose the chip internal state or adding fancy effects. Both the 6581 and the 8580 models are emulated. %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 %configure --disable-static --with-simd=sse4 make %{_smp_mflags} all doc %install %make_install INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %ldconfig_scriptlets # no fortify source functions hardening-check -vf --nobranchprotection %{buildroot}%{_libdir}/%{name}.so.0.0.2 %files %doc AUTHORS NEWS.md README.md %license COPYING %{_libdir}/%{name}.so.0.0.* %{_libdir}/%{name}.so.0 %files devel %{_libdir}/%{name}.so %{_includedir}/residfp/ %{_libdir}/pkgconfig/*.pc %files devel-doc %doc docs/html %changelog * Thu May 14 2026 samoht0 1.0.1 - initial package