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

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

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

%define src_ver 1.0
%define languagelocal francais
%define languageeng french
%define languagecode fr

Summary: French files for ispell
Summary(fr): Dictionnaire franц╖ais pour ispell
Name: ispell-%{languagecode}
Epoch:1
Version: 1.0
Release: alt2

Packager: Igor Vlasenko <viy at altlinux.ru>

Url: http://www.unil.ch/ling/cp/frgut.html
Source: http://www.unil.ch/ling/cp/Francais-GUTenberg-v%{src_ver}.tar.bz2
License: GPL
Group: Text tools

# Can't be noarch due to the byte order

#BuildArch: noarch
Autoreqprov: no

Requires: ispell
# the binary format changed with ispell 3.2.06
PreReq: ispell >= 3.2.06-2mdk
Provides: ispell-dictionary
BuildRequires: ispell

Obsoletes: ispell-francais-IREQ, ispell-french, ispell-francais
Obsoletes: ifrench

%description
ispell-fr is spelling data in French to be used by ispell program.
With this extension, you can compose a document in French and check
for the typos easily.

Ispell can be used directly from command line to check a file;
or used by several text dealing programs, like LyX, etc.

%description -l fr
Ceci est le dictionnaire franц╖ais pour le correcteur
orthographique interactif de GNU ispell.

%prep
%setup -n Francais-GUTenberg-v%src_ver
# answer "oui" (yes) 10 times.
echo -e "o\no\no\no\no\no\no\no\no\no\n" | ./makehash
mv -f francais.dico %languagelocal.hash

%build
%install
mkdir -p $RPM_BUILD_ROOT%_libdir/ispell

install -m 644 %languagelocal.aff $RPM_BUILD_ROOT%_libdir/ispell/%languagelocal.aff
install -m 644 %languagelocal.hash $RPM_BUILD_ROOT%_libdir/ispell/%languagelocal.hash

# LaTeX babel

if [ "%languagelocal" != "%languageeng" ];then
cd $RPM_BUILD_ROOT%_libdir/ispell
ln -s %languagelocal.aff %languageeng.aff
ln -s %languagelocal.hash %languageeng.hash
fi

%post
cd %_libdir/ispell
mv -f %languagelocal.hash %languagelocal.ispell
buildhash %languagelocal.ispell %languagelocal.aff %languagelocal.hash &> /dev/null
rm -f %languagelocal.ispell.stat %languagelocal.ispell.cnt %languagelocal.ispell

%files
%doc ALIRE HISTORIQUE docs/*.* utils
%_libdir/ispell/*

%changelog

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

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