diff --git a/hunspell-chichewa-ny-dict-0.01.oxt b/hunspell-chichewa-ny-dict-0.01.oxt new file mode 100644 index 0000000..7277266 Binary files /dev/null and b/hunspell-chichewa-ny-dict-0.01.oxt differ diff --git a/hunspell-ny.spec b/hunspell-ny.spec new file mode 100644 index 0000000..c301a75 --- /dev/null +++ b/hunspell-ny.spec @@ -0,0 +1,36 @@ +Name: hunspell-ny +Epoch: 1 +Version: 0.01 +Release: 16 +Summary: Hunspell dictionaries for Chichewa +License: GPLv3+ +URL: http://extensions.services.openoffice.org/en/project/chicspell +Source: https://downloads.sourceforge.net/project/aoo-extensions/4052/0/hunspell-chichewa-ny-dict-%{version}.oxt +BuildArch: noarch +BuildRequires: hunspell-devel +Requires: hunspell +Supplements: (hunspell and langpacks-ny) +%description +Hunspell dictionaries for Chichewa. + +%prep +%autosetup -c -n hunspell-ny-%{version} -p1 + +%build +cd dictionaries +iconv -f ISO-8859-2 -t UTF-8 README_ny_MW.txt > README_ny_MW.txt.new +touch -r README_ny_MW.txt README_ny_MW.txt.new +mv -f README_ny_MW.txt.new README_ny_MW.txt +cd - + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/myspell +install -p dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/myspell + +%files +%doc dictionaries/README_ny_MW.txt LICENSES-en.txt +%{_datadir}/myspell/* + +%changelog +* Tue Apr 28 2020 huanghaitao - 0.01-16 +- package init diff --git a/hunspell-ny.yaml b/hunspell-ny.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-ny.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA