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

#
# spec file for package google-cousine-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   cousine

Name:           google-cousine-fonts
Version:        1.0
Release:        0
License:        OFL-1.1
Summary:        Monospace Sans Serif Font
Url:            http://code.google.com/webfonts/family?family=Cousine
Group:          System/X11/Fonts
Source0:        %{fontname}.tar.bz2
BuildRequires:  bzip2
Requires(pre):  %suseconfig_fonts_prereq
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Cousine was designed by Steve Matteson as an innovative,
refreshing sans serif design that is metrically compatible
with Courier New™.
Cousine offers improved on-screen readability characteristics
and the pan-European WGL character set and solves the needs
of developers looking for width-compatible fonts to address
document portability across platforms.

%prep
%setup -q -n %{fontname} -c %{fontname}

%build
# -- nothing to do --

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

%post
%run_suseconfig_fonts

%postun
%run_suseconfig_fonts

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

%changelog
openSUSE Build Service is sponsored by