# # spec file for package fifth-leg-font (Version 0.3) # # Copyright (c) 2009 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/ # # norootforbuild Name: fifth-leg-font %define pkgname opensuse-font-fifth-leg License: SIL Open Font License 1.1 Group: System/X11/Fonts PreReq: %suseconfig_fonts_prereq Version: 0.3 Release: 2 Summary: Font for the openSUSE Brand Source: %{pkgname}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: xorg-x11-devel %if "%(xft-config --prefix)" == "/usr" %define ttf_fontdir /usr/share/fonts/truetype %else %define ttf_fontdir /usr/X11R6/lib/X11/fonts/truetype %endif %description The Fifth Leg font is the font used for openSUSE branded material. Authors: -------- Jakub Steiner %prep %setup -q -c mv COPYING_OFL COPYING %build %install mkdir -p %{buildroot}%{ttf_fontdir} install -m 0644 *.otf %{buildroot}%{ttf_fontdir}/ %post %run_suseconfig_fonts %postun %run_suseconfig_fonts %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING %dir %{ttf_fontdir} %{ttf_fontdir}/*.otf %changelog * Tue May 19 2009 vuntz@novell.com - Initial package.