Summary: Real-time software synthesizer Name: fluidsynth Version: 2.2.3 Release: 1%{?dist} URL: http://www.fluidsynth.org/ %if !0%{?os2_version} Source0: https://github.com/Fluidsynth/fluidsynth/archive/v%{version}/fluidsynth-%{version}.tar.gz %else %scm_source github http://github.com/komh/fluidsynth-os2 master %endif License: LGPLv2+ Requires: fluidsynth-libs%{?_isa} = %{version}-%{release} %if !0%{?os2_version} # Re-fix multi-lib conflict RHBZ#528240 Patch0: fluidsynth-no_date_footer.patch %endif BuildRequires: libogg-devel BuildRequires: flac-devel BuildRequires: libvorbis-devel BuildRequires: cmake BuildRequires: gcc BuildRequires: libsndfile-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: readline-devel %if !0%{?os2_version} BuildRequires: jack-audio-connection-kit-devel BuildRequires: ladspa-devel BuildRequires: alsa-lib-devel BuildRequires: dbus-devel BuildRequires: pulseaudio-libs-devel BuildRequires: portaudio-devel %endif # Disabled for now: # http://sourceforge.net/apps/trac/fluidsynth/ticket/51 # To enable portaudio support one also has to pass # -Denable-portaudio=on to cmake # For documentation: BuildRequires: doxygen %description FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications. It is a "software synthesizer". FluidSynth can read MIDI events from the MIDI input device and render them to the audio device. It features real-time effect modulation using SoundFont 2.01 modulators, and a built-in command line shell. It can also play MIDI files (note: FluidSynth was previously called IIWU Synth). %package libs Summary: Real-time software synthesizer run-time libraries %description libs FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications. It is a "software synthesizer". This package holds the run-time shared libraries. %package devel Summary: Real-time software synthesizer development files Requires: fluidsynth-libs%{?_isa} = %{version}-%{release} %description devel FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications. It is a "software synthesizer". This package holds header files for building programs that link against fluidsynth. %debug_package %prep %scm_setup %build export CFLAGS="-idirafter /@unixroot/usr/include/os2tk45" export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" export LIBS="-lcx" mkdir -p build cd build #%if 0%{?flatpak} #%define enable_jack off #%else #%define enable_jack on #%endif %if !0%{?os2_version} %{cmake} -Denable-ladspa=on -Denable-jack=%{enable_jack} .. %endif %{cmake} .. cd .. # build fluidsynth make %{?_smp_mflags} -C build # build docs doxygen ./doc %install make DESTDIR=$RPM_BUILD_ROOT -C build install install -p -m0755 build/src/fluidsy2.dll $RPM_BUILD_ROOT/%{_libdir} %files %{_bindir}/fluid*.exe %{_mandir}/man1/fluidsynth* %files libs %license LICENSE %doc AUTHORS README.md THANKS TODO doc/*.pdf %{_libdir}/fluidsy2.dll %files devel %doc html/*.html %doc doc/*.c %doc doc/*fluid*.txt %doc doc/*.odt %doc ChangeLog %{_includedir}/fluidsynth.h %{_includedir}/fluidsynth/ %{_libdir}/*.a %{_libdir}/pkgconfig/* %changelog * Sat Sep 18 2021 Elbert Pol - 2.2.3-1 - Updated to latest version * Sun May 23 2021 Elbert Pol - 2.2.1-1 - Update to latest version * Sun Jan 24 2021 Elbert Pol - 2.1.6-1 - Update to latest version * Tue Sep 22 2020 Elbert Pol - 2.1.5-1 - Update to latest version - Add debug package * Mon Jul 20 2020 Elbert Pol - 2.1.4-1 - Updated to latest source * Tue Jun 16 2020 Elbert Pol - 2.1.3-1 - Updated to latest source * Sun May 03 2020 Elbert Pol - 2.1.2-1 - Updated to latest source * Mon Mar 02 2020 Elbert Pol - 2.1.1-1 - Updated to latest source * Fri Dec 06 2019 Elbert Pol - 2.1.0-1 - Updated to latest source * Mon Nov 18 2019 Elbert Pol - 2.0.9-1 - Updated to latest source * Mon Oct 28 2019 Elbert Pol - 2.0.8-1 - Updated to latest source * Thu Oct 03 2019 Elbert Pol - 2.0.7-1 - Updated to latest source * Mon Aug 26 2019 Elbert Pol - 2.0.6-1 - Updated to latest source * Mon May 06 2019 Elbert Pol - 2.0.5-2 - The right version ported * Sun May 05 2019 Elbert Pol - 2.0.5-1 - Updated to latest source * Mon Mar 04 2019 Elbert Pol - 1.3.2-2 - Use spec file from fedora - Add debug to specfile * Thu Feb 28 2019 Elbert Pol - First OS2 RPM release - OS/2 port done by KO Myung-Hun - https://github.com/komh/fluidsynth-os2 KO Myung-Hun