- amend spec file to reflect new font packaging scheme
(see openFATE#313536); OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-exo-fonts?expand=0&rev=9
This commit is contained in:
parent
a6131299f1
commit
cae50531f0
@ -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
|
Thu May 17 09:10:10 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define fontdir %{_datadir}/fonts/truetype
|
%define _ttfontsdir %{_datadir}/fonts/truetype
|
||||||
%define fontname exo
|
%define fontname exo
|
||||||
|
|
||||||
Name: google-exo-fonts
|
Name: google-exo-fonts
|
||||||
@ -29,7 +29,8 @@ Url: http://code.google.com/webfonts/family?family=Exo
|
|||||||
Source0: %{fontname}.tar.bz2
|
Source0: %{fontname}.tar.bz2
|
||||||
Source1: OFL.txt
|
Source1: OFL.txt
|
||||||
BuildRequires: bzip2
|
BuildRequires: bzip2
|
||||||
Requires(pre): %suseconfig_fonts_prereq
|
BuildRequires: fontpackages-devel
|
||||||
|
%reconfigure_fonts_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -50,19 +51,15 @@ Designer: Natanael Gama
|
|||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{fontdir}/
|
mkdir -p %{buildroot}%{_ttfontsdir}/
|
||||||
install -m 0644 exo/*.ttf %{buildroot}%{fontdir}
|
install -m 0644 exo/*.ttf %{buildroot}%{_ttfontsdir}
|
||||||
|
|
||||||
%post
|
%reconfigure_fonts_scriptlets
|
||||||
%run_suseconfig_fonts
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%run_suseconfig_fonts
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root,root)
|
%defattr(-, root,root)
|
||||||
%dir %{fontdir}/
|
%dir %{_ttfontsdir}/
|
||||||
%{fontdir}/*
|
%{_ttfontsdir}/*
|
||||||
%doc OFL.txt
|
%doc OFL.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user