Package init

This commit is contained in:
chengzihan2 2020-07-07 14:32:56 +08:00
parent 3d398b51c1
commit 1cac6e1d41
2 changed files with 36 additions and 0 deletions

BIN
dict-la_2013-03-31.oxt Normal file

Binary file not shown.

36
hunspell-la.spec Normal file
View File

@ -0,0 +1,36 @@
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