diff --git a/hunspell-ru.spec b/hunspell-ru.spec new file mode 100644 index 0000000..e5f2131 --- /dev/null +++ b/hunspell-ru.spec @@ -0,0 +1,38 @@ +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 1:0.99g5-15 +- Package init diff --git a/hunspell-ru.yaml b/hunspell-ru.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-ru.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/russian_spellchecking_dictionary-0.4.4-fx+tb+sm.xpi b/russian_spellchecking_dictionary-0.4.4-fx+tb+sm.xpi new file mode 100644 index 0000000..45c2857 Binary files /dev/null and b/russian_spellchecking_dictionary-0.4.4-fx+tb+sm.xpi differ