Sisyphus repository
Last update: 19 february 2020 | SRPMs: 17495 | Visits: 17437145
en ru br
ALT Linux repos
S:1.0-alt8
5.0: 1.0-alt6
4.1: 1.0-alt5
4.0: 1.0-alt5
3.0: 1.0-alt5

Group :: Text tools
RPM: stardict-mueller7

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define dict_name mueller7

Name: stardict-%dict_name
Version: 1.0
Release: alt8

Summary: V.K. Mueller English-Russian Dictionary, 7th Edition, for stardict
License: GPLv2+
Group: Text tools
Requires: stardict >= 2.4.2
Url: http://mueller-dic.chat.ru/
Packager: Anton V. Boyarshinov <boyarsh at altlinux.ru>
BuildArch: noarch

# http://mueller-dic.chat.ru/Mueller7GPL.tgz

Source: Mueller7GPL.tar

BuildRequires: dict-tools perl-Unicode-Map8 stardict-tools >= 3.0.3

%description
Electronic version of V.K. Mueller English-Russian Dictionary,
7th Edition, in stardict format, for use with a stardict client.

%prep
%setup -c

%build
cd usr/local/share/dict
mueller2stardict.sh Mueller7GPL.koi %dict_name
sed -i 's/^\(bookname\)=.*/\1=V.K.Mueller English-Russian Dictionary, 7th Edition/' %dict_name.ifo
gzip -9n %dict_name.idx
dictzip %dict_name.dict
cd - >/dev/null

%install
%define stardictdir %_datadir/stardict/dic
mkdir -p %buildroot%stardictdir
install -pm644 -D usr/local/share/dict/%dict_name.{dict.dz,idx.gz,ifo} \
%buildroot%stardictdir/

%files
%stardictdir/*

%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