|
|
947859 |
%global fontname khmeros
|
|
|
947859 |
%global archivename All_KhmerOS_%{version}
|
|
|
947859 |
|
|
|
947859 |
%global fontconf 65-0-%{fontname}
|
|
|
947859 |
|
|
|
947859 |
%global common_desc \
|
|
|
947859 |
The Khmer OS fonts include Khmer and Latin alphabets, and they have equivalent \
|
|
|
947859 |
sizes for Khmer and English alphabets, so that when texts mix both it is not \
|
|
|
947859 |
necessary to have different point sizes for the text in each language. \
|
|
|
947859 |
\
|
|
|
947859 |
They were created by Danh Hong of the Cambodian Open Institute.
|
|
|
947859 |
|
|
|
947859 |
|
|
|
947859 |
Name: %{fontname}-fonts
|
|
|
947859 |
Version: 5.0
|
|
|
1d6d85 |
Release: 17%{?dist}
|
|
|
947859 |
Summary: Khmer font set created by Danh Hong of the Cambodian Open Institute
|
|
|
947859 |
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
License: LGPLv2+
|
|
|
947859 |
URL: http://www.khmeros.info/drupal/?q=en/download/fonts
|
|
|
947859 |
Source0: http://downloads.sourceforge.net/khmer/%{archivename}.zip
|
|
|
947859 |
Source1: 65-0-khmeros-battambang.conf
|
|
|
947859 |
Source2: 65-0-khmeros-bokor.conf
|
|
|
947859 |
Source3: 65-0-khmeros-handwritten.conf
|
|
|
947859 |
Source4: 65-0-khmeros-base.conf
|
|
|
947859 |
Source5: 65-0-khmeros-metal-chrieng.conf
|
|
|
947859 |
Source6: 65-0-khmeros-muol.conf
|
|
|
947859 |
Source7: 65-0-khmeros-siemreap.conf
|
|
|
947859 |
Source8: License.txt
|
|
|
947859 |
|
|
|
947859 |
BuildArch: noarch
|
|
|
947859 |
BuildRequires: fontpackages-devel
|
|
|
947859 |
|
|
|
947859 |
%description
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
|
|
|
947859 |
%package common
|
|
|
947859 |
Summary: Common files of %{name}
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
Requires: fontpackages-filesystem
|
|
|
947859 |
|
|
|
947859 |
%description common
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
This package consists of files used by other %{name} packages.
|
|
|
947859 |
|
|
|
947859 |
|
|
|
947859 |
%package -n %{fontname}-base-fonts
|
|
|
947859 |
Summary: Base KhmerOS font
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
947859 |
|
|
|
947859 |
%description -n %{fontname}-base-fonts
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
Base KhmerOS fonts.
|
|
|
947859 |
|
|
|
947859 |
%_font_pkg -n base -f 65-0-khmeros-base.conf KhmerOS.ttf KhmerOS_content.ttf KhmerOS_sys.ttf
|
|
|
947859 |
|
|
|
947859 |
%package -n %{fontname}-battambang-fonts
|
|
|
947859 |
Summary: Battambang font
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
947859 |
|
|
|
947859 |
%description -n %{fontname}-battambang-fonts
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
Battambang font.
|
|
|
947859 |
|
|
|
947859 |
%_font_pkg -n battambang -f 65-0-khmeros-battambang.conf KhmerOS_battambang.ttf
|
|
|
947859 |
|
|
|
947859 |
%package -n %{fontname}-bokor-fonts
|
|
|
947859 |
Summary: Bokor font
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
947859 |
|
|
|
947859 |
%description -n %{fontname}-bokor-fonts
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
Bokor font.
|
|
|
947859 |
|
|
|
947859 |
%_font_pkg -n bokor -f 65-0-khmeros-bokor.conf KhmerOS_bokor.ttf
|
|
|
947859 |
|
|
|
947859 |
%package -n %{fontname}-handwritten-fonts
|
|
|
947859 |
Summary: Freehand and fasthand fonts
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
947859 |
|
|
|
947859 |
%description -n %{fontname}-handwritten-fonts
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
Freehand and fasthand - handwritten fonts.
|
|
|
947859 |
|
|
|
947859 |
%_font_pkg -n handwritten -f 65-0-khmeros-handwritten.conf KhmerOS_freehand.ttf KhmerOS_fasthand.ttf
|
|
|
947859 |
|
|
|
947859 |
%package -n %{fontname}-metal-chrieng-fonts
|
|
|
947859 |
Summary: Metal Chrieng font
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
947859 |
|
|
|
947859 |
%description -n %{fontname}-metal-chrieng-fonts
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
Metal Chrieng font.
|
|
|
947859 |
|
|
|
947859 |
%_font_pkg -n metal-chrieng -f 65-0-khmeros-metal-chrieng.conf KhmerOS_metalchrieng.ttf
|
|
|
947859 |
|
|
|
947859 |
%package -n %{fontname}-muol-fonts
|
|
|
947859 |
Summary: Muol fonts - normal, light and Pali
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
947859 |
|
|
|
947859 |
%description -n %{fontname}-muol-fonts
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
Muol fonts - normal, light and Pali.
|
|
|
947859 |
|
|
|
947859 |
%_font_pkg -n muol -f 65-0-khmeros-muol.conf KhmerOS_muol.ttf KhmerOS_muollight.ttf KhmerOS_muolpali.ttf
|
|
|
947859 |
|
|
|
947859 |
%package -n %{fontname}-siemreap-fonts
|
|
|
947859 |
Summary: Siemreap font
|
|
|
947859 |
Group: User Interface/X
|
|
|
947859 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
947859 |
|
|
|
947859 |
%description -n %{fontname}-siemreap-fonts
|
|
|
947859 |
%common_desc
|
|
|
947859 |
|
|
|
947859 |
Siemreap font.
|
|
|
947859 |
|
|
|
947859 |
%_font_pkg -n siemreap -f 65-0-khmeros-siemreap.conf KhmerOS_siemreap.ttf
|
|
|
947859 |
|
|
|
947859 |
|
|
|
947859 |
%prep
|
|
|
947859 |
%setup -q -n %{archivename}
|
|
|
947859 |
install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
|
|
|
947859 |
install -p %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} .
|
|
|
947859 |
|
|
|
947859 |
|
|
|
947859 |
%build
|
|
|
947859 |
#nothing
|
|
|
947859 |
|
|
|
947859 |
%install
|
|
|
947859 |
# get rid of the white space (' ')
|
|
|
947859 |
mv 'KhmerOS .ttf' KhmerOS.ttf
|
|
|
947859 |
|
|
|
947859 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
947859 |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
|
947859 |
|
|
|
947859 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
947859 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
947859 |
|
|
|
947859 |
for conffile in *.conf ; do
|
|
|
947859 |
install -m 0644 -p $conffile %{buildroot}%{_fontconfig_templatedir}/${conffile}
|
|
|
947859 |
ln -s %{_fontconfig_templatedir}/$conffile \
|
|
|
947859 |
%{buildroot}%{_fontconfig_confdir}/$conffile
|
|
|
947859 |
done
|
|
|
947859 |
|
|
|
947859 |
%files common
|
|
|
947859 |
%defattr(0644,root,root,0755)
|
|
|
947859 |
%doc License.txt
|
|
|
947859 |
|
|
|
947859 |
|
|
|
947859 |
%changelog
|
|
|
1d6d85 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 5.0-17
|
|
|
1d6d85 |
- Mass rebuild 2013-12-27
|
|
|
1d6d85 |
|
|
|
947859 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-16
|
|
|
947859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
947859 |
|
|
|
947859 |
* Tue Nov 27 2012 Jon Ciesla <limburgher@gmail.com> - 5.0-15
|
|
|
947859 |
- Remove old obsoletes, BZ 880479.
|
|
|
947859 |
|
|
|
947859 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-14
|
|
|
947859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
947859 |
|
|
|
947859 |
* Thu Jul 05 2012 Parag <pnemade AT redhat.com> - 5.0-13
|
|
|
947859 |
- Resolves:rh#837520 - Malformed fontconfig config file
|
|
|
947859 |
|
|
|
947859 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-12
|
|
|
947859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
947859 |
|
|
|
947859 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-11
|
|
|
947859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
947859 |
|
|
|
947859 |
* Mon Jul 12 2010 Parag <pnemade AT redhat.com> - 5.0-10
|
|
|
947859 |
- Added License.txt in -common
|
|
|
947859 |
|
|
|
947859 |
* Thu May 20 2010 Parag <pnemade AT redhat.com> - 5.0-9
|
|
|
947859 |
- Resolves:rh#586253 - No fontconfig config files provided
|
|
|
947859 |
|
|
|
947859 |
* Tue Feb 16 2010 Parag <pnemade AT redhat.com> - 5.0-8
|
|
|
947859 |
- drop -common owning %%{_fontdir}
|
|
|
947859 |
|
|
|
947859 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-7
|
|
|
947859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
947859 |
|
|
|
947859 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-6
|
|
|
947859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
947859 |
|
|
|
947859 |
* Sun Jan 25 2009 Michal Nowak <mnowak@redhat.com> - 5.0-5
|
|
|
947859 |
- provide Obsoletes and dependency on -common pkg
|
|
|
947859 |
|
|
|
947859 |
* Fri Jan 23 2009 Michal Nowak <mnowak@redhat.com> - 5.0-4
|
|
|
947859 |
- changes to comply with F11 font rules
|
|
|
947859 |
|
|
|
947859 |
* Tue Jul 8 2008 Michal Nowak <mnowak@redhat.com> - 5.0-3
|
|
|
947859 |
- reshaping to multiple subpackages based on font type/purpose
|
|
|
947859 |
- license uncertainity is solved; licence field is set according
|
|
|
947859 |
to information from .ttf files read via gnome-font-viewer
|
|
|
947859 |
|
|
|
947859 |
* Mon Jul 7 2008 Michal Nowak <mnowak@redhat.com> - 5.0-2
|
|
|
947859 |
- removing Fedora specific license
|
|
|
947859 |
- refactoring summary and description texts (Nicolas Mailhot)
|
|
|
947859 |
|
|
|
947859 |
* Fri Jul 4 2008 Michal Nowak <mnowak@redhat.com> - 5.0-1
|
|
|
947859 |
- initial release
|
|
|
947859 |
|