Drop aspell subpackage (#2218153)
This commit is contained in:
parent
28e1e137b6
commit
60b363e0d0
@ -6,23 +6,18 @@
|
|||||||
|
|
||||||
Name: enchant2
|
Name: enchant2
|
||||||
Version: 2.5.0
|
Version: 2.5.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: An Enchanting Spell Checking Library
|
Summary: An Enchanting Spell Checking Library
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/AbiWord/enchant
|
URL: https://github.com/AbiWord/enchant
|
||||||
Source0: https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
|
Source0: https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
|
||||||
|
|
||||||
# Look for aspell using pkg-config, instead of AC_CHECK_LIB which adds -laspell
|
|
||||||
# to the global LIBS and over-links libenchant (#1574893)
|
|
||||||
Patch0: enchant_aspell.patch
|
|
||||||
|
|
||||||
BuildRequires: automake autoconf libtool
|
BuildRequires: automake autoconf libtool
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: aspell-devel
|
|
||||||
BuildRequires: hunspell-devel
|
BuildRequires: hunspell-devel
|
||||||
BuildRequires: libvoikko-devel
|
BuildRequires: libvoikko-devel
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
@ -49,20 +44,13 @@ BuildRequires: mingw64-nuspell
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
|
Obsoletes: enchant2-aspell < 2.5.0-2
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library that wraps other spell checking backends.
|
A library that wraps other spell checking backends.
|
||||||
|
|
||||||
|
|
||||||
%package aspell
|
|
||||||
Summary: Integration with aspell for libenchant
|
|
||||||
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
||||||
Supplements: (enchant2 and aspell)
|
|
||||||
|
|
||||||
%description aspell
|
|
||||||
Libraries necessary to integrate applications using libenchant with aspell.
|
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
%package nuspell
|
%package nuspell
|
||||||
Summary: Integration with Nuspell for libenchant
|
Summary: Integration with Nuspell for libenchant
|
||||||
@ -126,7 +114,6 @@ mkdir build_native
|
|||||||
pushd build_native
|
pushd build_native
|
||||||
%define _configure ../configure
|
%define _configure ../configure
|
||||||
%configure \
|
%configure \
|
||||||
--with-aspell \
|
|
||||||
--with-hunspell-dir=%{_datadir}/hunspell \
|
--with-hunspell-dir=%{_datadir}/hunspell \
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
--with-nuspell \
|
--with-nuspell \
|
||||||
@ -181,9 +168,6 @@ find %{buildroot} -name '*.la' -delete
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_datadir}/enchant-2
|
%{_datadir}/enchant-2
|
||||||
|
|
||||||
%files aspell
|
|
||||||
%{_libdir}/enchant-2/enchant_aspell.so*
|
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
%files nuspell
|
%files nuspell
|
||||||
%{_libdir}/enchant-2/enchant_nuspell.so*
|
%{_libdir}/enchant-2/enchant_nuspell.so*
|
||||||
@ -240,6 +224,9 @@ find %{buildroot} -name '*.la' -delete
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 04 2023 Sandro Mani <manisandro@gmail.com> - 2.5.0-2
|
||||||
|
- Drop aspell subpackage (#2218153)
|
||||||
|
|
||||||
* Wed May 24 2023 Sandro Mani <manisandro@gmail.com> - 2.5.0-1
|
* Wed May 24 2023 Sandro Mani <manisandro@gmail.com> - 2.5.0-1
|
||||||
- Update to 2.5.0
|
- Update to 2.5.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user