Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > f6bc1bd03dbd36041c8aec35d4dc82ed > files > 4

google-crosextra-carlito-fonts-1.103-0.1.20130920.4.mga5.src.rpm

%global fontname google-crosextra-carlito
%global fontconf62 62-%{fontname}
%global fontconf30 30-0-%{fontname}

%global archivename crosextrafonts-carlito-20130920

Name:           %{fontname}-fonts
Version:        1.103
Release:        %mkrel 0.1.20130920.4
Summary:        Sans-serif font metric-compatible with Calibri font

Group:          System/Fonts/True type
License:        OFL
URL:            http://code.google.com/p/chromium/issues/detail?id=280557
Source0:        http://gsdview.appspot.com/chromeos-localmirror/distfiles/%{archivename}.tar.gz
Source1:        30-0-%{fontname}-fontconfig.conf
Source2:        62-%{fontname}-fontconfig.conf

BuildArch:      noarch
BuildRequires:  fontpackages-devel
Requires:       fontpackages-filesystem

%description
Carlito is metric-compatible with Calibri font. Carlito comes in regular, bold,
italic, and bold italic. The family covers Latin-Greek-Cyrillic (not a 
complete set, though) with about 2,000 glyphs. It has the same character 
coverage as Calibri. This font is sans-serif typeface family based on Lato.

%prep
%setup -q -n %{archivename}


%build


%install
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}

install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
                   %{buildroot}%{_fontconfig_confdir}

install -m 0644 -p %{SOURCE1} \
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf
install -m 0644 -p %{SOURCE2} \
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf

ln -s %{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf \
      %{buildroot}%{_fontconfig_confdir}/%{fontconf30}-fontconfig.conf
ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \
      %{buildroot}%{_fontconfig_confdir}/%{fontconf62}-fontconfig.conf

%_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf

%doc LICENSE




%changelog
* Wed Oct 15 2014 umeabot <umeabot> 1.103-0.1.20130920.4.mga5
+ Revision: 746745
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.103-0.1.20130920.3.mga5
+ Revision: 679890
- Mageia 5 Mass Rebuild

* Sat Nov 02 2013 tv <tv> 1.103-0.1.20130920.2.mga4
+ Revision: 549105
- really rebuild with fixed fontpackages-devel (w/o scriptlets)

* Sat Nov 02 2013 tv <tv> 1.103-0.1.20130920.1.mga4
+ Revision: 548815
- rebuild with fixed fontpackages-devel (w/o scriptlets)

* Sat Nov 02 2013 tv <tv> 1.103-0.1.20130920.mga4
+ Revision: 548780
- imported package google-crosextra-carlito-fonts


* Sat Nov 02 2013 Thierry Vignaud <tv@mageia.org> 1.103-0.1.20130920.mga4
- imported from FC