!1 package init

Merge pull request !1 from small_leek/xsl
This commit is contained in:
openeuler-ci-bot 2020-07-07 14:31:42 +08:00 committed by Gitee
commit 8776bac969
2 changed files with 40 additions and 0 deletions

BIN
hyph_is_IS.zip Normal file

Binary file not shown.

40
hyphen-is.spec Normal file
View File

@ -0,0 +1,40 @@
Name: hyphen-is
Summary: hyphenation rules Icelandic
Version: 0.20030920
Release: 21
Source: http://download.services.openoffice.org/contrib/dictionaries/hyph_is_IS.zip
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
License: LGPLv2+ or SISSL
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-is)
%description
hyphenation rules Icelandic.
%prep
%autosetup -c -p 1
%build
chmod -x *
for i in README_hyph_is_IS.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_is_IS.txt
%{_datadir}/hyphen/*
%changelog
* Thu Apr 16 2020 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.20030920-21
- package init