import hyphen-eu-0.20190406-2.el9

This commit is contained in:
CentOS Sources 2021-11-02 12:48:12 -04:00 committed by Stepan Oksanichenko
commit ca3b1d2d28
5 changed files with 256 additions and 0 deletions

0
.gitignore vendored Normal file
View File

0
.hyphen-eu.metadata Normal file
View File

123
SOURCES/hyph-eu.tex Normal file
View File

@ -0,0 +1,123 @@
% copyright: Copyright (C) 1997, 2008 Juan M. Aguirregabiria
% title: Hyphenation patterns for Basque
% notice: This file is part of the hyph-utf8 package.
% See http://www.hyphenation.org/tex for more information on the package,
% and http://tp.lc.ehu.es/jma/basque.html for details on Basque hyphenation.
% language:
% name: Basque
% tag: eu
% version: June 2008
% authors:
% -
% name: Juan M. Aguirregabiria
% contact: juanmari.aguirregabiria (at) ehu.es
% licence:
% text: >
% Permission is hereby granted, free of charge, to any person obtaining
% a copy of this file and any associated documentation
% (the "Data Files") to deal in the Data Files
% without restriction, including without limitation the rights to use,
% copy, modify, merge, publish, distribute, and/or sell copies of
% the Data Files, and to permit persons to whom the Data Files
% are furnished to do so, provided that
% (a) this copyright and permission notice appear with all copies
% of the Data Files,
% (b) this copyright and permission notice appear in associated
% documentation, and
% (c) there is clear notice in each modified Data File
% as well as in the documentation associated with the Data File(s)
% that the data has been modified.
%
% THE DATA FILES ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
% ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
% WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
% NONINFRINGEMENT OF THIRD PARTY RIGHTS.
% IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
% NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
% DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
% DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
% TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
% PERFORMANCE OF THE DATA FILES.
%
% Except as contained in this notice, the name of a copyright holder
% shall not be used in advertising or otherwise to promote the sale,
% use or other dealings in these Data Files without prior
% written authorization of the copyright holder.
% hyphenmins:
% typesetting:
% left: 2
% right: 2
% changes:
% - >
% February 1997 Patterns created by Juan M. Aguirregabiria, based on the
% shyphen.sh script for Spanish by Julio Sanchez, September 1991.
% - >
% 26 June 2008 Generating script rewritten in Ruby and adapted for native
% UTF-8 TeX engines, patterns renamed from bahyph.tex to
% hyph-eu.tex and added to the hyph-utf8 package. Functionality should
% not change apart from adding ñ by default.
% texlive:
% encoding: ec
% babelname: basque
% legacy_patterns: bahyph.tex
% message: Basque hyphenation patterns
% description: Hyphenation patterns for Basque in T1/EC and UTF-8 encodings.
% ==========================================
%
% Open vowels: a e o
% Closed vowels: i u
% Consonants: b c d f g j k l m n ñ p q r s t v w x y z
%
% Some of the patterns below represent combinations that never
% 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
% Attach vowel groups to left consonant
1ba 1be 1bo 1bi 1bu
1ca 1ce 1co 1ci 1cu
1da 1de 1do 1di 1du
1fa 1fe 1fo 1fi 1fu
1ga 1ge 1go 1gi 1gu
1ja 1je 1jo 1ji 1ju
1ka 1ke 1ko 1ki 1ku
1la 1le 1lo 1li 1lu
1ma 1me 1mo 1mi 1mu
1na 1ne 1no 1ni 1nu
1ña 1ñe 1ño 1ñi 1ñu
1pa 1pe 1po 1pi 1pu
1qa 1qe 1qo 1qi 1qu
1ra 1re 1ro 1ri 1ru
1sa 1se 1so 1si 1su
1ta 1te 1to 1ti 1tu
1va 1ve 1vo 1vi 1vu
1wa 1we 1wo 1wi 1wu
1xa 1xe 1xo 1xi 1xu
1ya 1ye 1yo 1yi 1yu
1za 1ze 1zo 1zi 1zu
% Rule SR3
% Build legal consonant groups, leave other consonants bound to
% the previous group. This overrides part of the SR2 pattern group.
1l2la 1l2le 1l2lo 1l2li 1l2lu
1r2ra 1r2re 1r2ro 1r2ri 1r2ru
1t2sa 1t2se 1t2so 1t2si 1t2su
1t2xa 1t2xe 1t2xo 1t2xi 1t2xu
1t2za 1t2ze 1t2zo 1t2zi 1t2zu
1b2la 1b2le 1b2lo 1b2li 1b2lu
1b2ra 1b2re 1b2ro 1b2ri 1b2ru
1d2ra 1d2re 1d2ro 1d2ri 1d2ru
1f2la 1f2le 1f2lo 1f2li 1f2lu
1f2ra 1f2re 1f2ro 1f2ri 1f2ru
1g2la 1g2le 1g2lo 1g2li 1g2lu
1g2ra 1g2re 1g2ro 1g2ri 1g2ru
1k2la 1k2le 1k2lo 1k2li 1k2lu
1k2ra 1k2re 1k2ro 1k2ri 1k2ru
1p2la 1p2le 1p2lo 1p2li 1p2lu
1p2ra 1p2re 1p2ro 1p2ri 1p2ru
1t2ra 1t2re 1t2ro 1t2ri 1t2ru
% We now avoid some problematic breaks.
su2b2r su2b2l
}

View File

@ -0,0 +1,15 @@
--- hyph-eu.tex.old 2021-06-08 10:49:02.497003737 +0530
+++ hyph-eu.tex 2021-06-08 10:49:13.164173562 +0530
@@ -72,7 +72,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
@@ -120,4 +119,3 @@
1t2ra 1t2re 1t2ro 1t2ri 1t2ru
% We now avoid some problematic breaks.
su2b2r su2b2l
-}

118
SPECS/hyphen-eu.spec Normal file
View File

@ -0,0 +1,118 @@
Name: hyphen-eu
Summary: Basque hyphenation rules
# I found 2 sources www.tug.org and mirrors.ctan.org with same file
# let's choose older timestamp here
%global upstreamid 20190406
Version: 0.%{upstreamid}
Release: 2%{?dist}
Source: http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex
URL: http://tp.lc.ehu.es/jma/basque.html
License: MIT
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
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.20190406-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon Jun 07 2021 Parag Nemade <pnemade AT redhat DOT com> - 0.20190406-1
- Resolves:rhbz#1969454 - Update to working Source link
- License updated to MIT
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.20110620-19
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110620-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 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 <releng@fedoraproject.org> - 0.20110620-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110620-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110620-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110620-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110620-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110620-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110620-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Oct 17 2011 Caolán McNamara <caolanm@redhat.com> - 0.20110620-1
- latest version
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100531-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jun 01 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100531-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080628-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Jun 13 2009 Caolán McNamara <caolanm@redhat.com> - 0.20080628-1
- initial version