Update to 0.6.4

This commit is contained in:
Peng Wu 2017-10-09 16:00:03 +08:00
parent f1f3755784
commit 428fed0f71
5 changed files with 66 additions and 6 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ thaifonts-scalable-0.4.12.tar.gz
/thaifonts-scalable-0.4.16.tar.gz /thaifonts-scalable-0.4.16.tar.gz
/thaifonts-scalable-0.4.17.tar.gz /thaifonts-scalable-0.4.17.tar.gz
/fonts-tlwg-0.5.0.tar.gz /fonts-tlwg-0.5.0.tar.gz
/fonts-tlwg-0.6.4.tar.xz

View File

@ -0,0 +1,27 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Synthesize TH Sarabun with scaled-down Laksaman -->
<match target="pattern">
<test qual="any" name="family" compare="contains">
<string>TH Sarabun</string>
</test>
<edit name="family" mode="append" binding="same">
<string>Laksaman</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Laksaman</string>
</test>
<test target="pattern" qual="any" name="family" compare="contains">
<string>TH Sarabun</string>
</test>
<edit name="matrix" mode="assign">
<matrix>
<double>0.66</double><double>0</double>
<double>0</double><double>0.66</double>
</matrix>
</edit>
</match>
</fontconfig>

View File

@ -1 +1 @@
e407df4a9652aa1555e3dd5894d6ddd8 fonts-tlwg-0.5.0.tar.gz SHA512 (fonts-tlwg-0.6.4.tar.xz) = 43953f2a26dc89e0b0e5afc5a0733ba6807053cc144e1893ef5593a79c24342fc65aea22d9b0d1e2c0e6bffdf42481d1e89fbe83dd114572c02075b9a913db6a

View File

@ -7,15 +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.5.0 Version: 0.6.4
Release: 13%{?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.gz Source0: http://linux.thai.net/pub/ThaiLinux/software/%{archivename}/%{archivename}-%{version}.tar.xz
Source1: %{fontconf}-garuda.conf Source1: %{fontconf}-garuda.conf
Source2: %{fontconf}-kinnari.conf Source2: %{fontconf}-kinnari.conf
Source3: %{fontconf}-umpush.conf Source3: %{fontconf}-umpush.conf
Source4: %{fontconf}-laksaman.conf
#Appdata Metainfo #Appdata Metainfo
Source11: %{fontname}-garuda.metainfo.xml Source11: %{fontname}-garuda.metainfo.xml
@ -30,6 +31,7 @@ Source19: %{fontname}-tlwgtpist.metainfo.xml
Source20: %{fontname}-tlwgtypo.metainfo.xml Source20: %{fontname}-tlwgtypo.metainfo.xml
Source21: %{fontname}-umpush.metainfo.xml Source21: %{fontname}-umpush.metainfo.xml
Source22: %{fontname}-waree.metainfo.xml Source22: %{fontname}-waree.metainfo.xml
Source23: %{fontname}-laksaman.metainfo.xml
BuildArch: noarch BuildArch: noarch
@ -198,6 +200,17 @@ This package provides the Umpush family of Thai fonts.
%_font_pkg -n umpush -f %{fontconf}-umpush.conf Umpush*.ttf %_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
Summary: Thai Laksaman fonts
Requires: %{name}-common = %{version}-%{release}
%description -n %{fontname}-laksaman-fonts
%common_desc
This package provides the Laksaman family of Thai fonts.
%_font_pkg -n laksaman -f %{fontconf}-laksaman.conf Laksaman*.ttf
%{_datadir}/appdata/%{fontname}-laksaman.metainfo.xml
%package -n %{fontname}-waree-fonts %package -n %{fontname}-waree-fonts
Summary: Thai Waree fonts Summary: Thai Waree fonts
@ -229,7 +242,9 @@ make install DESTDIR=%{buildroot} INSTALL="install -p"
# remove upstream font config # remove upstream font config
# fontconfig's 65-nonlatin.conf covers 65-ttf-thai-tlwg.conf # fontconfig's 65-nonlatin.conf covers 65-ttf-thai-tlwg.conf
rm %{buildroot}%{_sysconfdir}/fonts/conf.avail/*-ttf-thai-tlwg*.conf rm %{buildroot}%{_sysconfdir}/fonts/conf.avail/64-15-laksaman.conf
rm %{buildroot}%{_sysconfdir}/fonts/conf.avail/64-*-tlwg*.conf
rm %{buildroot}%{_sysconfdir}/fonts/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} \
@ -238,10 +253,13 @@ install -m 0644 -p %{SOURCE2} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-kinnari.conf %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-kinnari.conf
install -m 0644 -p %{SOURCE3} \ install -m 0644 -p %{SOURCE3} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-umpush.conf %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-umpush.conf
install -m 0644 -p %{SOURCE4} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-laksaman.conf
for fconf in %{fontconf}-garuda.conf \ for fconf in %{fontconf}-garuda.conf \
%{fontconf}-kinnari.conf \ %{fontconf}-kinnari.conf \
%{fontconf}-umpush.conf ; do %{fontconf}-umpush.conf \
%{fontconf}-laksaman.conf ; do
ln -s %{_fontconfig_templatedir}/$fconf \ ln -s %{_fontconfig_templatedir}/$fconf \
%{buildroot}%{_fontconfig_confdir}/$fconf %{buildroot}%{_fontconfig_confdir}/$fconf
done done
@ -271,12 +289,18 @@ install -Dm 0644 -p %{SOURCE21} \
%{buildroot}%{_datadir}/appdata/%{fontname}-umpush.metainfo.xml %{buildroot}%{_datadir}/appdata/%{fontname}-umpush.metainfo.xml
install -Dm 0644 -p %{SOURCE22} \ install -Dm 0644 -p %{SOURCE22} \
%{buildroot}%{_datadir}/appdata/%{fontname}-waree.metainfo.xml %{buildroot}%{_datadir}/appdata/%{fontname}-waree.metainfo.xml
install -Dm 0644 -p %{SOURCE23} \
%{buildroot}%{_datadir}/appdata/%{fontname}-laksaman.metainfo.xml
%files common %files common
%doc AUTHORS README COPYING NEWS %doc AUTHORS README COPYING NEWS
%changelog %changelog
* Mon Oct 9 2017 Peng Wu <pwu@redhat.com> - 0.6.4-1
- Update to 0.6.4
- add laksaman subpackage
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-13 * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>thai-scalable-laksaman</id>
<metadata_license>CC-BY-3.0</metadata_license>
<extends>thai-scalable</extends>
</component>