[yad/f15] Update to new version

Elder Marco eldermarco at fedoraproject.org
Sun Oct 16 21:57:19 UTC 2011


commit 3b40e2aaa01cb4e3e2b09b74586740bdd90c3fb8
Author: Elder Marco <eldermarco at fedoraproject.org>
Date:   Sun Oct 16 21:57:31 2011 -0200

    Update to new version

 .gitignore |    1 +
 sources    |    2 +-
 yad.spec   |   19 ++++++++++++++++---
 3 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 30f5d57..b88e917 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /yad-0.12.4.tar.xz
 /yad-0.13.0.tar.xz
 /yad-0.14.2.tar.xz
+/yad-0.15.0.tar.xz
diff --git a/sources b/sources
index bd3ac35..0fb447b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8636aaa102ef7f9133e2fd9ba0186655  yad-0.14.2.tar.xz
+4c7e2cbda3996510341e8dcb3fb453a3  yad-0.15.0.tar.xz
diff --git a/yad.spec b/yad.spec
index 04d69ff..9286abb 100644
--- a/yad.spec
+++ b/yad.spec
@@ -1,5 +1,5 @@
 Name:      yad
-Version:   0.14.2
+Version:   0.15.0
 Release:   1%{?dist}
 Summary:   Display graphical dialogs from shell scripts or command line
 
@@ -28,7 +28,7 @@ custom buttons, additional dialogs, pop-up menu in notification icon and more.
 %setup -q
 
 %build
-%configure --enable-icon-browser
+%configure --enable-icon-browser --with-gtk=gtk3
 make %{?_smp_mflags}
 
 %install
@@ -48,17 +48,30 @@ desktop-file-install --remove-key Encoding     \
 %clean
 rm -rf %{buildroot}
 
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+gtk-update-icon-cache %{_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
+
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc README ChangeLog AUTHORS COPYING NEWS THANKS TODO
 %{_bindir}/%{name}
 %{_bindir}/%{name}-icon-browser
-%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/applications/%{name}-icon-browser.desktop
 %{_datadir}/aclocal/%{name}.m4
 %{_mandir}/man1/%{name}.1.*
 
 %changelog
+* Sun Oct 16 2011 Elder Marco <eldermarco at fedoraproject.org> - 0.15.0-1
+- Update to new version
+
 * Thu Sep 08 2011 Elder Marco <eldermarco at fedoraproject.org> - 0.14.2-1
 - Update to new version
 


More information about the scm-commits mailing list