diff --git a/.gitignore b/.gitignore index e69de29..e716a8c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +hyph_pt_PT.zip diff --git a/hyphen-pt.spec b/hyphen-pt.spec new file mode 100644 index 0000000..54d32e6 --- /dev/null +++ b/hyphen-pt.spec @@ -0,0 +1,103 @@ +Name: hyphen-pt +Summary: Portuguese hyphenation rules +%global upstreamid 20021021 +Version: 0.%{upstreamid} +Release: 22%{?dist} +Source: http://download.services.openoffice.org/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. + +%prep +%autosetup -c + +%build +chmod -x * + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen +pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ +pt_PT_aliases="pt_BR pt_AO" +for lang in $pt_PT_aliases; do + ln -s hyph_pt_PT.dic "hyph_"$lang".dic" +done + + +%files +%doc README_hyph_pt_PT.txt +%{_datadir}/hyphen/* + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.20021021-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.20021021-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.20021021-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.20021021-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.20021021-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jul 06 2018 Parag Nemade - 0.20021021-17 +- Update Source tag + +* Wed Feb 07 2018 Fedora Release Engineering - 0.20021021-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.20021021-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.20021021-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 19 2016 Parag Nemade - 0.20021021-13 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 0.20021021-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.20021021-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.20021021-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.20021021-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.20021021-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.20021021-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Apr 10 2012 Caolán McNamara - 0.20021021-6 +- Angola + +* Fri Jan 13 2012 Fedora Release Engineering - 0.20021021-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.20021021-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.20021021-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 0.20021021-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jan 14 2009 Caolán McNamara - 0.20021021-1 +- initial version diff --git a/sources b/sources new file mode 100644 index 0000000..55d4e3e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +327989bbbfc9f9d56eb772427a344eb3 hyph_pt_PT.zip