!1 package init

Merge pull request !1 from jackie_wu123/master
This commit is contained in:
openeuler-ci-bot 2020-07-07 18:19:10 +08:00 committed by Gitee
commit 7bb8f6602b
3 changed files with 41 additions and 0 deletions

BIN
hyph_sk_SK.zip Normal file

Binary file not shown.

37
hyphen-sk.spec Normal file
View File

@ -0,0 +1,37 @@
Name: hyphen-sk
Summary: Rules for slovak hyphenation
Version: 0.20031227
Release: 20
Source: http://ftp5.gwdg.de/pub/openoffice/contrib/dictionaries/hyph_sk_SK.zip
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
License: GPL+
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-sk)
%description
Rules for slovak hyphenation.
%prep
%autosetup -c
%build
chmod -x *
for i in README_hyph_sk_SK.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new;touch -r $i $i.new;mv -f $i.new $i
fi
tr -d '\r' < $i > $i.new;touch -r $i $i.new;mv -f $i.new $i
done
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%files
%doc README_hyph_sk_SK.txt
%{_datadir}/hyphen/*
%changelog
* Wed Apr 15 2020 wutao <wutao61@huawei.com> - 0.20031227-10
- Package init

4
hyphen-sk.yaml Normal file
View File

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