]> git.pld-linux.org Git - packages/ibus-hangul.git/blobdiff - ibus-hangul.spec
- new URLs, updated to 1.5.0
[packages/ibus-hangul.git] / ibus-hangul.spec
index 0b3995f4ecf5a51c78ffd1ae0919dbd1175aa649..b8bf67e4ffa6bd11f4eac8c463b38d8a9043792b 100644 (file)
@@ -1,22 +1,22 @@
 #
 # Conditional build:
-%bcond_with    bridge_hotkey           # enable the engine hotkeys
+%bcond_without bridge_hotkey           # disable the engine hotkeys
 #
 Summary:       The Hangul engine for IBus input platform
 Summary(pl.UTF-8):     Silnik Hangul dla platformy wprowadzania znaków IBus
 Name:          ibus-hangul
-Version:       1.4.1
+Version:       1.5.0
 Release:       1
 License:       GPL v2+
 Group:         Libraries
-#Source0Download: http://code.google.com/p/ibus/downloads/list
-Source0:       http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: c9615a9f704a4c29252028407329e1c3
-Patch0:                %{name}-xx-icon-symbol.patch
-URL:           http://code.google.com/p/ibus/
+#Source0Download: https://github.com/choehwanjin/ibus-hangul/releases
+Source0:       https://github.com/choehwanjin/ibus-hangul/releases/download/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: a171bf7b25752a1f71257fb85d56346b
+Patch0:                %{name}-add-hangul-hotkey.patch
+URL:           https://github.com/choehwanjin/ibus-hangul
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1:1.10
-BuildRequires: gettext-devel >= 0.17
+BuildRequires: gettext-tools >= 0.17
 BuildRequires: ibus-devel >= 1.4.0
 BuildRequires: intltool >= 0.35.0
 BuildRequires: libhangul-devel >= 0.1.0
@@ -25,6 +25,7 @@ BuildRequires:        pkgconfig
 BuildRequires: python >= 1:2.5
 Requires:      ibus >= 1.4.0
 Requires:      libhangul >= 0.1.0
+Requires:      python-pygobject3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _libexecdir     %{_libdir}/ibus
@@ -39,7 +40,9 @@ metodę wprowadzania znaków koreańskich zaimplementowaną w libhangul.
 
 %prep
 %setup -q
+%if %{with bridge_hotkey}
 %patch0 -p1
+%endif
 
 %build
 %{__libtoolize}
@@ -63,15 +66,18 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/ibus-setup-hangul
 %attr(755,root,root) %{_libexecdir}/ibus-engine-hangul
 %attr(755,root,root) %{_libexecdir}/ibus-setup-hangul
-%dir %{_libdir}/ibus-hangul
-%dir %{_libdir}/ibus-hangul/setup
-%attr(755,root,root) %{_libdir}/ibus-hangul/setup/hangul_keyboard_list
 %{_datadir}/ibus-hangul
 %{_datadir}/ibus/component/hangul.xml
 %{_desktopdir}/ibus-setup-hangul.desktop
This page took 0.062548 seconds and 4 git commands to generate.