37 lines
1009 B
RPMSpec
37 lines
1009 B
RPMSpec
Name: hunspell-la
|
|
Version: 0.20130331
|
|
Release: 13
|
|
Summary: Dictionaries of latin hunspell.
|
|
License: GPLv2+
|
|
URL: http://extensions.services.openoffice.org/project/dict-la
|
|
Source: https://downloads.sourceforge.net/project/aoo-extensions/1141/3/dict-la_2013-03-31.oxt
|
|
BuildArch: noarch
|
|
Requires: hunspell
|
|
|
|
%description
|
|
Dictionaries of latin hunspell.
|
|
|
|
%prep
|
|
%autosetup -c -n hunspell-la -p1
|
|
|
|
%build
|
|
for i in README_extension_owner-la.txt la/README_la.txt la/COPYING*; do
|
|
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new.1
|
|
tr -d '\r' < $i.new.1 > $i.new.2
|
|
rm -f $i $i.new.1
|
|
mv -f $i.new.2 $i
|
|
done
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
install -p la/la.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/la.dic
|
|
install -p la/la.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/la.aff
|
|
|
|
%files
|
|
%doc README_extension_owner-la.txt la/README_la.txt la/COPYING_*
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Tue Apr 14 2020 chengzihan <chengzihan2@huawei.com> - 0.20130331-13
|
|
- Package init
|