forked from pool/google-exo-fonts
Accepting request 133952 from M17N:fonts
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/133952 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/google-exo-fonts?expand=0&rev=4
This commit is contained in:
commit
d38a0d4d64
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz
|
||||
|
||||
- amend spec file to reflect new font packaging scheme
|
||||
(see openFATE#313536);
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 17 09:10:10 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
|
@ -16,20 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%define fontdir %{_datadir}/fonts/truetype
|
||||
%define _ttfontsdir %{_datadir}/fonts/truetype
|
||||
%define fontname exo
|
||||
|
||||
Name: google-exo-fonts
|
||||
Version: 0.9pre
|
||||
Release: 0
|
||||
License: OFL-1.1
|
||||
Summary: Contemporary Geometric Sans Serif Typeface
|
||||
Url: http://code.google.com/webfonts/family?family=Exo
|
||||
License: OFL-1.1
|
||||
Group: System/X11/Fonts
|
||||
Url: http://code.google.com/webfonts/family?family=Exo
|
||||
Source0: %{fontname}.tar.bz2
|
||||
Source1: OFL.txt
|
||||
BuildRequires: bzip2
|
||||
Requires(pre): %suseconfig_fonts_prereq
|
||||
BuildRequires: fontpackages-devel
|
||||
%reconfigure_fonts_prereq
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
@ -41,6 +42,8 @@ versatile font, so it has 9 weights (the maximum on the web)
|
||||
each with a true italic version. It works great as a display
|
||||
face but it also works good for small to intermediate size texts.
|
||||
|
||||
Designer: Natanael Gama
|
||||
|
||||
%prep
|
||||
%setup -q -n %{fontname} -c %{fontname}
|
||||
|
||||
@ -48,19 +51,15 @@ face but it also works good for small to intermediate size texts.
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{fontdir}/
|
||||
install -m 0644 exo/*.ttf %{buildroot}%{fontdir}
|
||||
mkdir -p %{buildroot}%{_ttfontsdir}/
|
||||
install -m 0644 exo/*.ttf %{buildroot}%{_ttfontsdir}
|
||||
|
||||
%post
|
||||
%run_suseconfig_fonts
|
||||
|
||||
%postun
|
||||
%run_suseconfig_fonts
|
||||
%reconfigure_fonts_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-, root,root)
|
||||
%dir %{fontdir}/
|
||||
%{fontdir}/*
|
||||
%dir %{_ttfontsdir}/
|
||||
%{_ttfontsdir}/*
|
||||
%doc OFL.txt
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user