commit 786abc93a9a79bd780666a71dd744e30d5b6e4e7 Author: CentOS Sources Date: Tue Nov 2 13:22:46 2021 -0400 import hyphen-fa-0.20130404-17.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c7ae2d9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fahyph.zip diff --git a/.hyphen-fa.metadata b/.hyphen-fa.metadata new file mode 100644 index 0000000..790ece5 --- /dev/null +++ b/.hyphen-fa.metadata @@ -0,0 +1 @@ +18ebe86fa4b28287bfa222d5744342c8d80cfac7 SOURCES/fahyph.zip diff --git a/SOURCES/hyphen-fa-cleantex.patch b/SOURCES/hyphen-fa-cleantex.patch new file mode 100644 index 0000000..580b7c6 --- /dev/null +++ b/SOURCES/hyphen-fa-cleantex.patch @@ -0,0 +1,30 @@ +--- fahyph.orig/fahyph.tex 2009-03-18 11:47:15.000000000 +0000 ++++ fahyph/fahyph.tex 2009-03-18 11:47:35.000000000 +0000 +@@ -15,19 +15,19 @@ + % These patterns were designed for use with XeTeX, a Unicode variant of TeX. + % + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-\message{Persian hyphenation patterns `fahyph.tex' (v0.002, this file is a part of XePersian package) <2013/04/04>} ++ + % Set \lccode +-\global\lccode"200C="200C %ZERO WIDTH NON-JOINER ++ + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % Allocate a \language code +-\newlanguage\persian ++ + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % Patterns. +-\begingroup +-\language\persian +-\patterns{ ++ ++ ++ + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %Break on either side of ZWNJ + 5‌5 +-} +-\endgroup ++ ++ diff --git a/SPECS/hyphen-fa.spec b/SPECS/hyphen-fa.spec new file mode 100644 index 0000000..69e40fa --- /dev/null +++ b/SPECS/hyphen-fa.spec @@ -0,0 +1,105 @@ +Name: hyphen-fa +Summary: Farsi hyphenation rules +%global upstreamid 20130404 +Version: 0.%{upstreamid} +Release: 17%{?dist} +Source: http://mirrors.ctan.org/language/hyphenation/fahyph.zip +URL: http://www.ctan.org/tex-archive/language/hyphenation/fahyph +License: LPPL +BuildArch: noarch +BuildRequires: hyphen-devel +Requires: hyphen +Supplements: (hyphen and langpacks-fa) +Patch0: hyphen-fa-cleantex.patch + +%description +Farsi hyphenation rules. + +%prep +%setup -q -n fahyph +%patch0 -p1 -b .clean + +%build +substrings.pl fahyph.tex hyph_fa_IR.dic UTF-8 +chmod -x * + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p hyph_fa_IR.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen + + +%files +%doc README +%{_datadir}/hyphen/* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 0.20130404-17 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 0.20130404-16 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 0.20130404-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.20130404-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.20130404-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.20130404-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.20130404-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.20130404-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.20130404-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.20130404-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.20130404-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 19 2016 Parag Nemade - 0.20130404-6 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 0.20130404-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.20130404-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.20130404-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.20130404-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Apr 05 2013 Caolan McNamara - 0.20130404-1 +- latest version + +* Thu Feb 14 2013 Fedora Release Engineering - 0.20081119-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.20081119-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.20081119-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.20081119-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.20081119-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Mar 18 2009 Caolan McNamara - 0.20081119-1 +- initial version