commit
8f84dfbf46
36
hunspell-ne.spec
Normal file
36
hunspell-ne.spec
Normal 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
4
hunspell-ne.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
BIN
ne_NP_dict.zip
Normal file
BIN
ne_NP_dict.zip
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user