package init

This commit is contained in:
small_leek 2020-07-09 20:25:17 +08:00
parent fbc13fbb7c
commit be910cb9f2
3 changed files with 38 additions and 0 deletions

BIN
dict-nr_za-2009.10.30.oxt Normal file

Binary file not shown.

34
hunspell-nr.spec Normal file
View File

@ -0,0 +1,34 @@
Name: hunspell-nr
Version: 0.20091030
Release: 16
Summary: Hunspell dictionaries for Southern Ndebele
License: LGPLv2+
URL: https://extensions.openoffice.org/en/project/ndebele-south-spell-checker
Source: https://downloads.sourceforge.net/project/aoo-extensions/3141/0/dict-nr_za-2009.10.30.oxt
BuildArch: noarch
Requires: hunspell
Buildrequires: dos2unix
Supplements: (hunspell and langpacks-nr)
%description
Hunspell dictionaries for Southern Ndebele.
%prep
%autosetup -c -n hunspell-nr -p1
%build
iconv -f ISO-8859-2 -t UTF-8 README-nr_ZA.txt -o README-nr_ZA.txt.new
touch -r README-nr_ZA.txt README-nr_ZA.txt.new
mv -f README-nr_ZA.txt.new README-nr_ZA.txt
dos2unix release-notes-nr_ZA.txt package-description.txt
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc README-nr_ZA.txt release-notes-nr_ZA.txt package-description.txt
%{_datadir}/myspell/*
%changelog
* Tue Apr 28 2020 huanghaitao <huanghaitao8@huawei.com> - 0.20091030-16
- package init

4
hunspell-nr.yaml Normal file
View File

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