File myspell-german-old.spec of Package myspell-german-old

#
# spec file for package myspell-german-old (Version 20030428)
#
# 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:           myspell-german-old
License:        GPL v2 or later
Group:          Productivity/Text/Spell
Provides:       myspell-dictionary myspell-german-dictionary
Conflicts:      myspell-german 
AutoReqProv:    on
Version:        20030428
Release:        243
Summary:        Old German Dictionary for MySpell
Url:            http://j3e.de/myspell/
Source0:        de_OLDSPELL.tar.bz2
Source1:        Nwordlist.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
The old German dictionary for MySpell. It provides spell checking
according to the old German spelling rules.

The MySpell spell checker is used by the OpenOffice.org office suite,
the Mozilla Composer, and the Mozilla Mail message composition window.



%prep
%setup -q -c -a 1

%build
# add the Novell jargon into dictionary bnc#306333
# the file Nwordlist needs to contain extra newline on the beginning!
cat Nwordlist >> de_OLDSPELL.dic

%install
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/myspell/
install -m 644 de_OLDSPELL.dic $RPM_BUILD_ROOT%{_datadir}/myspell/de_DE.dic
install -m 644 de_OLDSPELL.aff $RPM_BUILD_ROOT%{_datadir}/myspell/de_DE.aff

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%dir %{_datadir}/myspell/
%{_datadir}/myspell/de_DE.dic
%{_datadir}/myspell/de_DE.aff

%changelog
* Thu Nov 13 2008 ro@suse.de
- remove obsolete trigger and postun (as in myspell-dictionaries)
* Thu Jun 26 2008 lmichnovic@suse.cz
- Added Novell jargon [bnc#306333] (Nwordlist.tgz)
- bzipped source tarball
* Fri Jul 14 2006 olh@suse.de
- rename gzip archive from .bz2 to .gz
* Tue Feb 28 2006 anicka@suse.cz
- remove Provides: locale(de) [#154097]
* Fri Feb 24 2006 lmichnovic@suse.cz
- added Provides: locale(de)
- removed from install section: rm -rf $RPM_BUILD_ROOT
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jun 29 2004 pmladek@suse.cz
- added triggerin and postun scripts to solve links to OpenOffice_org;
  this solution replaces the old one with SuSEconfig and is usable
  in Ximian's products
* Tue Feb 24 2004 hmacht@suse.de
- building as non-root
* Mon Sep 01 2003 pmladek@suse.cz
- added myspell-german-dictionary to Provides
- added myspell-german to Conflicts [#29591]
* Mon Aug 25 2003 pmladek@suse.cz
- package created, version 20030428
- provides myspell-german and myspell-dictionary