Blame SPECS/khmer-os-fonts.spec

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