|
|
f6c202 |
Name: enchant2
|
|
|
f6c202 |
Version: 2.2.3
|
|
|
f6c202 |
Release: 2%{?snap}%{?dist}
|
|
|
f6c202 |
Summary: An Enchanting Spell Checking Library
|
|
|
f6c202 |
|
|
|
f6c202 |
License: LGPLv2+
|
|
|
f6c202 |
URL: https://github.com/AbiWord/enchant
|
|
|
f6c202 |
Source0: https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
|
|
|
f6c202 |
|
|
|
f6c202 |
BuildRequires: glib2-devel
|
|
|
f6c202 |
BuildRequires: aspell-devel
|
|
|
f6c202 |
BuildRequires: hunspell-devel
|
|
|
f6c202 |
BuildRequires: libvoikko-devel
|
|
|
f6c202 |
|
|
|
f6c202 |
Provides: bundled(gnulib)
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%description
|
|
|
f6c202 |
A library that wraps other spell checking backends.
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%package aspell
|
|
|
f6c202 |
Summary: Integration with aspell for libenchant
|
|
|
f6c202 |
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
f6c202 |
|
|
|
f6c202 |
%description aspell
|
|
|
f6c202 |
Libraries necessary to integrate applications using libenchant with aspell.
|
|
|
f6c202 |
|
|
|
f6c202 |
%package voikko
|
|
|
f6c202 |
Summary: Integration with voikko for libenchant
|
|
|
f6c202 |
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
f6c202 |
|
|
|
f6c202 |
%description voikko
|
|
|
f6c202 |
Libraries necessary to integrate applications using libenchant with voikko.
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%package devel
|
|
|
f6c202 |
Summary: Development files for %{name}
|
|
|
f6c202 |
Requires: enchant2%{?_isa} = %{version}-%{release}
|
|
|
f6c202 |
Requires: glib2-devel
|
|
|
f6c202 |
|
|
|
f6c202 |
%description devel
|
|
|
f6c202 |
The %{name}-devel package contains libraries and header files for
|
|
|
f6c202 |
developing applications that use %{name}.
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%prep
|
|
|
f6c202 |
%autosetup -p1 -n enchant-%{version}
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%build
|
|
|
f6c202 |
%configure \
|
|
|
f6c202 |
--with-aspell \
|
|
|
f6c202 |
--with-hunspell-dir=%{_datadir}/myspell \
|
|
|
f6c202 |
--disable-static
|
|
|
f6c202 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
|
|
|
f6c202 |
s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
f6c202 |
%make_build pkgdatadir=%{_datadir}/enchant-2
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%install
|
|
|
f6c202 |
%make_install pkgdatadir=%{_datadir}/enchant-2
|
|
|
f6c202 |
find %{buildroot} -name '*.la' -delete
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%post -p /sbin/ldconfig
|
|
|
f6c202 |
|
|
|
f6c202 |
%postun -p /sbin/ldconfig
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%files
|
|
|
f6c202 |
%doc AUTHORS NEWS README
|
|
|
f6c202 |
%license COPYING.LIB
|
|
|
f6c202 |
%{_bindir}/enchant-2
|
|
|
f6c202 |
%{_bindir}/enchant-lsmod-2
|
|
|
f6c202 |
%{_libdir}/libenchant-2.so.*
|
|
|
f6c202 |
%dir %{_libdir}/enchant-2
|
|
|
f6c202 |
%{_libdir}/enchant-2/enchant_hunspell.so
|
|
|
f6c202 |
%{_mandir}/man1/*
|
|
|
f6c202 |
%{_datadir}/enchant-2
|
|
|
f6c202 |
|
|
|
f6c202 |
%files aspell
|
|
|
f6c202 |
%{_libdir}/enchant-2/enchant_aspell.so*
|
|
|
f6c202 |
|
|
|
f6c202 |
%files voikko
|
|
|
f6c202 |
%{_libdir}/enchant-2/enchant_voikko.so*
|
|
|
f6c202 |
|
|
|
f6c202 |
%files devel
|
|
|
f6c202 |
%{_libdir}/libenchant-2.so
|
|
|
f6c202 |
%{_libdir}/pkgconfig/enchant-2.pc
|
|
|
f6c202 |
%{_includedir}/enchant-2
|
|
|
f6c202 |
|
|
|
f6c202 |
|
|
|
f6c202 |
%changelog
|
|
|
f6c202 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-2
|
|
|
f6c202 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f6c202 |
|
|
|
f6c202 |
* Mon Feb 05 2018 Sandro Mani <manisandro@gmail.com> - 2.2.3-1
|
|
|
f6c202 |
- Update to 2.2.3
|
|
|
f6c202 |
|
|
|
f6c202 |
* Wed Jan 03 2018 Sandro Mani <manisandro@gmail.com> - 2.2.1-1
|
|
|
f6c202 |
- Update to 2.2.1
|
|
|
f6c202 |
|
|
|
f6c202 |
* Thu Dec 14 2017 Sandro Mani <manisandro@gmail.com> - 2.2.0-2
|
|
|
f6c202 |
- Add patch to fix FSF addresses
|
|
|
f6c202 |
- Kill rpath
|
|
|
f6c202 |
|
|
|
f6c202 |
* Wed Dec 13 2017 Sandro Mani <manisandro@gmail.com> - 2.2.0-1
|
|
|
f6c202 |
- Initial package
|