Blame SPECS/open-sans-fonts.spec

e4163e
%global fontname open-sans
e4163e
%global fontconf 60-%{fontname}.conf
e4163e
e4163e
Name:       %{fontname}-fonts
e4163e
Version:    1.10
e4163e
Release:    6%{?dist}
e4163e
Summary:    Open Sans is a humanist sans-serif typeface designed by Steve Matteson
e4163e
e4163e
License:    ASL 2.0
e4163e
URL:        http://www.google.com/fonts/specimen/Open+Sans
e4163e
e4163e
# Since the font doesn't have clear upstream, the source zip package is
e4163e
# downloaded from Google Fonts. It is then converted to tar.gz. All by
e4163e
# getopensans.sh.
e4163e
Source0:    %{name}-%{version}.tar.xz
e4163e
Source1:    %{name}-fontconfig.conf
e4163e
Source2:    getopensans.sh
e4163e
e4163e
BuildArch:  noarch
e4163e
BuildRequires:  fontpackages-devel
e4163e
BuildRequires:  ttembed
e4163e
Requires:   fontpackages-filesystem
e4163e
e4163e
%description
e4163e
Open Sans is a humanist sans serif typeface designed by Steve Matteson, Type
e4163e
Director of Ascender Corp. This version contains the complete 897 character
e4163e
set, which includes the standard ISO Latin 1, Latin CE, Greek and Cyrillic
e4163e
character sets. Open Sans was designed with an upright stress, open forms and
e4163e
a neutral, yet friendly appearance. It was optimized for print, web, and mobile
e4163e
interfaces, and has excellent legibility characteristics in its letter forms.
e4163e
e4163e
%prep
e4163e
%setup -q
e4163e
e4163e
%build
e4163e
# set Embedding permission to 'Installable'
e4163e
ls *.ttf | xargs ttembed
e4163e
e4163e
%install
e4163e
install -m 0755 -d %{buildroot}%{_fontdir}
e4163e
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
e4163e
e4163e
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
e4163e
    %{buildroot}%{_fontconfig_confdir}
e4163e
e4163e
install -m 0644 -p %{SOURCE1} \
e4163e
    %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
e4163e
e4163e
ln -s %{_fontconfig_templatedir}/%{fontconf} \
e4163e
    %{buildroot}%{_fontconfig_confdir}/%{fontconf}
e4163e
e4163e
%_font_pkg -f %{fontconf} *.ttf
e4163e
%doc LICENSE.txt
e4163e
e4163e
%changelog
e4163e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-6
e4163e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e4163e
e4163e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-5
e4163e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e4163e
e4163e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-4
e4163e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e4163e
e4163e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
e4163e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e4163e
e4163e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
e4163e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e4163e
e4163e
* Tue Nov 26 2013 Petr Vobornik <pvoborni@redhat.com> - 1.10-1
e4163e
- initial package