!1 package init

Merge pull request !1 from huanghaitao/master
This commit is contained in:
openeuler-ci-bot 2020-07-16 09:13:35 +08:00 committed by Gitee
commit c7a0a03068
2 changed files with 32 additions and 0 deletions

32
hunspell-sv.spec Normal file
View File

@ -0,0 +1,32 @@
Name: hunspell-sv
Version: 2.40
Release: 1
Summary: Hunspell dictionaries for Swedish
License: LGPLv3
URL: https://aur.archlinux.org/packages/hunspell-sv/
Source: https://extensions.libreoffice.org/assets/downloads/z/ooo-swedish-dict-2-40.oxt
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-sv)
%description
Hunspell dictionaries for Swedish.
%prep
%autosetup -c -n hunspell-sv -p1
%build
sed -i 's/\r$//' LICENSE_sv_SE.txt
sed -i 's/\r$//' LICENSE_en_US.txt
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc LICENSE_sv_SE.txt LICENSE_en_US.txt
%{_datadir}/myspell/*
%changelog
* Mon Apr 20 2020 huanghaitao <huanghaitao2@huawei.com> - 2.40-1
- Package init

BIN
ooo-swedish-dict-2-40.oxt Normal file

Binary file not shown.