|
|
dbf43e |
%global fontname google-crosextra-carlito
|
|
|
dbf43e |
%global fontconf62 62-%{fontname}
|
|
|
dbf43e |
%global fontconf30 30-0-%{fontname}
|
|
|
dbf43e |
|
|
|
dbf43e |
%global archivename crosextrafonts-carlito-20130920
|
|
|
dbf43e |
|
|
|
dbf43e |
Name: %{fontname}-fonts
|
|
|
dbf43e |
Version: 1.103
|
|
|
bcad43 |
Release: 0.2.20130920%{?dist}
|
|
|
dbf43e |
Summary: Sans-serif font metric-compatible with Calibri font
|
|
|
dbf43e |
|
|
|
dbf43e |
Group: User Interface/X
|
|
|
dbf43e |
License: OFL
|
|
|
dbf43e |
URL: http://code.google.com/p/chromium/issues/detail?id=280557
|
|
|
dbf43e |
Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/%{archivename}.tar.gz
|
|
|
dbf43e |
Source1: 30-0-%{fontname}-fontconfig.conf
|
|
|
dbf43e |
Source2: 62-%{fontname}-fontconfig.conf
|
|
|
dbf43e |
|
|
|
dbf43e |
BuildArch: noarch
|
|
|
dbf43e |
BuildRequires: fontpackages-devel
|
|
|
dbf43e |
Requires: fontpackages-filesystem
|
|
|
dbf43e |
|
|
|
dbf43e |
%description
|
|
|
dbf43e |
Carlito is metric-compatible with Calibri font. Carlito comes in regular, bold,
|
|
|
dbf43e |
italic, and bold italic. The family covers Latin-Greek-Cyrillic (not a
|
|
|
dbf43e |
complete set, though) with about 2,000 glyphs. It has the same character
|
|
|
dbf43e |
coverage as Calibri. This font is sans-serif typeface family based on Lato.
|
|
|
dbf43e |
|
|
|
dbf43e |
%prep
|
|
|
dbf43e |
%setup -q -n %{archivename}
|
|
|
dbf43e |
|
|
|
dbf43e |
|
|
|
dbf43e |
%build
|
|
|
dbf43e |
|
|
|
dbf43e |
|
|
|
dbf43e |
%install
|
|
|
dbf43e |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
dbf43e |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
|
dbf43e |
|
|
|
dbf43e |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
dbf43e |
%{buildroot}%{_fontconfig_confdir}
|
|
|
dbf43e |
|
|
|
dbf43e |
install -m 0644 -p %{SOURCE1} \
|
|
|
dbf43e |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf
|
|
|
dbf43e |
install -m 0644 -p %{SOURCE2} \
|
|
|
dbf43e |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf
|
|
|
dbf43e |
|
|
|
dbf43e |
ln -s %{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf \
|
|
|
dbf43e |
%{buildroot}%{_fontconfig_confdir}/%{fontconf30}-fontconfig.conf
|
|
|
dbf43e |
ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \
|
|
|
dbf43e |
%{buildroot}%{_fontconfig_confdir}/%{fontconf62}-fontconfig.conf
|
|
|
dbf43e |
|
|
|
dbf43e |
%_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf
|
|
|
dbf43e |
|
|
|
dbf43e |
%doc LICENSE
|
|
|
dbf43e |
|
|
|
dbf43e |
|
|
|
dbf43e |
%changelog
|
|
|
bcad43 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.103-0.2.20130920
|
|
|
bcad43 |
- Mass rebuild 2013-12-27
|
|
|
bcad43 |
|
|
|
dbf43e |
* Thu Oct 10 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.103-0.1.20130920
|
|
|
dbf43e |
- Initial Fedora release.
|
|
|
dbf43e |
|