File paratype-pt-sans-fonts.spec of Package paratype-pt-sans-fonts

# spec file for package paratype-pt-sans-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:           paratype-pt-sans-fonts
Version:        2.003OFL
Release:        0
Summary:        Sans Fonts for Minority Languages of Russia
License:        OFL-1.1
Group:          System/X11/Fonts
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
Provides:       locale(be;ru;uk)
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
Obsoletes:      PTSans-fonts <= 2.003OFL
Provides:       PTSans-fonts = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

PT Sans is based on Russian sans serif types of the second part of
the XX century, but at the same time has a very distinctive features of
modern humanistic design. The family consists of 8 styles: 4 basic
styles; 2 captions styles for small sizes and 2 narrows styles for
economic setting.

The fonts beside standard Western, Central European and Cyrillic code
pages contain characters of all title languages of Russian Federation
that make them unique and very important tool of the modern digital

%setup -cqn %{name}-%{version}
cp %{SOURCE1} .
sed -i 's/\r$//g' PTSansPTSerifOFL.txt


install -dm 0755 %{buildroot}%{_ttfontsdir}
install -m 0644 *.ttf %{buildroot}%{_ttfontsdir}


%doc Info_PT_SS.pdf PTSansPTSerifOFL.txt
%dir %{_ttfontsdir}

openSUSE Build Service is sponsored by