Initial import (#1017766)

This commit is contained in:
Parag Nemade 2013-10-14 19:54:13 +05:30
parent b82d3555f0
commit 3f04433599
5 changed files with 96 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/crosextrafonts-20130214.tar.gz

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- Microsoft -->
<alias binding="same">
<family>Cambria</family>
<accept>
<family>Caladea</family>
</accept>
</alias>
<alias binding="same">
<family>Caladea</family>
<default>
<family>Cambria</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Caladea</family>
</prefer>
</alias>
<alias>
<family>Caladea</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,60 @@
%global fontname google-crosextra-caladea
%global fontconf62 62-%{fontname}
%global fontconf30 30-0-%{fontname}
%global archivename crosextrafonts-20130214
Name: %{fontname}-fonts
Version: 1.002
Release: 0.1.20130214%{?dist}
Summary: Sans-serif font metric-compatible with Cambria font
Group: User Interface/X
License: ASL 2.0
URL: http://code.google.com/p/chromium/issues/detail?id=168879
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
Caladea is metric-compatible with Cambria font. 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
%changelog
* Thu Oct 10 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.1.20130214
- Initial Fedora release.

View File

@ -0,0 +1 @@
368f114c078f94214a308a74c7e991bc crosextrafonts-20130214.tar.gz