%define majver %(echo %version| cut -d. -f1-2) Name: hunspell15 Version: 1.5.4 Release: 1mamba Summary: The default spell checker of OpenOffice.org office suite Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://hunspell.sourceforge.net/ Source: https://github.com/hunspell/hunspell.git/v%{version}/hunspell-%{version}.tar.bz2 #Source: http://downloads.sourceforge.net/hunspell/hunspell-%{version}.tar.gz Patch0: hunspell-1.1.11-lib_noversion.patch Patch1: hunspell-1.2.8-defaultlanguage.patch License: GPL, LGPL, MPL 1.1 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: libstdc++6-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird. Main features: *Unicode support. *Conditional and multiple affixes for languages with rich morphology. *Extended compound word support. *Morphological analysis (in custom item and arrangement style). *Hunspell is based on MySpell and works also with MySpell dictionaries. *GPL/LGPL/MPL tri-license. %package -n lib%{name} Summary: Library for the default spell checker of OpenOffice.org office suite Group: Development/Libraries %description -n lib%{name} Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird. Main features: *Unicode support. *Conditional and multiple affixes for languages with rich morphology. *Extended compound word support. *Morphological analysis (in custom item and arrangement style). *Hunspell is based on MySpell and works also with MySpell dictionaries. *GPL/LGPL/MPL tri-license. %package -n lib%{name}-devel Summary: Devel package for %{name} Group: Development/Libraries Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird. Main features: *Unicode support. *Conditional and multiple affixes for languages with rich morphology. *Extended compound word support. *Morphological analysis (in custom item and arrangement style). *Hunspell is based on MySpell and works also with MySpell dictionaries. *GPL/LGPL/MPL tri-license. This package contains static libraries and header files need for development. %prep %setup -q -n hunspell-%{version} #%patch0 -p1 #%patch1 -p1 %build %configure \ --with-ui \ --with-readline %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall #%find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/affixcompress %{_bindir}/analyze %{_bindir}/chmorph %{_bindir}/hunspell %{_bindir}/hunzip %{_bindir}/hzip %{_bindir}/ispellaff2myspell %{_bindir}/makealias %{_bindir}/munch %{_bindir}/unmunch %{_bindir}/wordforms %{_bindir}/wordlist2hunspell %{_mandir}/man1/hunspell.1* %{_mandir}/man1/hunzip.1* %{_mandir}/man1/hzip.1* %{_mandir}/man5/hunspell.5* %{_mandir}/hu/man1/hunspell.1* %files -n lib%{name} #-f %{name}.lang %defattr(-,root,root) %{_libdir}/libhunspell-%{majver}.so.* %doc AUTHORS COPYING %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/hunspell %{_includedir}/hunspell/*.h %{_includedir}/hunspell/*.hxx %{_libdir}/libhunspell-%{majver}.a %{_libdir}/libhunspell-%{majver}.la %{_libdir}/libhunspell-%{majver}.so %{_libdir}/pkgconfig/hunspell.pc #%{_libdir}/libparsers.a %{_mandir}/man3/hunspell.3* %doc BUGS ChangeLog ChangeLog.O NEWS README README.myspell %doc THANKS TODO %changelog * Fri Dec 02 2016 Automatic Build System 1.5.4-1mamba - automatic version update by autodist * Thu Dec 01 2016 Automatic Build System 1.5.3-1mamba - automatic version update by autodist * Tue Jun 21 2016 Automatic Build System 1.4.1-1mamba - automatic version update by autodist * Wed Feb 03 2016 Silvan Calarco 1.3.4-1mamba - update to 1.3.4 * Mon Jun 09 2014 Automatic Build System 1.3.3-1mamba - automatic version update by autodist * Wed Feb 23 2011 Automatic Build System 1.3.2-1mamba - automatic update by autodist * Mon Jan 03 2011 Automatic Build System 1.2.13-1mamba - automatic update by autodist * Fri Jul 23 2010 Automatic Build System 1.2.12-1mamba - automatic update by autodist * Sat May 29 2010 Automatic Build System 1.2.11-1mamba - automatic update by autodist * Thu Jul 02 2009 Silvan Calarco 1.2.8-2mamba - added defaultlanguage.patch - added --with-ui and --with-readline configure options * Tue Jan 27 2009 Silvan Calarco 1.2.8-1mamba - update to 1.2.8 * Wed Aug 29 2007 Silvan Calarco 2-1mamba - package created by autospec