From 76e6bd9d4a97642684ef02e3f7c72e40b5609480 Mon Sep 17 00:00:00 2001 From: jvlomax Date: Jul 04 2012 23:35:09 +0000 Subject: initial import (#834239). --- diff --git a/.gitignore b/.gitignore index e69de29..4d09606 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/monobristol-0.60.3.tar.gz diff --git a/monobristol-0.60.3-desktop.patch b/monobristol-0.60.3-desktop.patch new file mode 100644 index 0000000..487b7e8 --- /dev/null +++ b/monobristol-0.60.3-desktop.patch @@ -0,0 +1,18 @@ +diff -Nurp monobristol-0.60.3.orig/monoBristol.desktop monobristol-0.60.3/monoBristol.desktop +--- monobristol-0.60.3.orig/monoBristol.desktop 2010-12-18 19:12:45.000000000 +0100 ++++ monobristol-0.60.3/monoBristol.desktop 2012-07-04 12:52:10.023299578 +0200 +@@ -1,11 +1,10 @@ +-#!/usr/bin/env xdg-open + [Desktop Entry] + Name=monoBristol + Comment=GUI for Bristol + Comment[ru]=Графический интерфейс к синтезатору Bristol + Exec=monobristol +-Icon=monobristol.png ++Icon=monobristol + Terminal=0 + Type=Application + Encoding=UTF-8 +-Categories=Application;AudioVideo;Audio; ++Categories=Application;AudioVideo;Audio;X-Synthesis;X-Jack; + diff --git a/monobristol.spec b/monobristol.spec new file mode 100644 index 0000000..92bce3e --- /dev/null +++ b/monobristol.spec @@ -0,0 +1,87 @@ +#this is to prevent empty debuginfo failur +%global debug_package %{nil} + +Name: monobristol +Version: 0.60.3 +Release: 7%{?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 + + +%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 +* 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 diff --git a/sources b/sources index e69de29..f5bfaa0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +86da5f0c3e592d135c9d8d1295875cb0 monobristol-0.60.3.tar.gz