Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37506297
en ru br
Репозитории ALT
S:1.2-alt3
5.1: 1.2-alt1
4.1: 1.2-alt1
4.0: 1.2-alt1
3.0: 0.7-alt1
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: ispell-uk

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Summary: ukrainian dictionary for ispell

Name: ispell-uk
Version: 1.2
Release: alt3

License: GPL and LGPL
Group: Text tools
%define sourcename spell-uk-%{version}
Url: http://ispell-uk.sourceforge.net/ispell-uk/
#Url: http://sourceforge.net/projects/ispell-uk

Source: %{sourcename}.tgz
Patch: ispell-uk-1.2-perlfix.diff

Requires: ispell >= 3.2.06
Provides: ispell-ua, ispell-dictionary

# arch-dependent(byte-order)!

# BuildArch: noarch

# Automatically added by buildreq on Thu Jan 18 2007

BuildRequires: ispell perl-Encode perl-PerlIO
BuildRequires: ispell >= 3.2.06

%description
This is ukrainian dictionary for spellchecking with ispell program.
The dictionary is in koi8-u encoding.

%package -n ispell-uk-cp1251
Summary: ukrainian dictionary for ispell in cp1251 encoding
Group: Text tools
Requires: ispell >= 3.2.06

%description -n ispell-uk-cp1251
This is ukrainian dictionary for spellchecking with ispell program.
The dictionary is in cp1251 encoding.


%prep
%setup -n %{sourcename}
%patch -p1

%build
export LANG=uk_UA.UTF-8
%make ispell

%install
#rm -rf $RPM_BUILD_ROOT
#%make install-ispell-dict PREFIX=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%_libdir/ispell/
mv dist/i%{sourcename}/ukrainian.aff $RPM_BUILD_ROOT%_libdir/ispell/ukrainian.aff
mv dist/i%{sourcename}/ukrainian.hash $RPM_BUILD_ROOT%_libdir/ispell/ukrainian.hash

# cp1251

make clean
sed -i s,KOI8-U,CP1251, encodings.inc
%make ispell
mv dist/i%{sourcename}/ukrainian.aff $RPM_BUILD_ROOT%_libdir/ispell/ukrainianw.aff
mv dist/i%{sourcename}/ukrainian.hash $RPM_BUILD_ROOT%_libdir/ispell/ukrainianw.hash

%files
%doc README README.uk TODO Copyright
%_libdir/ispell/ukrainian.aff
%_libdir/ispell/ukrainian.hash

%files -n ispell-uk-cp1251
%_libdir/ispell/ukrainianw.aff
%_libdir/ispell/ukrainianw.hash

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin