package init

This commit is contained in:
wangchong56 2020-07-16 16:00:30 +08:00
parent b10d0a747a
commit 04006ac5fc
3 changed files with 41 additions and 0 deletions

37
hunspell-tn.spec Normal file
View 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
View File

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

Binary file not shown.