Пакет stardict-ru-tt: Specfile

# ########################################################
# non latin symbols shouldn't be in first 256 byte block #
# ########################################################

%define dict_name		ru-tt
%define dict_file		ru_RU-tt_RU
%define dict_eng_name		Russian-Tatarian
%define dict_rus_name		\xd2\xd5\xd3\xd3\xcb\xcf-\xd4\xc1\xd4\xc1\xd2\xd3\xcb\xc9\xca


Name: stardict-%dict_name
Version: 1.0
Release: alt1.qa1

Summary: Dictionary: %dict_eng_name
Summary(ru_RU.KOI8-R): \xf3\xcc\xcf\xd7\xc1\xd2\xd8: %dict_rus_name
License: GPL
Group: Text tools
Requires: stardict >= 2.4.2
BuildArchitectures: noarch

Source: stardict-ru-tt.tar.gz

# Automatically added by buildreq on Mon Apr 18 2016
# optimized out: python-base python-modules
BuildRequires: dict-tools

%description
Dictionary: %dict_eng_name

%description -l ru_RU.KOI8-R
\xf3\xcc\xcf\xd7\xc1\xd2\xd8 %dict_rus_name

%prep
%setup -q -c

%build
gzip %name/%dict_name.idx
dictzip %name/%dict_name.dict

%install

install -p -m644 -D %name/%dict_name.dict.dz $RPM_BUILD_ROOT%_datadir/stardict/dic/%dict_name.dict.dz
install -p -m644 -D %name/%dict_name.idx.gz $RPM_BUILD_ROOT%_datadir/stardict/dic/%dict_name.idx.gz
install -p -m644 -D %name/%dict_name.ifo $RPM_BUILD_ROOT%_datadir/stardict/dic/%dict_name.ifo
# install -p -m644 -D %name/%dict_name.idx.oft $RPM_BUILD_ROOT%_datadir/stardict/dic/%dict_name.idx.oft

%files
%_datadir/stardict/dic/*

%changelog
* Mon Apr 18 2016 Gleb F-Malinovskiy (qa) <qa_glebfm@altlinux.org> 1.0-alt1.qa1
- Removed libaudio fron BR.
- Updated BR with buildreq.

* Wed Jun 18 2008 Alexandra Panyukova <mex3@altlinux.ru> 1.0-alt1
- build for Sisyphus

* Wed Jun 18 2008 Alexandra Panyukova <mex3@altlinux.ru> 1.0-alt0
- build for ALTLinux