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

# 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
Source0:        %{fontname}-%{version}.tar.bz2
BuildArchitectures: noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Sans Serif Font
Vendor:         Yanone

"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.


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


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

cp *.ttf $RPM_BUILD_ROOT%{fontdir}

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



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