hunspell-mi/hunspell-mi.spec
2020-07-07 14:23:53 +08:00

35 lines
941 B
RPMSpec

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