package init
This commit is contained in:
parent
a79d8994e0
commit
2527d408c9
BIN
hyph_it_IT.zip
Normal file
BIN
hyph_it_IT.zip
Normal file
Binary file not shown.
36
hyphen-it.spec
Normal file
36
hyphen-it.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
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
|
||||||
Loading…
x
Reference in New Issue
Block a user