- amend spec file to reflect new font packaging scheme
(see openFATE#313536); OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-merriweather-fonts?expand=0&rev=9
This commit is contained in:
parent
72898c397a
commit
ea1d3ddc08
@ -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:12 UTC 2012 - pgajdos@suse.com
|
Thu May 17 09:10:12 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define fontdir %{_datadir}/fonts/truetype
|
|
||||||
%define fontname merriweather
|
%define fontname merriweather
|
||||||
|
|
||||||
Name: google-merriweather-fonts
|
Name: google-merriweather-fonts
|
||||||
@ -28,6 +27,8 @@ Group: System/X11/Fonts
|
|||||||
Url: http://www.google.com/webfonts/specimen/Merriweather
|
Url: http://www.google.com/webfonts/specimen/Merriweather
|
||||||
Source0: %{fontname}-%{version}.tar.bz2
|
Source0: %{fontname}-%{version}.tar.bz2
|
||||||
Source1: OFL.txt
|
Source1: OFL.txt
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
%reconfigure_fonts_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -58,14 +59,16 @@ Designer: Eben Sorkin
|
|||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{fontdir}
|
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||||
cp *.ttf %{buildroot}%{fontdir}
|
cp *.ttf %{buildroot}%{_ttfontsdir}
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc METADATA FONTLOG.txt
|
%doc METADATA FONTLOG.txt
|
||||||
%dir %{fontdir}
|
%dir %{_ttfontsdir}
|
||||||
%{fontdir}/*.ttf
|
%{_ttfontsdir}/*.ttf
|
||||||
%doc OFL.txt
|
%doc OFL.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user