Sisyphus repository
Last update: 20 january 2020 | SRPMs: 17488 | Visits: 16656049
en ru br
ALT Linux repos
S:0.1-alt6
5.0: 0.1-alt6
4.1: 0.1-alt5
4.0: 0.1-alt5
3.0: 0.1-alt5

Group :: Text tools
RPM: stardict-slovnyk_uk-ru

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define dict_name slovnyk_uk-ru
%define dict_file uk-ua_ru-ru
%define locale uk_UA
%define dict_eng_name Ukrainian-Russian


Name: stardict-%dict_name
Version: 0.1
Release: alt6

Summary: Dictionary: Slovnyk %dict_eng_name
License: GPL
Group: Text tools
Requires: stardict >= 2.4.2
Url: http://www.slovnyk.org/
BuildArchitectures: noarch
Source: http://www.slovnyk.org/csv/slovnyk_%dict_file.csv.gz

# Automatically added by buildreq on Mon Sep 22 2008

BuildRequires: dict-tools stardict-tools

%description
Dictionary: Slovnyk %dict_eng_name

%prep
%setup -c -T

%build
gzip -d -c %SOURCE0 > slovnyk_%dict_file.csv
LC_ALL=C LC_COLLATE=%locale.UTF8 LC_CTYPE=%locale.UTF8 slovnyktodict.awk -v dictname=%dict_name slovnyk_%dict_file.csv
gzip %dict_name.idx
dictzip %dict_name.dict

%install

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

%files
%_datadir/stardict/dic/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin