File aspell-en.spec of Package aspell-en

#
# spec file for package aspell-en (Version 6.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           aspell-en
BuildRequires:  aspell
License:        Public Domain, Freeware
Group:          Productivity/Text/Spell
Provides:       locale(aspell:en)
Requires:       aspell >= 0.60
AutoReqProv:    on
Version:        6.0
Release:        158
Summary:        An English Dictionary for ASpell
Url:            http://aspell.net/
Source:         aspell6-en-6.0-0.tar.bz2
Source1:        Nwordlist.tgz
Patch:          aspell-en-Novellwords_extra_dict.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define aspell_dict_dir %(aspell dump config dict-dir)
%define aspell_data_dir %(aspell dump config data-dir)

%description
An English dictionary for the ASpell spell checker.



Authors:
--------
    Kevin Atkinson <kevina@gnu.org>

%prep
%setup -q -n aspell6-en-6.0-0 -a1
%patch

%build
./configure
make
# creating extra dictionary with Novell jargon
/usr/bin/word-list-compress c < Nwordlist > Nwordlist.cwl
/usr/bin/word-list-compress d < Nwordlist.cwl | aspell --lang=en create master ./enNovellwords

%install
make DESTDIR=$RPM_BUILD_ROOT install
install -m 644 ./enNovellwords $RPM_BUILD_ROOT/%{aspell_dict_dir}/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc Copyright README doc/ChangeLog doc/SCOWL-README 
%{aspell_dict_dir}/*.rws
%{aspell_dict_dir}/*.multi
%{aspell_dict_dir}/*.alias
%{aspell_dict_dir}/enNovellwords
%{aspell_data_dir}/*.dat

%changelog
* Mon Sep 03 2007 lmichnovic@suse.cz
- updated Nwordlist (words: Firefox,Thunderbird, NLD, ...) [#371]
* Fri Jul 27 2007 lmichnovic@suse.cz
- added "Bugzilla" to Novell words
* Tue Jun 05 2007 lmichnovic@suse.cz
- creating extra dictionary with Novell words during building[#371]
* Wed May 02 2007 lmichnovic@suse.cz
- added extra dictionary with Novell words [#371]
* Mon Oct 23 2006 lmichnovic@suse.cz
- fixed version of aspell in Requires
* Mon Mar 20 2006 pnemec@suse.cz
- removed aspell_dictionary from Provides
* Fri Mar 03 2006 ro@suse.de
- fixed lang provides format
* Fri Mar 03 2006 pnemec@suse.cz
- converted to the new lang provides format
* Tue Feb 07 2006 pnemec@suse.cz
- fixed virtual package name
* Fri Jan 27 2006 pnemec@suse.cz
- providing aspell_dictionary as virtual package [#144972]
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Fri Mar 18 2005 gekker@suse.de
- Update to version 6.0 (72354, 72377).
* Fri Dec 03 2004 ro@suse.de
- added some magic for the filelist
* Wed Apr 21 2004 ltinkl@suse.cz
- updated to version 0.51-1
* Fri Jan 31 2003 pmladek@suse.cz
- updated to version 0.51-0:
  * added variants that were not really spelling variants
  * removed some spelling variants and other strange words
  * removed rarely used inflections of a word
  * removed the DEC Word List due to the questionable license
- installed ChangeLog and SCOWL-README as the documentation too
* Fri Nov 01 2002 pmladek@suse.cz
- package created, version 0.50.2
openSUSE Build Service is sponsored by