packages: fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-sans-mono.fontconfi...
patrys
patrys at pld-linux.org
Mon Jun 22 11:09:40 CEST 2009
Author: patrys Date: Mon Jun 22 09:09:40 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
packages/fonts-TTF-Google-Droid:
fonts-TTF-Google-Droid-sans-mono.fontconfig (NONE -> 1.1) (NEW), fonts-TTF-Google-Droid-sans.fontconfig (NONE -> 1.1) (NEW), fonts-TTF-Google-Droid-serif.fontconfig (NONE -> 1.1) (NEW), fonts-TTF-Google-Droid.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-sans-mono.fontconfig
diff -u /dev/null packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-sans-mono.fontconfig:1.1
--- /dev/null Mon Jun 22 11:09:40 2009
+++ packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-sans-mono.fontconfig Mon Jun 22 11:09:35 2009
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Droid Sans Mono</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Droid Sans Mono</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+</fontconfig>
================================================================
Index: packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-sans.fontconfig
diff -u /dev/null packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-sans.fontconfig:1.1
--- /dev/null Mon Jun 22 11:09:40 2009
+++ packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-sans.fontconfig Mon Jun 22 11:09:35 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Droid Sans</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Droid Sans</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+ <match target="scan">
+ <test name="family">
+ <string>Droid Sans Fallback</string>
+ </test>
+ <edit name="family">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+</fontconfig>
================================================================
Index: packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-serif.fontconfig
diff -u /dev/null packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-serif.fontconfig:1.1
--- /dev/null Mon Jun 22 11:09:40 2009
+++ packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid-serif.fontconfig Mon Jun 22 11:09:35 2009
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Droid Serif</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Droid Serif</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+</fontconfig>
================================================================
Index: packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid.spec
diff -u /dev/null packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid.spec:1.1
--- /dev/null Mon Jun 22 11:09:40 2009
+++ packages/fonts-TTF-Google-Droid/fonts-TTF-Google-Droid.spec Mon Jun 22 11:09:35 2009
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+Summary: General-purpose fonts released by Google as part of Android
+Name: fonts-TTF-Google-Droid
+Version: 1.0.0.112
+Release: 1
+License: Apache v2.0
+Group: Fonts
+Source0: google-droid.tar.gz
+# Source0-md5: db7948a148a065a59c48db27afa16b5d
+Source1: %{name}-sans.fontconfig
+Source1: %{name}-sans-mono.fontconfig
+Source1: %{name}-serif.fontconfig
+URL: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts
+Requires(post,postun): fontpostinst
+Requires: %{_fontsdir}/TTF
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _ttffontsdir %{_fontsdir}/TTF
+
+%description
+The Droid typeface family was designed in the fall of 2006 by Ascender's
+Steve Matteson, as a commission from Google to create a set of system fonts
+for its Android platform. The goal was to provide optimal quality and comfort
+on a mobile handset when rendered in application menus, web browsers and for
+other screen text.
+
+%prep
+%setup -q -n base
+rm -f Ahem.ttf
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_ttffontsdir}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+
+cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/65-droid-sans.conf
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-droid-sans-mono.conf
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/59-droid-serif.conf
+ln -s ../conf.avail/65-droid-sans.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+ln -s ../conf.avail/60-droid-sans-mono.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+ln -s ../conf.avail/59-droid-serif.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+fontpostinst TTF
+
+%postun
+fontpostinst TTF
+
+%files
+%defattr(644,root,root,755)
+%{_ttffontsdir}/Droid*.ttf
+%{_sysconfdir}/fonts/conf.avail/65-droid-sans.conf
+%{_sysconfdir}/fonts/conf.avail/60-droid-sans-mono.conf
+%{_sysconfdir}/fonts/conf.avail/59-droid-serif.conf
+%{_sysconfdir}/fonts/conf.d/65-droid-sans.conf
+%{_sysconfdir}/fonts/conf.d/60-droid-sans-mono.conf
+%{_sysconfdir}/fonts/conf.d/59-droid-serif.conf
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/06/22 09:09:35 patrys
+- initial PLD release
+
================================================================
More information about the pld-cvs-commit
mailing list