|
|
|
@ -1,22 +1,13 @@
|
|
|
|
|
# note this duplicates native anthy IMEs
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%bcond_without anthy
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with anthy
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: m17n-lib
|
|
|
|
|
Version: 1.8.0
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Multilingual text library
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://www.nongnu.org/m17n/
|
|
|
|
|
Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: %{name}-1.8.0-multilib.patch
|
|
|
|
|
Patch1: Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: m17n-db-devel libthai-devel
|
|
|
|
|
BuildRequires: libxml2-devel libXft-devel
|
|
|
|
|
BuildRequires: fontconfig-devel freetype-devel
|
|
|
|
@ -25,14 +16,6 @@ BuildRequires: libXaw-devel libotf-devel
|
|
|
|
|
BuildRequires: autoconf gettext-devel
|
|
|
|
|
BuildRequires: automake libtool
|
|
|
|
|
|
|
|
|
|
# The upstream source contains part of gnulib
|
|
|
|
|
# library which includes directories intl and m4
|
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
|
|
|
|
|
%if %{with anthy}
|
|
|
|
|
BuildRequires: anthy-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: m17n-db
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -41,15 +24,6 @@ the input of many languages with the input table maps from m17n-db.
|
|
|
|
|
|
|
|
|
|
The package provides the core and input method backend libraries.
|
|
|
|
|
|
|
|
|
|
%if %{with anthy}
|
|
|
|
|
%package anthy
|
|
|
|
|
Summary: Anthy module for m17n
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description anthy
|
|
|
|
|
Anthy module for %{name} allows ja-anthy.mim to support input conversion.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}-tools = %{version}-%{release}
|
|
|
|
@ -68,7 +42,7 @@ Tools to test M17n GUI widget library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
#autoreconf -ivf
|
|
|
|
@ -85,15 +59,16 @@ make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
|
|
# fix bug rh#680363
|
|
|
|
|
rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-ispell.so
|
|
|
|
|
|
|
|
|
|
%if %{without anthy}
|
|
|
|
|
# fix for bug rh#1587975
|
|
|
|
|
rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-anthy.so
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets tools
|
|
|
|
|
%post tools -p /sbin/ldconfig
|
|
|
|
|
%postun tools -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS NEWS ChangeLog README
|
|
|
|
@ -106,12 +81,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
%{_libdir}/libm17n-core.so.*
|
|
|
|
|
%{_libdir}/libm17n-flt.so.*
|
|
|
|
|
|
|
|
|
|
#Anthy module
|
|
|
|
|
%if %{with anthy}
|
|
|
|
|
%files anthy
|
|
|
|
|
%{_libdir}/m17n/1.0/libmimx-anthy.so
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
@ -127,43 +96,12 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
%{_libdir}/libm17n-gui.so.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.0-13
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Mon Jun 07 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-12
|
|
|
|
|
- Resolves:rhbz#1967892 - Add conditional for anthy module subpackage
|
|
|
|
|
|
|
|
|
|
* Tue May 25 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-11
|
|
|
|
|
- Resolves:rhbz#1961998 - Add gating tests from rhel-8
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.0-10
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Apr 30 2019 Mike FABIAN <mfabian@redhat.com> - 1.8.0-5
|
|
|
|
|
- Fix segmentation fault when using ibus-m17n with vi-telex in gedit in Gnome Wayland
|
|
|
|
|
- Resolves: rhbz#1704156
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 26 2018 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-3
|
|
|
|
|
- Added Provides: bundled(gnulib)
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.8.0-2
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Wed Jun 06 2018 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-2
|
|
|
|
|
- Drop Anthy support in favor of libkkc
|
|
|
|
|
- Resolves: rh#1587975
|
|
|
|
|
|
|
|
|
|
* Sat Feb 10 2018 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-1
|
|
|
|
|
- Update to 1.8.0 version (#1543670)
|
|
|
|
|