!1 package init

Merge pull request !1 from small_leek/xsl
This commit is contained in:
openeuler-ci-bot 2020-07-15 11:22:47 +08:00 committed by Gitee
commit 1a6d7e9fc8
2 changed files with 34 additions and 0 deletions

BIN
aspell6-fa-0.11-0.tar.bz2 Normal file

Binary file not shown.

34
hunspell-fa.spec Normal file
View 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