google-carlito-fonts/google-carlito-fonts.spec
Marguerite Su a5bd72630b Accepting request 202964 from home:stknorr
New fonts from Chrome OS, designed to be metrics-compatible with MS Office 2007+ default fonts.

OBS-URL: https://build.opensuse.org/request/show/202964
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-carlito-fonts?expand=0&rev=1
2013-10-11 12:06:35 +00:00

59 lines
2.0 KiB
RPMSpec

#
# spec file for package google-carlito-fonts
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuremberg, 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: google-carlito-fonts
Version: 1.1.03.beta1
Release: 0
Summary: Sans-serif Font Metrics-compatible with Calibri
License: OFL-1.1
Group: System/X11/Fonts
# FIXME: This is likely not the best upstream URL. However, this font
# is currently not available through Google Fonts.
Url: https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/
Source: https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-20130920.tar.gz
BuildRequires: fontpackages-devel
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Modern, friendly sans-serif font derived from the Lato font that is
designed to be a metrics-compatible drop-in replacement for Calibri.
Contains Regular, Bold, Italic, and Bold Italic version.
Designed by Lukasz Dziedzic of tyPoland for Google.
%prep
%setup -c %{name}
%build
%install
mkdir -p %{buildroot}%{_ttfontsdir}
# by default install command uses 755 umask
install -m 644 crosextrafonts-carlito-20130920/*.ttf %{buildroot}%{_ttfontsdir}/
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root)
%dir %{_ttfontsdir}
%{_ttfontsdir}/*
%changelog