[google-phetsarath-fonts] Initial import (#1031588)

pnemade pnemade at fedoraproject.org
Thu Nov 28 14:22:21 UTC 2013


commit 24fc5b08c7286d09c022a3e26299269010b4ebb3
Author: Parag Nemade <pnemade at redhat.com>
Date:   Thu Nov 28 19:51:59 2013 +0530

    Initial import (#1031588)

 .gitignore                              |    1 +
 google-phetsarath-fonts-fontconfig.conf |   16 +++++++++
 google-phetsarath-fonts.spec            |   53 +++++++++++++++++++++++++++++++
 sources                                 |    1 +
 4 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..88630c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/download.zip
diff --git a/google-phetsarath-fonts-fontconfig.conf b/google-phetsarath-fonts-fontconfig.conf
new file mode 100644
index 0000000..36a1263
--- /dev/null
+++ b/google-phetsarath-fonts-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+        <alias>
+          <family>sans-serif</family>
+            <prefer>
+              <family>Phetsarath</family>
+            </prefer>
+        </alias>
+        <alias>
+          <family>Phetsarath</family>
+            <default>
+              <family>sans-serif</family>
+            </default>
+        </alias>
+</fontconfig>
diff --git a/google-phetsarath-fonts.spec b/google-phetsarath-fonts.spec
new file mode 100644
index 0000000..7964540
--- /dev/null
+++ b/google-phetsarath-fonts.spec
@@ -0,0 +1,53 @@
+%global fontname google-phetsarath
+%global fontconf 67-%{fontname}.conf
+
+Name:           %{fontname}-fonts
+Version:        1.01
+Release:        1%{?dist}
+Summary:        The font for the Lao language
+
+License:        OFL
+URL:            http://www.google.com/fonts/earlyaccess
+Source0:        http://themes.googleusercontent.com/static/fonts/earlyaccess/phetsarath/v3/download.zip
+Source1:        %{name}-fontconfig.conf
+
+BuildArch:      noarch
+BuildRequires:  fontpackages-devel
+Requires:       fontpackages-filesystem
+
+%description
+This is a font for the Lao language which is commissioned by the Ministry of
+Posts and Telecommunications of the Laos government.
+
+%prep
+%setup -q -c
+
+
+%build
+
+
+%install
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+                   %{buildroot}%{_fontconfig_confdir}
+
+install -m 0644 -p %{SOURCE1} \
+        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+
+%_font_pkg -f %{fontconf} *.ttf
+
+%doc OFL.txt
+
+
+%changelog
+* Sat Nov 23 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.01-1
+- Use upstream as google font directory
+
+* Mon Nov 18 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.00-1
+- Initial Fedora release.
+
diff --git a/sources b/sources
index e69de29..09126b8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d1d6b86692454aa1b9b90dff94674cc8  download.zip


More information about the scm-commits mailing list