Package dict-slovnyk_en-uk: Specfile

%define dict_name		slovnyk_en-uk

Name: dict-%dict_name
Version: 0.1
Release: alt2

Summary: Dictionary: Slovnyk English-Ukrainian
License: GPL
Group: Text tools

#Url: http://www.mova.org/~cheusov/dict/
Url: rsync://dictd.xdsl.by/dicts
Source0: %dict_name.dict.dz
Source1: %dict_name.index
Packager: Michael Shigorin <mike@altlinux.org>

Requires(post,postun): dictd
BuildArch: noarch
Summary(ru_RU.KOI8-R): \xf3\xcc\xcf\xd7\xc1\xd2\xd8 Slovnyk \xc1\xce\xc7\xcc\xcf-\xd5\xcb\xd2\xc1\xc9\xce\xd3\xcb\xc9\xca

%description
Dictionary: Slovnyk English-Ukrainian

%description -l ru_RU.KOI8-R
\xf3\xcc\xcf\xd7\xc1\xd2\xd8 Slovnyk \xc1\xce\xc7\xcc\xcf-\xd5\xcb\xd2\xc1\xc9\xce\xd3\xcb\xc9\xca

%install
install -pD -m644 %SOURCE0 %buildroot%_datadir/dictd/%dict_name.dict.dz
install -pD -m644 %SOURCE1 %buildroot%_datadir/dictd/%dict_name.index

%post -n dict-%dict_name
/usr/sbin/dictdconfig -w
%_initdir/dictd condreload

%postun -n dict-%dict_name
/usr/sbin/dictdconfig -w
%_initdir/dictd condreload

%files
%_datadir/dictd/%{dict_name}*

%changelog
* Sat Dec 16 2006 Michael Shigorin <mike@altlinux.org> 0.1-alt2
- rebuild/takeover/cleanup/fix (see also #2612)
- fix PreReq with targeted Requires()

* Thu Mar 20 2003 Alexey Dyachenko <alexd@altlinux.ru> 0.1-alt1
- initial build