35 lines
958 B
RPMSpec
35 lines
958 B
RPMSpec
Name: hunspell-fa
|
|
Version: 0.20070116
|
|
Release: 18
|
|
Summary: Farsi hunspell dictionaries
|
|
License: GPLv2+
|
|
URL: http://aspell.net/
|
|
Source: https://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2
|
|
BuildArch: noarch
|
|
BuildRequires: aspell, hunspell-devel
|
|
Requires: hunspell
|
|
Supplements: (hunspell and langpacks-fa)
|
|
%description
|
|
hunspell dictionaries for Farsi.
|
|
|
|
%prep
|
|
%autosetup -n aspell6-fa-0.11-0 -p1
|
|
|
|
%build
|
|
export LANG=fa_IR.utf8
|
|
preunzip -d *.cwl
|
|
cat *.wl > farsi.wordlist
|
|
wordlist2hunspell farsi.wordlist fa_IR
|
|
|
|
%install
|
|
install -Dp *.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/fa_IR.dic
|
|
install -Dp *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/fa_IR.aff
|
|
|
|
%files
|
|
%doc COPYING Copyright doc/README doc/ChangeLog
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Mon Apr 27 2020 yanan li <liyanan032@huawei.com> - 0.20070116-18
|
|
- Package init
|