2017-12-14 23:10:19 +00:00
|
|
|
Name: enchant2
|
2020-10-17 19:38:35 +00:00
|
|
|
Version: 2.2.12
|
2020-08-24 09:27:20 +00:00
|
|
|
Release: 1%{?snap}%{?dist}
|
2017-12-14 23:10:19 +00:00
|
|
|
Summary: An Enchanting Spell Checking Library
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://github.com/AbiWord/enchant
|
|
|
|
Source0: https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
|
|
|
|
|
2018-06-14 22:29:37 +00:00
|
|
|
# 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
|
|
|
|
|
2018-07-15 20:23:44 +00:00
|
|
|
BuildRequires: gcc-c++
|
2017-12-14 23:10:19 +00:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: aspell-devel
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
BuildRequires: libvoikko-devel
|
|
|
|
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library that wraps other spell checking backends.
|
|
|
|
|
|
|
|
|
|
|
|
%package aspell
|
|
|
|
Summary: Integration with aspell for libenchant
|
|
|
|
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description aspell
|
|
|
|
Libraries necessary to integrate applications using libenchant with aspell.
|
|
|
|
|
|
|
|
%package voikko
|
|
|
|
Summary: Integration with voikko for libenchant
|
|
|
|
Requires: enchant2%{?_isa} = %{version}-%{release}
|
2018-05-16 05:58:40 +00:00
|
|
|
Supplements: (enchant2 and langpacks-fi)
|
2017-12-14 23:10:19 +00:00
|
|
|
|
|
|
|
%description voikko
|
|
|
|
Libraries necessary to integrate applications using libenchant with voikko.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: glib2-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n enchant-%{version}
|
|
|
|
|
2018-06-14 22:29:37 +00:00
|
|
|
# Needed for Patch0
|
|
|
|
autoreconf -ifv
|
|
|
|
|
2017-12-14 23:10:19 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-aspell \
|
|
|
|
--with-hunspell-dir=%{_datadir}/myspell \
|
2019-06-28 11:00:21 +00:00
|
|
|
--without-hspell \
|
2017-12-14 23:10:19 +00:00
|
|
|
--disable-static
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
|
|
|
|
s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
%make_build pkgdatadir=%{_datadir}/enchant-2
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install pkgdatadir=%{_datadir}/enchant-2
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
|
|
|
|
|
2019-01-22 17:38:53 +00:00
|
|
|
%ldconfig_scriptlets
|
2017-12-14 23:10:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%license COPYING.LIB
|
|
|
|
%{_bindir}/enchant-2
|
|
|
|
%{_bindir}/enchant-lsmod-2
|
|
|
|
%{_libdir}/libenchant-2.so.*
|
|
|
|
%dir %{_libdir}/enchant-2
|
|
|
|
%{_libdir}/enchant-2/enchant_hunspell.so
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_datadir}/enchant-2
|
|
|
|
|
|
|
|
%files aspell
|
|
|
|
%{_libdir}/enchant-2/enchant_aspell.so*
|
|
|
|
|
|
|
|
%files voikko
|
|
|
|
%{_libdir}/enchant-2/enchant_voikko.so*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libenchant-2.so
|
|
|
|
%{_libdir}/pkgconfig/enchant-2.pc
|
|
|
|
%{_includedir}/enchant-2
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-10-17 19:38:35 +00:00
|
|
|
* Sat Oct 17 2020 Sandro Mani <manisandro@gmail.com> - 2.2.12-1
|
|
|
|
- Update to 2.2.12
|
|
|
|
|
2020-09-08 08:54:18 +00:00
|
|
|
* Tue Sep 08 2020 Sandro Mani <manisandro@gmail.com> - 2.2.11-1
|
|
|
|
- Update to 2.2.11
|
|
|
|
|
2020-09-02 09:11:24 +00:00
|
|
|
* Wed Sep 02 2020 Sandro Mani <manisandro@gmail.com> - 2.2.10-1
|
|
|
|
- Update to 2.2.10
|
|
|
|
|
2020-08-24 09:27:20 +00:00
|
|
|
* Mon Aug 24 2020 Sandro Mani <manisandro@gmail.com> - 2.2.9-1
|
|
|
|
- Update to 2.2.9
|
|
|
|
|
2020-07-27 16:34:06 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-03-02 10:02:43 +00:00
|
|
|
* Mon Mar 02 2020 Sandro Mani <manisandro@gmail.com> - 2.2.8-1
|
|
|
|
- Update to 2.2.8
|
|
|
|
|
2020-01-28 17:20:23 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-09-15 08:16:59 +00:00
|
|
|
* Sun Sep 15 2019 Sandro Mani <manisandro@gmail.com> - 2.2.7-1
|
|
|
|
- Update to 2.2.7
|
|
|
|
|
2019-07-24 23:30:01 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-01 12:50:15 +00:00
|
|
|
* Mon Jul 01 2019 Sandro Mani <manisandro@gmail.com> - 2.2.5-1
|
|
|
|
- Update to 2.2.5
|
|
|
|
|
2019-06-28 11:00:21 +00:00
|
|
|
* Fri Jun 28 2019 Sandro Mani <manisandro@gmail.com> - 2.2.4-2
|
|
|
|
- Add patch to fix memory leaks (#1718084)
|
|
|
|
- Pass --without-hspell
|
|
|
|
|
2019-06-18 07:53:31 +00:00
|
|
|
* Tue Jun 18 2019 Sandro Mani <manisandro@gmail.com> - 2.2.4-1
|
|
|
|
- Update to 2.2.4
|
|
|
|
|
2019-01-31 18:40:05 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 23:52:51 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-14 22:29:37 +00:00
|
|
|
* Fri Jun 15 2018 Sandro Mani <manisandro@gmail.com> - 2.2.3-4
|
|
|
|
- Add patch to avoid unnecessary linking of libenchant against libaspell (#1574893)
|
|
|
|
|
2018-05-16 05:58:40 +00:00
|
|
|
* Wed May 16 2018 Parag Nemade <pnemade AT redhat DOT com> - 2.2.3-3
|
|
|
|
- Make enchant2-voikko installed by langpacks-fi package (#1578352)
|
|
|
|
|
2018-02-07 08:29:17 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-05 09:59:39 +00:00
|
|
|
* Mon Feb 05 2018 Sandro Mani <manisandro@gmail.com> - 2.2.3-1
|
|
|
|
- Update to 2.2.3
|
|
|
|
|
2018-01-03 22:14:59 +00:00
|
|
|
* Wed Jan 03 2018 Sandro Mani <manisandro@gmail.com> - 2.2.1-1
|
|
|
|
- Update to 2.2.1
|
|
|
|
|
2017-12-14 23:10:19 +00:00
|
|
|
* Thu Dec 14 2017 Sandro Mani <manisandro@gmail.com> - 2.2.0-2
|
|
|
|
- Add patch to fix FSF addresses
|
|
|
|
- Kill rpath
|
|
|
|
|
|
|
|
* Wed Dec 13 2017 Sandro Mani <manisandro@gmail.com> - 2.2.0-1
|
|
|
|
- Initial package
|