diff --git a/google-merriweather-fonts.changes b/google-merriweather-fonts.changes index acc3c46..9a24022 100644 --- a/google-merriweather-fonts.changes +++ b/google-merriweather-fonts.changes @@ -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 diff --git a/google-merriweather-fonts.spec b/google-merriweather-fonts.spec index 7b05ea2..ebb8722 100644 --- a/google-merriweather-fonts.spec +++ b/google-merriweather-fonts.spec @@ -16,18 +16,19 @@ # -%define fontdir %{_datadir}/fonts/truetype %define fontname merriweather Name: google-merriweather-fonts Version: 1.3 Release: 0 -License: OFL-1.1 Summary: Readable Text Serif Font for Screen -Url: http://www.google.com/webfonts/specimen/Merriweather +License: OFL-1.1 Group: System/X11/Fonts +Url: http://www.google.com/webfonts/specimen/Merriweather Source0: %{fontname}-%{version}.tar.bz2 Source1: OFL.txt +BuildRequires: fontpackages-devel +%reconfigure_fonts_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -49,6 +50,8 @@ and even fund specific features if if they are outside of the current scope of w For more information and to stay updated see Eben Sorkin's blog and Flickr stream and the Merriweather Twitter microblog. +Designer: Eben Sorkin + %prep %setup -n %{fontname}-%{version} @@ -56,14 +59,16 @@ the Merriweather Twitter microblog. cp %{SOURCE1} . %install -mkdir -p %{buildroot}%{fontdir} -cp *.ttf %{buildroot}%{fontdir} +mkdir -p %{buildroot}%{_ttfontsdir} +cp *.ttf %{buildroot}%{_ttfontsdir} + +%reconfigure_fonts_scriptlets %files %defattr(-, root, root) %doc METADATA FONTLOG.txt -%dir %{fontdir} -%{fontdir}/*.ttf +%dir %{_ttfontsdir} +%{_ttfontsdir}/*.ttf %doc OFL.txt %changelog