diff --git a/hunspell-tn.spec b/hunspell-tn.spec new file mode 100644 index 0000000..639e069 --- /dev/null +++ b/hunspell-tn.spec @@ -0,0 +1,37 @@ +Name: hunspell-tn +Version: 0.20150904 +Release: 3 +Summary: Hunspell dictionaries for Tswana +License: GPLv3+ +URL: https://addons.mozilla.org/en-US/firefox/addon/tswana-spell-checker/ +Source: https://addons.mozilla.org/firefox/downloads/file/347396/tswana_spell_checker-20150904-sm+tb+fx+an+fn.xpi +BuildArch: noarch + +Requires: hunspell +Supplements: (hunspell and langpacks-tn) + +%description +Hunspell dictionaries for Tswana + +%prep +%autosetup -c -n hunspell-tn -p1 + +%build + +%install +install -Dp dictionaries/tn-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/tn_ZA.aff +cp -p dictionaries/tn-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/tn_ZA.dic +cd $RPM_BUILD_ROOT/%{_datadir}/myspell/ + +ln -s tn_ZA.aff tn_BW.aff +ln -s tn_ZA.dic tn_BW.dic +cd .. + + +%files +%doc dictionaries/README_tn_ZA.txt +%{_datadir}/myspell/* + +%changelog +* Mon Apr 27 2020 songzhenyu - 0.20150904-3 +- Package init diff --git a/hunspell-tn.yaml b/hunspell-tn.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-tn.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/tswana_spell_checker-20150904-sm+tb+fx+an+fn.xpi b/tswana_spell_checker-20150904-sm+tb+fx+an+fn.xpi new file mode 100644 index 0000000..f9d1e86 Binary files /dev/null and b/tswana_spell_checker-20150904-sm+tb+fx+an+fn.xpi differ