Summary: DSSI software synthesizer plugin Name: whysynth-dssi Version: 20100922 Release: 1%{?dist} URL: http://www.smbolton.com/whysynth.html Source0: http://www.smbolton.com/whysynth/whysynth-%{version}.tar.bz2 Source1: whysynth-48.png Source2: whysynth.desktop License: GPLv2+ Group: Applications/Multimedia BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils BuildRequires: dssi-devel BuildRequires: gtk2-devel BuildRequires: fftw-devel BuildRequires: liblo-devel Requires: dssi Requires: hicolor-icon-theme %description WhySynth is a versatile softsynth which operates as a plugin for the Disposable Soft Synth Interface (DSSI). %prep %setup -q -n whysynth-%{version} %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p" mkdir -p $RPM_BUILD_ROOT%{_bindir} pushd $RPM_BUILD_ROOT%{_bindir} ln -s jack-dssi-host whysynth popd mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install --vendor fedora \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE2} mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/whysynth.png %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING doc README TODO extra/COPYING-patches %{_datadir}/whysynth %{_bindir}/whysynth %{_libdir}/dssi/* %exclude %{_libdir}/dssi/whysynth.la %{_datadir}/applications/*whysynth.desktop %{_datadir}/icons/hicolor/48x48/apps/whysynth.png %changelog * Sun Sep 26 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 20100922-1 - Update to 20100922 * Tue Jul 20 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 20090608-2 - Rebuild against new liblo-0.26 * Sun Nov 29 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 20090608-1 - Update to 20090608 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090403-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri May 29 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 20090403-1 - Update to 20090403 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080412-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Sep 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 20080412-2 - fix license tag * Tue Jul 07 2008 Anthony Green <green@redhat.com> 20080412-1 - Upgrade sources. Add COPYING-patches. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 20070418-2 - Autorebuild for GCC 4.3 * Thu Apr 19 2007 Anthony Green <green@redhat.com> 20070418-1 - Upgrade sources. * Tue Mar 27 2007 Anthony Green <green@redhat.com> 20060122-9 - Move icon. * Mon Mar 26 2007 Anthony Green <green@redhat.com> 20060122-8 - Tweak .desktop categories. - Remove extra icons. * Sat Oct 21 2006 Anthony Green <green@redhat.com> 20060122-7 - Remove useless desktop-file-install --add-category options. - Remove Requires for post and postun. * Sat Sep 16 2006 Anthony Green <green@redhat.com> 20060122-6 - Don't create and install resized icons. - Don't BuildRequire ImageMagik. - Require hicolor-icon-theme since we're installing in its directory. * Mon Sep 4 2006 Anthony Green <green@redhat.com> 20060122-5 - Add .desktop file and icons. * Mon Sep 4 2006 Anthony Green <green@redhat.com> 20060122-4 - Clean up changlog. - Fix %%defattr in %%files section. - Don't use %%makeinstall. - Fix symlink to be relative. * Thu Jun 1 2006 Anthony Green <green@redhat.com> 20060122-3 - Removed extra changelog line. * Thu May 18 2006 Anthony Green <green@redhat.com> 20060122-2 - Clean up Requires & BuildRequires. - Don't use %%{__rm} & %%{__make}. - Use %%makeinstall. - Add whysynth symlink. * Tue Apr 25 2006 Anthony Green <green@redhat.com> 20060122-1 - Created.