package init

This commit is contained in:
root 2020-07-04 10:51:05 +08:00
parent c192a503d5
commit 5d919bad01
2 changed files with 32 additions and 0 deletions

Binary file not shown.

32
hunspell-fj.spec Normal file
View File

@ -0,0 +1,32 @@
Name: hunspell-fj
Version: 1.2
Release: 17
Summary: Fijian hunspell dictionaries
License: LGPLv2+ or GPLv2+ or MPLv1.1
URL: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker
Source: https://addons.mozilla.org/firefox/downloads/file/84397/fijian_spelling_dictionary-%{version}-fx+tb+sm.xpi
BuildArch: noarch
BuildRequires: hunspell-devel dos2unix
Requires: hunspell
Supplements: (hunspell and langpacks-fj)
%description
hunspell dictionaries for Fijian.
%prep
%autosetup -c -p1
%build
cd dictionaries
dos2unix README_fj_FJ.txt
chmod -x fj_FJ.*
%install
install -Dp dictionaries/fj_FJ.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/fj.dic
install -Dp dictionaries/fj_FJ.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/fj.aff
%files
%doc dictionaries/README_fj_FJ.txt
%{_datadir}/myspell/*
%changelog
* Mon Apr 27 2020 yanan li <liyanan032@huawei.com> - 1.2-17
- Package init