commit
95a76e1805
37
hunspell-tn.spec
Normal file
37
hunspell-tn.spec
Normal file
@ -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<songzhenyu@huawei.com> - 0.20150904-3
|
||||||
|
- Package init
|
||||||
4
hunspell-tn.yaml
Normal file
4
hunspell-tn.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
BIN
tswana_spell_checker-20150904-sm+tb+fx+an+fn.xpi
Normal file
BIN
tswana_spell_checker-20150904-sm+tb+fx+an+fn.xpi
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user