Репозитории ALT
Группа :: Система/Интернационализация
Пакет: ispell-uk
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Summary: ukrainian dictionary for ispell
Name: ispell-uk
Version: 1.2
Release: alt1
License: GPL and LGPL
Group: System/Internationalization
%define sourcename spell-uk-%{version}
Source: %{sourcename}.tgz
Url: http://ispell-uk.sourceforge.net/ispell-uk/
#Url: http://sourceforge.net/projects/ispell-uk
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: System/Internationalization
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}
%build
%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
%__subst 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 можно просмотреть здесь
Name: ispell-uk
Version: 1.2
Release: alt1
License: GPL and LGPL
Group: System/Internationalization
%define sourcename spell-uk-%{version}
Source: %{sourcename}.tgz
Url: http://ispell-uk.sourceforge.net/ispell-uk/
#Url: http://sourceforge.net/projects/ispell-uk
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: System/Internationalization
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}
%build
%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
%__subst 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 можно просмотреть здесь