|
|
1a30a7 |
Name: enchant2
|
|
|
1a30a7 |
Version: 2.2.15
|
|
|
1a30a7 |
Release: 6%{?snap}%{?dist}
|
|
|
1a30a7 |
Summary: An Enchanting Spell Checking Library
|
|
|
1a30a7 |
|
|
|
1a30a7 |
License: LGPLv2+
|
|
|
1a30a7 |
URL: https://github.com/AbiWord/enchant
|
|
|
1a30a7 |
Source0: https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
|
|
|
1a30a7 |
|
|
|
1a30a7 |
# Look for aspell using pkg-config, instead of AC_CHECK_LIB which adds -laspell
|
|
|
1a30a7 |
# to the global LIBS and over-links libenchant (#1574893)
|
|
|
1a30a7 |
Patch0: enchant_aspell.patch
|
|
|
1a30a7 |
|
|
|
1a30a7 |
BuildRequires: automake autoconf libtool
|
|
|
1a30a7 |
|
|
|
1a30a7 |
BuildRequires: gcc-c++
|
|
|
1a30a7 |
BuildRequires: glib2-devel
|
|
|
1a30a7 |
BuildRequires: aspell-devel
|
|
|
1a30a7 |
BuildRequires: hunspell-devel
|
|
|
1a30a7 |
BuildRequires: libvoikko-devel
|
|
|
1a30a7 |
%if !0%{?rhel}
|
|
|
1a30a7 |
BuildRequires: nuspell-devel >= 4.1.0
|
|
|
1a30a7 |
%endif
|
|
|
1a30a7 |
BuildRequires: make
|
|
|
1a30a7 |
|
|
|
1a30a7 |
Provides: bundled(gnulib)
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%description
|
|
|
1a30a7 |
A library that wraps other spell checking backends.
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%package aspell
|
|
|
1a30a7 |
Summary: Integration with aspell for libenchant
|
|
|
1a30a7 |
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%description aspell
|
|
|
1a30a7 |
Libraries necessary to integrate applications using libenchant with aspell.
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%if !0%{?rhel}
|
|
|
1a30a7 |
%package nuspell
|
|
|
1a30a7 |
Summary: Integration with Nuspell for libenchant
|
|
|
1a30a7 |
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
1a30a7 |
Supplements: (enchant2 and nuspell)
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%description nuspell
|
|
|
1a30a7 |
Libraries necessary to integrate applications using libenchant with Nuspell.
|
|
|
1a30a7 |
%endif
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%package voikko
|
|
|
1a30a7 |
Summary: Integration with voikko for libenchant
|
|
|
1a30a7 |
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
1a30a7 |
Supplements: (enchant2 and langpacks-fi)
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%description voikko
|
|
|
1a30a7 |
Libraries necessary to integrate applications using libenchant with voikko.
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%package devel
|
|
|
1a30a7 |
Summary: Development files for %{name}
|
|
|
1a30a7 |
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
1a30a7 |
Requires: glib2-devel
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%description devel
|
|
|
1a30a7 |
The %{name}-devel package contains libraries and header files for
|
|
|
1a30a7 |
developing applications that use %{name}.
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%prep
|
|
|
1a30a7 |
%autosetup -p1 -n enchant-%{version}
|
|
|
1a30a7 |
|
|
|
1a30a7 |
# Needed for Patch0
|
|
|
1a30a7 |
autoreconf -ifv
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%build
|
|
|
1a30a7 |
%configure \
|
|
|
1a30a7 |
--with-aspell \
|
|
|
1a30a7 |
--with-hunspell-dir=%{_datadir}/myspell \
|
|
|
1a30a7 |
%if !0%{?rhel}
|
|
|
1a30a7 |
--with-nuspell \
|
|
|
1a30a7 |
%endif
|
|
|
1a30a7 |
--without-hspell \
|
|
|
1a30a7 |
--disable-static
|
|
|
1a30a7 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
|
|
|
1a30a7 |
s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
1a30a7 |
%make_build pkgdatadir=%{_datadir}/enchant-2
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%install
|
|
|
1a30a7 |
%make_install pkgdatadir=%{_datadir}/enchant-2
|
|
|
1a30a7 |
find %{buildroot} -name '*.la' -delete
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%ldconfig_scriptlets
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%files
|
|
|
1a30a7 |
%doc AUTHORS NEWS README
|
|
|
1a30a7 |
%license COPYING.LIB
|
|
|
1a30a7 |
%{_bindir}/enchant-2
|
|
|
1a30a7 |
%{_bindir}/enchant-lsmod-2
|
|
|
1a30a7 |
%{_libdir}/libenchant-2.so.*
|
|
|
1a30a7 |
%dir %{_libdir}/enchant-2
|
|
|
1a30a7 |
%{_libdir}/enchant-2/enchant_hunspell.so
|
|
|
1a30a7 |
%{_mandir}/man1/*
|
|
|
1a30a7 |
%{_datadir}/enchant-2
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%files aspell
|
|
|
1a30a7 |
%{_libdir}/enchant-2/enchant_aspell.so*
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%if !0%{?rhel}
|
|
|
1a30a7 |
%files nuspell
|
|
|
1a30a7 |
%{_libdir}/enchant-2/enchant_nuspell.so*
|
|
|
1a30a7 |
%endif
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%files voikko
|
|
|
1a30a7 |
%{_libdir}/enchant-2/enchant_voikko.so*
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%files devel
|
|
|
1a30a7 |
%{_libdir}/libenchant-2.so
|
|
|
1a30a7 |
%{_libdir}/pkgconfig/enchant-2.pc
|
|
|
1a30a7 |
%{_includedir}/enchant-2
|
|
|
1a30a7 |
|
|
|
1a30a7 |
|
|
|
1a30a7 |
%changelog
|
|
|
1a30a7 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.2.15-6
|
|
|
1a30a7 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
1a30a7 |
Related: rhbz#1991688
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.2.15-5
|
|
|
1a30a7 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Mon Feb 08 2021 Kalev Lember <klember@redhat.com> - 2.2.15-4
|
|
|
1a30a7 |
- Disable nuspell support for RHEL (#1925839)
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Tue Feb 2 2021 Peter Oliver <rpm@mavit.org.uk> - 2.2.15-3
|
|
|
1a30a7 |
- Include support for Nuspell.
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.15-2
|
|
|
1a30a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Wed Dec 23 2020 Sandro Mani <manisandro@gmail.com> - 2.2.15-1
|
|
|
1a30a7 |
- Update to 2.2.15
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Mon Dec 14 2020 Sandro Mani <manisandro@gmail.com> - 2.2.14-1
|
|
|
1a30a7 |
- Update to 2.2.14
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Tue Nov 03 2020 Sandro Mani <manisandro@gmail.com> - 2.2.13-1
|
|
|
1a30a7 |
- Update to 2.2.13
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Sat Oct 17 2020 Sandro Mani <manisandro@gmail.com> - 2.2.12-1
|
|
|
1a30a7 |
- Update to 2.2.12
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Tue Sep 08 2020 Sandro Mani <manisandro@gmail.com> - 2.2.11-1
|
|
|
1a30a7 |
- Update to 2.2.11
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Wed Sep 02 2020 Sandro Mani <manisandro@gmail.com> - 2.2.10-1
|
|
|
1a30a7 |
- Update to 2.2.10
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Mon Aug 24 2020 Sandro Mani <manisandro@gmail.com> - 2.2.9-1
|
|
|
1a30a7 |
- Update to 2.2.9
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.8-2
|
|
|
1a30a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Mon Mar 02 2020 Sandro Mani <manisandro@gmail.com> - 2.2.8-1
|
|
|
1a30a7 |
- Update to 2.2.8
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.7-2
|
|
|
1a30a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Sun Sep 15 2019 Sandro Mani <manisandro@gmail.com> - 2.2.7-1
|
|
|
1a30a7 |
- Update to 2.2.7
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-2
|
|
|
1a30a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Mon Jul 01 2019 Sandro Mani <manisandro@gmail.com> - 2.2.5-1
|
|
|
1a30a7 |
- Update to 2.2.5
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Fri Jun 28 2019 Sandro Mani <manisandro@gmail.com> - 2.2.4-2
|
|
|
1a30a7 |
- Add patch to fix memory leaks (#1718084)
|
|
|
1a30a7 |
- Pass --without-hspell
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Tue Jun 18 2019 Sandro Mani <manisandro@gmail.com> - 2.2.4-1
|
|
|
1a30a7 |
- Update to 2.2.4
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-6
|
|
|
1a30a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-5
|
|
|
1a30a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Fri Jun 15 2018 Sandro Mani <manisandro@gmail.com> - 2.2.3-4
|
|
|
1a30a7 |
- Add patch to avoid unnecessary linking of libenchant against libaspell (#1574893)
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Wed May 16 2018 Parag Nemade <pnemade AT redhat DOT com> - 2.2.3-3
|
|
|
1a30a7 |
- Make enchant2-voikko installed by langpacks-fi package (#1578352)
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-2
|
|
|
1a30a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Mon Feb 05 2018 Sandro Mani <manisandro@gmail.com> - 2.2.3-1
|
|
|
1a30a7 |
- Update to 2.2.3
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Wed Jan 03 2018 Sandro Mani <manisandro@gmail.com> - 2.2.1-1
|
|
|
1a30a7 |
- Update to 2.2.1
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Thu Dec 14 2017 Sandro Mani <manisandro@gmail.com> - 2.2.0-2
|
|
|
1a30a7 |
- Add patch to fix FSF addresses
|
|
|
1a30a7 |
- Kill rpath
|
|
|
1a30a7 |
|
|
|
1a30a7 |
* Wed Dec 13 2017 Sandro Mani <manisandro@gmail.com> - 2.2.0-1
|
|
|
1a30a7 |
- Initial package
|