commit ce53e557539b3f840a5e65efdb9c1f4a943529a6 Author: James Antill Date: Mon Feb 27 13:21:09 2023 -0500 Import rpm: c8s diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3f3e81e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/crosextrafonts-20130214.tar.gz +/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..8ae2f2a --- /dev/null +++ b/62-google-crosextra-caladea-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + serif + + Caladea + + + + Caladea + + serif + + + + diff --git a/google-crosextra-caladea-fonts.spec b/google-crosextra-caladea-fonts.spec new file mode 100644 index 0000000..ffb1f8a --- /dev/null +++ b/google-crosextra-caladea-fonts.spec @@ -0,0 +1,92 @@ +%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.10.20130214%{?dist} +Summary: Serif font metric-compatible with Cambria font + +# License added in font as "otfinfo -i Caladea-Regular.ttf | grep License" +# also from http://code.google.com/p/chromium/issues/detail?id=280557 +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 +Source3: %{fontname}.metainfo.xml + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +%description +Caladea is metric-compatible with Cambria font. This font is a 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 + +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE3} \ + %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml + +%_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf +%doc +%{_datadir}/appdata/%{fontname}.metainfo.xml + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.002-0.10.20130214 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.002-0.9.20130214 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.002-0.8.20130214 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 1.002-0.7.20130214 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.002-0.6.20130214 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Oct 16 2014 Parag Nemade - 1.002-0.5.20130214 +- Add metainfo file to show this font in gnome-software + +* Sat Jun 07 2014 Fedora Release Engineering - 1.002-0.4.20130214 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Jan 22 2014 Parag Nemade - 1.002-0.3.20130214 +- Resolves:rh#1056029 - Fontconfig and summary required fixes + +* Tue Oct 15 2013 Parag Nemade - 1.002-0.2.20130214 +- Added license information in comments + +* Thu Oct 10 2013 Parag Nemade - 1.002-0.1.20130214 +- Initial Fedora release. + diff --git a/google-crosextra-caladea.metainfo.xml b/google-crosextra-caladea.metainfo.xml new file mode 100644 index 0000000..97d4239 --- /dev/null +++ b/google-crosextra-caladea.metainfo.xml @@ -0,0 +1,17 @@ + + + + google-crosextra-caladea + CC-BY-3.0 + Caladea + Serif font metric-compatible with Cambria font + +

+ Caladea is metric-compatible with Cambria font. This font is a serif + typeface family based on Lato. +

+
+ pnemade_at_redhat_dot_com + http://code.google.com/p/chromium/issues/detail?id=168879 +
+ diff --git a/sources b/sources new file mode 100644 index 0000000..8a69d4b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (crosextrafonts-20130214.tar.gz) = 71f3cfcfbec33d8526184dce32f244f13b29f97aff31c0609487f27135adc0a4d5950e068f8be101e4fd06498cf103be68d781fc611142f060bbc9cb0b81273e