Blame SPECS/google-crosextra-carlito-fonts.spec

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