hunspell-se/hunspell-se.spec
2020-07-09 20:25:35 +08:00

37 lines
922 B
RPMSpec

Name: hunspell-se
Version: 1.0
Release: 0.16.beta7
Summary: Hunspell dictionaries for Northern Saami
License: GPLv3
URL: http://www.divvun.no/index.html
Source: http://divvun.no/static_files/hunspell-se.tar.gz
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-se)
%description
Hunspell dictionaries for Northern Saami.
%prep
%autosetup -n hunspell-se-1.0beta7.20090316 -p1
%build
%install
install -Dp se.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/se_NO.aff
install -Dp se.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/se_NO.dic
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
se_NO_aliases="se_SE se_FI"
for lang in $se_NO_aliases; do
ln -s se_NO.aff $lang.aff
ln -s se_NO.dic $lang.dic
done
cd -
%files
%doc Copyright README GPL-3
%{_datadir}/myspell/*
%changelog
* Thu Apr 23 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0-0.16.beta7
- Package init