Группа :: Работа с текстами
Пакет: hunspell-be
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: hunspell-be
Summary: Belarusian hunspell dictionaries
Version: 1.1
Release: alt2
Source: http://extensions.services.openoffice.org/files/2412/1/dict-be-official.oxt
Group: Text tools
Url: http://extensions.services.openoffice.org/project/dict-be-official
License: GPL+ and LGPLv2+
BuildArch: noarch
Requires: libhunspell
Buildrequires: unzip
%description
Belarusian hunspell dictionaries.
%package -n hyphen-be
Requires: libhyphen
Summary: Belarusian hyphenation rules
Group: Text tools
%description -n hyphen-be
Belarusian hyphenation rules.
%prep
%setup -c -n hunspell-be
%build
subst "s/microsoft-cp1251/CP1251/g" be-official.aff hyph_be_BY.dic
tail -n +3 hyph_be_BY.dic| head -n 3 > README_hyph_be_BY
%install
mkdir -p %buildroot/%_datadir/myspell
cp -p be-official.aff %buildroot/%_datadir/myspell/be_BY.aff
cp -p be-official.dic %buildroot/%_datadir/myspell/be_BY.dic
mkdir -p %buildroot/%_datadir/hyphen
cp -p hyph_be_BY.dic %buildroot/%_datadir/hyphen/hyph_be_BY.dic
%files
%_datadir/myspell/*
%files -n hyphen-be
%doc README_hyph_be_BY
%_datadir/hyphen/*
%changelog
…
Полный changelog можно просмотреть здесь
Summary: Belarusian hunspell dictionaries
Version: 1.1
Release: alt2
Source: http://extensions.services.openoffice.org/files/2412/1/dict-be-official.oxt
Group: Text tools
Url: http://extensions.services.openoffice.org/project/dict-be-official
License: GPL+ and LGPLv2+
BuildArch: noarch
Requires: libhunspell
Buildrequires: unzip
%description
Belarusian hunspell dictionaries.
%package -n hyphen-be
Requires: libhyphen
Summary: Belarusian hyphenation rules
Group: Text tools
%description -n hyphen-be
Belarusian hyphenation rules.
%prep
%setup -c -n hunspell-be
%build
subst "s/microsoft-cp1251/CP1251/g" be-official.aff hyph_be_BY.dic
tail -n +3 hyph_be_BY.dic| head -n 3 > README_hyph_be_BY
%install
mkdir -p %buildroot/%_datadir/myspell
cp -p be-official.aff %buildroot/%_datadir/myspell/be_BY.aff
cp -p be-official.dic %buildroot/%_datadir/myspell/be_BY.dic
mkdir -p %buildroot/%_datadir/hyphen
cp -p hyph_be_BY.dic %buildroot/%_datadir/hyphen/hyph_be_BY.dic
%files
%_datadir/myspell/*
%files -n hyphen-be
%doc README_hyph_be_BY
%_datadir/hyphen/*
%changelog
…
Полный changelog можно просмотреть здесь