Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37549945
en ru br
ALT Linux repos
S:0.4.0-alt3

Group :: Text tools
RPM: hunspell-ru-aot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define myspelldir %_datadir/myspell
%define oname dict_ru_ru-aot

Name: hunspell-ru-aot
Version: 0.4.0
Release: alt3

Summary: Russian hunspell dictionaries

Group: Text tools
License: LGPL
Url: http://extensions.libreoffice.org/extension-center/russian-spellcheck-dictionary.-based-on-works-of-aot-gro…

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: %oname-%version.tar

Requires: libhunspell
#Obsoletes: hunspell-ru-io < %version
Provides: hunspell-ru

BuildArch: noarch

BuildRequires: rpm-macros-alternatives

%description
Russian hunspell (Based on AOT) dictionaries with yo letter
This Russian dictionary is  converted
to Hunspell format by Yakov Reztsov  in 2010, 2011, 2013, 2014, 2015 from
http://sourceforge.net/projects/seman/ (http://www.aot.ru)

%prep
%setup -n %oname-%version

%build

%install
mkdir -p %buildroot%_datadir/myspell
iconv -fKOI8-R -tUTF-8 russian-aot.aff > %buildroot%_datadir/myspell/ru_RU-aot.aff
iconv -fKOI8-R -tUTF-8 russian-aot.dic > %buildroot%_datadir/myspell/ru_RU-aot.dic
%__subst 's|^SET KOI8-R|SET UTF-8|' %buildroot%_datadir/myspell/ru_RU-aot.aff


# install alternatives

install -d %buildroot%_altdir

# myspell/hunspell

cat > %buildroot%_altdir/%name << EOF
%myspelldir/ru_RU.dic %myspelldir/ru_RU-aot.dic 30
%myspelldir/ru_RU.aff %myspelldir/ru_RU-aot.aff %myspelldir/ru_RU-aot.dic
%myspelldir/ru.dic %myspelldir/ru_RU.dic 1000
%myspelldir/ru.aff %myspelldir/ru_RU.aff 1000
EOF


%files
%doc copyright.txt
%_altdir/%name
%_datadir/myspell/ru_RU-aot.*

%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