|
|
@ -1,24 +1,34 @@
|
|
|
|
%global require_ibus_version 1.4.0
|
|
|
|
%global require_ibus_version 1.4.0
|
|
|
|
|
|
|
|
|
|
|
|
Name: ibus-m17n
|
|
|
|
Name: ibus-m17n
|
|
|
|
Version: 1.4.4
|
|
|
|
Version: 1.3.4
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 26%{?dist}
|
|
|
|
Summary: The M17N engine for IBus platform
|
|
|
|
Summary: The M17N engine for IBus platform
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://github.com/ibus/ibus-m17n
|
|
|
|
URL: https://github.com/ibus/ibus-m17n
|
|
|
|
Source0: https://github.com/ibus/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/ibus/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
# Upstreamed patches:
|
|
|
|
# Upstreamed patches:
|
|
|
|
|
|
|
|
Patch0: ibus-m17n-HEAD.patch
|
|
|
|
|
|
|
|
Patch1: ibus-m17n-fix-data-location.patch
|
|
|
|
|
|
|
|
Patch2: ibus-m17n-fix-preedit-color.patch
|
|
|
|
|
|
|
|
Patch3: ibus-m17n-fix-preferences-ui.patch
|
|
|
|
|
|
|
|
Patch4: ibus-m17n-content-type.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fedora specific patches:
|
|
|
|
# Fedora specific patches:
|
|
|
|
# Enable lv3:ralt_switch option for some Indic engines in default.xml.
|
|
|
|
# Enable lv3:ralt_switch option for some Indic engines in default.xml.
|
|
|
|
Patch100: ibus-m17n-xkb-options.patch
|
|
|
|
Patch100: ibus-m17n-xkb-options.patch
|
|
|
|
# Don't make the status button clickable (maybe obsolete).
|
|
|
|
# Don't make the status button clickable (maybe obsolete).
|
|
|
|
Patch101: ibus-m17n-hide-title-status.patch
|
|
|
|
Patch101: ibus-m17n-hide-title-status.patch
|
|
|
|
|
|
|
|
# Use gettext-0.19 instead of intltool
|
|
|
|
|
|
|
|
Patch102: ibus-m17n-gettext-0.19.patch
|
|
|
|
# Use ar-kbd as default keymap for Arabic
|
|
|
|
# Use ar-kbd as default keymap for Arabic
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1076945
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1076945
|
|
|
|
Patch103: ibus-m17n-enable-ar-kbd.patch
|
|
|
|
Patch103: ibus-m17n-enable-ar-kbd.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The following BR is for autogen and not necessary when packging
|
|
|
|
|
|
|
|
# released tarballs.
|
|
|
|
BuildRequires: gettext-devel >= 0.19
|
|
|
|
BuildRequires: gettext-devel >= 0.19
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig
|
|
|
@ -27,8 +37,6 @@ BuildRequires: m17n-lib-devel
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: ibus-devel >= %{require_ibus_version}
|
|
|
|
BuildRequires: ibus-devel >= %{require_ibus_version}
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: ibus >= %{require_ibus_version}
|
|
|
|
Requires: ibus >= %{require_ibus_version}
|
|
|
|
Requires: m17n-lib
|
|
|
|
Requires: m17n-lib
|
|
|
@ -40,94 +48,78 @@ the input table maps from m17n-db.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%patch0 -p1 -b .HEAD
|
|
|
|
|
|
|
|
%patch1 -p1 -b .fix-data-location
|
|
|
|
|
|
|
|
%patch2 -p1 -b .fix-preedit-color
|
|
|
|
|
|
|
|
%patch3 -p1 -b .fix-preferences-ui
|
|
|
|
|
|
|
|
%patch4 -p1 -b .content-type
|
|
|
|
%patch100 -p1 -b .xkb-options
|
|
|
|
%patch100 -p1 -b .xkb-options
|
|
|
|
%patch101 -p1 -b .hide-title-status
|
|
|
|
%patch101 -p1 -b .hide-title-status
|
|
|
|
|
|
|
|
%patch102 -p1 -b .gettext-0.19
|
|
|
|
%patch103 -p1 -b .enable-ar-kbd
|
|
|
|
%patch103 -p1 -b .enable-ar-kbd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --disable-static --with-gtk=3.0
|
|
|
|
%configure --disable-static --with-gtk=3.0
|
|
|
|
# make -C po update-gmo
|
|
|
|
# make -C po update-gmo
|
|
|
|
%{make_build}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
# Register as an AppStream component to be visible in the software center
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
|
|
|
|
|
|
|
# project, translated and installed into the right place during `make install`.
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
|
|
|
|
|
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/m17n.appdata.xml <<EOF
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<component type="inputmethod">
|
|
|
|
|
|
|
|
<id>m17n.xml</id>
|
|
|
|
|
|
|
|
<metadata_license>CC0-1.0</metadata_license>
|
|
|
|
|
|
|
|
<name>Multilingualization</name>
|
|
|
|
|
|
|
|
<summary>Multilingualization input method</summary>
|
|
|
|
|
|
|
|
<description>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
The multilingualization input method allows entering many languages using the
|
|
|
|
|
|
|
|
tables from the m17n library.
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Input methods are typing systems allowing users to input complex languages.
|
|
|
|
|
|
|
|
They are necessary because these contain too many characters to simply be laid
|
|
|
|
|
|
|
|
out on a traditional keyboard.
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</description>
|
|
|
|
|
|
|
|
<url type="homepage">https://github.com/ibus/ibus-m17n</url>
|
|
|
|
|
|
|
|
<compulsory_for_desktop>GNOME</compulsory_for_desktop>
|
|
|
|
|
|
|
|
<project_group>GNOME</project_group>
|
|
|
|
|
|
|
|
<developer_name>The GNOME Project</developer_name>
|
|
|
|
|
|
|
|
<url type="bugtracker">https://code.google.com/p/ibus/issues/list</url>
|
|
|
|
|
|
|
|
<url type="donation">http://www.gnome.org/friends/</url>
|
|
|
|
|
|
|
|
<url type="help">https://code.google.com/p/ibus/wiki/FAQ</url>
|
|
|
|
|
|
|
|
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
|
|
|
|
|
|
|
</component>
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
|
|
|
|
|
|
|
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-m17n.desktop
|
|
|
|
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-m17n.desktop
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc AUTHORS README
|
|
|
|
%doc AUTHORS README
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%{_datadir}/metainfo/m17n.appdata.xml
|
|
|
|
%{_datadir}/appdata/*.appdata.xml
|
|
|
|
%{_datadir}/ibus-m17n
|
|
|
|
%{_datadir}/ibus-m17n
|
|
|
|
%{_libexecdir}/ibus-engine-m17n
|
|
|
|
%{_libexecdir}/ibus-engine-m17n
|
|
|
|
%{_libexecdir}/ibus-setup-m17n
|
|
|
|
%{_libexecdir}/ibus-setup-m17n
|
|
|
|
%{_datadir}/ibus/component/*
|
|
|
|
%{_datadir}/ibus/component/*
|
|
|
|
%{_datadir}/applications/ibus-setup-m17n.desktop
|
|
|
|
%{_datadir}/applications/ibus-setup-m17n.desktop
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.m17n.gschema.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.4-3
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.4-2
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 28 2021 Mike FABIAN <mfabian@redhat.com> - 1.4.4-1
|
|
|
|
|
|
|
|
- Update to 1.4.4
|
|
|
|
|
|
|
|
- Translation update from Weblate, zh_CN now 100% complete.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 20 2020 Mike FABIAN <mfabian@redhat.com> - 1.4.3-1
|
|
|
|
|
|
|
|
- Update to 1.4.3
|
|
|
|
|
|
|
|
- New translation: es (Spanish) 100%.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Apr 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 1.4.2-4
|
|
|
|
|
|
|
|
- No need to call autogen.sh in %%prep section
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 1.4.2-3
|
|
|
|
|
|
|
|
- Use make_build and make_install macros
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 20 2020 Mike FABIAN <mfabian@redhat.com> - 1.4.2-1
|
|
|
|
|
|
|
|
- Update to 1.4.2
|
|
|
|
|
|
|
|
- New translations: tr (Turkish) 100%, uk (Ukrainian) 100%,
|
|
|
|
|
|
|
|
id (Indonesian) 100%, ja_JP (Japanese) 100%.
|
|
|
|
|
|
|
|
- Translation updates: zh_CN, pt_BR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 25 2018 Mike FABIAN <mfabian@redhat.com> - 1.4.1-1
|
|
|
|
|
|
|
|
- Update to 1.4.1
|
|
|
|
|
|
|
|
- Fix for google code issue 1781 in ibus-m17n for kk (Correct symbols for kk input methods)
|
|
|
|
|
|
|
|
- Add German translations
|
|
|
|
|
|
|
|
- Add m17n.appdata.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 23 2018 Mike FABIAN <mfabian@redhat.com> - 1.4.0-1
|
|
|
|
|
|
|
|
- Update to 1.4.0
|
|
|
|
|
|
|
|
- Migration from IBusConfig to GSettings
|
|
|
|
|
|
|
|
- Remove patches which are included upstream now
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-27
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 22 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.3.4-26
|
|
|
|
* Fri Jun 22 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.3.4-26
|
|
|
|
- Fix the upstream URL and Source0 tags
|
|
|
|
- Fix the upstream URL and Source0 tags
|
|
|
|
|
|
|
|
|
|
|
|