hyphen-pt/hyphen-pt.spec
2020-07-09 20:29:25 +08:00

38 lines
886 B
RPMSpec

Name: hyphen-pt
Summary: Portuguese hyphenation rules for hunspell used in OpenOffice
Version: 0.20021021
Release: 19
Source: http://openoffice.cs.utah.edu/contrib/dictionaries//hyph_pt_PT.zip
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
License: GPL
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-pt)
%description
Portuguese hyphenation rules for hunspell used in OpenOffice.
%prep
%autosetup -c -p1
chmod -x *
%build
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
install -Dp -m644 *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
cd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
ln -s hyph_pt_PT.dic hyph_pt_BR.dic
ln -s hyph_pt_PT.dic hyph_pt_AO.dic
cd -
%files
%doc README_hyph_pt_PT.txt
%{_datadir}/hyphen/*
%changelog
* Thu Apr 16 2020 Captain Wei <captain.a.wei@gmail.com> 0.20021021-19
- Package init