Blame SPECS/khmer-os-fonts.spec

cc8d70
BuildArch: noarch
cc8d70
cc8d70
%global archivename All_KhmerOS_%{version}
cc8d70
cc8d70
Version:        5.0
cc8d70
Release:        36%{?dist}
cc8d70
License:        LGPLv2+
cc8d70
URL:            http://www.khmeros.info/en/fonts
cc8d70
cc8d70
%global common_description %{expand:
cc8d70
The Khmer OS fonts include Khmer and Latin alphabets, and they have equivalent
cc8d70
sizes for Khmer and English alphabets, so that when texts mix both it is not
cc8d70
necessary to have different point sizes for the text in each language.
cc8d70
cc8d70
They were created by Danh Hong of the Cambodian Open Institute.}
cc8d70
cc8d70
%global foundry           Khmer OS
cc8d70
%global fontlicenses      License.txt
cc8d70
cc8d70
Source0:        http://downloads.sourceforge.net/khmer/%{archivename}.zip
cc8d70
Source1:        65-0-%{fontpkgname1}.conf
cc8d70
Source2:        65-0-%{fontpkgname2}.conf
cc8d70
Source3:        65-0-%{fontpkgname3}.conf
cc8d70
Source4:        65-0-%{fontpkgname4}.conf
cc8d70
Source5:        65-0-%{fontpkgname5}.conf
cc8d70
Source6:        65-0-%{fontpkgname6}.conf
cc8d70
Source7:        65-0-%{fontpkgname7}.conf
cc8d70
Source8:        65-0-%{fontpkgname8}.conf
cc8d70
Source9:        65-0-%{fontpkgname9}.conf
cc8d70
Source10:       65-0-%{fontpkgname10}.conf
cc8d70
Source11:       License.txt
cc8d70
cc8d70
Name:      khmer-os-fonts
cc8d70
Summary:   Khmer font family set created by Danh Hong of the Cambodian Open Institute
cc8d70
%description
cc8d70
%wordwrap -v common_description
cc8d70
cc8d70
cc8d70
%global fontfamily1       Battambang
cc8d70
%global fontsummary1      Battambang font
cc8d70
%global fontpkgheader1    %{expand:
cc8d70
Obsoletes: khmeros-battambang-fonts < 5.0-31
cc8d70
Provides: khmeros-battambang-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts1            KhmerOS_battambang.ttf
cc8d70
%global fontconfs1        %{SOURCE1}
cc8d70
%global fontdescription1  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Battambang fonts.
cc8d70
}
cc8d70
cc8d70
%global fontfamily2       Bokor
cc8d70
%global fontsummary2      Bokor font
cc8d70
%global fontpkgheader2    %{expand:
cc8d70
Obsoletes: khmeros-bokor-fonts < 5.0-31
cc8d70
Provides: khmeros-bokor-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts2            KhmerOS_bokor.ttf
cc8d70
%global fontconfs2        %{SOURCE2}
cc8d70
%global fontdescription2  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Bokor font family.
cc8d70
}
cc8d70
cc8d70
%global fontfamily3       Content
cc8d70
%global fontsummary3      Content font family
cc8d70
%global fontpkgheader3    %{expand:
cc8d70
Obsoletes: khmeros-base-fonts < 5.0-31
cc8d70
Provides: khmeros-base-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts3            KhmerOS_content.ttf
cc8d70
%global fontconfs3        %{SOURCE3}
cc8d70
%global fontdescription3  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Content font family.
cc8d70
}
cc8d70
cc8d70
%global fontfamily4       Fasthand
cc8d70
%global fontsummary4      Fasthand font family
cc8d70
%global fontpkgheader4    %{expand:
cc8d70
Obsoletes: khmeros-handwritten-fonts < 5.0-31
cc8d70
Provides: khmeros-handwritten-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts4            KhmerOS_fasthand.ttf
cc8d70
%global fontconfs4        %{SOURCE4}
cc8d70
%global fontdescription4  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Fasthand, a handwritten font family.
cc8d70
}
cc8d70
cc8d70
%global fontfamily5       Freehand
cc8d70
%global fontsummary5      Freehand font family
cc8d70
%global fontpkgheader5    %{expand:
cc8d70
Obsoletes: khmeros-handwritten-fonts < 5.0-31
cc8d70
Provides: khmeros-handwritten-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts5            KhmerOS_freehand.ttf
cc8d70
%global fontconfs5        %{SOURCE5}
cc8d70
%global fontdescription5  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Freehand, a handwritten font family.
cc8d70
}
cc8d70
cc8d70
%global fontfamily6       Metal Chrieng
cc8d70
%global fontsummary6      Metal Chrieng font
cc8d70
%global fontpkgheader6    %{expand:
cc8d70
Obsoletes: khmeros-metal-chrieng-fonts < 5.0-31
cc8d70
Provides: khmeros-metal-chrieng-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts6            KhmerOS_metalchrieng.ttf
cc8d70
%global fontconfs6        %{SOURCE6}
cc8d70
%global fontdescription6  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Metal Chrieng font.
cc8d70
}
cc8d70
cc8d70
%global fontfamily7       Muol
cc8d70
%global fontsummary7      Muol normal and Muol Light font family
cc8d70
%global fontpkgheader7    %{expand:
cc8d70
Obsoletes: khmeros-muol-fonts < 5.0-31
cc8d70
Provides: khmeros-muol-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts7            KhmerOS_muol.ttf KhmerOS_muollight.ttf
cc8d70
%global fontconfs7        %{SOURCE7}
cc8d70
%global fontdescription7  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Muol normal and Muol Light font family.
cc8d70
}
cc8d70
cc8d70
%global fontfamily8       Muol Pali
cc8d70
%global fontsummary8      Muol Pali font
cc8d70
%global fontpkgheader8    %{expand:
cc8d70
Obsoletes: khmeros-muol-fonts < 5.0-31
cc8d70
Provides: khmeros-muol-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts8            KhmerOS_muolpali.ttf
cc8d70
%global fontconfs8        %{SOURCE8}
cc8d70
%global fontdescription8  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Muol Pali font.
cc8d70
}
cc8d70
cc8d70
%global fontfamily9       Siemreap
cc8d70
%global fontsummary9      Siemreap font
cc8d70
%global fontpkgheader9    %{expand:
cc8d70
Obsoletes: khmeros-siemreap-fonts < 5.0-31
cc8d70
Provides: khmeros-siemreap-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts9            KhmerOS_siemreap.ttf
cc8d70
%global fontconfs9        %{SOURCE9}
cc8d70
%global fontdescription9  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides Siemreap fonts.
cc8d70
}
cc8d70
cc8d70
%global fontfamily10       System
cc8d70
%global fontsummary10      System font
cc8d70
%global fontpkgheader10    %{expand:
cc8d70
Obsoletes: khmeros-base-fonts < 5.0-31
cc8d70
Provides: khmeros-base-fonts = %{version}-%{release}
cc8d70
}
cc8d70
%global fonts10            KhmerOS_sys.ttf
cc8d70
%global fontconfs10        %{SOURCE10}
cc8d70
%global fontdescription10  %{expand:
cc8d70
%{common_description}
cc8d70
cc8d70
This package provides System font family.
cc8d70
}
cc8d70
cc8d70
%fontpkg -a
cc8d70
cc8d70
%fontmetapkg -z 1,2,3,6,9,10
cc8d70
cc8d70
%global muolmetasummary All the Muol font family packages
cc8d70
%global muolmetadescription %{expand:
cc8d70
This meta-package installs all the Muol font family packages.
cc8d70
}
cc8d70
cc8d70
%global handwrittenmetasummary All the handwritten font family packages
cc8d70
%global handwrittenmetadescription %{expand:
cc8d70
This meta-package installs all the handwritten font family packages.
cc8d70
}
cc8d70
%fontmetapkg -n khmer-os-muol-fonts-all -s muolmetasummary -d muolmetadescription -z 7,8
cc8d70
cc8d70
%fontmetapkg -n khmer-os-handwritten-fonts -s handwrittenmetasummary -d handwrittenmetadescription -z 4,5
cc8d70
cc8d70
%prep
cc8d70
%autosetup -n %{archivename}
cc8d70
install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
cc8d70
install -p %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} .
cc8d70
install -p %{SOURCE9} %{SOURCE10} %{SOURCE11} .
cc8d70
%linuxtext License.txt
cc8d70
cc8d70
cc8d70
%build
cc8d70
%fontbuild -a
cc8d70
cc8d70
%install
cc8d70
%fontinstall -a
cc8d70
cc8d70
%check
cc8d70
%fontcheck -a
cc8d70
cc8d70
%fontfiles -a
cc8d70
cc8d70
%changelog
cc8d70
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.0-36
cc8d70
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
cc8d70
  Related: rhbz#1991688
