package init

This commit is contained in:
small_leek 2020-07-09 19:58:57 +08:00
parent 09a90c9766
commit c3600f7240
3 changed files with 40 additions and 0 deletions

36
hunspell-ne.spec Normal file
View File

@ -0,0 +1,36 @@
Name: hunspell-ne
Version: 20080425
Release: 19
Summary: Hunspell dictionaries for Nepali
License: LGPLv2
URL: http://ltk.org.np/downloads
Source: http://ltk.org.np/downloads/ne_NP_dict.zip
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-ne)
%description
Hunspell dictionaries for Nepali.
%prep
%autosetup -c -n ne_NP_dict -p1
sed -i 's|चलन/चल्ती/15,22|चलनचल्ती/15,22|g' ne_NP.dic
sed -i 's|निजामती/I15,22|निजामती/15,22|g' ne_NP.dic
sed -i 's/\r//;s/[ \t]*$//' ne_NP.dic
%build
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ln -s ne_NP.aff ne_IN.aff
ln -s ne_NP.dic ne_IN.dic
cd -
%files
%doc README_ne_NP.txt
%{_datadir}/myspell/*
%changelog
* Thu May 14 2020 huanghaitao <huanghaitao8@huawei.com> - 20080425-19
- package init

4
hunspell-ne.yaml Normal file
View File

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

BIN
ne_NP_dict.zip Normal file

Binary file not shown.