fifth-leg-font/fifth-leg-font.spec

57 lines
1.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package fifth-leg-font (Version 0.6)
#
# Copyright (c) 2010 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/
#
Name: fifth-leg-font
%define pkgname opensuse-font-fifth-leg
License: OFL-1.1
Group: System/X11/Fonts
PreReq: %suseconfig_fonts_prereq
Version: 0.6
Release: 6
Summary: Font for the openSUSE Brand
Source: %{pkgname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: xorg-x11-devel
%define ttf_fontdir /usr/share/fonts/truetype
%description
The Fifth Leg font is the font used for openSUSE branded material.
%prep
%setup -q -c
%build
%install
mkdir -p %{buildroot}%{ttf_fontdir}
install -m 0644 *.otf %{buildroot}%{ttf_fontdir}/
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-,root,root)
%doc COPYING
%dir %{ttf_fontdir}
%{ttf_fontdir}/*.otf
%changelog