File yanone-kaffesatz-fonts.spec of Package yanone-kaffesatz-fonts

#
# spec file for package cantarell-fonts
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

%define fontdir   %{_datadir}/fonts/truetype
%define fontname yanone-kaffesatz

Name:           yanone-kaffesatz-fonts
License:        SIL Open Font License, 1.1
Group:          System/X11/Fonts
PreReq:         %suseconfig_fonts_prereq
Version:        1.002
Release:        1
URL:            http://code.google.com/webfonts/family?family=Yanone+Kaffeesatz
Source0:        %{fontname}-%{version}.tar.bz2
BuildArchitectures: noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Sans Serif Font
Vendor:         Yanone

%description
"Yanone Kaffeesatz" was first published in 2004 and is Yanone’s first ever 
finished typeface. Its Bold is reminiscent of 1920s coffee house typography, 
while the rather thin fonts bridge the gap to present times. Lacking self 
confidence and knowledge about the type scene, Yanone decided to publish the 
family for free under a Creative Commons License. A decision that should turn 
out one of the best he ever made. It has been downloaded over 100,000 times 
to date, and you can witness Kaffeesatz use on German fresh-water gyms, Dubai 
mall promos and New Zealand McDonalds ads. And of course on coffee and 
foodstuff packaging and café design around the globe.

In 2009 he reworked much of the typeface and it got published in FontShop’s 
FontFont Library under the new name FF Kava. You can read more about it in 
an extensive article by Yves Peters on FontFeed.

Authors:
--------
   Yanone


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

%build


%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT%{fontdir}

cp *.ttf $RPM_BUILD_ROOT%{fontdir}


%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT;

%post
%run_suseconfig_fonts

%postun
%run_suseconfig_fonts

%files
%defattr(-, root,root)
%dir %{fontdir}/
%{fontdir}/*

%changelog