Summary: Dutch files for aspell.
Name: aspell-nl
Version: 0.1
Release: 17
Group: Applications/Text
Source: aspell-nl-0.1.tar.bz2
License: GPL
Requires: aspell
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: aspell
Obsoletes: ispell-nl, ispell-dutch

%description
This package contains a Dutch dictionary for use with aspell, a
spelling checker.

%prep
%setup -q

%build
cp %{_datadir}/aspell/iso8859-1.dat .

LC_CTYPE="nl_NL" aspell --lang=dutch --data-dir=. \
    create master ./dutch < words.dutch

%install
rm -fr $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/aspell
mkdir -p $RPM_BUILD_ROOT%{_datadir}/aspell
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pspell

install -m 0644 dutch $RPM_BUILD_ROOT%{_libdir}/aspell
ln -s dutch $RPM_BUILD_ROOT%{_libdir}/aspell/nederlands
install -m 0644 dutch.dat $RPM_BUILD_ROOT%{_datadir}/aspell

echo "%{_libdir}/aspell/dutch" > $RPM_BUILD_ROOT%{_datadir}/pspell/nl-aspell.pwli

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_datadir}/aspell/*
%{_libdir}/aspell/*
%{_datadir}/pspell/*

%changelog
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt

* Fri Dec 13 2002 Elliot Lee <sopwith@redhat.com> 0.1-16
- Multilib, rebuild

* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Fri Jun 14 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.1-14
- Rebuild

* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Tue Feb 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.1-12
- Rebuild

* Thu Jan 24 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.1-11
- s/Copyright/License/

* Fri Aug 31 2001 Tim Powers <timp@redhat.com>
- rebuild with new gcc and binutils

* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.

* Tue May 01 2001 Bill Nottingham <notting@redhat.com>
- build on ia64

* Sun Aug 20 2000 Trond Eivind Glomsrød <teg@redhat.com>
- rebuild

* Wed Aug 16 2000 Trond Eivind Glomsrød <teg@redhat.com>
- rebuild

* Tue Aug 01 2000 Trond Eivind Glomsrød <teg@redhat.com>
- rebuild

* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
- use the proper name on the pwli file

* Mon Jun 26 2000 Trond Eivind Glomsrød <teg@redhat.com>
- first RPM