[trabajo-fonts] Initial import (#991724)

pnemade pnemade at fedoraproject.org
Tue Aug 6 14:10:01 UTC 2013


commit 9ba7f0dd2f739060d47ec5ab3d0a65d373105695
Author: Parag Nemade <pnemade at redhat.com>
Date:   Tue Aug 6 19:39:32 2013 +0530

    Initial import (#991724)

 .gitignore                    |    1 +
 sources                       |    1 +
 trabajo-fonts-fontconfig.conf |   17 +++++++++++++
 trabajo-fonts.spec            |   54 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..15e2875 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/trabajo.zip
diff --git a/sources b/sources
index e69de29..985e722 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d8bc760f033341f410d8b1ee698609fb  trabajo.zip
diff --git a/trabajo-fonts-fontconfig.conf b/trabajo-fonts-fontconfig.conf
new file mode 100644
index 0000000..3504cfd
--- /dev/null
+++ b/trabajo-fonts-fontconfig.conf
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+        <alias>
+               <family>serif</family>
+               <prefer>
+                       <family>Trabajo</family>
+                </prefer>
+        </alias>
+        <alias>
+                <family>Trabajo</family>
+                <default>
+                        <family>serif</family>
+                </default>
+        </alias>
+</fontconfig>
+
diff --git a/trabajo-fonts.spec b/trabajo-fonts.spec
new file mode 100644
index 0000000..f5c1808
--- /dev/null
+++ b/trabajo-fonts.spec
@@ -0,0 +1,54 @@
+%global fontname trabajo
+%global fontconf 62-%{fontname}.conf
+
+
+Name:           %{fontname}-fonts
+Version:        2.0
+Release:        1%{?dist}
+Summary:        Latin Serif font that supports Shavian alphabet
+
+License:        OFL
+URL:            http://openfontlibrary.org/font/trabajo
+Source0:        http://openfontlibrary.org/assets/downloads/trabajo/d8bc760f033341f410d8b1ee698609fb/trabajo.zip
+Source1:        %{name}-fontconfig.conf
+
+BuildArch:      noarch
+BuildRequires:  fontpackages-devel
+BuildRequires:  dos2unix
+Requires:       fontpackages-filesystem
+
+%description
+Designed for use with the Shavian alphabet, a phonemic spelling reform proposal
+for English, but also supports extended Latin, and basic Cyrillic. "Trabajo"
+(pronounced [tɾaˈβaxo] if you're Spanish or [tɹəˈbɑːhoʊ] if you're English)
+is Spanish for "I work". Trabajo has become a Serif font as of version 2.0,
+for improved appearance.
+
+%prep
+%setup -q -c
+dos2unix OFL.txt
+
+%build
+
+%install
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.otf %{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} *.otf
+
+%doc OFL.txt
+
+
+%changelog
+* Sat Aug 03 2013 Parag Nemade <pnemade AT redhat DOT com> - 2.0-1
+- Initial Fedora release.
+


More information about the fonts-bugs mailing list