Sisyphus repository
Last update: 20 june 2021 | SRPMs: 17558 | Visits: 21248731
en ru br
ALT Linux repos

Group :: Text tools
RPM: aspell-fa

 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: the word list wrongly uses arabic kaf instead of farsi kaf,

# it is fixed trough a script in the make section (pablo)

%define src_ver 0.11-0
%define fname aspell6-%{languagecode}
%define aspell_ver 0.60
%define languageenglazy Persian
%define languagecode fa
%define lc_ctype fa_IR

Summary:       %{languageenglazy} files for aspell
Name:          aspell-%{languagecode}
Version:       0.11.0
Release:       alt2_10
Group:         Text tools
License:   GPL
Provides: spell-%{languagecode}

BuildRequires: aspell >= %{aspell_ver}
Requires:      aspell >= %{aspell_ver}

# Mageia Stuff

Requires:      locales-%{languagecode}
# aspell = 1, myspell = 2, lang-specific = 3
Provides:      aspell-dictionary
Provides:      aspell-%{lc_ctype}

Autoreqprov:   no

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

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

# don't use configure macro

# the word list wrongly uses arabic kaf instead of farsi kaf, fixing it

cat << EOF >
cat - | \
 sed 's/ك/ک/g'
preunzip -c %{languagecode}.cwl | sh ./ | (LC_ALL=C sort) > %{languagecode}.wl
aspell  --lang=%{languagecode} create master ./%{languagecode}.rws < %{languagecode}.wl


chmod 644 Copyright README*

%doc README* Copyright


Full changelog you can see here

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