Petr Gajdos
cfa98832c4
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-opensans-fonts?expand=0&rev=5
69 lines
2.0 KiB
RPMSpec
69 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package google-opensans-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 opensans
|
|
|
|
Name: google-opensans-fonts
|
|
Version: 1.0
|
|
Release: 0
|
|
License: Apache-2.0
|
|
Summary: Humanist Sans Serif Typeface
|
|
Url: http://code.google.com/webfonts/family?family=Open+Sans
|
|
Group: System/X11/Fonts
|
|
Source0: %{fontname}.tar.bz2
|
|
BuildRequires: bzip2
|
|
Requires(pre): %suseconfig_fonts_prereq
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Open Sans is a humanist sans serif typeface designed by
|
|
Steve Matteson, Type Director of Ascender Corp.
|
|
|
|
This version contains the complete 897 character set, which
|
|
includes the standard ISO Latin 1, Latin CE, Greek and Cyrillic
|
|
character sets. Open Sans was designed with an upright stress,
|
|
open forms and a neutral, yet friendly appearance. It was
|
|
optimized for print, web, and mobile interfaces, and has
|
|
excellent legibility characteristics in its letterforms.
|
|
|
|
%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 %{fontname}/LICENSE.txt
|
|
|
|
%changelog
|