ibus-m17n/ibus-m17n.spec

334 lines
11 KiB
RPMSpec
Raw Normal View History

%if (0%{?fedora} > 14 || 0%{?rhel} > 6)
%global require_ibus_version 1.3.99.20110817
%global require_eekboard_version 1.0.6
%else
2011-07-07 05:37:21 +00:00
%global require_ibus_version 1.3.0
%global require_eekboard_version 0.0.6
%endif
2011-07-07 05:49:41 +00:00
%global have_bridge_hotkey 0
2011-07-07 05:37:21 +00:00
%if (0%{?fedora} > 14 || 0%{?rhel} > 6)
2011-07-07 05:37:21 +00:00
%global _with_gtk --with-gtk=3.0
%else
%global _with_gtk --with-gtk=2.0
%endif
%if (0%{?fedora} > 16 || 0%{?rhel} > 6)
2011-09-02 01:34:15 +00:00
%global _enable_eekboard --enable-eekboard
2011-09-01 10:18:22 +00:00
%endif
2008-08-10 11:43:26 +00:00
Name: ibus-m17n
2011-09-01 10:28:55 +00:00
Version: 1.3.3
Release: 12%{?dist}
2008-08-10 11:43:26 +00:00
Summary: The M17N engine for IBus platform
License: GPLv2+
Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
2012-03-30 09:05:56 +00:00
Patch0: ibus-m17n-HEAD.patch
Patch1: ibus-m17n-xkb-options.patch
Patch2: ibus-m17n-hide-title-status.patch
Patch3: ibus-m17n-blacklist-engines.patch
Patch4: ibus-m17n-virtkbd.patch
2011-03-07 06:13:46 +00:00
# The following BR is for autogen and not necessary when packging
# released tarballs.
2011-06-03 02:36:37 +00:00
BuildRequires: gettext-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: gnome-common
2008-08-10 11:43:26 +00:00
BuildRequires: m17n-lib-devel
%if (0%{?fedora} > 14 || 0%{?rhel} > 6)
2010-10-22 09:31:22 +00:00
BuildRequires: gtk3-devel
2011-07-07 05:37:21 +00:00
%else
BuildRequires: gtk2-devel
%endif
BuildRequires: ibus-devel >= %{require_ibus_version}
BuildRequires: eekboard-devel >= %{require_eekboard_version}
2009-02-05 07:12:31 +00:00
Requires: ibus >= %{require_ibus_version}
2008-08-10 11:43:26 +00:00
Requires: m17n-lib
Requires: eekboard >= %{require_eekboard_version}
2011-09-02 03:12:58 +00:00
Requires: iok
2008-08-10 11:43:26 +00:00
%description
2009-11-25 05:40:26 +00:00
M17N engine for IBus input platform. It allows input of many languages using
2009-02-05 07:12:31 +00:00
the input table maps from m17n-db.
2008-08-10 11:43:26 +00:00
%prep
%setup -q
2012-03-30 09:05:56 +00:00
%patch0 -p1 -b .HEAD
%patch1 -p1 -b .xkb-options
%patch2 -p1 -b .hide-title-status
%patch3 -p1 -b .blacklist-engines
%patch4 -p1 -b .virtkbd
2011-06-03 02:36:37 +00:00
NOCONFIGURE=1 ./autogen.sh
2008-08-10 11:43:26 +00:00
%build
2011-09-01 10:18:22 +00:00
%configure --disable-static %{?_with_gtk} %{?_with_hotkeys} %{?_enable_eekboard}
2008-08-10 11:43:26 +00:00
# make -C po update-gmo
make %{?_smp_mflags}
%install
make DESTDIR=${RPM_BUILD_ROOT} install
2008-08-15 04:05:49 +00:00
%find_lang %{name}
2008-08-10 11:43:26 +00:00
2008-08-15 04:05:49 +00:00
%files -f %{name}.lang
2008-08-10 11:43:26 +00:00
%doc AUTHORS COPYING README
2009-02-05 07:12:31 +00:00
%{_datadir}/ibus-m17n
%{_libexecdir}/ibus-engine-m17n
2010-09-03 08:30:46 +00:00
%{_libexecdir}/ibus-setup-m17n
2009-02-05 07:12:31 +00:00
%{_datadir}/ibus/component/*
2008-08-10 11:43:26 +00:00
%changelog
* Tue Apr 3 2012 Daiki Ueno <dueno@redhat.com> - 1.3.3-12
- Check %%{rhel} version in addition to %%{fedora}
- Remove unnecessary %%defattr(-,root,root,-) from %%files
- Drop libxklavier-devel from BR
2012-03-30 09:05:56 +00:00
* Fri Mar 30 2012 Daiki Ueno <dueno@redhat.com> - 1.3.3-11
- Revive m17n:zh:pinyin with a different label ("hanyu pinyin (m17n)")
- Rebase ibus-m17n-virtkbd.patch
2012-03-30 09:05:56 +00:00
2012-03-06 10:02:40 +00:00
* Tue Mar 6 2012 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.3-9
- Rebuild for ibus 1.4.99.20120304
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-12-06 07:21:06 +00:00
* Tue Dec 6 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-7
- Add ibus-m17n-custom-setup-element.patch
- Fix bug 760427 - engine preferences button in ibus-setup doesn't
work for ibus-m17n
2011-11-18 07:18:01 +00:00
* Fri Nov 18 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-6
- Add ibus-m17n-blacklist-engines.patch
https://lists.fedoraproject.org/pipermail/i18n/2011-October/001194.html
2011-09-29 03:47:05 +00:00
* Thu Sep 29 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-5
- Add ibus-m17n-hide-title-status.patch.
- Fix bug 741157 - ibus-m17n: m17n "title" variable appears as a
dormant button on the language panel
2011-09-16 08:18:04 +00:00
* Fri Sep 16 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-4
- Fix Indic IME symbols (thanks to pravins).
* Fri Sep 9 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.3-3
- Rebuild with the latest ibus 1.3.99.20110817-4 and eekboard 1.0.3
2011-09-02 03:02:57 +00:00
* Fri Sep 2 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-2
- Revive iok patch.
2011-09-01 10:28:55 +00:00
* Thu Sep 1 2011 Daiki Ueno <dueno@redhat.com> - 1.3.3-1
- New upstream release.
2011-09-01 10:18:22 +00:00
- Add ibus-m17n-default-xml-override.patch.
- Add ibus-m17n-virtkbd.patch, instead of ibus-m17n-iok.patch.
2011-08-09 07:01:25 +00:00
* Tue Aug 9 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-10
- Set symbol for m17n:ne:rom.
2011-08-08 01:15:01 +00:00
* Mon Aug 8 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-9
- Update ibus-m17n-xkb-options.patch.
- Don't set XKB options directly from engine but via ibus-xkb
2011-08-05 09:17:54 +00:00
* Fri Aug 5 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-8
- Update ibus-m17n-xx-icon-symbol.patch.
- Fix bug 727024 - ibus compose file needs a symbol tag for gnome-shell
- Update ibus-m17n-xkb-options.patch.
2011-07-07 05:49:41 +00:00
* Thu Jul 7 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-7
- don't specify --with-hotkey.
2011-07-07 05:37:21 +00:00
* Mon Jul 4 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-6
- Add ibus-m17n-xkb-options.patch.
- Add ibus-m17n-xx-icon-symbol.patch.
- Drop surrounding-text patches since they are included in the HEAD patch.
2011-06-15 01:22:03 +00:00
* Wed Jun 15 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-5
- Add ibus-m17n-stsreq.patch.
- Fix bug 711126 - ibus: surrounding text support fails for the first
syllable upon activation
2011-06-07 04:00:52 +00:00
* Tue Jun 7 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-4
- Add ibus-m17n-stscap.patch.
- Fix bug 711126 - ibus: surrounding text support fails for the first
syllable upon activation
2011-06-03 02:36:37 +00:00
* Mon May 23 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-3
- Update ibus-m17n-HEAD.patch.
2011-05-23 01:06:11 +00:00
* Mon May 23 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-2
- Bump the release to fix upgrade path.
- Fix bug 706602 - ibus-m17n-1.3.2-2.fc14 > ibus-m17n-1.3.2-1.fc15
- Drop preparing/cleaning buildroot.
2011-03-07 06:13:46 +00:00
* Mon Mar 7 2011 Daiki Ueno <dueno@redhat.com> - 1.3.2-1
- New upstream release.
2011-02-11 13:35:48 +00:00
* Fri Feb 11 2011 Matthias Clasen <mclasen@redhat.com> - 1.3.1-18
- Rebuild against newer gtk
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-02 18:37:10 +00:00
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> - 1.3.1-16
- Rebuild against newer gtk
2011-01-14 01:22:55 +00:00
* Fri Jan 14 2011 Daiki Ueno <dueno@redhat.com> - 1.3.1-15
- Update iok patch.
- Fix bug 669128 - [abrt] ibus-m17n-1.3.1-14.fc15:
Process /usr/libexec/ibus-engine-m17n was killed by signal 6 (SIGABRT)
2011-01-10 01:37:35 +00:00
* Sun Jan 9 2011 Matthias Clasen <mclasen@redhat.com> - 1.3.1-14
- Rebuild against newer gtk3
2010-12-27 05:52:29 +00:00
* Mon Dec 27 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-13
- Update iok patch.
2010-12-22 09:03:38 +00:00
* Wed Dec 22 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-12
- Update surrounding-text patch.
2010-12-10 06:43:35 +00:00
* Fri Dec 10 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-11
- Update ibus-m17n-HEAD.patch.
- Lower si-samanala.mim rank per request from a Sinhala user.
2010-12-08 09:25:29 +00:00
* Wed Dec 8 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-10
- Update ibus-m17n-HEAD.patch.
- Fix bug 658336 - ibus-m17n: define the IM ranks in a config file and
not in a compiled binary
2010-12-03 22:29:38 +00:00
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 1.3.1-9
- Rebuild against newer gtk3
2010-11-09 02:34:42 +00:00
* Tue Nov 9 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-8
- Apply ibus-m17n-ibus-1.4.patch for ibus-1.3.99.
- Specify backup filename for each patch.
2010-11-05 02:42:24 +00:00
* Fri Nov 5 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-7
- Rename ibus-m17n-fedora.patch to ibus-m17n-HEAD.patch since the
changes are merged into upstream.
- Update ibus-m17n-HEAD.patch with upstream fix 08e06310
- Fix bug 649230 - [si] last input character is committed late in
wijesekara input method
2010-10-22 09:22:44 +00:00
* Fri Oct 22 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-6
- Link ibus-setup-m17n with GTK+ 3.0.
2010-10-14 03:30:14 +00:00
* Tue Oct 12 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-5
- put several Fedora patches into one.
- Fix bug 640896 - Ibus does not load all the keymaps for a language
that is used for logging in.
2010-10-07 06:15:32 +00:00
* Tue Oct 5 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-4
- Remove Shift+AltGr patch; apply a simplified AltGr patch.
- Fix bug 639963 - SHIFT switch is not working in layouts as expected.
* Fri Oct 1 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-3
- Apply a patch to handle Shift+AltGr.
- Update surrounding-text patch.
- Fix bug 634829 - [abrt] ibus-m17n-1.3.1-1.fc14: shift_state: Process
/usr/libexec/ibus-engine-m17n was killed by signal 11 (SIGSEGV).
* Thu Sep 16 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-2
- Apply surrounding text patch. Bug 435880.
2010-09-03 08:30:46 +00:00
* Fri Sep 3 2010 Daiki Ueno <dueno@redhat.com> - 1.3.1-1
- Update to 1.3.1.
- Fix bug 615158 - Do not change the background colour of the pre-edit buffer
- Add gtk2-devel to BR
- Install ibus-setup-m17n in %%{_libexecdir}
2010-08-26 04:55:02 +00:00
* Thu Aug 26 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0-4
- Rebuild with ibus 1.3.7 to avoid ABI incompatibility. Bug 627256.
* Tue Jul 27 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0-3
- Update ibus-m17n-HEAD.patch.
- Fix regression with the previous update. See comment 7 of bug 614867.
2010-07-16 06:16:32 +00:00
* Fri Jul 16 2010 Daiki Ueno <dueno@redhat.com> - 1.3.0-2
- Update ibus-m17n-HEAD.patch.
- Fix bug 614867 - Invisible pre-edit buffer when using m17n Wijesekera keyboard layout
- Update iok patch.
* Mon Mar 29 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.0-1
- Update to 1.3.0.
- Update iok patch.
- Fix bug 577148 - IOK screen appears with all keyboard layouts on ibus language panel
2010-02-02 03:25:05 +00:00
* Tue Feb 02 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20100202-1
- Update to 1.2.99.20100202.
- Update iok patch.
2009-12-17 00:04:59 +00:00
* Thu Dec 17 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20091217-1
- Update to 1.2.0.20091217.
- Update iok patch.
2009-11-20 05:57:02 +00:00
* Fri Nov 20 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20091120-1
- Update to 1.2.0.20091120.
- Fix bug 530976
* Fri Oct 23 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090617-5
- Update iok patch to fix bug 530493.
* Wed Oct 14 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090617-4
- Update iok patch to fix build error.
* Tue Oct 13 2009 Parag <pnemade@redhat.com> - 1.2.0.20090617-3
- Re-enable iok support to ibus-m17n.
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.20090617-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Jun 22 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090617-1
- Update to 1.2.0.20090617.
2009-03-05 04:34:40 +00:00
* Thu Mar 05 2009 Parag <pnemade@redhat.com> - 1.1.0.20090211-4
- Add iok support to ibus-m17n.
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0.20090211-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Feb 18 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090211-2
- Add patch ibus-m17n-HEAD.patch from upstream git tree.
- Make Control + Alt + ... available. (#482789)
* Wed Feb 11 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090211-1
2009-02-11 07:47:32 +00:00
- Update to 1.1.0.20090211.
* Thu Feb 05 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090205-1
2009-02-05 07:12:31 +00:00
- Update to 1.1.0.20090205.
2008-11-29 16:47:53 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.1.20081013-4
- Rebuild for Python 2.6
* Thu Oct 16 2008 Jens Petersen <petersen@redhat.com> - 0.1.1.20081013-3
- move the .engine files to m17n-db and m17n-contrib (#466410)
* Wed Oct 15 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081013-2
- Move unicode, rfc1345 to generic package, and syrc-phonetic to syriac package.
* Mon Oct 13 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081013-1
2008-10-13 06:24:30 +00:00
- Update to 0.1.1.20081013.
* Thu Oct 09 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081009-1
2008-10-09 05:29:06 +00:00
- Update to 0.1.1.20081009.
* Mon Sep 01 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080901-1
2008-09-01 00:42:39 +00:00
- Update to 0.1.1.20080901.
* Sat Aug 23 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080823-1
2008-08-23 01:34:37 +00:00
- Update to 0.1.1.20080823.
* Fri Aug 15 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080815-1
2008-08-15 04:05:49 +00:00
- Update to 0.1.1.20080815.
* Tue Aug 12 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080812-1
2008-08-12 07:33:30 +00:00
- Update to 0.1.1.20080812.
* Thu Aug 07 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.0.20080810-1
2008-08-10 11:43:26 +00:00
- The first version.