File cpmono_v07-fonts.spec of Package cpmono_v07-fonts

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

Name:           cpmono_v07-fonts
Version:        1.0
Release:        0
Summary:        Industrial Monotype Font
License:        CC-BY-3.0
Group:          System/X11/Fonts
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
Obsoletes:      cpmono_v07-font <= %{version}
Provides:       cpmono_v07-font = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

CPMono v07 is an industrial / high-tech monospace font.

%setup -q -c "%{name}-%{version}"


install -d "%{buildroot}%{_ttfontsdir}"
install -m0644 *.otf "%{buildroot}%{_ttfontsdir}/"


%doc *.txt
%dir %{_ttfontsdir}