Blame SPECS/ibus-hangul.spec

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