commit
7bb8f6602b
BIN
hyph_sk_SK.zip
Normal file
BIN
hyph_sk_SK.zip
Normal file
Binary file not shown.
37
hyphen-sk.spec
Normal file
37
hyphen-sk.spec
Normal 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
4
hyphen-sk.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
Loading…
x
Reference in New Issue
Block a user