#this is to prevent empty debuginfo failur %global debug_package %{nil} Name: monobristol Version: 0.60.3 Release: 10%{?dist} Summary: GUI launcher for Bristol in Mono Group: Applications/Multimedia License: GPL+ URL: http://www.dacr.hu/monobristol/ Source: http://www.dacr.hu/monobristol/%{name}-%{version}.tar.gz # No upstrem bugtracker. Patch emailed upstream 20120626 # The patch removes shebang from the top and removes .png extension from icon key Patch1: %{name}-0.60.3-desktop.patch Requires: bristol Requires: mono-core Requires: hicolor-icon-theme BuildRequires: gtk-sharp2-devel BuildRequires: desktop-file-utils ExclusiveArch: %{mono_arches} %description monoBristol is very simple Gui for Bristol Synthesiser. Bristol is an emulation package for a number of different 'classic' synthesizers including additive and subtractive and a few organs. %prep %setup -q %patch1 -p1 %build %configure make %{?_smp_mflags} %install #removal of buildroot is no longer necassary, except for EPEL5 make install DESTDIR=%{buildroot} #install the icon mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps mv %{name}.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ monoBristol.desktop %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [$1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %files %doc AUTHORS COPYING README %{_bindir}/%{name} %{_datadir}/applications/monoBristol.desktop %{_libdir}/%{name}/ %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %changelog * Thu Feb 14 2013 Fedora Release Engineering - 0.60.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Dan Horák 0.60.3-9 - set ExclusiveArch * Fri Jul 20 2012 Fedora Release Engineering - 0.60.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 30 2012 Jørn Lomax 0.60.3-7 - fixed spelling error * Thu Jun 28 2012 Jørn Lomax 0.60.3-6 - Changed licence and fixed ownerships * Wed Jun 27 2012 Jørn Lomax 0.60.3-5 - Added installation of icon and spelling - removed unused dependencies * Tue Jun 26 2012 Jørn Lomax 0.60.3-4 - removed no arch and disabled empty debug warning - fixed directories in files * Thu Jun 21 2012 Jørn Lomax 0.60.3-3 - Clean up some more, change to added archbuild and quieted setup * Thu Jun 21 2012 Brendan Jones 0.60.3-2 - clean up package, correct files * Mon Jun 18 2012 Jørn Lomax 0.60.3-1 - inital package