Blame SPECS/google-crosextra-caladea-fonts.spec

67b499
%global fontname google-crosextra-caladea
67b499
%global fontconf62 62-%{fontname}
67b499
%global fontconf30 30-0-%{fontname}
67b499
67b499
%global archivename crosextrafonts-20130214
67b499
67b499
Name:           %{fontname}-fonts
67b499
Version:        1.002
67b499
Release:        0.10.20130214%{?dist}
67b499
Summary:        Serif font metric-compatible with Cambria font
67b499
67b499
# License added in font as "otfinfo -i Caladea-Regular.ttf | grep License"
67b499
# also from http://code.google.com/p/chromium/issues/detail?id=280557
67b499
License:        ASL 2.0
67b499
URL:            http://code.google.com/p/chromium/issues/detail?id=168879
67b499
Source0:        http://gsdview.appspot.com/chromeos-localmirror/distfiles/%{archivename}.tar.gz
67b499
Source1:        30-0-%{fontname}-fontconfig.conf
67b499
Source2:        62-%{fontname}-fontconfig.conf
67b499
Source3:        %{fontname}.metainfo.xml
67b499
67b499
BuildArch:      noarch
67b499
BuildRequires:  fontpackages-devel
67b499
Requires:       fontpackages-filesystem
67b499
67b499
%description
67b499
Caladea is metric-compatible with Cambria font. This font is a serif
67b499
typeface family based on Lato.
67b499
67b499
%prep
67b499
%setup -q -n %{archivename}
67b499
67b499
67b499
%build
67b499
67b499
67b499
%install
67b499
install -m 0755 -d %{buildroot}%{_fontdir}
67b499
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
67b499
67b499
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
67b499
                   %{buildroot}%{_fontconfig_confdir}
67b499
67b499
install -m 0644 -p %{SOURCE1} \
67b499
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf
67b499
install -m 0644 -p %{SOURCE2} \
67b499
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf
67b499
67b499
ln -s %{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf \
67b499
      %{buildroot}%{_fontconfig_confdir}/%{fontconf30}-fontconfig.conf
67b499
ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \
67b499
      %{buildroot}%{_fontconfig_confdir}/%{fontconf62}-fontconfig.conf
67b499
67b499
# Add AppStream metadata
67b499
install -Dm 0644 -p %{SOURCE3} \
67b499
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
67b499
67b499
%_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf
67b499
%doc
67b499
%{_datadir}/appdata/%{fontname}.metainfo.xml
67b499
67b499
67b499
%changelog
67b499
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.002-0.10.20130214
67b499
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
67b499
67b499
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.002-0.9.20130214
67b499
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
67b499
67b499
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.002-0.8.20130214
67b499
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
67b499
67b499
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.002-0.7.20130214
67b499
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
67b499
67b499
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-0.6.20130214
67b499
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
67b499
67b499
* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.5.20130214
67b499
- Add metainfo file to show this font in gnome-software
67b499
67b499
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-0.4.20130214
67b499
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
67b499
67b499
* Wed Jan 22 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.3.20130214
67b499
- Resolves:rh#1056029 - Fontconfig and summary required fixes
67b499
67b499
* Tue Oct 15 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.2.20130214
67b499
- Added license information in comments
67b499
67b499
* Thu Oct 10 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.1.20130214
67b499
- Initial Fedora release.
67b499