diff --git a/fluidsynth-2.2.9.tar.gz b/fluidsynth-2.2.9.tar.gz deleted file mode 100644 index 592ec60..0000000 --- a/fluidsynth-2.2.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc62494ec2554fdcfc01512a2580f12fc1e1b01ce37a18b370dd7902af7a8159 -size 1750977 diff --git a/fluidsynth-2.3.0.tar.gz b/fluidsynth-2.3.0.tar.gz new file mode 100644 index 0000000..736ce76 --- /dev/null +++ b/fluidsynth-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1df5a1afb91acf3b945b7fdb89ac0d99877622161d9b5155533da59113eaaa20 +size 1757143 diff --git a/fluidsynth.changes b/fluidsynth.changes index 8fecffa..08c9df4 100644 --- a/fluidsynth.changes +++ b/fluidsynth.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Sep 24 16:39:05 UTC 2022 - Tom Mbrt + +- Update to 2.3.0 + * CMake 3.13 is now required + * for a full changelog, see https://github.com/FluidSynth/fluidsynth/wiki/ChangeLog#fluidsynth-230 +- Remove hard-coded fluidsynth.service and use .service generated during build + ------------------------------------------------------------------- Tue Sep 6 11:48:15 UTC 2022 - Tom Mbrt diff --git a/fluidsynth.service b/fluidsynth.service deleted file mode 100644 index cc59622..0000000 --- a/fluidsynth.service +++ /dev/null @@ -1,24 +0,0 @@ -[Unit] -Description=FluidSynth GM daemon -Documentation=man:fluidsynth(1) -After=sound.target - -[Service] -# added automatically, for details please see -# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort -ProtectSystem=full -ProtectHome=true -ProtectHostname=true -ProtectKernelTunables=true -ProtectKernelModules=true -ProtectKernelLogs=true -ProtectControlGroups=true -# end of automatic additions -User=fluidsynth -Group=audio -EnvironmentFile=-/etc/sysconfig/fluidsynth -ExecStart=/usr/bin/fluidsynth -is $OTHER_OPTS $SOUND_FONT -LimitRTPRIO=90 - -[Install] -WantedBy=multi-user.target diff --git a/fluidsynth.spec b/fluidsynth.spec index 6ddddbf..20b4cb4 100644 --- a/fluidsynth.spec +++ b/fluidsynth.spec @@ -18,7 +18,7 @@ %define sover 3 Name: fluidsynth -Version: 2.2.9 +Version: 2.3.0 Release: 0 Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm) License: LGPL-2.1-or-later @@ -26,9 +26,8 @@ Group: Productivity/Multimedia/Sound/Midi URL: https://www.fluidsynth.orga/ Source0: https://github.com/FluidSynth/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.conf -Source2: %{name}.service Source1000: baselibs.conf -BuildRequires: cmake >= 3.1.0 +BuildRequires: cmake >= 3.13.0 BuildRequires: gcc-c++ BuildRequires: ladspa-devel BuildRequires: pkgconfig @@ -76,6 +75,7 @@ This package contains the shared library for Fluidsynth. %build %cmake \ -DFLUID_DAEMON_ENV_FILE=%{_fillupdir}/sysconfig.%{name} \ + -DDEFAULT_SOUNDFONT=/usr/share/sounds/sf2/FluidR3_GM.sf2 \ -Denable-lash=0 %cmake_build @@ -90,7 +90,7 @@ This package contains the shared library for Fluidsynth. %cmake_install mkdir -p %{buildroot}%{_localstatedir}/lib/%{name} install -Dpm0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name} -install -Dpm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service +install -Dpm0644 build/fluidsynth.service %{buildroot}%{_unitdir}/%{name}.service mkdir %{buildroot}%{_sbindir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} @@ -126,6 +126,8 @@ getent passwd %{name} >/dev/null || useradd -rc 'FluidSynth GM daemon' -s /bin/f %{_includedir}/%{name}.h %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc +%dir %{_libdir}/cmake/%{name}/ +%{_libdir}/cmake/%{name}/*.cmake %files -n libfluidsynth%{sover} %{_libdir}/lib%{name}.so.%{sover}*