From 6ec755d3e118b54f9a3499e71779416e28cce426 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 15 Mar 2023 17:45:47 +0300 Subject: [PATCH] import khmer-os-fonts-5.0-36.el9 --- .gitignore | 1 + .khmer-os-fonts.metadata | 1 + SOURCES/65-0-khmer-os-battambang-fonts.conf | 23 ++ SOURCES/65-0-khmer-os-bokor-fonts.conf | 23 ++ SOURCES/65-0-khmer-os-content-fonts.conf | 23 ++ SOURCES/65-0-khmer-os-fasthand-fonts.conf | 23 ++ SOURCES/65-0-khmer-os-freehand-fonts.conf | 23 ++ .../65-0-khmer-os-metal-chrieng-fonts.conf | 23 ++ SOURCES/65-0-khmer-os-muol-fonts.conf | 60 ++++ SOURCES/65-0-khmer-os-muol-pali-fonts.conf | 23 ++ SOURCES/65-0-khmer-os-siemreap-fonts.conf | 23 ++ SOURCES/65-0-khmer-os-system-fonts.conf | 23 ++ SOURCES/License.txt | 17 + SPECS/khmer-os-fonts.spec | 331 ++++++++++++++++++ 14 files changed, 617 insertions(+) create mode 100644 .gitignore create mode 100644 .khmer-os-fonts.metadata create mode 100644 SOURCES/65-0-khmer-os-battambang-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-bokor-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-content-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-fasthand-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-freehand-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-metal-chrieng-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-muol-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-muol-pali-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-siemreap-fonts.conf create mode 100644 SOURCES/65-0-khmer-os-system-fonts.conf create mode 100644 SOURCES/License.txt create mode 100644 SPECS/khmer-os-fonts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d57912 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/All_KhmerOS_5.0.zip diff --git a/.khmer-os-fonts.metadata b/.khmer-os-fonts.metadata new file mode 100644 index 0000000..4112d44 --- /dev/null +++ b/.khmer-os-fonts.metadata @@ -0,0 +1 @@ +4a17c919b93f4b99765cd476708ef3a79a925f37 SOURCES/All_KhmerOS_5.0.zip diff --git a/SOURCES/65-0-khmer-os-battambang-fonts.conf b/SOURCES/65-0-khmer-os-battambang-fonts.conf new file mode 100644 index 0000000..8e7470f --- /dev/null +++ b/SOURCES/65-0-khmer-os-battambang-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS Battambang + + monospace + + + + + + km + + + monospace + + + Khmer OS Battambang + + + diff --git a/SOURCES/65-0-khmer-os-bokor-fonts.conf b/SOURCES/65-0-khmer-os-bokor-fonts.conf new file mode 100644 index 0000000..47c3cda --- /dev/null +++ b/SOURCES/65-0-khmer-os-bokor-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS Bokor + + monospace + + + + + + km + + + monospace + + + Khmer OS Bokor + + + diff --git a/SOURCES/65-0-khmer-os-content-fonts.conf b/SOURCES/65-0-khmer-os-content-fonts.conf new file mode 100644 index 0000000..f5904cb --- /dev/null +++ b/SOURCES/65-0-khmer-os-content-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS Content + + monospace + + + + + + km + + + monospace + + + Khmer OS Content + + + diff --git a/SOURCES/65-0-khmer-os-fasthand-fonts.conf b/SOURCES/65-0-khmer-os-fasthand-fonts.conf new file mode 100644 index 0000000..ac8dfd8 --- /dev/null +++ b/SOURCES/65-0-khmer-os-fasthand-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS Fasthand + + fantasy + + + + + + km + + + fantasy + + + Khmer OS Fasthand + + + diff --git a/SOURCES/65-0-khmer-os-freehand-fonts.conf b/SOURCES/65-0-khmer-os-freehand-fonts.conf new file mode 100644 index 0000000..2b309a7 --- /dev/null +++ b/SOURCES/65-0-khmer-os-freehand-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS Freehand + + fantasy + + + + + + km + + + fantasy + + + Khmer OS Freehand + + + diff --git a/SOURCES/65-0-khmer-os-metal-chrieng-fonts.conf b/SOURCES/65-0-khmer-os-metal-chrieng-fonts.conf new file mode 100644 index 0000000..8d15c7b --- /dev/null +++ b/SOURCES/65-0-khmer-os-metal-chrieng-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS Metal Chrieng + + fantasy + + + + + + km + + + fantasy + + + Khmer OS Metal Chrieng + + + diff --git a/SOURCES/65-0-khmer-os-muol-fonts.conf b/SOURCES/65-0-khmer-os-muol-fonts.conf new file mode 100644 index 0000000..74fb250 --- /dev/null +++ b/SOURCES/65-0-khmer-os-muol-fonts.conf @@ -0,0 +1,60 @@ + + + + + + Khmer OS Muol + + monospace + + + + Khmer OS Muol Light + + monospace + + + + + + km + + + monospace + + + Khmer OS Muol + + + + + km + + + monospace + + + Khmer OS Muol Light + + + + + Khmer OS Muol Light + + + Khmer OS Muol Light + + + Regular + + + Khmer OS Muol + + + Light + + + 50 + + + diff --git a/SOURCES/65-0-khmer-os-muol-pali-fonts.conf b/SOURCES/65-0-khmer-os-muol-pali-fonts.conf new file mode 100644 index 0000000..970c1b5 --- /dev/null +++ b/SOURCES/65-0-khmer-os-muol-pali-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS Muol Pali + + monospace + + + + + + km + + + monospace + + + Khmer OS Muol Pali + + + diff --git a/SOURCES/65-0-khmer-os-siemreap-fonts.conf b/SOURCES/65-0-khmer-os-siemreap-fonts.conf new file mode 100644 index 0000000..d2e41a4 --- /dev/null +++ b/SOURCES/65-0-khmer-os-siemreap-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS Siemreap + + monospace + + + + + + km + + + monospace + + + Khmer OS Siemreap + + + diff --git a/SOURCES/65-0-khmer-os-system-fonts.conf b/SOURCES/65-0-khmer-os-system-fonts.conf new file mode 100644 index 0000000..844180b --- /dev/null +++ b/SOURCES/65-0-khmer-os-system-fonts.conf @@ -0,0 +1,23 @@ + + + + + + Khmer OS System + + system-ui + + + + + + km + + + monospace + + + Khmer OS System + + + diff --git a/SOURCES/License.txt b/SOURCES/License.txt new file mode 100644 index 0000000..21ce595 --- /dev/null +++ b/SOURCES/License.txt @@ -0,0 +1,17 @@ +KhmerOS - font for the Khmer language of Cambodia +Copyright 2007 Danh Hong + +This font is free software; you can redistribute it and/or modify it under the +terms of the GNU Lesser General Public License as published by the Free +Software Foundation; either version 2.1 of the License, or (at your option) +any later version. + +This library is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE.? See the GNU Lesser General Public License for +more details. + +You should have received a copy of the GNU Lesser General Public License along +with this font; if not, write to the Free Software Foundation, Inc., 51 +Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or +visit http://www.gnu.org/licenses/lgpl.html diff --git a/SPECS/khmer-os-fonts.spec b/SPECS/khmer-os-fonts.spec new file mode 100644 index 0000000..37e1f77 --- /dev/null +++ b/SPECS/khmer-os-fonts.spec @@ -0,0 +1,331 @@ +BuildArch: noarch + +%global archivename All_KhmerOS_%{version} + +Version: 5.0 +Release: 36%{?dist} +License: LGPLv2+ +URL: http://www.khmeros.info/en/fonts + +%global common_description %{expand: +The Khmer OS fonts include Khmer and Latin alphabets, and they have equivalent +sizes for Khmer and English alphabets, so that when texts mix both it is not +necessary to have different point sizes for the text in each language. + +They were created by Danh Hong of the Cambodian Open Institute.} + +%global foundry Khmer OS +%global fontlicenses License.txt + +Source0: http://downloads.sourceforge.net/khmer/%{archivename}.zip +Source1: 65-0-%{fontpkgname1}.conf +Source2: 65-0-%{fontpkgname2}.conf +Source3: 65-0-%{fontpkgname3}.conf +Source4: 65-0-%{fontpkgname4}.conf +Source5: 65-0-%{fontpkgname5}.conf +Source6: 65-0-%{fontpkgname6}.conf +Source7: 65-0-%{fontpkgname7}.conf +Source8: 65-0-%{fontpkgname8}.conf +Source9: 65-0-%{fontpkgname9}.conf +Source10: 65-0-%{fontpkgname10}.conf +Source11: License.txt + +Name: khmer-os-fonts +Summary: Khmer font family set created by Danh Hong of the Cambodian Open Institute +%description +%wordwrap -v common_description + + +%global fontfamily1 Battambang +%global fontsummary1 Battambang font +%global fontpkgheader1 %{expand: +Obsoletes: khmeros-battambang-fonts < 5.0-31 +Provides: khmeros-battambang-fonts = %{version}-%{release} +} +%global fonts1 KhmerOS_battambang.ttf +%global fontconfs1 %{SOURCE1} +%global fontdescription1 %{expand: +%{common_description} + +This package provides Battambang fonts. +} + +%global fontfamily2 Bokor +%global fontsummary2 Bokor font +%global fontpkgheader2 %{expand: +Obsoletes: khmeros-bokor-fonts < 5.0-31 +Provides: khmeros-bokor-fonts = %{version}-%{release} +} +%global fonts2 KhmerOS_bokor.ttf +%global fontconfs2 %{SOURCE2} +%global fontdescription2 %{expand: +%{common_description} + +This package provides Bokor font family. +} + +%global fontfamily3 Content +%global fontsummary3 Content font family +%global fontpkgheader3 %{expand: +Obsoletes: khmeros-base-fonts < 5.0-31 +Provides: khmeros-base-fonts = %{version}-%{release} +} +%global fonts3 KhmerOS_content.ttf +%global fontconfs3 %{SOURCE3} +%global fontdescription3 %{expand: +%{common_description} + +This package provides Content font family. +} + +%global fontfamily4 Fasthand +%global fontsummary4 Fasthand font family +%global fontpkgheader4 %{expand: +Obsoletes: khmeros-handwritten-fonts < 5.0-31 +Provides: khmeros-handwritten-fonts = %{version}-%{release} +} +%global fonts4 KhmerOS_fasthand.ttf +%global fontconfs4 %{SOURCE4} +%global fontdescription4 %{expand: +%{common_description} + +This package provides Fasthand, a handwritten font family. +} + +%global fontfamily5 Freehand +%global fontsummary5 Freehand font family +%global fontpkgheader5 %{expand: +Obsoletes: khmeros-handwritten-fonts < 5.0-31 +Provides: khmeros-handwritten-fonts = %{version}-%{release} +} +%global fonts5 KhmerOS_freehand.ttf +%global fontconfs5 %{SOURCE5} +%global fontdescription5 %{expand: +%{common_description} + +This package provides Freehand, a handwritten font family. +} + +%global fontfamily6 Metal Chrieng +%global fontsummary6 Metal Chrieng font +%global fontpkgheader6 %{expand: +Obsoletes: khmeros-metal-chrieng-fonts < 5.0-31 +Provides: khmeros-metal-chrieng-fonts = %{version}-%{release} +} +%global fonts6 KhmerOS_metalchrieng.ttf +%global fontconfs6 %{SOURCE6} +%global fontdescription6 %{expand: +%{common_description} + +This package provides Metal Chrieng font. +} + +%global fontfamily7 Muol +%global fontsummary7 Muol normal and Muol Light font family +%global fontpkgheader7 %{expand: +Obsoletes: khmeros-muol-fonts < 5.0-31 +Provides: khmeros-muol-fonts = %{version}-%{release} +} +%global fonts7 KhmerOS_muol.ttf KhmerOS_muollight.ttf +%global fontconfs7 %{SOURCE7} +%global fontdescription7 %{expand: +%{common_description} + +This package provides Muol normal and Muol Light font family. +} + +%global fontfamily8 Muol Pali +%global fontsummary8 Muol Pali font +%global fontpkgheader8 %{expand: +Obsoletes: khmeros-muol-fonts < 5.0-31 +Provides: khmeros-muol-fonts = %{version}-%{release} +} +%global fonts8 KhmerOS_muolpali.ttf +%global fontconfs8 %{SOURCE8} +%global fontdescription8 %{expand: +%{common_description} + +This package provides Muol Pali font. +} + +%global fontfamily9 Siemreap +%global fontsummary9 Siemreap font +%global fontpkgheader9 %{expand: +Obsoletes: khmeros-siemreap-fonts < 5.0-31 +Provides: khmeros-siemreap-fonts = %{version}-%{release} +} +%global fonts9 KhmerOS_siemreap.ttf +%global fontconfs9 %{SOURCE9} +%global fontdescription9 %{expand: +%{common_description} + +This package provides Siemreap fonts. +} + +%global fontfamily10 System +%global fontsummary10 System font +%global fontpkgheader10 %{expand: +Obsoletes: khmeros-base-fonts < 5.0-31 +Provides: khmeros-base-fonts = %{version}-%{release} +} +%global fonts10 KhmerOS_sys.ttf +%global fontconfs10 %{SOURCE10} +%global fontdescription10 %{expand: +%{common_description} + +This package provides System font family. +} + +%fontpkg -a + +%fontmetapkg -z 1,2,3,6,9,10 + +%global muolmetasummary All the Muol font family packages +%global muolmetadescription %{expand: +This meta-package installs all the Muol font family packages. +} + +%global handwrittenmetasummary All the handwritten font family packages +%global handwrittenmetadescription %{expand: +This meta-package installs all the handwritten font family packages. +} +%fontmetapkg -n khmer-os-muol-fonts-all -s muolmetasummary -d muolmetadescription -z 7,8 + +%fontmetapkg -n khmer-os-handwritten-fonts -s handwrittenmetasummary -d handwrittenmetadescription -z 4,5 + +%prep +%autosetup -n %{archivename} +install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . +install -p %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} . +install -p %{SOURCE9} %{SOURCE10} %{SOURCE11} . +%linuxtext License.txt + + +%build +%fontbuild -a + +%install +%fontinstall -a + +%check +%fontcheck -a + +%fontfiles -a + +%changelog +* Wed Mar 15 2023 MSVSphere Packaging Team - 5.0-36 +- Rebuilt for MSVSphere 9.1. + +* Mon Aug 09 2021 Mohan Boddu - 5.0-36 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Sat May 22 2021 Parag Nemade - 5.0-35 +- Resolves:rhbz#1961996 - Fix the syntax for path_prefix in tests.yml + +* Fri May 21 2021 Parag Nemade - 5.0-34 +- Resolves:rhbz#1961996 - Add gating tests + +* Fri Apr 16 2021 Mohan Boddu - 5.0-33 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 5.0-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Aug 18 2020 Parag Nemade - 5.0-31 +- Convert to new fonts packaging guidelines (rh#1828983) + +* Tue Jul 28 2020 Fedora Release Engineering - 5.0-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 5.0-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 5.0-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 5.0-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 5.0-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jul 04 2018 Parag Nemade - 5.0-25 +- Update to follow latest packaging guidelines + +* Wed Feb 07 2018 Fedora Release Engineering - 5.0-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 5.0-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 5.0-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 5.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 5.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Oct 30 2014 Pravin Satpute - 5.0-19 +- Adding metainfo for gnome-software. +- Corrected url + +* Sun Jun 08 2014 Fedora Release Engineering - 5.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 5.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 5.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Nov 27 2012 Jon Ciesla - 5.0-15 +- Remove old obsoletes, BZ 880479. + +* Thu Jul 19 2012 Fedora Release Engineering - 5.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jul 05 2012 Parag - 5.0-13 +- Resolves:rh#837520 - Malformed fontconfig config file + +* Fri Jan 13 2012 Fedora Release Engineering - 5.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 5.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jul 12 2010 Parag - 5.0-10 +- Added License.txt in -common + +* Thu May 20 2010 Parag - 5.0-9 +- Resolves:rh#586253 - No fontconfig config files provided + +* Tue Feb 16 2010 Parag - 5.0-8 +- drop -common owning %%{_fontdir} + +* Fri Jul 24 2009 Fedora Release Engineering - 5.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 5.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Jan 25 2009 Michal Nowak - 5.0-5 +- provide Obsoletes and dependency on -common pkg + +* Fri Jan 23 2009 Michal Nowak - 5.0-4 +- changes to comply with F11 font rules + +* Tue Jul 8 2008 Michal Nowak - 5.0-3 +- reshaping to multiple subpackages based on font type/purpose +- license uncertainity is solved; licence field is set according + to information from .ttf files read via gnome-font-viewer + +* Mon Jul 7 2008 Michal Nowak - 5.0-2 +- removing Fedora specific license +- refactoring summary and description texts (Nicolas Mailhot) + +* Fri Jul 4 2008 Michal Nowak - 5.0-1 +- initial release +