!1 package init

Merge pull request !1 from small_leek/master
This commit is contained in:
openeuler-ci-bot 2020-07-16 20:05:10 +08:00 committed by Gitee
commit 10e49085d6
3 changed files with 42 additions and 0 deletions

38
hunspell-ru.spec Normal file
View File

@ -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 <captain.a.wei@gmail.com> 1:0.99g5-15
- Package init

4
hunspell-ru.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA

Binary file not shown.