File google-roboto-fonts.spec of Package google-roboto-fonts

#
# spec file for package google-roboto-fonts
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define fontname       roboto-fonts

Name:           google-roboto-fonts
Version:        20120626
Release:        13
License:        Apache-2.0
Summary:        Android 4.0 Sans Serif Fonts
Url:            http://developer.android.com/design/style/typography.html
Group:          System/X11/Fonts
Source0:         roboto%{version}-fonts.tar.bz2
Source1:        robotocondensed%{version}-fonts.tar.bz2
BuildRequires:	fontpackages-devel
%reconfigure_fonts_prereq
BuildRequires:  unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
The Android design language relies on traditional typographic tools
such as scale, space, rhythm, and alignment with an underlying grid.
Successful deployment of these tools is essential to help users quickly 
understand a screen of information. 

To support such use of typography, Android 4.0 (Ice Cream Sandwich) 
introduced a new type family named Roboto, created specifically for
the requirements of UI and high-resolution screens.


Designer: Christian Robertson


%prep
%setup -b 1 -n %{fontname}-%{version}

%build
# --- Nothing to do ---

%install
mkdir -p %{buildroot}%{_ttfontsdir}
install -m 0644 *.ttf %{buildroot}%{_ttfontsdir}/

%reconfigure_fonts_scriptlets

%files
%defattr(-,root,root)
%doc *.pdf
%{_ttfontsdir}

%changelog
openSUSE Build Service is sponsored by