%define major 1 %define libname %mklibname %{name} %{major} %define libnamedev %mklibname %{name} -d %define oldlibnamestaticdev %mklibname %{name} -d -s Name: fluidsynth Version: 1.1.3 Release: %mkrel 2 Summary: Realtime, SoundFont-based synthesizer License: LGPLv2+ Group: Sound URL: http://www.fluidsynth.org/ Source0: http://sourceforge.net/projects/fluidsynth/files/%{name}-%{version}/%{name}-%{version}.tar.bz2 BuildRequires: cmake BuildRequires: chrpath BuildRequires: ladspa-devel BuildRequires: e2fsprogs-devel BuildRequires: jackit-devel BuildRequires: libalsa-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: pulseaudio-devel BuildRequires: portaudio-devel BuildRequires: libreadline-devel BuildRequires: libsndfile-devel Obsoletes: iiwusynth < %{version}-%{release} Provides: iiwusynth = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %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 can also play MIDI files. %package -n %{libname} Summary: Dynamic libraries from %{name} Group: System/Libraries %description -n %{libname} Dynamic libraries from %{name}. %package -n %{libnamedev} Summary: Header files and libraries from %{name} Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %{name}-devel < %{version}-%{release} Obsoletes: %mklibname -d %name 1 Obsoletes: %{oldlibnamestaticdev} < 1.1.2 %description -n %{libnamedev} Libraries and includes files for developing programs based on %{name}. %prep %setup -q %build %cmake -Denable-ladspa=1 \ -Denable-lash=0 %make %install rm -rf %{buildroot} %makeinstall_std -C build %{_bindir}/chrpath -d %{buildroot}%{_libdir}/libfluidsynth.so.*.*.* %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.* %files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.* %files -n %{libnamedev} %defattr(-,root,root) %{_includedir}/*.h %{_includedir}/%{name} %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Sun Nov 28 2010 Frank Kober <emuse@mandriva.org> 1.1.3-2mdv2010.1 + Revision: 602307 - fix missing portaudio BR CCBUG:61613 * Sat Nov 06 2010 Frank Kober <emuse@mandriva.org> 1.1.3-1mdv2011.0 + Revision: 594233 - new version 1.1.3 o enable-floats flag now default * Sat Oct 23 2010 Frank Kober <emuse@mandriva.org> 1.1.2-3mdv2011.0 + Revision: 587790 - fix Obsoletes name, more spec cleanups, tnx Ahmad * Sat Oct 23 2010 Frank Kober <emuse@mandriva.org> 1.1.2-2mdv2011.0 + Revision: 587648 - bring back sndfile BR, cleanup spec * Sat Oct 23 2010 Frank Kober <emuse@mandriva.org> 1.1.2-1mdv2011.0 + Revision: 587604 - new version 1.1.2 o build system now cmake o static-devel package obsoleted o obsolete lash binding disabled o enable floats in cmake conf for now (will be default in future) * Sat Feb 27 2010 Götz Waschk <waschk@mandriva.org> 1.1.1-3mdv2010.1 + Revision: 512493 - rebuild for new libjack + Emmanuel Andry <eandry@mandriva.org> - check major * Wed Jan 27 2010 Götz Waschk <waschk@mandriva.org> 1.1.1-2mdv2010.1 + Revision: 497066 - fix license * Tue Dec 29 2009 Frederik Himpe <fhimpe@mandriva.org> 1.1.1-1mdv2010.1 + Revision: 483270 - Update to new version 1.1.1 - Build with new libsndfile support * Thu May 21 2009 Frederik Himpe <fhimpe@mandriva.org> 1.0.9-1mdv2010.0 + Revision: 378433 - Build with Pulseaudio support - Add BuildRequires: libreadline-devel - update to new version 1.0.9 * Sun Aug 24 2008 Adam Williamson <awilliamson@mandriva.org> 1.0.8-3mdv2009.0 + Revision: 275548 - obsoletes / provides iiwusynth (the old name of this project) * Sun Jul 13 2008 Funda Wang <fwang@mandriva.org> 1.0.8-2mdv2009.0 + Revision: 234217 - obsolete old name + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Dec 28 2007 Austin Acton <austin@mandriva.org> 1.0.8-1mdv2008.1 + Revision: 138724 - new version + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Tue Jul 31 2007 David Walluck <walluck@mandriva.org> 1.0.7a-1mdv2008.0 + Revision: 56870 - 1.0.7a - Import fluidsynth * Mon Feb 20 2006 Austin Acton <austin@mandriva.org> 1.0.7-1mdk - New release 1.0.7 - build with lash support on > 2006 * Sun Jun 12 2005 Austin Acton <austin@mandriva.org> 1.0.6-1mdk - 1.0.6 - source URL * Sun Feb 6 2005 Austin Acton <austin@mandrake.org> 1.0.5-2mdk - rebuild for readline * Fri Aug 20 2004 Austin Acton <austin@mandrake.org> 1.0.5-1mdk - 1.0.5 - configure 2.5 * Thu Nov 6 2003 Austin Acton <aacton@yorku.ca> 1.0.3-2mdk - rebuild without ladcca until it works * Thu Aug 28 2003 Austin Acton <aacton@yorku.ca> 1.0.3-1mdk - 1.0.3 * Tue Jul 15 2003 Austin Acton <aacton@yorku.ca> 1.0.2-3mdk - DIRM * Mon Jul 14 2003 Austin Acton <aacton@yorku.ca> 1.0.2-2mdk - rebuild for rpm * Mon Jun 23 2003 Austin Acton <aacton@yorku.ca> 1.0.2-1mdk - 1.0.2 * Thu May 22 2003 Austin Acton <aacton@yorku.ca> 1.0.1-2mdk - add .so symbolic link * Wed May 21 2003 Austin Acton <aacton@yorku.ca> 1.0.1-1mdk - initial package