Update to 3.002

This commit is contained in:
Parag A Nemade 2017-02-10 14:14:39 +05:30
parent 01a3ab6de7
commit 40816fffd9
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
3 changed files with 19 additions and 28 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
ttf-sil-padauk-2.4.tar.gz
/ttf-sil-padauk-2.8.tar.gz
/padauk-2.8.zip
/padauk-3.002.zip

View File

@ -1,22 +1,20 @@
%global fontname sil-padauk
%global fontconf 65-%{fontname}
%global archivename padauk-2.8
%global archivename padauk-3.002
%global common_desc \
Padauk is a Myanmar font covering all currently used characters \
in the Myanmar block. The font aims to cover all minority language needs. \
At the moment, these do not extend to stylistic variation needs. \
The font is a smart font using a Graphite description.
Padauk is a pan Burma font designed to support all Myanmar script based \
languages. It covers all of the Unicode Myanmar script blocks and works \
on all OpenType and Graphite based systems.
Name: %{fontname}-fonts
Version: 2.8
Release: 10%{?dist}
Version: 3.002
Release: 1%{?dist}
Summary: A font for Burmese and the Myanmar script
License: OFL
URL: http://scripts.sil.org/Padauk
# The source link is a redirect and is not directly accessible
Source0: %{archivename}.zip
Source0: http://software.sil.org/downloads/d/padauk/%{archivename}.zip
Source1: %{name}-fontconfig.conf
Source2: %{name}-book-fontconfig.conf
Source3: %{fontname}.metainfo.xml
@ -30,8 +28,8 @@ Requires: fontpackages-filesystem
%description
%common_desc
%_font_pkg -f %{fontconf}.conf Padauk.ttf Padauk-bold.ttf
%doc *.txt
%_font_pkg -f %{fontconf}.conf Padauk-Regular.ttf Padauk-Bold.ttf
%doc *.txt documentation
%{_datadir}/appdata/%{fontname}.metainfo.xml
%package -n %{fontname}-book-fonts
@ -42,27 +40,16 @@ Padauk Book family font.
%common_desc
%_font_pkg -n book -f %{fontconf}-book.conf Padauk-book*.ttf
%_font_pkg -n book -f %{fontconf}-book.conf PadaukBook*.ttf
%{_datadir}/appdata/%{fontname}-book.metainfo.xml
%doc *.txt
%doc *.txt documentation
%prep
%setup -q -n padauk-2.80
sed -i 's/\r//' OFL.txt
%autosetup -n %{archivename}
sed -i 's/\r//' *.txt documentation/DOCUMENTATION.txt
%build
# Following is needed to fix the postscript font name
ttx *.ttf
sed -i 's|ပိတောက်|Padauk|g' Padauk*.ttx
sed -i 's|စာလုံးမဲ|Bold|g' Padauk*.ttx
sed -i 's|စာအုပ်|Book|g' Padauk-book*.ttx
rm *.ttf
ttx Padauk*.ttx
rm *.ttx
# nothing to do here
%install
install -m 0755 -d %{buildroot}%{_fontdir}
@ -89,6 +76,9 @@ install -Dm 0644 -p %{SOURCE4} \
%{buildroot}%{_datadir}/appdata/%{fontname}-book.metainfo.xml
%changelog
* Fri Feb 10 2017 Parag Nemade <pnemade AT fedoraproject DOT org> - 3.002-1
- Update to 3.002
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
5601d47d09ea76d271abd624638a3c5b padauk-2.8.zip
SHA512 (padauk-3.002.zip) = 16c068540ac78a8bb2127e15249ab4e144fa6637bb3ea61b089e09f5c0000b840e8e8c9c0ada345a910f731c52ab1ecaf446275c76d53e0fbc6150ee0e4feb85