package init

This commit is contained in:
root 2020-07-07 14:23:53 +08:00
parent 75e83564a6
commit 66c764d614
2 changed files with 34 additions and 0 deletions

34
hunspell-mi.spec Normal file
View File

@ -0,0 +1,34 @@
Name: hunspell-mi
Summary: Hunspell dictionaries for Maori
Version: 0.20080630
Release: 18
Source: http://downloads.sourceforge.net/project/openofficeorg.mirror/contrib/dictionaries/mi_NZ.zip
URL: https://wiki.openoffice.org/wiki/Dictionaries
License: GPLv3+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-mi)
%description
Hunspell dictionaries for Maori.
%prep
%autosetup -c -n hunspell-mi-%{version} -p1
%build
tr -d '\r' < README_mi_NZ.txt > README_mi_NZ.txt.new
touch -r README_mi_NZ.txt README_mi_NZ.txt.new
mv -f README_mi_NZ.txt.new README_mi_NZ.txt
%install
install -Dp mi_NZ.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.aff
install -Dp mi_NZ.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.dic
%files
%doc README_mi_NZ.txt LICENSE_mi_NZ.txt
%{_datadir}/myspell/*
%changelog
* Thu Apr 23 2020 lizhenhua <lizhenhua21@huawei.com> - 0.20080630-18
- Package init

BIN
mi_NZ.zip Normal file

Binary file not shown.