commit
b8b39ca2cf
42
hunspell-tl.spec
Normal file
42
hunspell-tl.spec
Normal 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
4
hunspell-tl.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
Loading…
x
Reference in New Issue
Block a user