diff --git a/hyph_pt_PT.zip b/hyph_pt_PT.zip new file mode 100644 index 0000000..79b0927 Binary files /dev/null and b/hyph_pt_PT.zip differ diff --git a/hyphen-pt.spec b/hyphen-pt.spec new file mode 100644 index 0000000..2c36ea7 --- /dev/null +++ b/hyphen-pt.spec @@ -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 0.20021021-19 +- Package init diff --git a/hyphen-pt.yaml b/hyphen-pt.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hyphen-pt.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA