commit
1a6d7e9fc8
BIN
aspell6-fa-0.11-0.tar.bz2
Normal file
BIN
aspell6-fa-0.11-0.tar.bz2
Normal file
Binary file not shown.
34
hunspell-fa.spec
Normal file
34
hunspell-fa.spec
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
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
|
||||||
Loading…
x
Reference in New Issue
Block a user