Sisyphus repository
Last update: 17 march 2018 | SRPMs: 18217 | Visits: 11157605
en ru br
ALT Linux repos

Group :: Text tools
RPM: aspell-eo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
# see
%define _localstatedir %{_var}
%define _enable_debug_packages %{nil}
%define debug_package          %{nil}

# NOTE: as of version 0.50-2, the wordlist isn't using accents;

# so we fix that with a small script in %setup section; that should
# be removed once an accented wordlist is included

%define src_ver 2.1.20000225a-2
%define fname aspell6-%{languagecode}
%define aspell_ver 0.60
%define languagelocal esperanto
%define languageeng esperanto
%define languageenglazy Esperanto
%define languagecode eo
%define lc_ctype eo_XX

Summary:       %{languageenglazy} files for aspell
Name:          aspell-%{languagecode}
Version:       2.1.20000225a.2
Release:       alt2_9
Group:         Text tools
License:       GPL
Provides: spell-eo

BuildRequires: aspell
Requires:      aspell

# Mageia Stuff

# aspell = 1, myspell = 2, lang-specific = 3
Provides:      aspell-dictionary

Autoreqprov:   no

A %{languageenglazy} dictionary for use with aspell, a spelling checker.

%setup -q -n %{fname}-%{src_ver}


# the word list doesn't use accents; fixing that

cat << EOF >
cat - | \
 sed 's/C[Xx]/ĉ/g' | sed 's/cx/ĉ/g' | \
 sed 's/G[Xx]/Ĝ/g' | sed 's/gx/ĝ/g' | \
 sed 's/H[Xx]/Ĥ/g' | sed 's/hx/ĥ/g' | \
 sed 's/J[Xx]/Ĵ/g' | sed 's/jx/ĵ/g' | \
 sed 's/S[Xx]/Ŝ/g' | sed 's/sx/ŝ/g' | \
 sed 's/U[Xx]/Ŭ/g' | sed 's/ux/ŭ/g' | \
 iconv -f utf-8 -t iso-8859-3
preunzip -c eo.cwl | sh ./ | (LC_ALL=C sort) > eo.wl
aspell  --lang=eo create master ./eo.rws < eo.wl


# fix doc perms

chmod 644 README



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin