diff --git a/hunspell-ne.spec b/hunspell-ne.spec new file mode 100644 index 0000000..f0b0852 --- /dev/null +++ b/hunspell-ne.spec @@ -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 - 20080425-19 +- package init diff --git a/hunspell-ne.yaml b/hunspell-ne.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-ne.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/ne_NP_dict.zip b/ne_NP_dict.zip new file mode 100644 index 0000000..bbd0630 Binary files /dev/null and b/ne_NP_dict.zip differ