39 lines
877 B
RPMSpec
39 lines
877 B
RPMSpec
Name: hunspell-ti
|
|
Version: 0.20090911
|
|
Release: 15
|
|
Summary: Hunspell dictionaries for Tigrigna
|
|
License: GPL+
|
|
Source: http://www.cs.ru.nl/~biniam/geez/dict/ti_ER.zip
|
|
URL: http://www.cs.ru.nl/~biniam/geez/index.php
|
|
BuildArch: noarch
|
|
|
|
Requires: hunspell
|
|
Supplements: (hunspell and langpacks-ti)
|
|
|
|
%description
|
|
Hunspell dictionaries for Tigrigna.
|
|
|
|
%prep
|
|
%autosetup -c hunspell-ti -p1
|
|
|
|
%build
|
|
tr -d '\r' < README.txt > README.txt.new
|
|
touch -r README.txt README.txt.new
|
|
mv -f README.txt.new README.txt
|
|
|
|
%install
|
|
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
cp -p ti_ER.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|
ln -s ti_ER.aff ti_ET.aff
|
|
ln -s ti_ER.dic ti_ET.dic
|
|
|
|
|
|
%files
|
|
%doc README.txt
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Tue Apr 28 2020 songzhenyu<songzhenyu@huawei.com> - 0.20090911-15
|
|
- Package init
|