]> 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 3817a651753b3e40a9da3f85a467b1705613d215..b8bf67e4ffa6bd11f4eac8c463b38d8a9043792b 100644 (file)
@@ -1,27 +1,32 @@
 #
 # 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.3.1
-Release:       0.1
+Version:       1.5.0
+Release:       1
 License:       GPL v2+
 Group:         Libraries
-Source0:       http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: b71565bba3a1439a47212611b774ecf7
-Patch0:                %{name}-ibus-1.4.patch
-Patch1:                %{name}-xx-icon-symbol.patch
-URL:           http://code.google.com/p/ibus/
-BuildRequires: gettext-devel
-BuildRequires: ibus
-BuildRequires: ibus-devel >= 1.3.0
-BuildRequires: intltool
-BuildRequires: libhangul-devel >= 0.0.10
+#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-tools >= 0.17
+BuildRequires: ibus-devel >= 1.4.0
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libhangul-devel >= 0.1.0
 BuildRequires: libtool
 BuildRequires: pkgconfig
-Requires:      ibus >= 1.3.0
-Requires:      libhangul >= 0.0.10
+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
 
@@ -29,14 +34,22 @@ Requires:   libhangul >= 0.0.10
 The Hangul engine for IBus platform. It provides Korean input method
 from libhangul.
 
+%description -l pl.UTF-8
+Silnik Hangul dla platformy wprowadzania znaków IBus. Udostępnia
+metodę wprowadzania znaków koreańskich zaimplementowaną w libhangul.
+
 %prep
 %setup -q
+%if %{with bridge_hotkey}
 %patch0 -p1
-%patch1 -p1
+%endif
 
 %build
+%{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        %{?with_bridge_hotkey:--with-hotkeys}
 
@@ -53,10 +66,22 @@ 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
-%{_libexecdir}/ibus-engine-hangul
-%{_libexecdir}/ibus-setup-hangul
+%attr(755,root,root) %{_bindir}/ibus-setup-hangul
+%attr(755,root,root) %{_libexecdir}/ibus-engine-hangul
+%attr(755,root,root) %{_libexecdir}/ibus-setup-hangul
 %{_datadir}/ibus-hangul
-%{_datadir}/ibus/component/*
+%{_datadir}/ibus/component/hangul.xml
+%{_desktopdir}/ibus-setup-hangul.desktop
+%{_iconsdir}/hicolor/64x64/apps/ibus-hangul.png
+%{_iconsdir}/hicolor/64x64/apps/ibus-setup-hangul.png
+%{_iconsdir}/hicolor/scalable/apps/ibus-hangul.svg
+%{_iconsdir}/hicolor/scalable/apps/ibus-setup-hangul.svg
This page took 0.055335 seconds and 4 git commands to generate.