[iok/f16] Update to 2.1.0 release

pnemade pnemade at fedoraproject.org
Tue Mar 13 04:14:03 UTC 2012


commit 2d6fe4e26b9c8bf6228827db86b0358bf5753031
Author: Parag Nemade <pnemade at redhat.com>
Date:   Tue Mar 13 09:43:57 2012 +0530

    Update to 2.1.0 release

 iok-1.3.13-increase-size-xkb-name-array.patch |   12 ---------
 iok.spec                                      |   34 +++++++++++++++++++------
 sources                                       |    2 +-
 3 files changed, 27 insertions(+), 21 deletions(-)
---
diff --git a/iok.spec b/iok.spec
index b4df7d3..20e1ae2 100644
--- a/iok.spec
+++ b/iok.spec
@@ -1,15 +1,14 @@
 Name:           iok
-Version:        1.3.13
-Release:        4%{?dist}
+Version:        2.1.0
+Release:        1%{?dist}
 Summary:        Indic Onscreen Virtual Keyboard
 Group:          Applications/System
 License:        GPLv2+
 URL:            http://iok.sourceforge.net
 Source0:        https://fedorahosted.org/releases/i/o/iok/%{name}-%{version}.tar.gz
-Patch1:         iok-1.3.13-increase-size-xkb-name-array.patch
 BuildRequires:  desktop-file-utils libXtst-devel
-BuildRequires:  gtk2-devel gettext libxml2-devel
-BuildRequires:  intltool unique-devel
+BuildRequires:  gtk3-devel gettext libxml2-devel
+BuildRequires:  intltool unique3-devel
 Requires:  xkeyboard-config 
 
 %description
@@ -19,7 +18,6 @@ can even try to parse non-inscript keymaps and show them in iok.
 
 %prep
 %setup -q
-%patch1 -p0
 
 %build
 %configure
@@ -36,15 +34,35 @@ desktop-file-install --vendor fedora \
 
 %find_lang %{name}
 
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+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
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
 %files -f %{name}.lang
-%doc COPYING AUTHORS ChangeLog README
+%doc COPYING AUTHORS ChangeLog README.old README
 %{_bindir}/iok
 %{_datadir}/applications/fedora-iok.desktop
-%{_datadir}/pixmaps/iok.xpm
+%{_datadir}/icons/hicolor/16x16/apps/iok.png
+%{_datadir}/icons/hicolor/22x22/apps/iok.png
+%{_datadir}/icons/hicolor/24x24/apps/iok.png
+%{_datadir}/icons/hicolor/32x32/apps/iok.png
+%{_datadir}/icons/hicolor/48x48/apps/iok.png
+%{_datadir}/icons/hicolor/scalable/apps/iok.svg
 %{_mandir}/man1/iok.1.gz
 
 
 %changelog
+* Tue Mar 13 2012 Parag Nemade <pnemade AT redhat DOT com>- 2.1.0-1
+- Update to 2.1.0 release
+
 * Fri Mar 02 2012 Parag Nemade <pnemade AT redhat DOT com>- 1.3.13-4
 - Resolves:rh#799568 - iok crashed while selecting 'xkb-Malayalam (enhanced Inscript with Rupee Sign)'
 
diff --git a/sources b/sources
index 1b289e6..5649277 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-14e034d41806321ce9671554b13066dc  iok-1.3.13.tar.gz
+b30464d26da182c553a57b34c03a2c53  iok-2.1.0.tar.gz


More information about the scm-commits mailing list