Summary: Qt based Fluidsynth GUI front end Name: qsynth Version: 0.3.7 Release: 3%{?dist} URL: http://qsynth.sourceforge.net Source0: http://downloads.sourceforge.net/qsynth/qsynth-%{version}.tar.gz # We don't want .qm files in the default locale dir Patch2: qsynth-fix-locale-path.patch # Tweak the defaults to make things work properly Patch3: qsynth-fedora-defaults.patch # Fix DSO linking error # https://sourceforge.net/tracker/?func=detail&aid=2951295&group_id=93509&atid=604540 Patch4: qsynth-linking.patch License: GPLv2+ Group: Applications/Multimedia Requires: hicolor-icon-theme Requires: soundfont2-default BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: fluidsynth-devel BuildRequires: qt-devel %description QSynth is a fluidsynth GUI front-end application written in C++ around the Qt4 toolkit using Qt Designer. Eventually it may evolve into a softsynth management application allowing the user to control and manage a variety of command line softsynth but for the moment it wraps the excellent FluidSynth. FluidSynth is a command line software synthesizer based on the Soundfont specification. %prep %setup -q %patch2 -p1 -b .localedir %patch3 -p1 -b .defaults %patch4 -p1 -b .linking iconv --from=ISO88591 --to=UTF8 AUTHORS -o AUTHORS.tmp touch -r AUTHORS AUTHORS.tmp mv -f AUTHORS.tmp AUTHORS %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make DESTDIR=%{buildroot} install -C %{_target_platform} # desktop file desktop-file-install \ --add-category="X-Synthesis" \ %{buildroot}%{_datadir}/applications/qsynth.desktop # Handle locale's %find_lang %{name} --with-qt %files -f qsynth.lang %doc AUTHORS ChangeLog COPYING README TODO %{_bindir}/qsynth %{_datadir}/pixmaps/qsynth.png %dir %{_datadir}/qsynth/ %dir %{_datadir}/qsynth/locale %{_datadir}/applications/qsynth.desktop %changelog * Sun Jun 08 2014 Fedora Release Engineering - 0.3.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jun 22 2013 Orcan Ogetbil 0.3.7-1 - Update to 0.3.7 * Sun Feb 10 2013 Orcan Ogetbil - 0.3.6-4 - remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/24 - some specfile cleanup * Sat Jul 21 2012 Fedora Release Engineering - 0.3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Apr 09 2011 Orcan Ogetbil 0.3.6-1 - Update to 0.3.6 * Tue Feb 08 2011 Fedora Release Engineering - 0.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat May 09 2010 Orcan Ogetbil 0.3.5-1 - Update to 0.3.5 * Sat Feb 13 2010 Orcan Ogetbil 0.3.4-3 - Fix DSO linking failure RHBZ#564615 - Clean up the specfile from bits related to Fedora < 11 * Sun Jul 26 2009 Fedora Release Engineering - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue May 12 2009 Orcan Ogetbil 0.3.4-1 - Update to 0.3.4 - Update specfile for macro consistency - Own %%{_datadir}/qsynth/locale - Drop patches that are no longer needed * Wed Apr 22 2009 Kevin Kofler 0.3.3-6.1 - Fix disttag comparison for F9 * Sat Apr 18 2009 Orcan Ogetbil 0.3.3-6 - Set Fedora defaults * Fri Apr 17 2009 Orcan Ogetbil 0.3.3-5 - Fix locale path (#494470) - Fix mixed spaces&tabs warnings - Preserve timestamp of the file AUTHORS - Replace %%define with %%global per new guidelines * Fri Apr 10 2009 Kevin Kofler 0.3.3-4 - Fix close button not shown with Qt 4.5 (#494470) * Sun Mar 22 2009 Robert Scheck 0.3.3-3 - Rebuilt without %%{?_smp_mflags} as it isn't supported * Wed Feb 25 2009 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Sep 5 2008 Michel Salim - 0.3.3-1 - Update to 0.3.3 * Wed Sep 3 2008 Tom "spot" Callaway - 0.2.5-8 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - 0.2.5-7 - Autorebuild for GCC 4.3 * Thu Sep 14 2006 Fernando Lopez-Lezcano 0.2.5-6 - mass rebuild - added hicolor-icon-theme requirement * Tue Jul 25 2006 Fernando Lopez-Lezcano 0.2.5-5 - fluidsynth build dependency in extras changed to fluidsynth-devel * Sun Jun 18 2006 Fernando Lopez-Lezcano 0.2.5-4 - move icon to freedesktop location, don't use makeinstall macro, add icon cache scripts, fill in missing releases in changelog entries, fix source url * Thu Jun 8 2006 Fernando Lopez-Lezcano 0.2.5-3 - more tweaks for Fedora Extras, move desktop file to source1 * Fri May 12 2006 Fernando Lopez-Lezcano 0.2.5-2 - spec file tweaks for Fedora Extras submission * Wed May 3 2006 Fernando Lopez-Lezcano 0.2.5-2 - add Planet CCRMA desktop categories * Wed Apr 5 2006 Fernando Lopez-Lezcano 0.2.5-1 - updated to 0.2.5 * Fri Mar 31 2006 Fernando Lopez-Lezcano 0.2.4-1 - add fc5 dependencies * Fri Nov 18 2005 Fernando Lopez-Lezcano 0.2.4-1 - updated to 0.2.4 * Tue Jun 28 2005 Fernando Lopez-Lezcano 0.2.3-1 - updated to 0.2.3 * Wed Dec 29 2004 Fernando Lopez-Lezcano 0.2.2-1 - spec file cleanup * Mon Oct 11 2004 Fernando Lopez-Lezcano 0.2.2-1 - updated to 0.2.2 - bitmap is now png instead of xpm - fix typo in desktop_vendor define * Fri Sep 24 2004 Fernando Lopez-Lezcano 0.2.1-1 - updated to 0.2.1 * Wed May 12 2004 Fernando Lopez-Lezcano 0.1.3-1 - added buildrequires * Sun Feb 29 2004 Fernando Lopez-Lezcano 0.1.3-1 - updated to 0.1.3 * Wed Jan 21 2004 Fernando Lopez-Lezcano 0.1.0-1 - updated to 0.1.0 * Wed Nov 26 2003 Fernando Lopez-Lezcano 0.0.2-1 - updated to 0.0.2 - use fmod when building under 7.3 (patch0) * Wed Nov 26 2003 Fernando Lopez-Lezcano 0.0.1-1 - initial build