From 3f044335996ff064e1a0a5aaf522bfe0c21b8e07 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 14 Oct 2013 19:54:13 +0530 Subject: [PATCH] Initial import (#1017766) --- .gitignore | 1 + 30-0-google-crosextra-caladea-fontconfig.conf | 17 ++++++ 62-google-crosextra-caladea-fontconfig.conf | 17 ++++++ google-crosextra-caladea-fonts.spec | 60 +++++++++++++++++++ sources | 1 + 5 files changed, 96 insertions(+) create mode 100644 30-0-google-crosextra-caladea-fontconfig.conf create mode 100644 62-google-crosextra-caladea-fontconfig.conf create mode 100644 google-crosextra-caladea-fonts.spec diff --git a/.gitignore b/.gitignore index e69de29..e629ffe 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/crosextrafonts-20130214.tar.gz diff --git a/30-0-google-crosextra-caladea-fontconfig.conf b/30-0-google-crosextra-caladea-fontconfig.conf new file mode 100644 index 0000000..96696a4 --- /dev/null +++ b/30-0-google-crosextra-caladea-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + + Cambria + + Caladea + + + + Caladea + + Cambria + + + diff --git a/62-google-crosextra-caladea-fontconfig.conf b/62-google-crosextra-caladea-fontconfig.conf new file mode 100644 index 0000000..443b993 --- /dev/null +++ b/62-google-crosextra-caladea-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + sans-serif + + Caladea + + + + Caladea + + sans-serif + + + + diff --git a/google-crosextra-caladea-fonts.spec b/google-crosextra-caladea-fonts.spec new file mode 100644 index 0000000..1b68ce3 --- /dev/null +++ b/google-crosextra-caladea-fonts.spec @@ -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 - 1.002-0.1.20130214 +- Initial Fedora release. + diff --git a/sources b/sources index e69de29..0b113a8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +368f114c078f94214a308a74c7e991bc crosextrafonts-20130214.tar.gz