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

#
# spec file for package google-nobile-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 fontdir   %{_datadir}/fonts/truetype
%define fontname nobile

Name:           google-nobile-fonts
Version:        1.0.38
Release:        1
License:        OFL-1.1
Summary:        Sans Serif Font
Url:            http://code.google.com/webfonts/family?family=Nobile
Group:          System/X11/Fonts
Source0:        %{fontname}-%{version}.tar.bz2
Source1:        OFL.txt
Requires(pre):  %suseconfig_fonts_prereq
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
"Nobile" is designed to work with the technologies of digital
screens and handheld devices without losing the distinctive look
more usually found in fonts designed for printing. Going back to
William Morris's baseline "Have nothing in your house that you do
not know to be useful, or believe to be beautiful", the aim was to
design a font that could function well, have good legibility on
screen yet also be good loooking, not only at larger display sizes
but also right down to small text sizes.


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

%build
cp %{SOURCE1} .

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

%post
%run_suseconfig_fonts

%postun
%run_suseconfig_fonts

%files
%defattr(-, root,root)
%dir %{fontdir}/
%{fontdir}/*
%doc OFL.txt

%changelog
openSUSE Build Service is sponsored by