commit
8776bac969
BIN
hyph_is_IS.zip
Normal file
BIN
hyph_is_IS.zip
Normal file
Binary file not shown.
40
hyphen-is.spec
Normal file
40
hyphen-is.spec
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user