diff --git a/.gitignore b/.gitignore index e69de29..494c026 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +hyph-eu.tex diff --git a/hyphen-eu-cleantex.patch b/hyphen-eu-cleantex.patch new file mode 100644 index 0000000..c2dff1b --- /dev/null +++ b/hyphen-eu-cleantex.patch @@ -0,0 +1,15 @@ +--- hyph-eu.tex 2009-06-13 14:04:38.000000000 +0100 ++++ hyph-eu.tex 2009-06-13 14:04:53.000000000 +0100 +@@ -41,7 +41,6 @@ + % happen in Basque. Would they happen, they would be hyphenated + % according to the rules. + % +-\patterns{ + % Rule SR1 + % Vowels are kept together by the defaults + % Rule SR2 +@@ -89,4 +88,3 @@ + 1t2ra 1t2re 1t2ro 1t2ri 1t2ru + % We now avoid some problematic breaks. + su2b2r su2b2l +-} diff --git a/hyphen-eu.spec b/hyphen-eu.spec new file mode 100644 index 0000000..fa84854 --- /dev/null +++ b/hyphen-eu.spec @@ -0,0 +1,104 @@ +Name: hyphen-eu +Summary: Basque hyphenation rules +%global upstreamid 20110620 +Version: 0.%{upstreamid} +Release: 17%{?dist} +#? in a url causes trouble +#http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex?view=co +Source: hyph-eu.tex +URL: http://tp.lc.ehu.es/jma/basque.html +License: LPPL +BuildArch: noarch +BuildRequires: hyphen-devel +Requires: hyphen +Supplements: (hyphen and langpacks-eu) +Patch0: hyphen-eu-cleantex.patch + +%description +Basque hyphenation rules. + +%prep +%setup -T -q -c -n hyphen-eu +cp -p %{SOURCE0} . +%patch0 -p0 -b .clean + +%build +grep -v "^%" hyph-eu.tex | tr ' ' '\n' > temp.tex +substrings.pl temp.tex hyph_eu_ES.dic ISO8859-1 +echo "Created with substring.pl by substrings.pl hyph-eu.tex hyph_eu_ES.dic ISO8859-1" > README +echo "---" >> README +head -n 34 hyph-eu.tex >> README + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p hyph_eu_ES.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen + + +%files +%doc README +%{_datadir}/hyphen/* + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.20110620-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.20110620-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.20110620-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.20110620-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.20110620-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.20110620-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.20110620-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.20110620-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 19 2016 Parag Nemade - 0.20110620-9 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 0.20110620-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.20110620-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.20110620-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.20110620-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.20110620-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.20110620-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.20110620-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Oct 17 2011 Caolán McNamara - 0.20110620-1 +- latest version + +* Wed Feb 09 2011 Fedora Release Engineering - 0.20100531-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Jun 01 2010 Caolán McNamara - 0.20100531-1 +- latest version + +* Fri Jul 24 2009 Fedora Release Engineering - 0.20080628-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jun 13 2009 Caolán McNamara - 0.20080628-1 +- initial version diff --git a/sources b/sources new file mode 100644 index 0000000..0739f5d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a69a25111f7db1d80bf490fed54fe791 hyph-eu.tex