diff --git a/cyreal-alice-fonts.changes b/cyreal-alice-fonts.changes index 8f6c3e3..b445023 100644 --- a/cyreal-alice-fonts.changes +++ b/cyreal-alice-fonts.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 25 06:25:49 UTC 2012 - lazy.kent@opensuse.org + +- New font packaging scheme. + ------------------------------------------------------------------- Fri Jul 20 18:57:30 UTC 2012 - lazy.kent@opensuse.org diff --git a/cyreal-alice-fonts.spec b/cyreal-alice-fonts.spec index a59e736..ca68243 100644 --- a/cyreal-alice-fonts.spec +++ b/cyreal-alice-fonts.spec @@ -16,8 +16,6 @@ # -%define _ttf_fontdir %{_datadir}/fonts/truetype - Name: cyreal-alice-fonts Version: 1.010 Release: 0 @@ -27,11 +25,11 @@ Url: http://cyreal.org/archives/842 Group: System/X11/Fonts #Source0: wget http://www.google.com/webfonts/download?kit=nVDICQAe6IAM-XidgBCu9Q -O cyreal-alice-fonts.zip Source0: cyreal-alice-fonts.zip +BuildRequires: fontpackages-devel BuildRequires: unzip -BuildRequires: xorg-x11-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -Requires(pre): %suseconfig_fonts_prereq +%reconfigure_fonts_prereq %description Ksenia Erulevich, designer of the Alice typeface, was inspired by Lewis @@ -50,18 +48,14 @@ sed -i 's/\r$//g' OFL.txt %install install -Dm 644 Alice-Regular.ttf \ - %{buildroot}%{_ttf_fontdir}/Alice-Regular.ttf + %{buildroot}%{_ttfontsdir}/Alice-Regular.ttf -%post -%run_suseconfig_fonts - -%postun -%run_suseconfig_fonts +%reconfigure_fonts_scriptlets %files %defattr(-,root,root,-) %doc OFL.txt -%dir %{_ttf_fontdir} -%{_ttf_fontdir}/Alice-Regular.ttf +%dir %{_ttfontsdir} +%{_ttfontsdir}/Alice-Regular.ttf %changelog