import google-crosextra-carlito-fonts-1.103-0.8.20130920.el8
This commit is contained in:
commit
c1e46ba5bb
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/crosextrafonts-carlito-20130920.tar.gz
|
1
.google-crosextra-carlito-fonts.metadata
Normal file
1
.google-crosextra-carlito-fonts.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
65ceb1377897a4d5a404134423728592aea6eb13 SOURCES/crosextrafonts-carlito-20130920.tar.gz
|
17
SOURCES/30-0-google-crosextra-carlito-fontconfig.conf
Normal file
17
SOURCES/30-0-google-crosextra-carlito-fontconfig.conf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<!-- Microsoft -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Calibri</family>
|
||||||
|
<accept>
|
||||||
|
<family>Carlito</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Carlito</family>
|
||||||
|
<default>
|
||||||
|
<family>Calibri</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
17
SOURCES/62-google-crosextra-carlito-fontconfig.conf
Normal file
17
SOURCES/62-google-crosextra-carlito-fontconfig.conf
Normal 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>Carlito</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Carlito</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
17
SOURCES/google-crosextra-carlito.metainfo.xml
Normal file
17
SOURCES/google-crosextra-carlito.metainfo.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
|
||||||
|
<component type="font">
|
||||||
|
<id>google-crosextra-carlito</id>
|
||||||
|
<metadata_license>CC-BY-3.0</metadata_license>
|
||||||
|
<name>Carlito</name>
|
||||||
|
<summary>Sans-Serif font metric-compatible with Calibri font</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Carlito is metric-compatible with Calibri font. Carlito comes in regular, bold,
|
||||||
|
italic, and bold italic.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
|
||||||
|
<url type="homepage">http://code.google.com/p/chromium/issues/detail?id=280557</url>
|
||||||
|
</component>
|
||||||
|
|
86
SPECS/google-crosextra-carlito-fonts.spec
Normal file
86
SPECS/google-crosextra-carlito-fonts.spec
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
%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: 0.8.20130920%{?dist}
|
||||||
|
Summary: Sans-serif font metric-compatible with Calibri font
|
||||||
|
|
||||||
|
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
|
||||||
|
Source3: %{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
# Add AppStream metadata
|
||||||
|
install -Dm 0644 -p %{SOURCE3} \
|
||||||
|
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
%_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf
|
||||||
|
%doc LICENSE
|
||||||
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.103-0.8.20130920
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.103-0.7.20130920
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.103-0.6.20130920
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.103-0.5.20130920
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.103-0.4.20130920
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.103-0.3.20130920
|
||||||
|
- Add metainfo file to show this font in gnome-software
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.103-0.2.20130920
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 10 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.103-0.1.20130920
|
||||||
|
- Initial Fedora release.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user