44 lines
1.1 KiB
RPMSpec
44 lines
1.1 KiB
RPMSpec
Name: hyphen-is
|
|
Summary: hyphenation rules Icelandic
|
|
Version: 0.20030920
|
|
Release: 22
|
|
Source: https://sourceforge.net/projects/openofficeorg.mirror/files/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
|
|
* Wed Nov 16 2022 caodongxia <caodongxia@h-partners.com> - 0.20030920-22
|
|
- Modify invalid source0
|
|
|
|
* Thu Apr 16 2020 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.20030920-21
|
|
- package init
|