package init

This commit is contained in:
small_leek 2020-07-09 20:29:25 +08:00
parent f82bdb00f7
commit 8adc727dc4
3 changed files with 41 additions and 0 deletions

BIN
hyph_pt_PT.zip Normal file

Binary file not shown.

37
hyphen-pt.spec Normal file
View File

@ -0,0 +1,37 @@
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

4
hyphen-pt.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA