2009-02-17 19:09:24 +00:00
|
|
|
|
%global fontname google-droid
|
2012-07-15 19:36:28 +00:00
|
|
|
|
%global archivename %{name}-%{version}
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
2009-02-17 19:09:24 +00:00
|
|
|
|
%global common_desc \
|
2009-01-16 22:29:21 +00:00
|
|
|
|
The Droid typeface family was designed in the fall of 2006 by Ascender's \
|
2009-01-16 22:10:40 +00:00
|
|
|
|
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 \
|
2012-07-15 19:36:28 +00:00
|
|
|
|
other screen text. \
|
2012-07-16 20:17:52 +00:00
|
|
|
|
The family was later extended in collaboration with other designers such as \
|
|
|
|
|
Pascal Zoghbi of 29ArabicLetters.
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
Name: %{fontname}-fonts
|
2012-07-15 19:36:28 +00:00
|
|
|
|
# No sane versionning upstream, use git clone timestamp
|
|
|
|
|
Version: 20120715
|
2013-08-03 16:15:05 +00:00
|
|
|
|
Release: 6%{?dist}
|
2009-01-16 22:10:40 +00:00
|
|
|
|
Summary: General-purpose fonts released by Google as part of Android
|
|
|
|
|
|
|
|
|
|
Group: User Interface/X
|
|
|
|
|
License: ASL 2.0
|
2012-07-15 19:36:28 +00:00
|
|
|
|
URL: https://android.googlesource.com/
|
|
|
|
|
Source0: %{archivename}.tar.xz
|
|
|
|
|
#Brutal script used to pull sources from upstream git
|
|
|
|
|
Source1: getdroid.sh
|
|
|
|
|
Source10: %{name}-sans-fontconfig.conf
|
|
|
|
|
Source11: %{name}-sans-mono-fontconfig.conf
|
|
|
|
|
Source12: %{name}-serif-fontconfig.conf
|
2012-07-16 20:17:52 +00:00
|
|
|
|
Source13: %{name}-kufi-fontconfig.conf
|
2010-06-13 14:14:11 +00:00
|
|
|
|
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{fontname}-sans-fonts
|
2010-07-25 21:45:28 +00:00
|
|
|
|
Summary: A humanist sans serif typeface
|
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
|
Obsoletes: %{name}-common <= 20090906-5.fc12
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
%description -n %{fontname}-sans-fonts
|
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
|
|
Droid Sans is a humanist sans serif typeface designed for user interfaces and
|
|
|
|
|
electronic communication.
|
|
|
|
|
|
2012-07-16 20:17:52 +00:00
|
|
|
|
%_font_pkg -n sans -f ??-%{fontname}-sans.conf DroidSans*ttf
|
|
|
|
|
%exclude %{_fontdir}/DroidSansMono*ttf
|
2012-07-15 19:36:28 +00:00
|
|
|
|
%doc README.txt NOTICE
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
%package -n %{fontname}-sans-mono-fonts
|
|
|
|
|
Summary: A humanist monospace sans serif typeface
|
2010-07-25 21:45:28 +00:00
|
|
|
|
Requires: fontpackages-filesystem
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
%description -n %{fontname}-sans-mono-fonts
|
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
|
|
Droid Sans Mono is a humanist monospace sans serif typeface designed for user
|
|
|
|
|
interfaces and electronic communication.
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n sans-mono -f ??-%{fontname}-sans-mono.conf DroidSansMono.ttf
|
2012-07-15 19:36:28 +00:00
|
|
|
|
%doc README.txt NOTICE
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
%package -n %{fontname}-serif-fonts
|
2010-07-25 21:45:28 +00:00
|
|
|
|
Summary: A contemporary serif typeface
|
|
|
|
|
Requires: fontpackages-filesystem
|
2012-07-16 20:17:52 +00:00
|
|
|
|
Provides: %{fontname}-naskh-fonts = %{version}-%{release}
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
%description -n %{fontname}-serif-fonts
|
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
|
|
Droid Serif is a contemporary serif typeface family designed for comfortable
|
|
|
|
|
reading on screen. Droid Serif is slightly condensed to maximize the amount of
|
|
|
|
|
text displayed on small screens. Vertical stress and open forms contribute to
|
|
|
|
|
its readability while its proportion and overall design complement its
|
|
|
|
|
companion Droid Sans.
|
2012-07-16 20:17:52 +00:00
|
|
|
|
The Arabic block was designed by Pascal Zoghbi of 29ArabicLetters under the
|
|
|
|
|
Droid Naskh name.
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
2012-07-15 19:36:28 +00:00
|
|
|
|
%_font_pkg -n serif -f ??-%{fontname}-serif.conf DroidSerif*ttf DroidNaskh*ttf
|
|
|
|
|
%doc README.txt NOTICE
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
2012-07-16 20:17:52 +00:00
|
|
|
|
%package -n %{fontname}-kufi-fonts
|
|
|
|
|
Summary: A kufi Arabic titling typeface designed to complement Droid Sans
|
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
|
Requires: %{fontname}-kufi-fonts
|
|
|
|
|
|
|
|
|
|
%description -n %{fontname}-kufi-fonts
|
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
|
|
Droid Kufi is a stylized display font suitable for titles and short runs of
|
|
|
|
|
text, and designed to complement Droid Sans. It was initialy designed by
|
|
|
|
|
Steve Matteson of Ascender with consulting by Pascal Zoghbi of 29ArabicLetters
|
|
|
|
|
to finalize the font family.
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n kufi -f ??-%{fontname}-kufi.conf DroidKufi*ttf
|
|
|
|
|
|
2009-01-16 22:10:40 +00:00
|
|
|
|
%prep
|
2012-07-15 19:36:28 +00:00
|
|
|
|
%setup -q -n %{archivename}
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -fr %{buildroot}
|
|
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
|
|
|
2012-07-15 19:36:28 +00:00
|
|
|
|
install -m 0644 -p $(ls *ttf | grep -v DroidSansFallbackFull\
|
|
|
|
|
| grep -v DroidSansFallbackLegacy\
|
|
|
|
|
| grep -v DroidNaskh-Regular-SystemUI) \
|
2009-07-25 10:54:37 +00:00
|
|
|
|
%{buildroot}%{_fontdir}
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
|
|
%{buildroot}%{_fontconfig_confdir}
|
|
|
|
|
|
2012-07-15 19:36:28 +00:00
|
|
|
|
install -m 0644 -p %{SOURCE10} \
|
2009-01-16 22:10:40 +00:00
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/65-%{fontname}-sans.conf
|
2012-07-15 19:36:28 +00:00
|
|
|
|
install -m 0644 -p %{SOURCE11} \
|
2009-01-16 22:10:40 +00:00
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/60-%{fontname}-sans-mono.conf
|
2012-07-15 19:36:28 +00:00
|
|
|
|
install -m 0644 -p %{SOURCE12} \
|
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/65-%{fontname}-serif.conf
|
2012-07-16 20:17:52 +00:00
|
|
|
|
install -m 0644 -p %{SOURCE13} \
|
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/65-%{fontname}-kufi.conf
|
2009-01-16 22:10:40 +00:00
|
|
|
|
|
2009-01-31 18:54:07 +00:00
|
|
|
|
for fontconf in 65-%{fontname}-sans.conf \
|
|
|
|
|
60-%{fontname}-sans-mono.conf \
|
2012-07-16 20:17:52 +00:00
|
|
|
|
65-%{fontname}-serif.conf \
|
|
|
|
|
65-%{fontname}-kufi.conf ; do
|
2009-01-16 22:10:40 +00:00
|
|
|
|
ln -s %{_fontconfig_templatedir}/$fontconf \
|
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/$fontconf
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -fr %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-08-03 16:15:05 +00:00
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120715-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
2013-02-14 00:22:09 +00:00
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120715-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
2012-07-19 09:11:01 +00:00
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120715-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
2012-07-16 20:17:52 +00:00
|
|
|
|
* Mon Jul 16 2012 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
|
- 20120715-3
|
|
|
|
|
— Split Kufi in a separate subpackage and resurect DroidSansArabic for Sans
|
|
|
|
|
|
2012-07-15 19:36:28 +00:00
|
|
|
|
* Sun Jul 15 2012 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
|
- 20120715-1
|
|
|
|
|
— Switch to new upstream git source (marginally less hopeless than the Google
|
|
|
|
|
Font Directory)
|
|
|
|
|
— Remove Arabic, add Armenian, Devanagari, Ethiopic, Georgian, Tamil, Kufi to Sans
|
|
|
|
|
– Add Naskh to Serif
|
|
|
|
|
– Try to adapt fontconfig rules to new upstream rules and new fonts
|
|
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
|
|
- 20100409-3
|
|
|
|
|
– Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
|
|
- 20100409-2
|
|
|
|
|
– Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
2011-02-09 05:32:51 +00:00
|
|
|
|
|
2010-07-25 21:45:28 +00:00
|
|
|
|
* Sun Jul 25 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
|
- 20100409-1
|
|
|
|
|
— Update to upstream's latest data dump
|
|
|
|
|
— Add Arabic, Hebrew, Thai coverage to Sans
|
|
|
|
|
|
2009-09-28 08:49:01 +00:00
|
|
|
|
* Mon Sep 28 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
|
- 20090906-5
|
|
|
|
|
— Tweak the fontconfig fixing
|
|
|
|
|
|
2009-09-13 09:11:32 +00:00
|
|
|
|
* Sun Sep 13 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
2009-09-13 13:41:26 +00:00
|
|
|
|
- 20090906-4
|
|
|
|
|
— follow the fontpackages template more closely
|
2009-09-13 09:11:32 +00:00
|
|
|
|
- 20090906-3
|
|
|
|
|
— more Behdad-suggested fontconfig tweaks
|
|
|
|
|
|
2009-09-07 19:36:14 +00:00
|
|
|
|
* Sun Sep 7 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
|
- 20090906-2
|
|
|
|
|
— first-level CJK fixes (as suggested by Behdad in bug #517789, complete fix
|
|
|
|
|
needs the rpm changes traced in bug #521697)
|
|
|
|
|
|
2009-09-06 19:15:37 +00:00
|
|
|
|
* Sun Sep 6 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
|
- 20090906-1
|
|
|
|
|
— upstream stealth update
|
|
|
|
|
|
2009-07-25 10:54:37 +00:00
|
|
|
|
* Sat Jul 25 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
2009-07-25 14:40:51 +00:00
|
|
|
|
- 20090320-3
|
2009-07-25 10:54:37 +00:00
|
|
|
|
— try to fit Japanese in
|
|
|
|
|
|
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
|
|
- 1.0.112-7
|
2009-07-25 01:03:49 +00:00
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
2009-02-25 00:21:49 +00:00
|
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.112-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
2009-02-16 23:33:23 +00:00
|
|
|
|
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
|
- 1.0.112-5
|
|
|
|
|
— prepare for F11 mass rebuild, new rpm and new fontpackages
|
|
|
|
|
|
|
|
|
|
* Sat Jan 31 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
2009-01-31 18:54:07 +00:00
|
|
|
|
- 1.0.112-4
|
|
|
|
|
⬨ fix-up fontconfig installation for sans and mono
|
|
|
|
|
|
2009-02-16 23:33:23 +00:00
|
|
|
|
* Fri Jan 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
2009-01-16 22:29:21 +00:00
|
|
|
|
- 1.0.112-3
|
|
|
|
|
⁉ Workaround RHEL5 rpmbuild UTF-8 handling bug
|
2009-01-16 22:10:40 +00:00
|
|
|
|
- 1.0.112-2
|
|
|
|
|
⁍ Convert to new naming guidelines
|
|
|
|
|
⁍ Do strange stuff with Sans Fallback (CJK users please check)
|
|
|
|
|
|
2009-02-16 23:33:23 +00:00
|
|
|
|
* Tue Dec 9 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
2009-01-16 22:10:40 +00:00
|
|
|
|
- 1.0.112-1
|
|
|
|
|
փ Licensing bit clarified in bug #472635
|
|
|
|
|
շ Fedora submission
|
|
|
|
|
|
2009-02-16 23:33:23 +00:00
|
|
|
|
* Sun Nov 23 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
2009-01-16 22:10:40 +00:00
|
|
|
|
- 1.0.107-1
|
|
|
|
|
Ϫ Initial built using “fontpackages”
|
|
|
|
|
|