diff --git a/google-opensans-fonts.changes b/google-opensans-fonts.changes index a9a18b5..6bc54e6 100644 --- a/google-opensans-fonts.changes +++ b/google-opensans-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:13 UTC 2012 - pgajdos@suse.com diff --git a/google-opensans-fonts.spec b/google-opensans-fonts.spec index ef004d7..b20414d 100644 --- a/google-opensans-fonts.spec +++ b/google-opensans-fonts.spec @@ -16,19 +16,20 @@ # -%define fontdir %{_datadir}/fonts/truetype %define fontname opensans Name: google-opensans-fonts Version: 1.0 Release: 0 -License: Apache-2.0 Summary: Humanist Sans Serif Typeface -Url: http://code.google.com/webfonts/family?family=Open+Sans +License: Apache-2.0 Group: System/X11/Fonts +Url: http://code.google.com/webfonts/family?family=Open+Sans Source0: %{fontname}.tar.bz2 BuildRequires: bzip2 -Requires(pre): %suseconfig_fonts_prereq +BuildRequires: dos2unix +BuildRequires: fontpackages-devel +%reconfigure_fonts_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -43,26 +44,25 @@ open forms and a neutral, yet friendly appearance. It was optimized for print, web, and mobile interfaces, and has excellent legibility characteristics in its letterforms. +Designer: Steve Matteson + %prep %setup -q -n %{fontname} -c %{fontname} %build -# -- nothing to do -- +chmod 644 %{fontname}/LICENSE.txt +dos2unix %{fontname}/LICENSE.txt %install -mkdir -p %{buildroot}%{fontdir}/ -install -m 0644 %{fontname}/*.ttf %{buildroot}%{fontdir} +mkdir -p %{buildroot}%{_ttfontsdir}/ +install -m 0644 %{fontname}/*.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 %{fontname}/LICENSE.txt %changelog