|
 |
95f86c |
%global fontname google-crosextra-caladea
|
|
 |
95f86c |
%global fontconf62 62-%{fontname}
|
|
 |
95f86c |
%global fontconf30 30-0-%{fontname}
|
|
 |
95f86c |
|
|
 |
95f86c |
%global archivename crosextrafonts-20130214
|
|
 |
95f86c |
|
|
 |
95f86c |
Name: %{fontname}-fonts
|
|
 |
95f86c |
Version: 1.002
|
|
 |
bd1530 |
Release: 0.4.20130214%{?dist}
|
|
 |
bd1530 |
Summary: Serif font metric-compatible with Cambria font
|
|
 |
95f86c |
|
|
 |
95f86c |
Group: User Interface/X
|
|
 |
95f86c |
# License added in font as "otfinfo -i Caladea-Regular.ttf | grep License"
|
|
 |
95f86c |
# also from http://code.google.com/p/chromium/issues/detail?id=280557
|
|
 |
95f86c |
License: ASL 2.0
|
|
 |
95f86c |
URL: http://code.google.com/p/chromium/issues/detail?id=168879
|
|
 |
95f86c |
Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/%{archivename}.tar.gz
|
|
 |
95f86c |
Source1: 30-0-%{fontname}-fontconfig.conf
|
|
 |
95f86c |
Source2: 62-%{fontname}-fontconfig.conf
|
|
 |
95f86c |
|
|
 |
95f86c |
BuildArch: noarch
|
|
 |
95f86c |
BuildRequires: fontpackages-devel
|
|
 |
95f86c |
Requires: fontpackages-filesystem
|
|
 |
95f86c |
|
|
 |
95f86c |
%description
|
|
 |
bd1530 |
Caladea is metric-compatible with Cambria font. This font is a serif
|
|
 |
95f86c |
typeface family based on Lato.
|
|
 |
95f86c |
|
|
 |
95f86c |
%prep
|
|
 |
95f86c |
%setup -q -n %{archivename}
|
|
 |
95f86c |
|
|
 |
95f86c |
|
|
 |
95f86c |
%build
|
|
 |
95f86c |
|
|
 |
95f86c |
|
|
 |
95f86c |
%install
|
|
 |
95f86c |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
 |
95f86c |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
 |
95f86c |
|
|
 |
95f86c |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
 |
95f86c |
%{buildroot}%{_fontconfig_confdir}
|
|
 |
95f86c |
|
|
 |
95f86c |
install -m 0644 -p %{SOURCE1} \
|
|
 |
95f86c |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf
|
|
 |
95f86c |
install -m 0644 -p %{SOURCE2} \
|
|
 |
95f86c |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf
|
|
 |
95f86c |
|
|
 |
95f86c |
ln -s %{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf \
|
|
 |
95f86c |
%{buildroot}%{_fontconfig_confdir}/%{fontconf30}-fontconfig.conf
|
|
 |
95f86c |
ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \
|
|
 |
95f86c |
%{buildroot}%{_fontconfig_confdir}/%{fontconf62}-fontconfig.conf
|
|
 |
95f86c |
|
|
 |
95f86c |
|
|
 |
95f86c |
%_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf
|
|
 |
95f86c |
|
|
 |
95f86c |
%doc
|
|
 |
95f86c |
|
|
 |
95f86c |
|
|
 |
95f86c |
%changelog
|
|
 |
bd1530 |
* Thu Jan 23 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.4.20130214
|
|
 |
bd1530 |
- Resolves:rh#1056030 - Fontconfig and summary required fixes
|
|
 |
bd1530 |
|
|
 |
bd1530 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.002-0.3.20130214
|
|
 |
bd1530 |
- Mass rebuild 2013-12-27
|
|
 |
bd1530 |
|
|
 |
95f86c |
* Tue Oct 15 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.2.20130214
|
|
 |
95f86c |
- Added license information in comments
|
|
 |
95f86c |
|
|
 |
95f86c |
* Thu Oct 10 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.1.20130214
|
|
 |
95f86c |
- Initial Fedora release.
|
|
 |
95f86c |
|