!1 Package init

Merge pull request !1 from 成子晗/master
This commit is contained in:
openeuler-ci-bot 2020-07-14 14:18:08 +08:00 committed by Gitee
commit 275d97d84a
3 changed files with 40 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

4
hunspell-la.yaml Normal file
View File

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