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
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