diff --git a/.gitignore b/.gitignore index e69de29..d7d4e99 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +hyph-cy.tex diff --git a/hyphen-cy-cleantex.patch b/hyphen-cy-cleantex.patch new file mode 100644 index 0000000..ed98b7b --- /dev/null +++ b/hyphen-cy-cleantex.patch @@ -0,0 +1,15 @@ +--- hyph-cy.tex.orig 2009-06-13 19:28:14.000000000 +0100 ++++ hyph-cy.tex 2009-06-13 19:28:42.000000000 +0100 +@@ -23,7 +23,6 @@ + % - 1996 - last change to patterns + % - 2008 - inclusion into hyph-utf8 and file rename (cyhyph.tex -> hyph-cy.tex) + % - June 2011 - added LPPL licence +-\patterns{ + .ac4t + .ad3ae + .add5as +@@ -6752,4 +6751,3 @@ + ywy3na + ywy5ne + y1y +-} diff --git a/hyphen-cy.spec b/hyphen-cy.spec new file mode 100644 index 0000000..19b113d --- /dev/null +++ b/hyphen-cy.spec @@ -0,0 +1,103 @@ +Name: hyphen-cy +Summary: Welsh 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-cy.tex?view=co +Source: hyph-cy.tex +URL: http://tug.org/tex-hyphen +License: LPPL +BuildArch: noarch +BuildRequires: hyphen-devel +Requires: hyphen +Supplements: (hyphen and langpacks-cy) +Patch0: hyphen-cy-cleantex.patch + +%description +Welsh hyphenation rules. + +%prep +%setup -T -q -c -n hyphen-cy +cp -p %{SOURCE0} . +%patch0 -p0 -b .clean + +%build +substrings.pl hyph-cy.tex hyph_cy_GB.dic ISO8859-1 +echo "Created with substring.pl by substrings.pl hyph-cy.tex hyph_cy_GB.dic ISO8859-1" > README +echo "---" >> README +head -n 25 hyph-cy.tex >> README + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p hyph_cy_GB.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.20080619-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jun 13 2009 Caolán McNamara - 0.20080619-1 +- initial version diff --git a/sources b/sources new file mode 100644 index 0000000..f7812c6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +8913088f68680dc7c02b82e3c1b42f72 hyph-cy.tex