diff --git a/.cvsignore b/.cvsignore index d4c3aef..aae3369 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -xfce4-notes-plugin-1.6.4.tar.bz2 +xfce4-notes-plugin-1.7.0.tar.bz2 diff --git a/sources b/sources index c972ff3..92260aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -88132a8224880f01f02450020c73f9c3 xfce4-notes-plugin-1.6.4.tar.bz2 +a08f6febf6e6dd8b90767f83a179e24c xfce4-notes-plugin-1.7.0.tar.bz2 diff --git a/xfce4-notes-plugin.spec b/xfce4-notes-plugin.spec index b17c57c..6dd282e 100644 --- a/xfce4-notes-plugin.spec +++ b/xfce4-notes-plugin.spec @@ -1,5 +1,5 @@ Name: xfce4-notes-plugin -Version: 1.6.4 +Version: 1.7.0 Release: 1%{?dist} Summary: Notes plugin for the Xfce panel @@ -10,9 +10,9 @@ Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xfce4-panel-devel >= 4.4.0, libxfcegui4-devel >= 4.4.0, libxml2-devel -BuildRequires: Thunar-devel >= 0.8.0, xfconf-devel >= 4.5.90 +BuildRequires: xfconf-devel >= 4.6.0 BuildRequires: gettext, intltool, perl(XML::Parser) -Requires: xfce4-panel >= 4.4.1, xfconf >= 4.5.90 +Requires: xfce4-panel >= 4.4.1, xfconf >= 4.6.0 %description This plugin provides sticky notes for your desktop. You can create a note by @@ -41,22 +41,24 @@ rm -rf $RPM_BUILD_ROOT %post -touch --no-create %{_datadir}/icons/hicolor || : -if [ -x %{_bindir}/gtk-update-icon-cache ] ; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -fi +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun -touch --no-create %{_datadir}/icons/hicolor || : -if [ -x %{_bindir}/gtk-update-icon-cache ] ; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +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 %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README TODO +%{_bindir}/xfce4-notes-settings %{_libexecdir}/xfce4/panel-plugins/%{name} %{_datadir}/xfce4/panel-plugins/*.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png @@ -65,6 +67,10 @@ fi %changelog +* Fri Jul 03 2009 Christoph Wickert - 1.7.0-1 +- Update to 1.7.0 +- Update gtk-update-icon-cache scriptlets + * Sun Mar 01 2009 Christoph Wickert - 1.6.4-1 - Update to 1.6.4