Resolves:rhbz#1967892 - Add conditional for anthy module subpackage
This commit is contained in:
parent
81df5a36fa
commit
bc3f3eb9c9
@ -1,9 +1,13 @@
|
|||||||
# note this duplicates native anthy IMEs
|
# note this duplicates native anthy IMEs
|
||||||
|
%if 0%{?fedora}
|
||||||
%bcond_without anthy
|
%bcond_without anthy
|
||||||
|
%else
|
||||||
|
%bcond_with anthy
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: m17n-lib
|
Name: m17n-lib
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: Multilingual text library
|
Summary: Multilingual text library
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -37,13 +41,14 @@ the input of many languages with the input table maps from m17n-db.
|
|||||||
|
|
||||||
The package provides the core and input method backend libraries.
|
The package provides the core and input method backend libraries.
|
||||||
|
|
||||||
|
%if %{with anthy}
|
||||||
%package anthy
|
%package anthy
|
||||||
Summary: Anthy module for m17n
|
Summary: Anthy module for m17n
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description anthy
|
%description anthy
|
||||||
Anthy module for %{name} allows ja-anthy.mim to support input conversion.
|
Anthy module for %{name} allows ja-anthy.mim to support input conversion.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
@ -80,6 +85,10 @@ make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|||||||
# fix bug rh#680363
|
# fix bug rh#680363
|
||||||
rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-ispell.so
|
rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-ispell.so
|
||||||
|
|
||||||
|
%if %{without anthy}
|
||||||
|
rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-anthy.so
|
||||||
|
%endif
|
||||||
|
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
@ -98,8 +107,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_libdir}/libm17n-flt.so.*
|
%{_libdir}/libm17n-flt.so.*
|
||||||
|
|
||||||
#Anthy module
|
#Anthy module
|
||||||
|
%if %{with anthy}
|
||||||
%files anthy
|
%files anthy
|
||||||
%{_libdir}/m17n/1.0/libmimx-anthy.so
|
%{_libdir}/m17n/1.0/libmimx-anthy.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
@ -116,6 +127,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_libdir}/libm17n-gui.so.*
|
%{_libdir}/libm17n-gui.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Tue May 25 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-11
|
||||||
- Resolves:rhbz#1961998 - Add gating tests from rhel-8
|
- Resolves:rhbz#1961998 - Add gating tests from rhel-8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user