Include support for Nuspell.
This commit is contained in:
parent
a3bd7b33df
commit
81f49d0bb6
@ -1,6 +1,6 @@
|
|||||||
Name: enchant2
|
Name: enchant2
|
||||||
Version: 2.2.15
|
Version: 2.2.15
|
||||||
Release: 2%{?snap}%{?dist}
|
Release: 3%{?snap}%{?dist}
|
||||||
Summary: An Enchanting Spell Checking Library
|
Summary: An Enchanting Spell Checking Library
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -18,6 +18,7 @@ BuildRequires: glib2-devel
|
|||||||
BuildRequires: aspell-devel
|
BuildRequires: aspell-devel
|
||||||
BuildRequires: hunspell-devel
|
BuildRequires: hunspell-devel
|
||||||
BuildRequires: libvoikko-devel
|
BuildRequires: libvoikko-devel
|
||||||
|
BuildRequires: nuspell-devel >= 4.1.0
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
@ -34,6 +35,14 @@ Requires: enchant2%{?_isa} = %{version}-%{release}
|
|||||||
%description aspell
|
%description aspell
|
||||||
Libraries necessary to integrate applications using libenchant with aspell.
|
Libraries necessary to integrate applications using libenchant with aspell.
|
||||||
|
|
||||||
|
%package nuspell
|
||||||
|
Summary: Integration with Nuspell for libenchant
|
||||||
|
Requires: enchant2%{?_isa} = %{version}-%{release}
|
||||||
|
Supplements: (enchant2 and nuspell)
|
||||||
|
|
||||||
|
%description nuspell
|
||||||
|
Libraries necessary to integrate applications using libenchant with Nuspell.
|
||||||
|
|
||||||
%package voikko
|
%package voikko
|
||||||
Summary: Integration with voikko for libenchant
|
Summary: Integration with voikko for libenchant
|
||||||
Requires: enchant2%{?_isa} = %{version}-%{release}
|
Requires: enchant2%{?_isa} = %{version}-%{release}
|
||||||
@ -64,6 +73,7 @@ autoreconf -ifv
|
|||||||
%configure \
|
%configure \
|
||||||
--with-aspell \
|
--with-aspell \
|
||||||
--with-hunspell-dir=%{_datadir}/myspell \
|
--with-hunspell-dir=%{_datadir}/myspell \
|
||||||
|
--with-nuspell \
|
||||||
--without-hspell \
|
--without-hspell \
|
||||||
--disable-static
|
--disable-static
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
|
||||||
@ -93,6 +103,9 @@ find %{buildroot} -name '*.la' -delete
|
|||||||
%files aspell
|
%files aspell
|
||||||
%{_libdir}/enchant-2/enchant_aspell.so*
|
%{_libdir}/enchant-2/enchant_aspell.so*
|
||||||
|
|
||||||
|
%files nuspell
|
||||||
|
%{_libdir}/enchant-2/enchant_nuspell.so*
|
||||||
|
|
||||||
%files voikko
|
%files voikko
|
||||||
%{_libdir}/enchant-2/enchant_voikko.so*
|
%{_libdir}/enchant-2/enchant_voikko.so*
|
||||||
|
|
||||||
@ -103,6 +116,9 @@ find %{buildroot} -name '*.la' -delete
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 2 2021 Peter Oliver <rpm@mavit.org.uk> - 2.2.15-3
|
||||||
|
- Include support for Nuspell.
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.15-2
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.15-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user