Accepting request 580328 from home:derselbst:branches:multimedia:libs
- Update to 1.1.10 - Install systemd service files OBS-URL: https://build.opensuse.org/request/show/580328 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=42
This commit is contained in:
parent
b97498185c
commit
b03b665dfb
3
fluidsynth-1.1.10.tar.gz
Normal file
3
fluidsynth-1.1.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b74801d0fdd726c4555149bf075b76dc4074658ec0a8f7a3753f4a64589e5300
|
||||
size 633628
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd6321e13a7c875ef3032644bd3197e84b3d24928e2379bc8066b7cace7bd410
|
||||
size 630651
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 25 11:57:25 UTC 2018 - tom.mbrt@googlemail.com
|
||||
|
||||
- Update to 1.1.10:
|
||||
* avoid a buffer overrun when loading malformed soundfonts
|
||||
* fix synth.default-soundfont returning incomplete path
|
||||
* improve reliability of fluid_is_soundfont()
|
||||
* include windows version info in libfluidsynth.dll
|
||||
* enable jack midi driver to support more than 16 midi channels
|
||||
* minor cmake adjustments for MSVC builds to enable building fluidsynth as vcpkg package
|
||||
* fix build issues against statically built fluidsynth library on all OSs
|
||||
* enable fluidsynth to be set up as systemd user service
|
||||
* cmake: prevent double usage of LIB_SUFFIX and LIB_INSTALL_DIR
|
||||
- Install systemd service files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 13:22:56 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
@ -15,9 +15,15 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# fix build for older distros and architectures where _fillupdir is
|
||||
# not yet defined by using the old path as recommended by
|
||||
# https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25_fillupdir
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%endif
|
||||
|
||||
Name: fluidsynth
|
||||
Version: 1.1.9
|
||||
Version: 1.1.10
|
||||
Release: 0
|
||||
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
|
||||
License: LGPL-2.1+
|
||||
@ -34,6 +40,8 @@ BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(jack)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(sndfile)
|
||||
%{?systemd_requires}
|
||||
PreReq: %fillup_prereq
|
||||
|
||||
%description
|
||||
FluidSynth (formerly IIWU Synth) is a real-time software synthesizer
|
||||
@ -63,10 +71,8 @@ This package contains the shared library for Fluidsynth.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# Upstream uses both LIB_SUFFIX and LIB_INSTALL_DIR... so it gets set to
|
||||
# lib6464 unless overriden
|
||||
%cmake \
|
||||
-DLIB_INSTALL_DIR:PATH=/usr/lib \
|
||||
-DFLUID_DAEMON_ENV_FILE=%{_fillupdir}/sysconfig.%{name} \
|
||||
-Denable-ladspa=1 \
|
||||
-Denable-lash=0
|
||||
make %{?_smp_mflags}
|
||||
@ -74,14 +80,38 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
# manually install systemd service files
|
||||
%__install -Dm 644 build/fluidsynth.conf %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||
%__install -Dm 644 build/fluidsynth.service %{buildroot}%{_unitdir}/%{name}.service
|
||||
%__install -d %{buildroot}%{_sbindir}
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
|
||||
%post -n libfluidsynth1 -p /sbin/ldconfig
|
||||
%postun -n libfluidsynth1 -p /sbin/ldconfig
|
||||
|
||||
%pre
|
||||
%service_add_pre %{name}.service
|
||||
|
||||
%post
|
||||
%fillup_only
|
||||
%service_add_post %{name}.service
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}.service
|
||||
|
||||
%postun
|
||||
%service_del_postun %{name}.service
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc AUTHORS ChangeLog NEWS README.md THANKS TODO
|
||||
%{_mandir}/man?/*
|
||||
%{_bindir}/*
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_sbindir}/rc%{name}
|
||||
%{_fillupdir}/sysconfig.%{name}
|
||||
|
||||
%files devel
|
||||
%{_libdir}/lib*.so
|
||||
|
Loading…
Reference in New Issue
Block a user