package init

This commit is contained in:
hht8 2020-07-07 19:15:08 +08:00
parent 8b23832f6c
commit 77de3ba674
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.