Summary: GtkSpell provides highlighting of misspelled words.
Name: gtkspell
Version: 2.0.0
Source: http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz
Release: 1
License: GPL
Group: Applications/Text
URL: http://gtkspell.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
The GtkSpell library provides highlighting of misspelled words in
a GtkTextView widget as you type. Right-clicking a misspelled word pops up
a menu of suggested replacements. GtkSpell depends on pspell & gtk2.

%prep
%setup -q -n gtkspell-%{version}

%build
%configure
make

%install
rm -fr $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README ChangeLog
/usr/lib/libgtkspell.so*
/usr/lib/libgtkspell.la
/usr/lib/libgtkspell.a
/usr/lib/pkgconfig/gtkspell-*.pc
/usr/include/gtkspell-2.0/gtkspell/*

%changelog
* Thu Jul 11 2002 Toby Inkster <[email protected]>
- Mandrake package

* Sun May 26 2002 Tom "spot" Callaway <[email protected]>
- Initial package build of gtkspell