[xfce4-appfinder] Update to 4.9.2 Remove icon-cache scriptlets because this package no longer installs icons

Christoph Wickert cwickert at fedoraproject.org
Fri Nov 4 09:24:31 UTC 2011


commit 924fbf4ebb3b2f64c96dcac7839cf6a8311e7da4
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Fri Nov 4 10:24:24 2011 +0100

    Update to 4.9.2
    Remove icon-cache scriptlets because this package no longer installs icons

 .gitignore           |    1 +
 sources              |    2 +-
 xfce4-appfinder.spec |   43 ++++++++++++++++++-------------------------
 3 files changed, 20 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c1abe7d..9af50d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 xfce4-appfinder-4.6.2.tar.bz2
 /xfce4-appfinder-4.7.2.tar.bz2
 /xfce4-appfinder-4.8.0.tar.bz2
+/xfce4-appfinder-4.9.2.tar.bz2
diff --git a/sources b/sources
index 8ad82d8..306deaf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fb4797ef91b90d111b989e98c3e000e0  xfce4-appfinder-4.8.0.tar.bz2
+07a6f7c44fd4dad648123dac37e3fb89  xfce4-appfinder-4.9.2.tar.bz2
diff --git a/xfce4-appfinder.spec b/xfce4-appfinder.spec
index daf6f14..e96b323 100644
--- a/xfce4-appfinder.spec
+++ b/xfce4-appfinder.spec
@@ -1,8 +1,8 @@
-%global xfceversion 4.8
+%global xfceversion 4.9
 
 Name:           xfce4-appfinder
-Version:        4.8.0
-Release:        2%{?dist}
+Version:        4.9.2
+Release:        1%{?dist}
 Summary:        Appfinder for the Xfce4 Desktop Environment
 
 Group:          User Interface/Desktops
@@ -11,8 +11,9 @@ URL:            http://www.xfce.org/
 Source0:        http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  libxfce4ui-devel >= %{xfceversion}
-BuildRequires:  garcon-devel >= 0.1.2
+BuildRequires:  libxfce4ui-devel >= 4.8.0
+BuildRequires:  garcon-devel >= 0.1.7
+BuildRequires:  dbus-glib-devel >= 0.84
 BuildRequires:  startup-notification-devel
 BuildRequires:  gettext 
 BuildRequires:  intltool
@@ -34,39 +35,31 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot} INSTALL='install -p'
+
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+desktop-file-validate %{buildroot}%{_datadir}/applications/xfce4-run.desktop
 
 %find_lang %{name}
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-
-%postun
-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 || :
+rm -rf %{buildroot}
 
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc README TODO ChangeLog COPYING AUTHORS
 %{_bindir}/xfce4-appfinder
-%{_datadir}/applications/xfce4-appfinder.desktop
-%{_datadir}/icons/hicolor/48x48/apps/xfce4-appfinder.png
+%{_datadir}/applications/xfce4-*.desktop
+
 
 %changelog
+* Fri Nov 04 2011 Christoph Wickert <cwickert at fedoraproject.org> - 4.9.2-1
+- Update to 4.9.2
+- Remove icon-cache scriptlets because this package no longer installs icons
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.8.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list