Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37400480
en ru br
ALT Linux repos
S:0.20070412-alt1_30

Group :: Text tools
RPM: mythes-el

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Group: Text tools
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: mythes-el
Summary: Greek thesaurus
%global upstreamid 20070412
Version: 0.%{upstreamid}
Release: alt1_19
# below links are dead and can't find any mirror for it
# please don't report any FTBFS bugs
#Source: http://www.ellak.gr/pub/oo_extras/th_el.zip
Source: th_el.zip
URL: wiki.services.openoffice.org/wiki/Dictionaries
License: GPLv2+
BuildArch: noarch
Requires: libmythes
Source44: import.info

%description
Greek thesaurus.

%prep
%setup -q -c


%build
for i in README_th_el_GR_v2.txt; do
 if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
   iconv -f ISO-8859-7 -t UTF-8 $i > $i.new
   touch -r $i $i.new
   mv -f $i.new $i
 fi
 tr -d '\r' < $i > $i.new
 touch -r $i $i.new
 mv -f $i.new $i
done

%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
cp -p th_el_GR_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes

pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/
el_GR_aliases="el_CY"
for lang in $el_GR_aliases; do
       ln -s th_el_GR_v2.dat "th_"$lang"_v2.dat"
       ln -s th_el_GR_v2.idx "th_"$lang"_v2.idx"
done


%files
%doc README_th_el_GR_v2.txt
%{_datadir}/mythes/*

%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