Blame SPECS/ibus-m17n.spec

8d55ff
%global require_ibus_version 1.4.0
8d55ff
Name:       ibus-m17n
8d55ff
Version:    1.3.4
8d55ff
Release:    13%{?dist}
8d55ff
Summary:    The M17N engine for IBus platform
8d55ff
License:    GPLv2+
8d55ff
Group:      System Environment/Libraries
8d55ff
URL:        http://code.google.com/p/ibus/
8d55ff
Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
8d55ff
8d55ff
# Upstreamed patches:
8d55ff
Patch0:     ibus-m17n-HEAD.patch
8d55ff
Patch1:	    ibus-m17n-fix-data-location.patch
8d55ff
8d55ff
# Fedora specific patches:
8d55ff
# Enable lv3:ralt_switch option for some Indic engines in default.xml.
8d55ff
Patch100:     ibus-m17n-xkb-options.patch
8d55ff
# Don't make the status button clickable (maybe obsolete).
8d55ff
Patch101:	    ibus-m17n-hide-title-status.patch
8d55ff
# Translation update from Zanata.
8d55ff
Patch102:     ibus-m17n-translation.patch
8d55ff
8d55ff
# The following BR is for autogen and not necessary when packging
8d55ff
# released tarballs.
8d55ff
BuildRequires:  gettext-devel
8d55ff
BuildRequires:  intltool
8d55ff
BuildRequires:  libtool
8d55ff
BuildRequires:  pkgconfig
8d55ff
BuildRequires:  gnome-common
8d55ff
BuildRequires:  m17n-lib-devel
8d55ff
BuildRequires:  gtk3-devel
8d55ff
BuildRequires:  ibus-devel >= %{require_ibus_version}
8d55ff
BuildRequires:	desktop-file-utils
8d55ff
8d55ff
Requires:   ibus >= %{require_ibus_version}
8d55ff
Requires:   m17n-lib
8d55ff
8d55ff
%description
8d55ff
M17N engine for IBus input platform. It allows input of many languages using
8d55ff
the input table maps from m17n-db.
8d55ff
8d55ff
%prep
8d55ff
%setup -q
8d55ff
8d55ff
%patch0 -p1 -b .HEAD
8d55ff
%patch1 -p1 -b .fix-data-location
8d55ff
%patch100 -p1 -b .xkb-options
8d55ff
%patch101 -p1 -b .hide-title-status
8d55ff
%patch102 -p1 -b .translation
8d55ff
8d55ff
NOCONFIGURE=1 ./autogen.sh
8d55ff
8d55ff
%build
8d55ff
%configure --disable-static --with-gtk=3.0
8d55ff
# make -C po update-gmo
8d55ff
make %{?_smp_mflags}
8d55ff
8d55ff
%install
8d55ff
make DESTDIR=${RPM_BUILD_ROOT} install
8d55ff
8d55ff
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-m17n.desktop
8d55ff
8d55ff
%find_lang %{name}
8d55ff
8d55ff
%files -f %{name}.lang
8d55ff
%doc AUTHORS COPYING README
8d55ff
%{_datadir}/ibus-m17n
8d55ff
%{_libexecdir}/ibus-engine-m17n
8d55ff
%{_libexecdir}/ibus-setup-m17n
8d55ff
%{_datadir}/ibus/component/*
8d55ff
%{_datadir}/applications/ibus-setup-m17n.desktop
8d55ff
8d55ff
%changelog
8d55ff
* Tue Feb  4 2014 Daiki Ueno <dueno@redhat.com> - 1.3.4-13
8d55ff
- Add ibus-m17n-translation.patch
8d55ff
- Fix bug 1056957 - [ibus-m17n] Translations incomplete
8d55ff
8d55ff
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.3.4-12
8d55ff
- Mass rebuild 2014-01-24
8d55ff
8d55ff
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.3.4-11
8d55ff
- Mass rebuild 2013-12-27
8d55ff
8d55ff
* Mon May 13 2013 Daiki Ueno <dueno@redhat.com> - 1.3.4-10
8d55ff
- Add ibus-m17n-fix-data-location.patch
8d55ff
- Fix bug 962144 [abrt] ibus-m17n-1.3.4-9.fc19:
8d55ff
  setup_dialog_load_config: Process /usr/libexec/ibus-setup-m17n was
8d55ff
  killed by signal 11 (SIGSEGV)
8d55ff
8d55ff
* Wed May  1 2013 Daiki Ueno <dueno@redhat.com> - 1.3.4-9
8d55ff
- Update ibus-m17n-xkb-options.patch to set XKB option for Inscript2
8d55ff
- Fix bug 957993 - ibus-m17n doesn't automatically map Alt_R to AltGr
8d55ff
  when Inscript2 maps are used
8d55ff
8d55ff
* Fri Apr 26 2013 Daiki Ueno <deno@redhat.com> - 1.3.4-8
8d55ff
- Update ibus-m17n-HEAD.patch to the latest upstream master
8d55ff
- Remove unnecessary and not upstreamable patches
8d55ff
- Use gtk3 always
8d55ff
- Fix bug 912592 - ibus-m17n should use default keyboard in most cases
8d55ff
8d55ff
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-7
8d55ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8d55ff
8d55ff
* Mon Oct  8 2012 Daiki Ueno <dueno@redhat.com> - 1.3.4-6
8d55ff
- Add ibus-m17n-desktop-file.patch
8d55ff
  Fix bug 860955 - ibus-m17n setup is not enabled in
8d55ff
  gnome-control-center region, .desktop file is missing
8d55ff
8d55ff
* Wed Sep 26 2012 Daiki Ueno <dueno@redhat.com> - 1.3.4-5
8d55ff
- Add ibus-m17n-honor-user-cflags.patch
8d55ff
8d55ff
* Wed Aug 15 2012 Daiki Ueno <dueno@redhat.com> - 1.3.4-4
8d55ff
- Add ibus-m17n-translit-layout.patch
8d55ff
- Fix bug 847495 - For non-US keyboard layout Ibus-m17n adds English
8d55ff
  (US) to the list of input methods and other input methods use US
8d55ff
  layout
8d55ff
- Require eekboard-service instead of eekboard
8d55ff
- Fix bug 847500 - Don't install Eekboard by default in the desktop spin
8d55ff
8d55ff
* Thu Aug  2 2012 Daiki Ueno <dueno@redhat.com> - 1.3.4-3
8d55ff
- Add ibus-m17n-fix-mtext-config.patch
8d55ff
- Fix bug 836397 - [abrt] ibus-m17n-1.3.3-11.fc17: mtext_data: Process
8d55ff
  /usr/libexec/ibus-setup-m17n was killed by signal 11 (SIGSEGV)
8d55ff
8d55ff
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-2
8d55ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8d55ff
8d55ff
* Fri May 11 2012 Daiki Ueno <dueno@redhat.com> - 1.3.4-1
8d55ff
- New upstream release.
8d55ff
8d55ff
* Tue Apr  3 2012 Daiki Ueno <dueno@redhat.com> - 1.3.3-12
8d55ff
- Check %%{rhel} version in addition to %%{fedora}
8d55ff
- Remove unnecessary %%defattr(-,root,root,-) from %%files
8d55ff
- Drop libxklavier-devel from BR
8d55ff
8d55ff
* Fri Mar 30 2012 Daiki Ueno <dueno@redhat.com> - 1.3.3-11
8d55ff
- Revive m17n:zh:pinyin with a different label ("hanyu pinyin (m17n)")
8d55ff
- Rebase ibus-m17n-virtkbd.patch
8d55ff
8d55ff
* Tue Mar  6 2012 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.3-9
8d55ff
- Rebuild for ibus 1.4.99.20120304
8d55ff
8d55ff
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-8
8d55ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8d55ff
8d55ff
* Tue Dec  6 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-7
8d55ff
- Add ibus-m17n-custom-setup-element.patch
8d55ff
- Fix bug 760427 - engine preferences button in ibus-setup doesn't
8d55ff
  work for ibus-m17n
8d55ff
8d55ff
* Fri Nov 18 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-6
8d55ff
- Add ibus-m17n-blacklist-engines.patch
8d55ff
  https://lists.fedoraproject.org/pipermail/i18n/2011-October/001194.html
8d55ff
8d55ff
* Thu Sep 29 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-5
8d55ff
- Add ibus-m17n-hide-title-status.patch.
8d55ff
- Fix bug 741157 - ibus-m17n: m17n "title" variable appears as a
8d55ff
  dormant button on the language panel
8d55ff
8d55ff
* Fri Sep 16 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-4
8d55ff
- Fix Indic IME symbols (thanks to pravins).
8d55ff
8d55ff
* Fri Sep  9 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.3-3
8d55ff
- Rebuild with the latest ibus 1.3.99.20110817-4 and eekboard 1.0.3
8d55ff
8d55ff
* Fri Sep  2 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-2
8d55ff
- Revive iok patch.
8d55ff
8d55ff
* Thu Sep  1 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-1
8d55ff
- New upstream release.
8d55ff
- Add ibus-m17n-default-xml-override.patch.
8d55ff
- Add ibus-m17n-virtkbd.patch, instead of ibus-m17n-iok.patch.
8d55ff
8d55ff
* Tue Aug  9 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-10
8d55ff
- Set symbol for m17n:ne:rom.
8d55ff
8d55ff
* Mon Aug  8 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-9
8d55ff
- Update ibus-m17n-xkb-options.patch.
8d55ff
- Don't set XKB options directly from engine but via ibus-xkb
8d55ff
8d55ff
* Fri Aug  5 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-8
8d55ff
- Update ibus-m17n-xx-icon-symbol.patch.
8d55ff
- Fix bug 727024 - ibus compose file needs a symbol tag for gnome-shell
8d55ff
- Update ibus-m17n-xkb-options.patch.
8d55ff
8d55ff
* Thu Jul  7 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-7
8d55ff
- don't specify --with-hotkey.
8d55ff
8d55ff
* Mon Jul  4 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-6
8d55ff
- Add ibus-m17n-xkb-options.patch.
8d55ff
- Add ibus-m17n-xx-icon-symbol.patch.
8d55ff
- Drop surrounding-text patches since they are included in the HEAD patch.
8d55ff
8d55ff
* Wed Jun 15 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-5
8d55ff
- Add ibus-m17n-stsreq.patch.
8d55ff
- Fix bug 711126 - ibus: surrounding text support fails for the first
8d55ff
  syllable upon activation
8d55ff
8d55ff
* Tue Jun  7 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-4
8d55ff
- Add ibus-m17n-stscap.patch.
8d55ff
- Fix bug 711126 - ibus: surrounding text support fails for the first
8d55ff
  syllable upon activation
8d55ff
8d55ff
* Mon May 23 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-3
8d55ff
- Update ibus-m17n-HEAD.patch.
8d55ff
8d55ff
* Mon May 23 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-2
8d55ff
- Bump the release to fix upgrade path.
8d55ff
- Fix bug 706602 - ibus-m17n-1.3.2-2.fc14 > ibus-m17n-1.3.2-1.fc15
8d55ff
- Drop preparing/cleaning buildroot.
8d55ff
8d55ff
* Mon Mar  7 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-1
8d55ff
- New upstream release.
8d55ff
8d55ff
* Fri Feb 11 2011 Matthias Clasen <mclasen@redhat.com> - 1.3.1-18
8d55ff
- Rebuild against newer gtk
8d55ff
8d55ff
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-17
8d55ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8d55ff
8d55ff
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 1.3.1-16
8d55ff
- Rebuild against newer gtk
8d55ff
8d55ff
* Fri Jan 14 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-15
8d55ff
- Update iok patch.
8d55ff
- Fix bug 669128 - [abrt] ibus-m17n-1.3.1-14.fc15:
8d55ff
  Process /usr/libexec/ibus-engine-m17n was killed by signal 6 (SIGABRT)
8d55ff
8d55ff
* Sun Jan  9 2011 Matthias Clasen <mclasen@redhat.com> - 1.3.1-14
8d55ff
- Rebuild against newer gtk3
8d55ff
8d55ff
* Mon Dec 27 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-13
8d55ff
- Update iok patch.
8d55ff
8d55ff
* Wed Dec 22 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-12
8d55ff
- Update surrounding-text patch.
8d55ff
8d55ff
* Fri Dec 10 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-11
8d55ff
- Update ibus-m17n-HEAD.patch.
8d55ff
- Lower si-samanala.mim rank per request from a Sinhala user.
8d55ff
8d55ff
* Wed Dec  8 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-10
8d55ff
- Update ibus-m17n-HEAD.patch.
8d55ff
- Fix bug 658336 - ibus-m17n: define the IM ranks in a config file and
8d55ff
  not in a compiled binary
8d55ff
8d55ff
* Fri Dec  3 2010 Matthias Clasen <mclasen@redhat.com> - 1.3.1-9
8d55ff
- Rebuild against newer gtk3
8d55ff
8d55ff
* Tue Nov  9 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-8
8d55ff
- Apply ibus-m17n-ibus-1.4.patch for ibus-1.3.99.
8d55ff
- Specify backup filename for each patch.
8d55ff
8d55ff
* Fri Nov  5 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-7
8d55ff
- Rename ibus-m17n-fedora.patch to ibus-m17n-HEAD.patch since the
8d55ff
  changes are merged into upstream.
8d55ff
- Update ibus-m17n-HEAD.patch with upstream fix 08e06310
8d55ff
- Fix bug 649230 - [si] last input character is committed late in
8d55ff
  wijesekara input method
8d55ff
8d55ff
* Fri Oct 22 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-6
8d55ff
- Link ibus-setup-m17n with GTK+ 3.0.
8d55ff
8d55ff
* Tue Oct 12 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-5
8d55ff
- put several Fedora patches into one.
8d55ff
- Fix bug 640896 - Ibus does not load all the keymaps for a language
8d55ff
  that is used for logging in.
8d55ff
8d55ff
* Tue Oct  5 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-4
8d55ff
- Remove Shift+AltGr patch; apply a simplified AltGr patch.
8d55ff
- Fix bug 639963 - SHIFT switch is not working in layouts as expected.
8d55ff
8d55ff
* Fri Oct  1 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-3
8d55ff
- Apply a patch to handle Shift+AltGr.
8d55ff
- Update surrounding-text patch.
8d55ff
- Fix bug 634829 - [abrt] ibus-m17n-1.3.1-1.fc14: shift_state: Process
8d55ff
  /usr/libexec/ibus-engine-m17n was killed by signal 11 (SIGSEGV).
8d55ff
8d55ff
* Thu Sep 16 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-2
8d55ff
- Apply surrounding text patch.  Bug 435880.
8d55ff
8d55ff
* Fri Sep  3 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-1
8d55ff
- Update to 1.3.1.
8d55ff
- Fix bug 615158 - Do not change the background colour of the pre-edit buffer
8d55ff
- Add gtk2-devel to BR
8d55ff
- Install ibus-setup-m17n in %%{_libexecdir}
8d55ff
8d55ff
* Thu Aug 26 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0-4
8d55ff
- Rebuild with ibus 1.3.7 to avoid ABI incompatibility.  Bug 627256.
8d55ff
8d55ff
* Tue Jul 27 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0-3
8d55ff
- Update ibus-m17n-HEAD.patch.
8d55ff
- Fix regression with the previous update.  See comment 7 of bug 614867.
8d55ff
8d55ff
* Fri Jul 16 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0-2
8d55ff
- Update ibus-m17n-HEAD.patch.
8d55ff
- Fix bug 614867 - Invisible pre-edit buffer when using m17n Wijesekera keyboard layout
8d55ff
- Update iok patch.
8d55ff
8d55ff
* Mon Mar 29 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.0-1
8d55ff
- Update to 1.3.0.
8d55ff
- Update iok patch.
8d55ff
- Fix bug 577148 - IOK screen appears with all keyboard layouts on ibus language panel
8d55ff
8d55ff
* Tue Feb 02 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20100202-1
8d55ff
- Update to 1.2.99.20100202.
8d55ff
- Update iok patch.
8d55ff
8d55ff
* Thu Dec 17 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20091217-1
8d55ff
- Update to 1.2.0.20091217.
8d55ff
- Update iok patch.
8d55ff
8d55ff
* Fri Nov 20 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20091120-1
8d55ff
- Update to 1.2.0.20091120.
8d55ff
- Fix bug 530976
8d55ff
8d55ff
* Fri Oct 23 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090617-5
8d55ff
- Update iok patch to fix bug 530493.
8d55ff
8d55ff
* Wed Oct 14 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090617-4
8d55ff
- Update iok patch to fix build error.
8d55ff
8d55ff
* Tue Oct 13 2009 Parag <pnemade@redhat.com> - 1.2.0.20090617-3
8d55ff
- Re-enable iok support to ibus-m17n.
8d55ff
8d55ff
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.20090617-2
8d55ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8d55ff
8d55ff
* Mon Jun 22 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090617-1
8d55ff
- Update to 1.2.0.20090617.
8d55ff
8d55ff
* Thu Mar 05 2009 Parag <pnemade@redhat.com> - 1.1.0.20090211-4
8d55ff
- Add iok support to ibus-m17n.
8d55ff
8d55ff
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0.20090211-3
8d55ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8d55ff
8d55ff
* Wed Feb 18 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090211-2
8d55ff
- Add patch ibus-m17n-HEAD.patch from upstream git tree.
8d55ff
- Make Control + Alt + ... available. (#482789)
8d55ff
8d55ff
* Wed Feb 11 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090211-1
8d55ff
- Update to 1.1.0.20090211.
8d55ff
8d55ff
* Thu Feb 05 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090205-1
8d55ff
- Update to 1.1.0.20090205.
8d55ff
8d55ff
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.1.20081013-4
8d55ff
- Rebuild for Python 2.6
8d55ff
8d55ff
* Thu Oct 16 2008 Jens Petersen <petersen@redhat.com> - 0.1.1.20081013-3
8d55ff
- move the .engine files to m17n-db and m17n-contrib (#466410)
8d55ff
8d55ff
* Wed Oct 15 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081013-2
8d55ff
- Move unicode, rfc1345 to generic package, and syrc-phonetic to syriac package.
8d55ff
8d55ff
* Mon Oct 13 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081013-1
8d55ff
- Update to 0.1.1.20081013.
8d55ff
8d55ff
* Thu Oct 09 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081009-1
8d55ff
- Update to 0.1.1.20081009.
8d55ff
8d55ff
* Mon Sep 01 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080901-1
8d55ff
- Update to 0.1.1.20080901.
8d55ff
8d55ff
* Sat Aug 23 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080823-1
8d55ff
- Update to 0.1.1.20080823.
8d55ff
8d55ff
* Fri Aug 15 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080815-1
8d55ff
- Update to 0.1.1.20080815.
8d55ff
8d55ff
* Tue Aug 12 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080812-1
8d55ff
- Update to 0.1.1.20080812.
8d55ff
8d55ff
* Thu Aug 07 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.0.20080810-1
8d55ff
- The first version.