forked from pool/fluidsynth
03adb42138
- Update to version 1.1.7: * consistently relicense libfluidsynth under LGPL-2.1+ * fluid_synth_set_channel_type() was not exported properly * fix calculations for modulators * fix SysEx parsing issues * fix mangling with illegal sample loops, causing audible glitches * fix inverse logic of audio.jack.multi option * fix channel fine tune RPN to use correct range * fix timing problems when changing the sequencers scale from a callback event * workaround incorrectly rendered audio when requesting more than 64 frames from fluid_synth_write_*() * adjust ALSA MIDI port type * avoid voice_count becoming negative * avoid notes with a fixed key generator playing forever * avoid TCP/IP connections from closing in an undefined manner * a lot of memory leaks, NULL dereferences and SegFaults * add support of vorbis-compressed sf3 sound fonts * add sostenuto pedal to the synth * add vbr quality when encoding with libsndfile * re-implement routing reverb and chorus to distinct buffers in fluid_synth_nwrite_float() * add IPv6 support to socket API - remove the following patches as they got fixed upstream: * fluidsynth-fix-build-lash.diff * jackmulti.diff * reverb_mixer.diff OBS-URL: https://build.opensuse.org/request/show/521698 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=34
100 lines
2.8 KiB
RPMSpec
100 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package fluidsynth
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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: fluidsynth
|
|
Version: 1.1.7
|
|
Release: 0
|
|
# Obsoletes: iiwusynth
|
|
# Provides: iiwusynth
|
|
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
|
|
License: LGPL-2.1+
|
|
Group: Productivity/Multimedia/Sound/Midi
|
|
Url: http://www.fluidsynth.org/
|
|
Source: https://github.com/FluidSynth/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1000: baselibs.conf
|
|
BuildRequires: alsa-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: ladspa-devel
|
|
BuildRequires: lash-devel
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: libsndfile-devel
|
|
BuildRequires: pulseaudio-devel
|
|
BuildRequires: readline-devel
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
FluidSynth (formerly IIWU Synth) is based on the SoundFont(tm) 2
|
|
specifications. It is a real-time "software synthesizer". FluidSynth
|
|
can read MIDI events from the MIDI input device and render them to the
|
|
audio device. It can also play MIDI files.
|
|
|
|
%package devel
|
|
Summary: Development package for the fluidsynth library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: glibc-devel
|
|
Requires: libfluidsynth1 = %{version}
|
|
Provides: libfluidsynth-devel = %{version}
|
|
|
|
%description devel
|
|
This package contains the files needed to compile programs that use the
|
|
fluidsynth library.
|
|
|
|
%package -n libfluidsynth1
|
|
Summary: Library for Fluidsynth
|
|
Group: System/Libraries
|
|
|
|
%description -n libfluidsynth1
|
|
This package contains the shared library for Fluidsynth.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} -Denable-ladspa=1 \
|
|
-DCMAKE_C_FLAGS="%{optflags}"
|
|
make %{?_smp_mflags} VERBOSE=1
|
|
|
|
%install
|
|
cd build
|
|
%make_install
|
|
|
|
%post -n libfluidsynth1 -p /sbin/ldconfig
|
|
|
|
%postun -n libfluidsynth1 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS ChangeLog LICENSE NEWS README.md THANKS TODO
|
|
%doc %{_mandir}/man?/*
|
|
%{_bindir}/*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*.so
|
|
%{_includedir}/*
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files -n libfluidsynth1
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%changelog
|