Sisyphus repository
Last update: 2017-12-16 02:06:01 +0300 | SRPMs: 18226 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 2.1-alt1
p8: 2.1-alt1
p7: 2.1-alt1
t7: 2.1-alt1
Platform6: 2.1-alt1
t6: 2.1-alt1
Platform5: 2.1-alt1
5.1: 2.1-alt1

Group :: Text tools
Source RPM: mythes-en

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

Name: mythes-en
Summary: English thesarus
Version: 2.1
Release: alt1
Group: Text tools
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
License: BSD

Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/thes_en_US_v2.zip

BuildArch: noarch
BuildRequires: unzip

%description
English thesarus.

%prep
%setup -q -c -n %name

%build
chmod -x *

%install
mkdir -p %buildroot/%_datadir/mythes
install -m644 th_en_US_v2.* %buildroot/%_datadir/mythes

cd %buildroot/%_datadir/mythes/
en_US_aliases="en_AU en_BS en_BZ en_CA en_GH en_GB en_IE en_IN en_JM en_NA en_NZ en_PH en_TT en_ZA en_ZW"
for lang in $en_US_aliases; do
        ln -s th_en_US_v2.idx "th_"$lang"_v2.idx"
        ln -s th_en_US_v2.dat "th_"$lang"_v2.dat"
done

%files
%doc README*
%dir %_datadir/mythes
%_datadir/mythes/*

%changelog
* Sat Dec 29 2007 Valery Inozemtsev <shrek at altlinux.ru> 2.1-alt1
- initial release

 
© 2009–2017 Igor Zubkov