# $Id$ Summary: Dutch dictionaries for Aspell Name: aspell-nl # Have to bump this to make it newer than the old, bad version. Epoch: 51 Version: 0.1e Release: 1%{?dist} License: GPL Group: Applications/Text URL: http://packages.debian.org/unstable/text/%{name} Source0: http://ftp.debian.org/debian/pool/main/d/dutch/dutch_%{version}.orig.tar.gz Source1: http://corbu.aq.upm.es/~agmartin/linux/ispellaff2myspell Patch0: dutch-debian.patch Buildrequires: aspell >= 12:0.60 Requires: aspell >= 12:0.60 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Provides the word list/dictionaries for the following: Dutch %prep %setup -q -n dutch-%{version} %patch0 -p1 %build install -m0755 %{SOURCE1} wl/ cd wl/ sed -e '/[_:`^<>()]/d' ./small.wl ./medium.wl ./large.wl ./toponames.wla ./chemistry.wla ./countries.wla ./energy.wla ./jargon.wla ./newwords.wla ./physics.wla ./puzzle.wla | tr -d '\267' | sort -f | uniq | tee dutch | sed -e '/[- 0-9\.,]/d' > dutch.stripped ./ispellaff2myspell --charset=latin1 --split=200 --myheader=nl_NL.myheader dutch.aff > nl_NL.myaff cp ../aspell/dutch.dat nl.dat cp nl_NL.myaff nl_affix.dat %{_bindir}/aspell --lang=nl create master ./nl.rws < dutch.stripped %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir}/aspell-0.60 install -m0644 aspell/dutch.alias $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ install -m0644 aspell/dutch.alias $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/nederlands.alias install -m0644 aspell/dutch.dat $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/nl.dat install -m0644 wl/nl_NL.myaff $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/nl_affix.dat install -m0644 wl/dutch.aff $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ install -m0644 wl/nl.rws $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ install -m0644 aspell/dutch.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ install -m0644 aspell/flemish.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ install -m0644 aspell/nederlands.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ install -m0644 aspell/nl.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ install -m0644 aspell/vlaams.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING README ChangeLog %{_libdir}/aspell-0.60/* %changelog * Sat Mar 1 2008 Shad L. Lords - Clean up spec so package can be built by koji/plague - Update to new release naming. No functional changes. - Make Packager generic * Mon Jul 31 2006 Tom "spot" Callaway - 51:0.1e-1 - move to GPL dictionary * Wed Jul 12 2006 Jesse Keating - 50:0.50-8.2.1 - rebuild * Fri Feb 10 2006 Jesse Keating - 50:0.50-8.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 50:0.50-8.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 16 2005 Ivana Varekova 50:0.50-8 - add nederlands alias (bug 175863) * Fri Dec 09 2005 Jesse Keating - rebuilt * Tue Jul 19 2005 Ivana Varekova 50:0.50-7 - build with aspell-0.60.3 * Mon Apr 11 2005 Ivana Varekova 50:0.50-6 - rebuilt * Tue Sep 28 2004 Adrian Havill 50:0.50-5 - rebuilt, remove debuginfo * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Jun 23 2003 Adrian Havill 0.50-3 - first build for new aspell (0.50)