Name: hunspell Summary: A spell checker and morphological analyzer library Version: 1.7.0 Release: 1%{?_dist_release} Group: System Environment/Libraries License: LGPLv2+ or GPLv2+ or MPLv1.1 URL: https://github.com/hunspell/hunspell Source: https://github.com/hunspell/hunspell/archive/v%{version}.tar.gz#/hunspell-%{version}.tar.gz Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell Source100: find-requires-hunspell.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: libtool, ncurses-devel #define __find_requires %{SOURCE100} %define __perl_requires %{SOURCE100} %description Hunspell is a spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or character encoding. Hunspell interfaces: Ispell-like terminal interface using Curses library, Ispell pipe interface, OpenOffice.org UNO module. %package devel Requires: hunspell = %{version}-%{release}, pkgconfig Summary: Files for developing with hunspell Group: Development/Libraries %description devel Includes and definitions for developing with hunspell %prep %setup -q %build autoreconf -vfi %configure --disable-rpath --disable-static --with-ui --with-readline make %{?_smp_mflags} cd po && make %{?_smp_mflags} update-gmo && cd .. %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install %find_lang %{name} rm -f %{buildroot}/%{_libdir}/*.a rm -f %{buildroot}/%{_libdir}/*.la rm -f %{buildroot}/%{_bindir}/example mkdir %{buildroot}/%{_datadir}/myspell #mv %{buildroot}/%{_includedir}/*munch* %{buildroot}/%{_includedir}/%{name} install -m 755 src/tools/affixcompress %{buildroot}/%{_bindir}/affixcompress install -m 755 src/tools/makealias %{buildroot}/%{_bindir}/makealias install -m 755 %{SOURCE1} %{buildroot}/%{_bindir}/ispellaff2myspell install -m 755 %{SOURCE2} %{buildroot}/%{_bindir}/wordlist2hunspell %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %check make check %files -f %{name}.lang %defattr(-,root,root,-) %license COPYING COPYING.LESSER COPYING.MPL %doc README AUTHORS license.hunspell license.myspell THANKS %{_libdir}/*.so.* %{_datadir}/myspell %{_bindir}/hunspell %{_mandir}/man1/hunspell.1* %lang(hu) %{_mandir}/hu/man1/hunspell.1.gz %files devel %defattr(-,root,root,-) %{_includedir}/%{name} %{_libdir}/*.so %{_bindir}/affixcompress %{_bindir}/makealias %{_bindir}/munch %{_bindir}/unmunch %{_bindir}/analyze %{_bindir}/chmorph %{_bindir}/hzip %{_bindir}/hunzip %{_bindir}/ispellaff2myspell %{_bindir}/wordlist2hunspell %{_bindir}/wordforms %{_libdir}/pkgconfig/hunspell.pc %{_mandir}/man1/hunzip.1* %{_mandir}/man1/hzip.1* %{_mandir}/man3/hunspell.3* %{_mandir}/man5/hunspell.5* %changelog * Tue Oct 22 2019 Tomohiro "Tomo-p" KATO - 1.7.0-1 - new upstream release. * Tue Mar 06 2012 MATSUBAYASHI Kohji - 1.3.2-1 - updated to 1.3.2 - import Patch0 from Fedora (rhbz#759647 temp file name collision) * Mon Oct 11 2010 Shu KONNO 1.2.8-2 - rebuilt with rpm-4.8.1 for pkg-config - s/__find_requires/__perl_requires/ * Thu Oct 15 2009 Toshiharu Kudoh 1.2.8-1 - new upstream release * Fri Oct 31 2008 Daisuke SUZUKI 1.2.7-1 - initial build for Vine Linux * Sat Oct 18 2008 Caolan McNamara - 1.2.7-5 - sort as per "C" locale * Fri Oct 17 2008 Caolan McNamara - 1.2.7-4 - make wordlist2hunspell remove blank lines * Mon Sep 15 2008 Caolan McNamara - 1.2.7-3 - Workaround rhbz#462184 uniq/sort problems with viramas * Tue Sep 09 2008 Caolan McNamara - 1.2.7-2 - add wordlist2hunspell * Sat Aug 23 2008 Caolan McNamara - 1.2.7-1 - latest version * Tue Jul 29 2008 Caolan McNamara - 1.2.6-1 - latest version * Sun Jul 27 2008 Caolan McNamara - 1.2.5-1 - latest version * Tue Jul 22 2008 Kristian Høgsberg - 1.2.4.2-2 - Drop ABI breaking hunspell-1.2.2-xulrunner.pita.patch and fix the hunspell include in xulrunner. * Wed Jun 18 2008 Caolan McNamara - 1.2.4.2-1 - latest version * Tue Jun 17 2008 Caolan McNamara - 1.2.4-1 - latest version * Fri May 16 2008 Caolan McNamara - 1.2.2-3 - Resolves: rhbz#446821 fix crash * Wed May 14 2008 Caolan McNamara - 1.2.2-2 - give xulrunner what it needs so we can get on with it * Fri Apr 18 2008 Caolan McNamara - 1.2.2-1 - latest version - drop integrated hunspell-1.2.1-1863239.badstructs.patch * Wed Mar 05 2008 Caolan McNamara - 1.2.1-6 - add ispellaff2myspell to devel * Mon Feb 18 2008 Fedora Release Engineering - 1.2.1-5 - Autorebuild for GCC 4.3 * Thu Jan 03 2008 Caolan McNamara - 1.2.1-4 - add hunspell-1.2.1-1863239.badstructs.patch * Fri Nov 09 2007 Caolan McNamara - 1.2.1-2 - pkg-config cockup * Mon Nov 05 2007 Caolan McNamara - 1.2.1-1 - latest version * Mon Oct 08 2007 Caolan McNamara - 1.1.12.2-2 - lang fix for man pages from Ville Skyttä * Wed Sep 05 2007 Caolan McNamara - 1.1.12.2-1 - next version * Tue Aug 28 2007 Caolan McNamara - 1.1.11.2-1 - next version * Fri Aug 24 2007 Caolan McNamara - 1.1.10-1 - next version * Thu Aug 02 2007 Caolan McNamara - 1.1.9-2 - clarify license * Wed Jul 25 2007 Caolan McNamara - 1.1.9-1 - latest version * Wed Jul 18 2007 Caolan McNamara - 1.1.8.2-1 - latest version * Tue Jul 17 2007 Caolan McNamara - 1.1.8-1 - latest version * Sat Jul 07 2007 Caolan McNamara - 1.1.7-1 - latest version - drop integrated hunspell-1.1.5.freem.patch * Fri Jun 29 2007 Caolan McNamara - 1.1.6-1 - latest version - drop integrated hunspell-1.1.4-defaultdictfromlang.patch - drop integrated hunspell-1.1.5-badheader.patch - drop integrated hunspell-1.1.5.encoding.patch * Fri Jun 29 2007 Caolan McNamara - 1.1.5.3-5 - fix memory leak http://sourceforge.net/tracker/index.php?func=detail&aid=1745263&group_id=143754&atid=756395 * Wed Jun 06 2007 Caolan McNamara - 1.1.5.3-4 - Resolves: rhbz#212984 discovered problem with missing wordchars * Tue May 22 2007 Caolan McNamara - 1.1.5.3-3 - Resolves: rhbz#240696 extend encoding patch to promote and add dictionary 8bit WORDCHARS to the ucs-2 word char list * Mon May 21 2007 Caolan McNamara - 1.1.5.3-2 - Resolves: rhbz#240696 add hunspell-1.1.5.encoding.patch * Mon May 21 2007 Caolan McNamara - 1.1.5.3-1 - patchlevel release * Tue Mar 20 2007 Caolan McNamara - 1.1.5-2 - some junk in delivered headers * Tue Mar 20 2007 Caolan McNamara - 1.1.5-1 - next version * Fri Feb 09 2007 Caolan McNamara - 1.1.4-6 - some spec cleanups * Fri Jan 19 2007 Caolan McNamara - 1.1.4-5 - .pc * Thu Jan 11 2007 Caolan McNamara - 1.1.4-4 - fix out of range * Fri Dec 15 2006 Caolan McNamara - 1.1.4-3 - hunspell#1616353 simple c api for hunspell * Wed Nov 29 2006 Caolan McNamara - 1.1.4-2 - add hunspell-1.1.4-defaultdictfromlang.patch to take locale as default dictionary * Wed Oct 25 2006 Caolan McNamara - 1.1.4-1 - initial version