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
This commit is contained in:
Marguerite Su 2013-10-11 12:06:35 +00:00 committed by Git OBS Bridge
commit a5bd72630b
5 changed files with 90 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a
size 1169488

View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Oct 11 10:43:25 UTC 2013 - sknorr@suse.de
- Initial version of package

58
google-carlito-fonts.spec Normal file
View File

@ -0,0 +1,58 @@
#
# 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