[vile/f18] upgrade to 9.8i

mmckinst mmckinst at fedoraproject.org
Sun Dec 2 17:31:29 UTC 2012


commit 16faae9ad4d62943753120716010e4657ea4f5a9
Author: Mark McKinstry <mmckinst at umich.edu>
Date:   Sun Dec 2 12:31:19 2012 -0500

    upgrade to 9.8i

 .gitignore |    1 +
 sources    |    2 +-
 vile.spec  |   31 ++++++++++++++++++++++++++++---
 3 files changed, 30 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 325040f..4212e61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /vile-9.8e.tgz
+/vile-9.8i.tgz
diff --git a/sources b/sources
index 547698a..b151ca0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bc68fd4ba0e98bec274d005523804936  vile-9.8e.tgz
+48106787374af600ec65bd0dcf7a0e01  vile-9.8i.tgz
diff --git a/vile.spec b/vile.spec
index 104dc40..9c967a8 100644
--- a/vile.spec
+++ b/vile.spec
@@ -1,6 +1,6 @@
 Name:		vile
-Version:	9.8e
-Release:	3%{?dist}
+Version:	9.8i
+Release:	1%{?dist}
 Summary:	VI Like Emacs
 Group:		Applications/Editors
 License:	GPLv2
@@ -59,7 +59,8 @@ make %{?_smp_mflags} vile
 
 %configure --with-app-defaults=%{_datadir}/X11/app-defaults \
 	   --with-screen=x11 --with-loadable-filters --disable-rpath-hack \
-	   --with-icondir=%{_datadir}/pixmaps/ --with-xpm
+	   --with-icon-theme --with-icondir=%{_datadir}/icons/ \
+	   --with-pixmapdir=%{_datadir}/pixmaps/ --with-xpm
 make %{?_smp_mflags} xvile
 touch vile
 
@@ -72,6 +73,19 @@ desktop-file-install --vendor='' --dir=%{buildroot}%{_datadir}/applications %{SO
 ln -s %{_mandir}/man1/xvile.1 %{buildroot}%{_mandir}/man1/uxvile.1
 ln -s %{_mandir}/man1/xvile.1 %{buildroot}%{_mandir}/man1/lxvile.1
 
+
+%post -n xvile
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun -n xvile
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans -n xvile
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
 %clean
 rm -rf %{buildroot}
 
@@ -99,11 +113,16 @@ rm -rf %{buildroot}
 %{_mandir}/man1/lxvile.1*
 %{_mandir}/man1/uxvile.1*
 %{_datadir}/pixmaps/vile.xpm
+%{_datadir}/icons/hicolor/*/apps/vile.*
 %{_datadir}/X11/app-defaults/XVile
 %{_datadir}/X11/app-defaults/UXVile
 %{_datadir}/applications/xvile.desktop
 
 %changelog
+* Sun Dec  2 2012 Mark McKinstry <mmckinst at nexcess.net> - 9.8i-1
+- upgrade to 9.8i
+- use better icons
+
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 9.8e-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
@@ -113,22 +132,28 @@ rm -rf %{buildroot}
 * Wed May 11 2011 Mark McKinstry <mmckinst at nexcess.net> 9.8e-1
 - upgrade to 9.8e
 - fix dependency
+
 * Sun Jan 30 2011 Mark McKinstry <mmckinst at nexcess.net> 9.8d-3
 - symlink lxvile and uxvile to xvile manpage
 - add emtpy vendor tag to desktop-file-install to make EPEL happy
 - add some conditionals so it will build on EPEL 4
+
 * Wed Jan 26 2011 Mark McKinstry <mmckinst at nexcess.net> 9.8d-2
 - include xvile.desktop
 - include verison for vile-common requirements
 - replace icon with xpm version
+
 * Thu Jan 23 2011 Mark McKinstry <mmckinst at nexcess.net> 9.8d-1
 - upgrade to 9.8d
 - create vile-common package
+
 * Thu Nov 22 2010 Mark McKinstry <mmckinst at nexcess.net> 9.8b-1
 - upgrade to 9.8b
 - add xvile
+
 * Tue Aug 16 2010 Mark McKinstry <mmckinst at nexcess.net> 9.8-1
 - upgrade to 9.8
 - include more documentation
+
 * Sat May 8 2010 Mark McKinstry <mmckinst at nexcess.net> 9.7zc-1
 - initial build


More information about the scm-commits mailing list