|
|
@ -1,6 +1,5 @@
|
|
|
|
%global fontname thai-scalable
|
|
|
|
%global fontname thai-scalable
|
|
|
|
%global fontconf1 90-%{fontname}-synthetic
|
|
|
|
%global fontconf 90-%{fontname}-synthetic
|
|
|
|
%global fontconf2 65-0-%{fontname}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global archivename fonts-tlwg
|
|
|
|
%global archivename fonts-tlwg
|
|
|
|
|
|
|
|
|
|
|
@ -8,18 +7,16 @@
|
|
|
|
%{archivename} provides a collection of free scalable Thai fonts.
|
|
|
|
%{archivename} provides a collection of free scalable Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
Version: 0.7.2
|
|
|
|
Version: 0.6.5
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Thai TrueType fonts
|
|
|
|
Summary: Thai TrueType fonts
|
|
|
|
License: GPLv2+ and Bitstream Vera
|
|
|
|
License: GPLv2+ and Bitstream Vera
|
|
|
|
URL: http://linux.thai.net/projects/thaifonts-scalable
|
|
|
|
URL: http://linux.thai.net/projects/thaifonts-scalable
|
|
|
|
Source0: http://linux.thai.net/pub/ThaiLinux/software/%{archivename}/%{archivename}-%{version}.tar.xz
|
|
|
|
Source0: http://linux.thai.net/pub/ThaiLinux/software/%{archivename}/%{archivename}-%{version}.tar.xz
|
|
|
|
Source1: %{fontconf1}-garuda.conf
|
|
|
|
Source1: %{fontconf}-garuda.conf
|
|
|
|
Source2: %{fontconf1}-kinnari.conf
|
|
|
|
Source2: %{fontconf}-kinnari.conf
|
|
|
|
Source3: %{fontconf1}-umpush.conf
|
|
|
|
Source3: %{fontconf}-umpush.conf
|
|
|
|
Source4: %{fontconf1}-laksaman.conf
|
|
|
|
Source4: %{fontconf}-laksaman.conf
|
|
|
|
Source5: %{fontconf2}-norasi.conf
|
|
|
|
|
|
|
|
Source6: %{fontconf2}-waree.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Appdata Metainfo
|
|
|
|
#Appdata Metainfo
|
|
|
|
Source11: %{fontname}-garuda.metainfo.xml
|
|
|
|
Source11: %{fontname}-garuda.metainfo.xml
|
|
|
@ -38,7 +35,6 @@ Source23: %{fontname}-laksaman.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: fontforge >= 20071110
|
|
|
|
BuildRequires: fontforge >= 20071110
|
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
|
|
|
|
|
|
|
@ -53,6 +49,7 @@ Thai scalable fonts included here are:
|
|
|
|
|
|
|
|
|
|
|
|
%package common
|
|
|
|
%package common
|
|
|
|
Summary: Common files of %{name}
|
|
|
|
Summary: Common files of %{name}
|
|
|
|
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
|
|
|
|
|
|
|
|
%description common
|
|
|
|
%description common
|
|
|
@ -70,7 +67,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Garuda family of Thai fonts.
|
|
|
|
This package provides the Garuda family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n garuda -f %{fontconf1}-garuda.conf Garuda*.otf
|
|
|
|
%_font_pkg -n garuda -f %{fontconf}-garuda.conf Garuda*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-garuda.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-garuda.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -83,7 +80,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Kinnari family of Thai fonts.
|
|
|
|
This package provides the Kinnari family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n kinnari -f %{fontconf1}-kinnari.conf Kinnari*.otf
|
|
|
|
%_font_pkg -n kinnari -f %{fontconf}-kinnari.conf Kinnari*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-kinnari.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-kinnari.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -96,7 +93,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Loma family of Thai fonts.
|
|
|
|
This package provides the Loma family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n loma Loma*.otf
|
|
|
|
%_font_pkg -n loma Loma*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-loma.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-loma.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -109,7 +106,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Norasi family of Thai fonts.
|
|
|
|
This package provides the Norasi family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n norasi -f %{fontconf2}-norasi.conf Norasi*.otf
|
|
|
|
%_font_pkg -n norasi Norasi*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-norasi.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-norasi.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -122,7 +119,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Purisa family of Thai fonts.
|
|
|
|
This package provides the Purisa family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n purisa Purisa*.otf
|
|
|
|
%_font_pkg -n purisa Purisa*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-purisa.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-purisa.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -135,7 +132,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Sawasdee family of Thai fonts.
|
|
|
|
This package provides the Sawasdee family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n sawasdee Sawasdee*.otf
|
|
|
|
%_font_pkg -n sawasdee Sawasdee*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-sawasdee.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-sawasdee.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -148,7 +145,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the TlwgMono family of Thai fonts.
|
|
|
|
This package provides the TlwgMono family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n tlwgmono TlwgMono*.otf
|
|
|
|
%_font_pkg -n tlwgmono TlwgMono*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-tlwgmono.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-tlwgmono.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -161,7 +158,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the TlwgTypewriter family of Thai fonts.
|
|
|
|
This package provides the TlwgTypewriter family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n tlwgtypewriter TlwgTypewriter*.otf
|
|
|
|
%_font_pkg -n tlwgtypewriter TlwgTypewriter*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-tlwgtypewriter.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-tlwgtypewriter.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -174,7 +171,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the TlwgTypist family of Thai fonts.
|
|
|
|
This package provides the TlwgTypist family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n tlwgtypist TlwgTypist*.otf
|
|
|
|
%_font_pkg -n tlwgtypist TlwgTypist*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-tlwgtpist.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-tlwgtpist.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -187,7 +184,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the TlwgTypo family of Thai fonts.
|
|
|
|
This package provides the TlwgTypo family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n tlwgtypo TlwgTypo*.otf
|
|
|
|
%_font_pkg -n tlwgtypo TlwgTypo*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-tlwgtypo.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-tlwgtypo.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -200,7 +197,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Umpush family of Thai fonts.
|
|
|
|
This package provides the Umpush family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n umpush -f %{fontconf1}-umpush.conf Umpush*.otf
|
|
|
|
%_font_pkg -n umpush -f %{fontconf}-umpush.conf Umpush*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-umpush.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-umpush.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{fontname}-laksaman-fonts
|
|
|
|
%package -n %{fontname}-laksaman-fonts
|
|
|
@ -212,7 +209,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Laksaman family of Thai fonts.
|
|
|
|
This package provides the Laksaman family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n laksaman -f %{fontconf1}-laksaman.conf Laksaman*.otf
|
|
|
|
%_font_pkg -n laksaman -f %{fontconf}-laksaman.conf Laksaman*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-laksaman.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-laksaman.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{fontname}-waree-fonts
|
|
|
|
%package -n %{fontname}-waree-fonts
|
|
|
@ -224,7 +221,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the Waree family of Thai fonts.
|
|
|
|
This package provides the Waree family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n waree -f %{fontconf2}-waree.conf Waree*.otf
|
|
|
|
%_font_pkg -n waree Waree*.ttf
|
|
|
|
%{_datadir}/appdata/%{fontname}-waree.metainfo.xml
|
|
|
|
%{_datadir}/appdata/%{fontname}-waree.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -233,7 +230,7 @@ This package provides the Waree family of Thai fonts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --with-otfdir=%{_fontdir}
|
|
|
|
%configure --with-ttfdir=%{_fontdir} --enable-ttf
|
|
|
|
make
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -251,26 +248,18 @@ rm %{buildroot}%{_datadir}/fontconfig/conf.avail/89-tlwg*-synthetic.conf
|
|
|
|
|
|
|
|
|
|
|
|
# split up 90-ttf-thai-tlwg-synthetic.conf
|
|
|
|
# split up 90-ttf-thai-tlwg-synthetic.conf
|
|
|
|
install -m 0644 -p %{SOURCE1} \
|
|
|
|
install -m 0644 -p %{SOURCE1} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}-garuda.conf
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-garuda.conf
|
|
|
|
install -m 0644 -p %{SOURCE2} \
|
|
|
|
install -m 0644 -p %{SOURCE2} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}-kinnari.conf
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-kinnari.conf
|
|
|
|
install -m 0644 -p %{SOURCE3} \
|
|
|
|
install -m 0644 -p %{SOURCE3} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}-umpush.conf
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-umpush.conf
|
|
|
|
install -m 0644 -p %{SOURCE4} \
|
|
|
|
install -m 0644 -p %{SOURCE4} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}-laksaman.conf
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-laksaman.conf
|
|
|
|
|
|
|
|
|
|
|
|
# install 65-0-thai-scalable-*.conf
|
|
|
|
for fconf in %{fontconf}-garuda.conf \
|
|
|
|
install -m 0644 -p %{SOURCE5} \
|
|
|
|
%{fontconf}-kinnari.conf \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf2}-norasi.conf
|
|
|
|
%{fontconf}-umpush.conf \
|
|
|
|
install -m 0644 -p %{SOURCE6} \
|
|
|
|
%{fontconf}-laksaman.conf ; do
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf2}-waree.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for fconf in %{fontconf1}-garuda.conf \
|
|
|
|
|
|
|
|
%{fontconf1}-kinnari.conf \
|
|
|
|
|
|
|
|
%{fontconf1}-umpush.conf \
|
|
|
|
|
|
|
|
%{fontconf1}-laksaman.conf \
|
|
|
|
|
|
|
|
%{fontconf2}-norasi.conf \
|
|
|
|
|
|
|
|
%{fontconf2}-waree.conf; do
|
|
|
|
|
|
|
|
ln -s %{_fontconfig_templatedir}/$fconf \
|
|
|
|
ln -s %{_fontconfig_templatedir}/$fconf \
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/$fconf
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/$fconf
|
|
|
|
done
|
|
|
|
done
|
|
|
@ -308,42 +297,6 @@ install -Dm 0644 -p %{SOURCE23} \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.2-5
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.2-4
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 7 2020 Peng Wu <pwu@redhat.com> - 0.7.2-1
|
|
|
|
|
|
|
|
- Update to 0.7.2
|
|
|
|
|
|
|
|
- Switch to use OpenType Font Format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2019 Peng Wu <pwu@redhat.com> - 0.6.5-5
|
|
|
|
|
|
|
|
- Use Waree for sans-serif and Norasi for serif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 15 2019 Peng Wu <pwu@redhat.com> - 0.6.5-4
|
|
|
|
|
|
|
|
- Use Waree as default font for Thai language
|
|
|
|
|
|
|
|
- Add 65-0-thai-scalable-waree.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 26 2018 Peng Wu <pwu@redhat.com> - 0.6.5-1
|
|
|
|
* Thu Apr 26 2018 Peng Wu <pwu@redhat.com> - 0.6.5-1
|
|
|
|
- Update to 0.6.5
|
|
|
|
- Update to 0.6.5
|
|
|
|
|
|
|
|
|
|
|
|