package init

This commit is contained in:
wangchong56 2020-07-16 16:02:52 +08:00
parent 44972c48ad
commit f226ef029a
3 changed files with 46 additions and 0 deletions

42
hunspell-tl.spec Normal file
View File

@ -0,0 +1,42 @@
Name: hunspell-tl
Version: 0.20050109
Release: 19
Summary: Hunspell dictionaries for Tagalog
License: GPLv2+
URL: https://ftp.nluug.nl/office/openoffice/contrib/dictionaries/
Source: https://ftp.nluug.nl/office/openoffice/contrib/dictionaries/tl_PH.zip
BuildArch: noarch
Requires: hunspell
BuildRequires: dos2unix
Supplements: (hunspell and langpacks-tl)
%description
Hunspell dictionaries for Tagalog
%prep
%autosetup -c -n hunspell-tl -p1
%build
iconv -f ISO-8859-1 -t UTF-8 README_tl_PH.txt > README_tl_PH.txt.new
touch -r README_tl_PH.txt README_tl_PH.txt.new
mv -f README_tl_PH.txt.new README_tl_PH.txt
dos2unix README_tl_PH.txt
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p tl_PH.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ln -s tl_PH.aff fil_PH.aff
ln -s tl_PH.dic fil_PH.dic
cd ..
%files
%doc README_tl_PH.txt
%{_datadir}/myspell/*
%changelog
* Wed Apr 29 2020 songzhenyu<songzhenyu@huawei.com> - 0.20050109-19
- Package init

4
hunspell-tl.yaml Normal file
View File

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

BIN
tl_PH.zip Normal file

Binary file not shown.