Daiki Ueno 476e880
%global require_ibus_version 1.3.99
Daiki Ueno 476e880
%global require_libhangul_version 0.1.0
Daiki Ueno 571f9c0
814809a
Name:       ibus-hangul
Daiki Ueno b7fcb3b
Version:    1.4.2
011b87c
Release:    9%{?dist}
814809a
Summary:    The Hangul engine for IBus input platform
814809a
License:    GPLv2+
814809a
Group:      System Environment/Libraries
814809a
URL:        http://code.google.com/p/ibus/
814809a
Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
Daiki Ueno 4fb46dc
# upstreamed patches
Daiki Ueno b7fcb3b
#Patch0:     ibus-hangul-HEAD.patch
Daiki Ueno 4fb46dc
# not upstreamed patches
Daiki Ueno 26513ae
Patch1:     ibus-hangul-dconf-prefix.patch
a63a730
Patch2:     ibus-hangul-setup-abspath.patch
814809a
Daiki Ueno af01928
BuildRequires:  gettext-devel, automake, libtool
e8574d2
BuildRequires:  intltool
814809a
BuildRequires:  libtool
040c200
BuildRequires:  libhangul-devel >= %{require_libhangul_version}
814809a
BuildRequires:  pkgconfig
040c200
BuildRequires:  ibus-devel >= %{require_ibus_version}
Daiki Ueno 476e880
BuildRequires:  desktop-file-utils
Daiki Ueno cd77e49
BuildRequires:  python2-devel
814809a
040c200
Requires:   ibus >= %{require_ibus_version}
040c200
Requires:   libhangul >= %{require_libhangul_version}
Daiki Ueno 93277e7
Requires:   pygobject3
814809a
814809a
%description
814809a
The Hangul engine for IBus platform. It provides Korean input method from
814809a
libhangul.
814809a
814809a
%prep
814809a
%setup -q
Daiki Ueno 639a496
%patch1 -p1 -b .dconf-prefix
a63a730
%patch2 -p1 -b .setup-abspath
814809a
Daiki Ueno ffe1856
autopoint -f
Daiki Ueno ffe1856
AUTOPOINT='intltoolize --automake --copy' autoreconf -fi
Daiki Ueno af01928
814809a
%build
Daiki Ueno 571f9c0
%configure --disable-static %{?_with_hotkeys}
814809a
# make -C po update-gmo
814809a
make %{?_smp_mflags}
814809a
814809a
%install
Daiki Ueno 476e880
make DESTDIR=${RPM_BUILD_ROOT} install INSTALL="install -p"
Daiki Ueno 476e880
Daiki Ueno cdbc21a
rm -f ${RPM_BUILD_ROOT}%{_bindir}/ibus-setup-hangul
Daiki Ueno cdbc21a
sed -i 's!^Exec=ibus-setup-hangul!Exec=%{_libexecdir}/ibus-setup-hangul!' ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-hangul.desktop
Daiki Ueno cdbc21a
Daiki Ueno 476e880
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-hangul.desktop
814809a
814809a
%find_lang %{name}
814809a
Daiki Ueno 68a22ef
%post
Daiki Ueno 68a22ef
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Daiki Ueno 68a22ef
Daiki Ueno 68a22ef
%postun
Daiki Ueno 68a22ef
if [ $1 -eq 0 ] ; then
Daiki Ueno 68a22ef
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Daiki Ueno 68a22ef
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Daiki Ueno 68a22ef
fi
Daiki Ueno 68a22ef
Daiki Ueno 68a22ef
%posttrans
Daiki Ueno 68a22ef
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Daiki Ueno 68a22ef
814809a
%files -f %{name}.lang
814809a
%doc AUTHORS COPYING README
9effa4c
%{_libexecdir}/ibus-engine-hangul
Daiki Ueno 5f78936
%{_libexecdir}/ibus-setup-hangul
9effa4c
%{_datadir}/ibus-hangul
9effa4c
%{_datadir}/ibus/component/*
Daiki Ueno 6c0a2ef
%{_libdir}/ibus-hangul/setup/*
Daiki Ueno 476e880
%{_datadir}/applications/ibus-setup-hangul.desktop
Daiki Ueno 5f78936
%{_datadir}/icons/hicolor/*/apps/*
814809a
814809a
%changelog
011b87c
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-9
011b87c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
011b87c
e2c5b37
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-8
e2c5b37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e2c5b37
a63a730
* Mon Oct 28 2013 Daiki Ueno <dueno@redhat.com> - 1.4.2-7
a63a730
- Invoke ibus-setup-hangul with the absolute path.
a63a730
- Fix bug 1012732 - Click ibus hangul setup on gnome-shell top bar's
a63a730
  ibus -> No Response
a63a730
242f95c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-6
242f95c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
242f95c
Daiki Ueno cdbc21a
* Wed Jun 19 2013 Daiki Ueno <dueno@redhat.com> - 1.4.2-5
Daiki Ueno cdbc21a
- Remove ibus-setup-hangul symlink in %%{_bindir}.
Daiki Ueno cdbc21a
- Fix bogus changelog date.
Daiki Ueno cdbc21a
Daiki Ueno 639a496
* Tue Apr  2 2013 Daiki Ueno <dueno@redhat.com> - 1.4.2-4
Daiki Ueno 639a496
- Fix the last update which didn't apply the patch.
Daiki Ueno 639a496
Daiki Ueno 26513ae
* Tue Apr  2 2013 Daiki Ueno <dueno@redhat.com> - 1.4.2-3
Daiki Ueno 26513ae
- Remove have_bridge_hotkey and need_pygobject3 macros which does no
Daiki Ueno 26513ae
  longer make sense after F17
Daiki Ueno 26513ae
- Add ibus-hangul-dconf-prefix.patch
Daiki Ueno 26513ae
- Fix bug 909509 - Hangul Keybaord doesn't be changed in IBusHangul Setup
Daiki Ueno 26513ae
Daiki Ueno 26513ae
* Wed Mar 27 2013 Daiki Ueno <dueno@redhat.com> - 1.4.2-2
Daiki Ueno 26513ae
- Pull the latest config.guess and config.sub for ARM64 port
Daiki Ueno af01928
Daiki Ueno b7fcb3b
* Tue Jan 29 2013 Daiki Ueno <dueno@redhat.com> - 1.4.2-1
Daiki Ueno b7fcb3b
- Update version to 1.4.2.
Daiki Ueno b7fcb3b
- Remove ibus-hangul-setup-gi.patch
Daiki Ueno b7fcb3b
Daiki Ueno cd77e49
* Wed Nov 21 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-9
Daiki Ueno 26513ae
- Fix a typo (R: -> BR: python2-devel)
Daiki Ueno cd77e49
Daiki Ueno 1984cf6
* Wed Nov 21 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-8
Daiki Ueno 26513ae
- Cleanup the spec file
Daiki Ueno 1984cf6
Daiki Ueno 4fb46dc
* Thu Nov 15 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-7
Daiki Ueno 4fb46dc
- Re-add ibus-hangul-HEAD.patch based on recent upstream change
Daiki Ueno 4fb46dc
- Apply ibus-hangul-add-hangul-hotkey.patch only for F-15 and F-16
Daiki Ueno 4fb46dc
Daiki Ueno 2005b28
* Wed Oct 31 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-6
Daiki Ueno 2005b28
- Add ibus-hangul-engine-name.patch
Daiki Ueno 2005b28
- Update ibus-hangul-setup-gi.patch
Daiki Ueno 2005b28
- Fix bug 870318 - Change of “Automatic reordering” setup option
Daiki Ueno 2005b28
  cannot be applied in ibus-hangul setup (thanks Mike FABIAN for the patch)
Daiki Ueno 2005b28
e8c61ad
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-5
e8c61ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e8c61ad
Daiki Ueno 10d8208
* Fri Jun  8 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-4
Daiki Ueno 10d8208
- Fix ibus-hangul-setup-gi.patch
Daiki Ueno 10d8208
- Remove previously applied ibus-hangul-setup-race-condition.patch
Daiki Ueno 10d8208
- Fix bug 828597 - [abrt] ibus-hangul-1.4.1-2.fc16:
Daiki Ueno 10d8208
  main.py:184:on_value_changed:TypeError: 'NoneType' object is not
Daiki Ueno 10d8208
  iterable
Daiki Ueno 10d8208
Daiki Ueno 6b337f4
* Wed Jun  6 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-3
Daiki Ueno 10d8208
- Fix ibus-setup-hangul race condition
Daiki Ueno 6b337f4
- Fix bug 828597 - [abrt] ibus-hangul-1.4.1-2.fc16:
Daiki Ueno 6b337f4
  main.py:184:on_value_changed:TypeError: 'NoneType' object is not
Daiki Ueno 6b337f4
  iterable
Daiki Ueno 6b337f4
Daiki Ueno 93277e7
* Tue May  1 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-2
Daiki Ueno 93277e7
- Add pygobject3 to dependencies on F-16.
Daiki Ueno 93277e7
- Fix bug 816890 - [abrt] ibus-hangul-1.4.0-5.fc16:
Daiki Ueno 93277e7
  main.py:23:<module>:ImportError: No module named gi.repository
Daiki Ueno 93277e7
Daiki Ueno 0d1374b
* Tue Apr 17 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-1
Daiki Ueno 0d1374b
- Update version to 1.4.1.
Daiki Ueno 0d1374b
- Check RHEL version as well as Fedora version.
Daiki Ueno 0d1374b
Daiki Ueno 13978e6
* Tue Mar  6 2012 Daiki Ueno <dueno@redhat.com> - 1.4.0-5
Daiki Ueno 5c9119d
- Revive <hotkey> in hangul.xml.
Daiki Ueno 9c017b2
- Remove unnecessary BR: ibus.
Daiki Ueno 5c9119d
- Port ibus-setup-hangul to use gobject-introspection.
Daiki Ueno 13978e6
Daiki Ueno 5f78936
* Mon Mar  5 2012 Daiki Ueno <dueno@redhat.com> - 1.4.0-4
Daiki Ueno 5f78936
- Package the latest git master.
Daiki Ueno 5f78936
- Fix bug 799776 - [abrt] ibus-hangul-1.4.0-3.fc17
Daiki Ueno 5f78936
- Remove upstreamed patches: ibus-hangul-xx-icon-symbol.patch,
Daiki Ueno 5f78936
  ibus-hangul-no-ibus-daemon.patch, and
Daiki Ueno 5f78936
  ibus-hangul-use-system-icon.patch
Daiki Ueno 5f78936
Daiki Ueno 68a22ef
* Fri Feb 10 2012 Daiki Ueno <dueno@redhat.com> - 1.4.0-3
Daiki Ueno 68a22ef
- Add ibus-hangul-use-system-icon.patch
Daiki Ueno 68a22ef
- Fix bug 789230 - ibus hangul Icon missing in gnome-shell (fedora 17)
Daiki Ueno 68a22ef
Daiki Ueno ba14360
* Tue Jan 31 2012 Daiki Ueno <dueno@redhat.com> - 1.4.0-2
Daiki Ueno ba14360
- Add ibus-hangul-no-ibus-daemon.patch.
Daiki Ueno ba14360
- Fix bug 784377 - [abrt] ibus-hangul-1.4.0-1.fc16
Daiki Ueno ba14360
Daiki Ueno 476e880
* Thu Jan 12 2012 Daiki Ueno <dueno@redhat.com> - 1.4.0-1
Daiki Ueno 476e880
- Update version to 1.4.0.
Daiki Ueno 476e880
- Remove ibus-hangul-ibus-1.4.patch.
Daiki Ueno 476e880
- Drop %%defattr(-,root,root,-) from %%files.
Daiki Ueno 476e880
- Pass -p to install to preserve file timestamps.
Daiki Ueno 476e880
- Install ibus-setup-hangul.desktop properly.
Daiki Ueno 476e880
Daiki Ueno 6c0a2ef
* Thu Nov 24 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-1
Daiki Ueno 6c0a2ef
- Update version to 1.3.2.
Daiki Ueno 6c0a2ef
Daiki Ueno 72a6ef9
* Mon Oct 24 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-8
Daiki Ueno 72a6ef9
- Rebuild with the latest libhangul.
Daiki Ueno 72a6ef9
Daiki Ueno d8923fa
* Fri Aug 19 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-7
Daiki Ueno 3b85084
- Enable --with-hotkeys for F16 or later.
Daiki Ueno d8923fa
- Fix bug 731913 - No Hangul Key in keyboard Shortcuts
Daiki Ueno d8923fa
Daiki Ueno bda94d5
* Mon Jul 18 2011 Daiki Ueno <ueno@unixuser.org> - 1.3.1-6
Daiki Ueno bda94d5
- Fix entity reference for icon symbol.
Daiki Ueno bda94d5
- Fix bug 722566 - Cannot select Hangul Input Method on Ibus Preferences
Daiki Ueno 3b85084
Daiki Ueno 571f9c0
* Thu Jul  7 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-5
Daiki Ueno 3b85084
- Don't specify --with-hotkeys.
Daiki Ueno 571f9c0
Daiki Ueno 9699c9b
* Mon Jul  4 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-4
Daiki Ueno 9699c9b
- Added ibus-hangul-xx-icon-symbol.patch to enable the engine symbol & hotkeys.
Daiki Ueno 9699c9b
Daiki Ueno fbfb234
* Wed May 11 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-3
Daiki Ueno fbfb234
- Update ibus-1.4 patch.
Daiki Ueno fbfb234
- Move the ibus version check into the patch from this spec.
Daiki Ueno fbfb234
- Fix bug 695971 - Hangul Keybaord Layout works to only dubeolsik
Daiki Ueno fbfb234
Daiki Ueno 89ae1d3
* Mon Apr  4 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-2
Daiki Ueno 89ae1d3
- Apply ibus-1.4 patch conditionally for SRPM compatibility.
Daiki Ueno 89ae1d3
- Drop buildroot, %%clean and cleaning of buildroot in %%install
Daiki Ueno 89ae1d3
Daiki Ueno 2f47ae3
* Mon Feb 28 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-1
Daiki Ueno 2f47ae3
- Update version to 1.3.1.
Daiki Ueno 2f47ae3
b6c6560
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0.20100329-5
b6c6560
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b6c6560
Daiki Ueno 12c920e
* Mon Nov  8 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0.20100329-4
Daiki Ueno 12c920e
- Add ibus-hangul-gvariant.patch for ibus-1.3.99
Daiki Ueno 12c920e
Daiki Ueno 2c6d7c1
* Mon Aug 23 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0.20100329-3
Daiki Ueno 2c6d7c1
- Update ibus-hangul-HEAD.patch
Daiki Ueno 2c6d7c1
Daiki Ueno ee858c3
* Tue Aug  3 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0.20100329-1
Daiki Ueno ee858c3
- Update version to 1.3.0.20100329
Daiki Ueno ee858c3
- Add ibus-hangul-HEAD.patch to synch it with the git master
Daiki Ueno ee858c3
fa48b43
* Thu Feb 04 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20100102-1
fa48b43
- Update version to 1.2.0.20100102
fa48b43
- Add ibus-hangul-phuang.patch for ibus-1.2.99
fa48b43
9d1de65
* Fri Dec 11 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20091031-1
9d1de65
- Update version to 1.2.0.20091031.
9d1de65
- Drop ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch and
9d1de65
  ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch temporarily, because
9d1de65
  patches conflict with 1.2.0.20091031, and the key configure will available
9d1de65
  in next release.
9d1de65
ce82558
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.20090617-2
ce82558
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ce82558
040c200
* Mon Jun 22 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090330-1
040c200
- Update version to 1.2.0.20090617.
040c200
ffa4124
* Sun Apr 12 2009 Warren Togami <wtogami@redhat.com> - 1.1.0.20090330-2
ffa4124
- Bug 493706: ibus-hangul Hanja arrow keys are wrong
ffa4124
- Bug 493509: ibus-hangul missing right Ctrl for Hanja button
ffa4124
  These fixes are not ideal, but they make it usable for Fedora 11.
ffa4124
  These must become configurable in a future version.
ffa4124
040c200
* Mon Mar 30 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090330-1
1e66040
- Update version to 1.1.0.20090330.
1e66040
- Fix bug 486056 - missing options for 2bul, 3bul and other Korean layouts
1e66040
- Fix bug 487269 - missing Hanja Conversion
1e66040
4cb25d3
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0.20090211-2
4cb25d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4cb25d3
040c200
* Wed Feb 11 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090211-1
acf5d6a
- Update version to 1.1.0.20090211.
acf5d6a
040c200
* Thu Feb 05 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090205-1
9effa4c
- Update version to 1.1.0.20090205.
9effa4c
cbf6725
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.1.20081023-2
cbf6725
- Rebuild for Python 2.6
cbf6725
040c200
* Thu Oct 23 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081023-1
df48c1c
- Update to 0.1.1.20081023.
df48c1c
Daiki Ueno cdbc21a
* Tue Sep 09 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080901-1
92c5fb2
- Update to 0.1.1.20080901.
92c5fb2
040c200
* Fri Aug 08 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080823-1
814809a
- The first version.