0f78a4
Summary: An Enchanting Spell Checking Library
0f78a4
Name: enchant
0f78a4
Version: 1.6.0
0f78a4
Release: 30%{?dist}
0f78a4
Epoch: 1
0f78a4
License: LGPLv2+
0f78a4
Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
0f78a4
URL: http://www.abisource.com/
0f78a4
BuildRequires:  gcc-c++
0f78a4
BuildRequires: glib2-devel >= 2.6.0
0f78a4
BuildRequires: aspell-devel
0f78a4
BuildRequires: hunspell-devel
0f78a4
BuildRequires: libvoikko-devel
0f78a4
BuildRequires: automake, libtool
0f78a4
BuildRequires: make
0f78a4
0f78a4
Patch01: enchant-1.6.0-manpages.patch
0f78a4
0f78a4
%description
0f78a4
A library that wraps other spell checking backends.
0f78a4
0f78a4
%package aspell
0f78a4
Summary: Integration with aspell for libenchant
0f78a4
Requires: enchant = %{epoch}:%{version}-%{release}
0f78a4
0f78a4
%description aspell
0f78a4
Libraries necessary to integrate applications using libenchant with aspell.
0f78a4
0f78a4
%package voikko
0f78a4
Summary: Integration with voikko for libenchant
0f78a4
Requires: enchant = %{epoch}:%{version}-%{release}
0f78a4
0f78a4
%description voikko
0f78a4
Libraries necessary to integrate applications using libenchant with voikko.
0f78a4
0f78a4
0f78a4
%package devel
0f78a4
Summary: Support files necessary to compile applications with libenchant.
0f78a4
Requires: enchant = %{epoch}:%{version}-%{release}
0f78a4
Requires: glib2-devel
0f78a4
0f78a4
%description devel
0f78a4
Libraries, headers, and support files necessary to compile applications using libenchant.
0f78a4
0f78a4
%prep
0f78a4
%setup -q
0f78a4
%patch01 -p1 -b .manpage-lsmod
0f78a4
0f78a4
%build
0f78a4
%configure --enable-myspell --with-myspell-dir=/usr/share/myspell --disable-static --disable-ispell --disable-hspell --disable-zemberek
0f78a4
make %{?_smp_mflags}
0f78a4
0f78a4
%install
0f78a4
rm -rf $RPM_BUILD_ROOT
0f78a4
make DESTDIR=$RPM_BUILD_ROOT install
0f78a4
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
0f78a4
rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
0f78a4
0f78a4
%files
0f78a4
%doc AUTHORS COPYING.LIB README
0f78a4
%{_bindir}/*
0f78a4
%{_libdir}/lib*.so.*
0f78a4
%dir %{_libdir}/enchant
0f78a4
%{_libdir}/enchant/lib*myspell.so*
0f78a4
%{_mandir}/man1/enchant.1*
0f78a4
%{_mandir}/man1/enchant-lsmod.1.gz
0f78a4
%{_datadir}/enchant
0f78a4
0f78a4
%files aspell
0f78a4
%{_libdir}/enchant/lib*aspell.so*
0f78a4
0f78a4
%files voikko
0f78a4
%{_libdir}/enchant/lib*_voikko.so*
0f78a4
0f78a4
%files devel
0f78a4
%{_libdir}/*.so
0f78a4
%{_libdir}/pkgconfig/enchant.pc
0f78a4
%{_includedir}/enchant
0f78a4
0f78a4
%ldconfig_scriptlets
0f78a4
0f78a4
%changelog
0f78a4
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.6.0-30
0f78a4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
0f78a4
  Related: rhbz#1991688
0f78a4
0f78a4
* Mon May 17 2021 Milan Crha <mcrha@redhat.com> - 1:1.6.0-29
0f78a4
- Resolves: #1961175 (Missing man page for enchant-lsmod)
0f78a4
0f78a4
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.6.0-28
0f78a4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
0f78a4
0f78a4
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-27
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0f78a4
0f78a4
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-26
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0f78a4
0f78a4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-25
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0f78a4
0f78a4
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-24
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0f78a4
0f78a4
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-23
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0f78a4
0f78a4
* Tue Nov 13 2018 Caolán McNamara <caolanm@redhat.com> - 1:1.6.0-22
0f78a4
- rebuild for hunspell 1.7.0
0f78a4
0f78a4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-21
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0f78a4
0f78a4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-20
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0f78a4
0f78a4
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.6.0-19
0f78a4
- Switch to %%ldconfig_scriptlets
0f78a4
0f78a4
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-18
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0f78a4
0f78a4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-17
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0f78a4
0f78a4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-16
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0f78a4
0f78a4
* Tue Dec 13 2016 Caolán McNamara <caolanm@redhat.com> - 1:1.6.0-15
0f78a4
- rebuild for hunspell 1.5.4
0f78a4
0f78a4
* Mon Apr 18 2016 Caolán McNamara <caolanm@redhat.com> - 1:1.6.0-14
0f78a4
- rebuild for hunspell 1.4.0
0f78a4
0f78a4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-13
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0f78a4
0f78a4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-12
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0f78a4
0f78a4
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1:1.6.0-11
0f78a4
- Rebuilt for GCC 5 C++11 ABI change
0f78a4
0f78a4
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1:1.6.0-10
0f78a4
- Rebuilt for Fedora 23 Change
0f78a4
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
0f78a4
0f78a4
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-9
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0f78a4
0f78a4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-8
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0f78a4
0f78a4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-7
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0f78a4
0f78a4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-6
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0f78a4
0f78a4
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-5
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0f78a4
0f78a4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-4
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0f78a4
0f78a4
* Tue May 24 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.6.0-3
0f78a4
- Rebuild for new hunspell
0f78a4
0f78a4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-2
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0f78a4
0f78a4
* Thu Apr 01 2010 Marc Maurer <uwog@abisource.com> 1:1.6.0-1
0f78a4
- New upstream version.
0f78a4
- Drop all shipped patches, as they are included upstream.
0f78a4
0f78a4
* Tue Jan  5 2010 Michael Schwendt <mschwendt@fedoraproject.org> 1:1.5.0-5
0f78a4
- Revert 544473: Move libenchant.so back into the -devel package.
0f78a4
0f78a4
* Sat Dec 05 2009 Marc Maurer <uwog@abisource.com> 1:1.5.0-4
0f78a4
- Fix 544473: Move enchant.so from the devel to the main package
0f78a4
0f78a4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5.0-3
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0f78a4
0f78a4
* Thu Jul 02 2009 Caolán McNamara <caolanm@redhat.com> 1:1.5.0-2
0f78a4
- Resolves: rhbz#508781 improve enchant quality, leaks, and edge-case language
0f78a4
  dict selection
0f78a4
0f78a4
* Mon Jun 22 2009 Caolán McNamara <caolanm@redhat.com> 1:1.5.0-1
0f78a4
- latest version
0f78a4
0f78a4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.2-5
0f78a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0f78a4
0f78a4
* Sat Jul 26 2008 Michael Schwendt <mschwendt@fedoraproject.org> 1:1.4.2-4
0f78a4
- Rebuild for ABI-incompatible hunspell-1.2.4.2-2.fc10
0f78a4
0f78a4
* Thu Jul 10 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-3
0f78a4
- Fix 426712: don't build static libs (patch from Michael Schwendt)
0f78a4
0f78a4
* Wed May 21 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-2
0f78a4
- Rebuild
0f78a4
0f78a4
* Wed May 21 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-1
0f78a4
- New upstream release
0f78a4
- Add voikko support in an enchant-voikko package
0f78a4
- Bump glib-devel BR to 2.6.0
0f78a4
0f78a4
* Fri Feb 08 2008 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-4.fc9
0f78a4
- minor cockup
0f78a4
0f78a4
* Sat Jan 26 2008 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-3.fc9
0f78a4
- Resolves: rhbz#426402 use system hunspell not internal one and 
0f78a4
  split out aspell backend.
0f78a4
- See: rhbz#430354 hspell backend disabled until pic issue fixed
0f78a4
0f78a4
* Wed Dec 19 2007 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-2.fc9
0f78a4
- tell enchant where the myspell dictionaries are
0f78a4
0f78a4
* Thu Oct 12 2006 Marc Maurer <uwog@abisource.com> 1:1.3.0-1.fc6
0f78a4
- Update to 1.3.0
0f78a4
0f78a4
* Mon Sep 11 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-3.fc6
0f78a4
- Rebuild for FC6
0f78a4
0f78a4
* Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-2.fc6
0f78a4
- Rebuild
0f78a4
0f78a4
* Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-1.fc6
0f78a4
- Package the data dir as well (bug 188516)
0f78a4
- New upstream version
0f78a4
- Add hspell requirement/support
0f78a4
0f78a4
* Tue Feb 14 2006 Marc Maurer <uwog@abisource.com> 1:1.2.2-2.fc5
0f78a4
- Rebuild for Fedora Extras 5
0f78a4
0f78a4
* Sun Feb 05 2006 Marc Maurer <uwog@abisource.com> 1:1.2.2-1.fc5
0f78a4
- Update to 1.2.2
0f78a4
0f78a4
* Mon Jan 30 2006 Marc Maurer <uwog@abisource.com> 1:1.2.1-1.fc5
0f78a4
- Update to 1.2.1
0f78a4
- Drop glib Require
0f78a4
0f78a4
* Sat Oct 22 2005 Marc Maurer <uwog@abisource.com> 1:1.2.0-1.fc5
0f78a4
- Update to 1.2.0
0f78a4
0f78a4
* Wed Oct  5 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-4.fc5
0f78a4
- Add dist flag to the release number
0f78a4
0f78a4
* Mon Apr  4 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-3
0f78a4
- make in %%build
0f78a4
- disable bad buildroot rpaths in libs, don't use %%makeinstall
0f78a4
- require %%{epoch} of main package in -devel package (Fridrich Strba)
0f78a4
0f78a4
* Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-2
0f78a4
- add dep glib2-devel for pkgconfig in -devel package
0f78a4
- include %%{_libdir}/enchant dir in main package
0f78a4
- make -devel package require exact VR of main package
0f78a4
- use -p /sbin/ldconfig in scriptlets
0f78a4
0f78a4
* Mon Mar 28 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-1
0f78a4
- update to 1.1.6
0f78a4
- drop the manpage patch (RH#145010#)
0f78a4
- fix version numbers in the spec changelog
0f78a4
0f78a4
* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-3
0f78a4
- rebuild with gcc4
0f78a4
0f78a4
* Fri Jan 14 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-2
0f78a4
- RH#145010# misformatted manpage
0f78a4
0f78a4
* Mon Dec 20 2004 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-1
0f78a4
- initial fedora import
0f78a4
0f78a4
* Sun Aug 24 2003 Rui Miguel Seabra <rms@1407.org>
0f78a4
- update spec to current stat of affairs
0f78a4
- building from source rpm is now aware of --with and --without flags:
0f78a4
- --without aspell --without ispell --without myspell --with uspell
0f78a4
0f78a4
* Wed Jul 16 2003 Rui Miguel Seabra <rms@1407.org>
0f78a4
- take advantage of environment rpm macros
0f78a4
0f78a4
* Sun Jul 13 2003 Dom Lachowicz <cinamod@hotmail.com>
0f78a4
- Initial version