Репозитории ALT
5.1: | 20040406-alt3 |
4.1: | 20040406-alt1 |
4.0: | 20040406-alt0.M40.1 |
Группа :: Работа с текстами
Пакет: hunspell-ru-io
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: hunspell-ru-io
Summary: Russian hunspell dictionaries
Version: 20040406
Release: alt3
Group: Text tools
License: BSD
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ru_RU_yo.zip
Provides: hunspell-ru
Requires: libhunspell
BuildArch: noarch
BuildRequires: unzip
%description
Russian hunspell dictionaries.
Support Cyrillic_io.
%prep
%setup -q -c -n hunspell-ru
%build
chmod -x *
%install
mkdir -p %buildroot%_datadir/myspell
iconv -fKOI8-R -tUTF-8 ru_RU_yo.aff > %buildroot%_datadir/myspell/ru_RU_io.aff
iconv -fKOI8-R -tUTF-8 ru_RU_yo.dic > %buildroot%_datadir/myspell/ru_RU_io.dic
subst 's|^SET KOI8-R|SET UTF-8|' %buildroot%_datadir/myspell/ru_RU_io.aff
mkdir -p %buildroot%_altdir
cat > %buildroot%_altdir/%name <<EOF
%_datadir/myspell/ru_RU.dic %_datadir/myspell/ru_RU_io.dic 20
%_datadir/myspell/ru_RU.aff %_datadir/myspell/ru_RU_io.aff 20
EOF
%files
%doc README_ru_RU*.txt
%_altdir/%name
%_datadir/myspell/*
%changelog
…
Полный changelog можно просмотреть здесь
Summary: Russian hunspell dictionaries
Version: 20040406
Release: alt3
Group: Text tools
License: BSD
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ru_RU_yo.zip
Provides: hunspell-ru
Requires: libhunspell
BuildArch: noarch
BuildRequires: unzip
%description
Russian hunspell dictionaries.
Support Cyrillic_io.
%prep
%setup -q -c -n hunspell-ru
%build
chmod -x *
%install
mkdir -p %buildroot%_datadir/myspell
iconv -fKOI8-R -tUTF-8 ru_RU_yo.aff > %buildroot%_datadir/myspell/ru_RU_io.aff
iconv -fKOI8-R -tUTF-8 ru_RU_yo.dic > %buildroot%_datadir/myspell/ru_RU_io.dic
subst 's|^SET KOI8-R|SET UTF-8|' %buildroot%_datadir/myspell/ru_RU_io.aff
mkdir -p %buildroot%_altdir
cat > %buildroot%_altdir/%name <<EOF
%_datadir/myspell/ru_RU.dic %_datadir/myspell/ru_RU_io.dic 20
%_datadir/myspell/ru_RU.aff %_datadir/myspell/ru_RU_io.aff 20
EOF
%files
%doc README_ru_RU*.txt
%_altdir/%name
%_datadir/myspell/*
%changelog
…
Полный changelog можно просмотреть здесь