Blob Blame History Raw
Summary: Dutch files for aspell
Name: aspell-nl
Version: 0.1
Release: 6
Group: Applications/Text
Source: aspell-nl-0.1.tar.bz2
Copyright: GPL
Requires: aspell
BuildRoot: %{_tmppath}/%{name}-%{version}-root
ExcludeArch: ia64
BuildRequires: aspell
Obsoletes: ispell-nl, ispell-dutch

%description
A Dutch dictionary for use with aspell, a spelling checker.

%prep
%setup -q

%build
cp /usr/share/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/usr/lib/aspell
mkdir -p $RPM_BUILD_ROOT/usr/share/aspell
mkdir -p $RPM_BUILD_ROOT/usr/share/pspell

install -m 0644 dutch $RPM_BUILD_ROOT/usr/lib/aspell
ln -s dutch $RPM_BUILD_ROOT/usr/lib/aspell/nederlands
install -m 0644 dutch.dat $RPM_BUILD_ROOT/usr/share/aspell

echo "/usr/lib/aspell/dutch" > $RPM_BUILD_ROOT/usr/share/pspell/nl-aspell.pwli

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/share/aspell/*
/usr/lib/aspell/*
/usr/share/pspell/*

%changelog
* 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