hunspell-ru/hunspell-ru.spec
2020-07-09 20:29:00 +08:00

39 lines
1.0 KiB
RPMSpec

Name: hunspell-ru
Summary: Russian hunspell dictionaries used in OpenOffice
Version: 0.99g5
Release: 15
Epoch: 1
# Link is dead now don't report any bugs
Source: http://releases.mozilla.org/pub/mozilla.org/addons/3703/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
* Mon Apr 20 2020 Captain Wei <captain.a.wei@gmail.com> 1:0.99g5-15
- Package init