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