[ubuntu-title-fonts/el6/master] Initial import (#564466).

Paul Flo Williams frixxon at fedoraproject.org
Wed Aug 25 21:18:49 UTC 2010


commit fc9df1094cb31ab8a97ec101ffa1f5bcc010474b
Author: Paul Williams <paul at frixxon.co.uk>
Date:   Wed Aug 25 22:18:39 2010 +0100

    Initial import (#564466).

 .gitignore                         |    1 +
 sources                            |    1 +
 ubuntu-title-fonts-fontconfig.conf |   16 +++++++++
 ubuntu-title-fonts.spec            |   65 ++++++++++++++++++++++++++++++++++++
 4 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3228d2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ubuntu-title-002.000.tar.gz
diff --git a/sources b/sources
index e69de29..49b71ae 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8acc63148ffe59d6789aef99c2f83b8b  ubuntu-title-002.000.tar.gz
diff --git a/ubuntu-title-fonts-fontconfig.conf b/ubuntu-title-fonts-fontconfig.conf
new file mode 100644
index 0000000..c8ec182
--- /dev/null
+++ b/ubuntu-title-fonts-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>fantasy</family>
+    <prefer>
+      <family>Ubuntu-Title</family>
+    </prefer>
+  </alias>
+  <alias>
+    <family>Ubuntu-Title</family>
+    <default>
+      <family>fantasy</family>
+    </default>
+  </alias>
+</fontconfig>
diff --git a/ubuntu-title-fonts.spec b/ubuntu-title-fonts.spec
new file mode 100644
index 0000000..dac73cd
--- /dev/null
+++ b/ubuntu-title-fonts.spec
@@ -0,0 +1,65 @@
+%global fontname ubuntu-title
+%global fontconf 64-%{fontname}.conf
+
+Name:           %{fontname}-fonts
+Version:        002.000
+Release:        2%{?dist}
+Summary:        A titling decorative font to create the lettering of the Ubuntu logo
+
+Group:          User Interface/X
+License:        OFL or GPLv2 with exceptions
+URL:            https://launchpad.net/ubuntutitle
+Source0:        http://launchpad.net/ubuntutitle/trunk/%{version}/+download/ubuntu-title-%{version}.tar.gz
+Source1:        %{name}-fontconfig.conf
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildArch:      noarch
+BuildRequires:  fontpackages-devel
+BuildRequires:  fontforge
+Requires:       fontpackages-filesystem
+
+%description
+Ubuntu-title is a font designed by Andrew Fitzsimon commissioned by Canonical,
+the sponsor of Ubuntu, to create the lettering of the Ubuntu logo.
+
+%prep
+%setup -q -n ubuntu-title-%{version}
+for txt in *.txt ; do
+   fold -s $txt | sed -e 's/\r//' > $txt.new
+   touch -r $txt $txt.new
+   mv $txt{.new,}
+done
+
+%build
+fontforge -lang=ff -c 'Open($1); Generate($1:r+".ttf")' Ubuntu-Title.sfd
+
+%install
+rm -fr %{buildroot}
+
+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}
+
+
+%clean
+rm -fr %{buildroot}
+
+
+%_font_pkg -f %{fontconf} *.ttf
+
+%doc *.txt
+
+
+%changelog
+* Tue Feb 23 2010 Paul Williams <paul at frixxon.co.uk> - 002.000-2
+- remove coverage from description
+
+* Fri Feb 12 2010 Paul Williams <paul at frixxon.co.uk> - 002.000-1
+- initial build


More information about the fonts-bugs mailing list