hunspell-ru/hunspell-ru.spec
2020-09-14 14:37:11 +08:00

42 lines
1.2 KiB
RPMSpec

Name: hunspell-ru
Summary: Russian hunspell dictionaries used in OpenOffice
Version: 0.99g5
Release: 16
Epoch: 1
# Link is dead now don't report any bugs
Source: http://addons.thunderbird.net/thunderbird/downloads/file/98798/russian-spellchecking_dictionary-0.4.4-fx+tb+sm.xpi
URL: http://scon155.phys.msu.su/eng/lebedev.html
License: BSD
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-ru)
%description
Russian hunspell dictionaries used in OpenOffice.
%prep
%autosetup -c -p1 -n hunspell-ru
%build
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -Dp dictionaries/ru.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ru_RU.dic
install -Dp dictionaries/ru.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ru_RU.aff
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ln -s ru_RU.aff ru_UA.aff
ln -s ru_RU.dic ru_UA.dic
cd -
%files
%doc dictionaries/Changelog dictionaries/LICENSE dictionaries/README
%{_datadir}/myspell/*
%changelog
* Fri Sep 11 2020 baizhonggui <baizhonggui@huawei.com> 1:0.99g5-16
- Modify source and rename package
* Mon Apr 20 2020 Captain Wei <captain.a.wei@gmail.com> 1:0.99g5-15
- Package init