From fa29ac36590be374eb59f41e392f63b0f6bc813f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Oct 18 2009 14:09:29 +0000 Subject: - The icons need now hicolor-icon-theme - Updated to new upstream version 1.8 --- diff --git a/.cvsignore b/.cvsignore index b1910d2..e833821 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -nfoview-1.7.tar.bz2 +nfoview-1.8.tar.bz2 diff --git a/nfoview.spec b/nfoview.spec index a0c2d65..c19b0ab 100644 --- a/nfoview.spec +++ b/nfoview.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: nfoview -Version: 1.7 +Version: 1.8 Release: 1%{?dist} Summary: Viewer for NFO files @@ -19,6 +19,7 @@ BuildRequires: desktop-file-utils BuildRequires: intltool Requires: pygtk2 +Requires: hicolor-icon-theme %if 0%{?fedora} >= 11 Requires: terminus-fonts @@ -57,12 +58,21 @@ desktop-file-install \ %clean rm -rf %{buildroot} - %post update-desktop-database &> /dev/null || : +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + %postun update-desktop-database &> /dev/null || : +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 -f %{name}.lang @@ -74,9 +84,15 @@ update-desktop-database &> /dev/null || : %{python_sitelib}/%{name}/ %{python_sitelib}/%{name}*.egg-info %{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*x*/apps/%{name}.png +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog +* Sun Oct 18 2009 Fabian Affolter - 1.8-1 +- The icons need now hicolor-icon-theme +- Updated to new upstream version 1.8 + * Tue Sep 29 2009 Fabian Affolter - 1.7-1 - Updated to new upstream version 1.7 diff --git a/sources b/sources index 17a005d..7af7fb5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fb81dd0ae0bc056a6d24ed5a95dcc6bf nfoview-1.7.tar.bz2 +a4f99cb9aa834c4b9bcd807083adc060 nfoview-1.8.tar.bz2