# Something's not quite right with libtool.... %define __libtoolize : Summary: Portable Spell Checker Interface Library. Name: pspell012 Version: 0.12.2 Source0: http://download.sourceforge.net/pspell/pspell-.12.2.tar.gz Epoch: 3 Release: 16.8.1 License: LGPL Group: Applications/Text URL: http://pspell.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The Pspell library provides a generic interface to any spell checker libraries installed on the system. This package contain backward compatibility libraries. %prep %setup -q -n pspell-.12.2 %build %configure --enable-static --enable-ltdl make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mv $RPM_BUILD_ROOT/usr/doc/pspell . rm pspell/manual.aux pspell/manual.lyx rm -rf $RPM_BUILD_ROOT/usr/{bin,share,include} find $RPM_BUILD_ROOT/usr/lib -type l -exec rm -f {} \; %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_libdir}/* # Yes, they need to be in the main package - they are used for # dynamic loading. Argh. (lib*.la) %changelog * Tue Nov 04 2003 Milan Kerslager 3:0.12.2-16.8.1 - rebuild for RH 8.0 * Fri Oct 3 2003 Milan Kerslager - initial version