%define majversion %(echo %version | cut -d. -f 1-2) Name: aspell Version: 0.60.6.1 Release: 3mamba Summary: A Free and Open Source interactive spelling checker program Group: System/Internationalization Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://aspell.net Source: ftp://ftp.gnu.org/gnu/aspell/aspell-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libncurses-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: gettext-devel Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires(post):%{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root # FIXME: # checking for wide character support in curses libraray... no # configure: WARNING: Aspell will not be able to Display UTF-8 characters correctly # -- conftest.cpp:45: error: 'addnwstr' was not declared in this scope %description GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the English language, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell process is open at once. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the English language, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell process is open at once. This package contains shared libraries for %{name}. %package -n lib%{name}-devel Summary: Devel package for aspell Group: Development/Libraries Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: aspell-devel Obsoletes: aspell-devel %description -n lib%{name}-devel GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the English language, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell process is open at once. This is the development package. %prep %setup -q %build %configure --enable-curses=ncursesw %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post %install_info %{name}.info %preun %uninstall_info %{name}.info exit 0 %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %post -n lib%{name}-devel %install_info %{name}-dev.info %preun -n lib%{name}-devel %uninstall_info %{name}-dev.info exit 0 %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/aspell %{_bindir}/aspell-import %{_bindir}/precat %{_bindir}/preunzip %{_bindir}/prezip %{_bindir}/prezip-bin %{_bindir}/run-with-aspell %{_bindir}/word-list-compress %{_infodir}/aspell.* %{_mandir}/man1/aspell-import.* %{_mandir}/man1/aspell.* %{_mandir}/man1/prezip-bin.* %{_mandir}/man1/run-with-aspell.* %{_mandir}/man1/word-list-compress.* %doc COPYING README TODO %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libaspell.so.* %{_libdir}/libpspell.so.* %{_libdir}/%{name}-%{majversion}/ispell %{_libdir}/%{name}-%{majversion}/spell %{_libdir}/%{name}-%{majversion}/*.amf %{_libdir}/%{name}-%{majversion}/*.cmap %{_libdir}/%{name}-%{majversion}/*.cset %{_libdir}/%{name}-%{majversion}/*.kbd %{_libdir}/%{name}-%{majversion}/*.info %{_libdir}/%{name}-%{majversion}/*.la %{_libdir}/%{name}-%{majversion}/*.so %files -n lib%{name}-devel %defattr(-,root,root) %{_bindir}/pspell-config %{_libdir}/libaspell.la %{_libdir}/libpspell.la %{_libdir}/libaspell.so %{_libdir}/libpspell.so %{_includedir}/aspell.h %dir %{_includedir}/pspell %{_includedir}/pspell/pspell.h %{_infodir}/aspell-dev.* %{_mandir}/man1/pspell-config.* %changelog * Sun Oct 26 2014 Silvan Calarco 0.60.6.1-3mamba - libaspell-devel: provide/obsolete aspell-devel * Sat Oct 25 2014 Silvan Calarco 0.60.6.1-2mamba - add library package * Sun Jul 10 2011 Automatic Build System 0.60.6.1-1mamba - automatic update by autodist * Tue Jan 06 2009 Silvan Calarco 0.60.6-1mamba - automatic update by autodist * Wed Nov 14 2007 Aleph0 0.60.5-1mamba - update to 0.60.5 * Tue Dec 06 2005 Stefano Cotta Ramusino 0.60.4-1qilnx - update to version 0.60.4 by autospec * Thu Aug 11 2005 Davide Madrisan 0.60.3-1qilnx - update to version 0.60.3 by autospec * Fri Apr 15 2005 Davide Madrisan 0.60.2-1qilnx - update to version 0.60.2 by autospec - %%post, %%preun: install/uninstall info pages * Tue Nov 16 2004 Davide Madrisan 0.60.1-1qilnx - update to version 0.60.1 by autospec * Mon Jun 28 2004 Davide Madrisan 0.50.5-1qilnx - updated to 0.50.5 - security fix against CAN-2004-0548 (stack overflow vulnerability in word-list-compress) * Tue Jul 29 2003 Silvan Calarco 0.50.3-1qilnx - first build of aspell