package init

This commit is contained in:
root 2020-07-04 10:52:24 +08:00
parent 6b782afa57
commit 231c50649d
2 changed files with 36 additions and 0 deletions

36
hunspell-fr.spec Normal file
View File

@ -0,0 +1,36 @@
Name: hunspell-fr
Version: 6.2
Release: 3
Summary: hunspell dictionaries for French
License: MPLv2.0
URL: http://www.dicollecte.org/home.php?prj=fr
Source: https://sources.voidlinux.org/hunspell-fr_FR-6.2/hunspell-french-dictionaries-v%{version}.zip
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-fr)
%description
hunspell dictionaries for French (France, Belgium, etc.).
%prep
%autosetup -c -n hunspell-fr -p1
%build
%install
install -Dp fr-toutesvariantes.dic %{buildroot}/%{_datadir}/myspell/fr_FR.dic
install -Dp fr-toutesvariantes.aff %{buildroot}/%{_datadir}/myspell/fr_FR.aff
cd %{buildroot}/%{_datadir}/myspell/
fr_FR_aliases="fr_BE fr_CA fr_CH fr_LU fr_MC"
for lang in $fr_FR_aliases; do
ln -s fr_FR.aff $lang.aff
ln -s fr_FR.dic $lang.dic
done
cd -
%files
%doc README_dict_fr.txt
%{_datadir}/myspell/*
%changelog
* Mon Apr 27 2020 yanan li <liyanan032@huawei.com> - 6.2-3
- Package init

Binary file not shown.