cc8d70
cc8d70
* Sat May 22 2021 Parag Nemade <pnemade AT redhat DOT com> - 5.0-35
cc8d70
- Resolves:rhbz#1961996 - Fix the syntax for path_prefix in tests.yml
cc8d70
cc8d70
* Fri May 21 2021 Parag Nemade <pnemade AT redhat DOT com> - 5.0-34
cc8d70
- Resolves:rhbz#1961996 - Add gating tests
cc8d70
cc8d70
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.0-33
cc8d70
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
cc8d70
cc8d70
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-32
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cc8d70
cc8d70
* Tue Aug 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 5.0-31
cc8d70
- Convert to new fonts packaging guidelines (rh#1828983)
cc8d70
cc8d70
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-30
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cc8d70
cc8d70
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-29
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cc8d70
cc8d70
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-28
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cc8d70
cc8d70
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-27
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cc8d70
cc8d70
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-26
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cc8d70
cc8d70
* Wed Jul 04 2018 Parag Nemade <pnemade AT fedoraproject DOT orgf> - 5.0-25
cc8d70
- Update to follow latest packaging guidelines
cc8d70
cc8d70
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-24
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cc8d70
cc8d70
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-23
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cc8d70
cc8d70
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-22
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cc8d70
cc8d70
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-21
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cc8d70
cc8d70
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-20
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cc8d70
cc8d70
* Thu Oct 30 2014 Pravin Satpute <psatpute At redhat DIT com> - 5.0-19
cc8d70
- Adding metainfo for gnome-software.
cc8d70
- Corrected url
cc8d70
cc8d70
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-18
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cc8d70
cc8d70
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-17
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cc8d70
cc8d70
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-16
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cc8d70
cc8d70
* Tue Nov 27 2012 Jon Ciesla <limburgher@gmail.com> - 5.0-15
cc8d70
- Remove old obsoletes, BZ 880479.
cc8d70
cc8d70
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-14
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cc8d70
cc8d70
* Thu Jul 05 2012 Parag <pnemade AT redhat.com> - 5.0-13
cc8d70
- Resolves:rh#837520 - Malformed fontconfig config file
cc8d70
cc8d70
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-12
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cc8d70
cc8d70
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-11
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cc8d70
cc8d70
* Mon Jul 12 2010 Parag <pnemade AT redhat.com> - 5.0-10
cc8d70
- Added License.txt in -common
cc8d70
cc8d70
* Thu May 20 2010 Parag <pnemade AT redhat.com> - 5.0-9
cc8d70
- Resolves:rh#586253 - No fontconfig config files provided
cc8d70
cc8d70
* Tue Feb 16 2010 Parag <pnemade AT redhat.com> - 5.0-8
cc8d70
- drop -common owning %%{_fontdir}
cc8d70
 
cc8d70
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-7
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cc8d70
cc8d70
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-6
cc8d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cc8d70
cc8d70
* Sun Jan 25 2009 Michal Nowak <mnowak@redhat.com> - 5.0-5
cc8d70
- provide Obsoletes and dependency on -common pkg
cc8d70
cc8d70
* Fri Jan 23 2009 Michal Nowak <mnowak@redhat.com> - 5.0-4
cc8d70
- changes to comply with F11 font rules
cc8d70
cc8d70
* Tue Jul 8 2008 Michal Nowak <mnowak@redhat.com> - 5.0-3
cc8d70
- reshaping to multiple subpackages based on font type/purpose
cc8d70
- license uncertainity is solved; licence field is set according
cc8d70
  to information from .ttf files read via gnome-font-viewer
cc8d70
cc8d70
* Mon Jul 7 2008 Michal Nowak <mnowak@redhat.com> - 5.0-2
cc8d70
- removing Fedora specific license
cc8d70
- refactoring summary and description texts (Nicolas Mailhot)
cc8d70
cc8d70
* Fri Jul 4 2008 Michal Nowak <mnowak@redhat.com> - 5.0-1
cc8d70
- initial release
cc8d70