Compare commits

...

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

2
.gitignore vendored

@ -1 +1 @@
SOURCES/fonts-tlwg-0.7.2.tar.xz
SOURCES/fonts-tlwg-0.6.5.tar.xz

@ -1 +1 @@
07cdb99b4ccd4c1cf03be24c399718ac1489a855 SOURCES/fonts-tlwg-0.7.2.tar.xz
1b05b5595daf7f03811de0573ab72eb85973bcf9 SOURCES/fonts-tlwg-0.6.5.tar.xz

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>th</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Norasi</string>
</edit>
</match>
<alias>
<family>Norasi</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>th</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Waree</string>
</edit>
</match>
<alias>
<family>Waree</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

@ -1,6 +1,5 @@
%global fontname thai-scalable
%global fontconf1 90-%{fontname}-synthetic
%global fontconf2 65-0-%{fontname}
%global fontconf 90-%{fontname}-synthetic
%global archivename fonts-tlwg
@ -8,18 +7,16 @@
%{archivename} provides a collection of free scalable Thai fonts.
Name: %{fontname}-fonts
Version: 0.7.2
Release: 5%{?dist}
Version: 0.6.5
Release: 1%{?dist}
Summary: Thai TrueType fonts
License: GPLv2+ and Bitstream Vera
URL: http://linux.thai.net/projects/thaifonts-scalable
Source0: http://linux.thai.net/pub/ThaiLinux/software/%{archivename}/%{archivename}-%{version}.tar.xz
Source1: %{fontconf1}-garuda.conf
Source2: %{fontconf1}-kinnari.conf
Source3: %{fontconf1}-umpush.conf
Source4: %{fontconf1}-laksaman.conf
Source5: %{fontconf2}-norasi.conf
Source6: %{fontconf2}-waree.conf
Source1: %{fontconf}-garuda.conf
Source2: %{fontconf}-kinnari.conf
Source3: %{fontconf}-umpush.conf
Source4: %{fontconf}-laksaman.conf
#Appdata Metainfo
Source11: %{fontname}-garuda.metainfo.xml
@ -38,7 +35,6 @@ Source23: %{fontname}-laksaman.metainfo.xml
BuildArch: noarch
BuildRequires: make
BuildRequires: fontforge >= 20071110
BuildRequires: fontpackages-devel
@ -53,6 +49,7 @@ Thai scalable fonts included here are:
%package common
Summary: Common files of %{name}
Group: User Interface/X
Requires: fontpackages-filesystem
%description common
@ -70,7 +67,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -83,7 +80,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -96,7 +93,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -109,7 +106,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -122,7 +119,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -135,7 +132,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -148,7 +145,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -161,7 +158,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -174,7 +171,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -187,7 +184,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -200,7 +197,7 @@ Requires: %{name}-common = %{version}-%{release}
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
%package -n %{fontname}-laksaman-fonts
@ -212,7 +209,7 @@ Requires: %{name}-common = %{version}-%{release}
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
%package -n %{fontname}-waree-fonts
@ -224,7 +221,7 @@ Requires: %{name}-common = %{version}-%{release}
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
@ -233,7 +230,7 @@ This package provides the Waree family of Thai fonts.
%build
%configure --with-otfdir=%{_fontdir}
%configure --with-ttfdir=%{_fontdir} --enable-ttf
make
@ -251,26 +248,18 @@ rm %{buildroot}%{_datadir}/fontconfig/conf.avail/89-tlwg*-synthetic.conf
# split up 90-ttf-thai-tlwg-synthetic.conf
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}-garuda.conf
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-garuda.conf
install -m 0644 -p %{SOURCE2} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}-kinnari.conf
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-kinnari.conf
install -m 0644 -p %{SOURCE3} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}-umpush.conf
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-umpush.conf
install -m 0644 -p %{SOURCE4} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}-laksaman.conf
# install 65-0-thai-scalable-*.conf
install -m 0644 -p %{SOURCE5} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf2}-norasi.conf
install -m 0644 -p %{SOURCE6} \
%{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
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-laksaman.conf
for fconf in %{fontconf}-garuda.conf \
%{fontconf}-kinnari.conf \
%{fontconf}-umpush.conf \
%{fontconf}-laksaman.conf ; do
ln -s %{_fontconfig_templatedir}/$fconf \
%{buildroot}%{_fontconfig_confdir}/$fconf
done
@ -308,41 +297,8 @@ install -Dm 0644 -p %{SOURCE23} \
%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
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.6.5-1
- Rebuilt for MSVSphere 8.8
* Thu Apr 26 2018 Peng Wu <pwu@redhat.com> - 0.6.5-1
- Update to 0.6.5

Loading…
Cancel
Save