37 lines
908 B
RPMSpec
37 lines
908 B
RPMSpec
Name: hyphen-it
|
|
Summary: hyphenation rules for Italian
|
|
Version: 0.20071127
|
|
Release: 20
|
|
Source: http://download.services.openoffice.org/contrib/dictionaries/hyph_it_IT.zip
|
|
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
|
|
License: LGPLv2+
|
|
BuildArch: noarch
|
|
Requires: hyphen
|
|
Supplements: (hyphen and langpacks-it)
|
|
Provides: hyphen-la = 0.20071127-3
|
|
|
|
%description
|
|
hyphenation rules for Italian
|
|
|
|
%prep
|
|
%autosetup -c -n hyphen-it -p 1
|
|
chmod -x *
|
|
|
|
%build
|
|
|
|
%install
|
|
install -Dp hyph_it_IT.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_it_IT.dic
|
|
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
|
for lang in it_CH la_VA; do
|
|
ln -s hyph_it_IT.dic "hyph_"$lang".dic"
|
|
done
|
|
|
|
|
|
%files
|
|
%doc README_hyph_it_IT.txt
|
|
%{_datadir}/hyphen/*
|
|
|
|
%changelog
|
|
* Thu Apr 16 2020 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.20071127-20
|
|
- package init
|