!1 package init

Merge pull request !1 from small_leek/master
This commit is contained in:
openeuler-ci-bot 2020-07-16 15:56:17 +08:00 committed by Gitee
commit 58fd35b488
3 changed files with 40 additions and 0 deletions

Binary file not shown.

36
hunspell-ny.spec Normal file
View File

@ -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 <huanghaitao8@huawei.com> - 0.01-16
- package init

4
hunspell-ny.yaml Normal file
View File

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