diff --git a/gtick-0.5.3-desktop.patch b/gtick-0.5.3-desktop.patch new file mode 100644 index 0000000..634d3b7 --- /dev/null +++ b/gtick-0.5.3-desktop.patch @@ -0,0 +1,11 @@ +diff -Nru gtick-0.5.3.orig/gtick.desktop gtick-0.5.3/gtick.desktop +--- gtick-0.5.3.orig/gtick.desktop 2014-06-22 16:07:55.000000000 +0200 ++++ gtick-0.5.3/gtick.desktop 2014-06-28 18:12:50.625097042 +0200 +@@ -3,6 +3,7 @@ + Encoding=UTF-8 + Name=GTick + Comment=a GTK-based metronome ++Comment[it]=Um metronomo basato su GTK + Comment[pt]=Um metrĂ´nomo baseado em GTK + Comment[pt-br]=Um metrĂ´nomo baseado em GTK + Exec=/usr/bin/gtick diff --git a/gtick.spec b/gtick.spec index fd211ee..5539626 100644 --- a/gtick.spec +++ b/gtick.spec @@ -1,5 +1,5 @@ Name: gtick -Version: 0.5.2 +Version: 0.5.3 Release: 1mamba Summary: Metronome application Group: Applications/Multimedia @@ -9,6 +9,7 @@ Packager: Tiziana Ferro URL: http://www.antcom.de/gtick Source: http://www.antcom.de/gtick/download/gtick-%{version}.tar.gz Source1: gtick.png +Patch0: gtick-0.5.3-desktop.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -32,6 +33,7 @@ It utilizes GTK+ and OSS (ALSA compatible). %prep %setup -q +%patch0 -p1 %build %configure @@ -43,26 +45,26 @@ It utilizes GTK+ and OSS (ALSA compatible). mkdir -p %{buildroot}%{_datadir}/pixmaps install -D -m 755 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps -mkdir -p %{buildroot}%{_datadir}/applications -cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF -[Desktop Entry] -Name=Gtick -Name[it]=Gtick -Comment=Keep your rhythm even with Gtick -Comment[it]=Gtick ed andiamo a tempo -GenericName=Metronome -GenericName[it]=Metronomo -Encoding=UTF-8 -Icon=gtick.png -Exec=aoss gtick -Terminal=false -StartupNotify=true -Type=Application -Categories=GNOME;Application;AudioVideo;Audio; -MimeType=video/dv;application/smil; -EOF +#mkdir -p %{buildroot}%{_datadir}/applications +#cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF +#[Desktop Entry] +#Name=Gtick +#Name[it]=Gtick +#Comment=Keep your rhythm even with Gtick +#Comment[it]=Gtick ed andiamo a tempo +#GenericName=Metronome +#GenericName[it]=Metronomo +#Encoding=UTF-8 +#Icon=gtick.png +#Exec=aoss gtick +#Terminal=false +#StartupNotify=true +#Type=Application +#Categories=GNOME;Application;AudioVideo;Audio; +#MimeType=video/dv;application/smil; +#EOF -%makeinstall +%makeinstall desktopdir=%{_datadir}/applications %find_lang %{name} @@ -72,13 +74,19 @@ EOF %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/gtick +%{_datadir}/appdata/gtick.appdata.xml %{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/%{name}.png +%{_datadir}/icons/hicolor/64x64/apps/gtick.xpm +%{_datadir}/pixmaps/gtick_32x32.xpm +%{_datadir}/pixmaps/gtick.png %{_mandir}/man1/gtick.1.gz %doc AUTHORS COPYING # ChangeLog NEWS README THANKS TODO %changelog +* Sat Jun 28 2014 Automatic Build System 0.5.3-1mamba +- automatic update by autodist + * Thu Mar 14 2013 Automatic Build System 0.5.2-1mamba - automatic version update by autodist