[xfce4-appfinder] - Update to 4.7.2

Christoph Wickert cwickert at fedoraproject.org
Sat Jan 8 22:42:08 UTC 2011


commit 7ea59c61b127515d29fb18f8ec46fe1eb1bc4af0
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sat Jan 8 23:41:56 2011 +0100

    - Update to 4.7.2

 .gitignore           |    1 +
 sources              |    2 +-
 xfce4-appfinder.spec |   70 ++++++++++++++++++++++++++++++++-----------------
 3 files changed, 48 insertions(+), 25 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 411a35a..48b98bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 xfce4-appfinder-4.6.2.tar.bz2
+/xfce4-appfinder-4.7.2.tar.bz2
diff --git a/sources b/sources
index 377c060..558294b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7752e43578b821e35010bcd3762da166  xfce4-appfinder-4.6.2.tar.bz2
+be64fd5555939dce31b3c7a18dc0f4db  xfce4-appfinder-4.7.2.tar.bz2
diff --git a/xfce4-appfinder.spec b/xfce4-appfinder.spec
index fcc844b..cc893fc 100644
--- a/xfce4-appfinder.spec
+++ b/xfce4-appfinder.spec
@@ -1,52 +1,64 @@
-Summary: Appfinder for the Xfce4 Desktop Environment
-Name: xfce4-appfinder
-Version: 4.6.2
-Release: 1%{?dist}
-License: GPLv2+
-URL: http://www.xfce.org/
-Source0: http://archive.xfce.org/src/xfce/xfce4-appfinder/4.6/xfce4-appfinder-%{version}.tar.bz2
-Group: User Interface/Desktops
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: libxfcegui4 >= %{version}
-BuildRequires: libxfcegui4-devel >= %{version}
-BuildRequires: libxfce4menu-devel >= %{version}
-BuildRequires: startup-notification-devel
-BuildRequires: gettext intltool
-BuildRequires: Thunar-devel >= 1.0.0
-BuildRequires: xfconf-devel
+%global xfceversion 4.7
+
+Name:           xfce4-appfinder
+Version:        4.7.2
+Release:        1%{?dist}
+Summary:        Appfinder for the Xfce4 Desktop Environment
+
+Group:          User Interface/Desktops
+License:        GPLv2+
+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:  startup-notification-devel
+BuildRequires:  gettext 
+BuildRequires:  intltool
+BuildRequires:  xfconf-devel >= 4.6.0
+
 
 %description
 xfce-appfinder shows system wide installed applications.
 
+
 %prep
 %setup -q
 
+
 %build
 %configure
 
 make %{?_smp_mflags}
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
 
 %find_lang %{name}
 
+
 %clean
 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 README TODO ChangeLog COPYING AUTHORS
@@ -55,6 +67,16 @@ fi
 %{_datadir}/icons/hicolor/48x48/apps/xfce4-appfinder.png
 
 %changelog
+* Sun Jan 02 2011 Christoph Wickert <cwickert at fedoraproject.org> - 4.7.2-1
+- Update to 4.7.2
+
+* Mon Nov 08 2010 Christoph Wickert <cwickert at fedoraproject.org> - 4.7.1-1
+- Update to 4.7.1
+
+* Sun Sep 05 2010 Christoph Wickert <cwickert at fedoraproject.org> - 4.7.0-1
+- Update to 4.7.0
+- Update icon-cache scriptlets
+
 * Fri May 21 2010 Kevin Fenzi <kevin at tummy.com> - 4.6.2-1
 - Update to 4.6.2
 


More information about the scm-commits mailing list