From c5ae42ef5949e2187b4ecc01c3d1cdf2ee440fcd Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Mar 30 2009 07:01:02 +0000 Subject: Remove byndled font and symlink to system one (bz #477372) --- diff --git a/childsplay.spec b/childsplay.spec index 9ff3ace..296bf00 100644 --- a/childsplay.spec +++ b/childsplay.spec @@ -3,7 +3,7 @@ Name: childsplay Version: 1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Suite of educational games for young children Group: Amusements/Games License: GPLv3 @@ -25,6 +25,7 @@ Requires: pygame Requires: python-sqlalchemy Requires: hicolor-icon-theme Requires: pyfribidi +Requires: dejavu-fonts-experimental Provides: childsplay_sp = %{version}-%{release} Provides: childsplay_plugins = %{version}-%{release} @@ -156,6 +157,11 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps install -p -m 644 lib/SPData/menu/default/logo_cp_64x64.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/%{name}.png +#Remove provided font and symlint system one +rm $RPM_BUILD_ROOT%{_datadir}/%{realname}/SPData/DejaVuSansCondensed-Bold.ttf +rm $RPM_BUILD_ROOT%{_datadir}/%{realname}/SPData/DejaVu-ttf.copyright +ln -s ../../fonts/dejavu/DejaVuSansCondensed-Bold.ttf $RPM_BUILD_ROOT%{_datadir}/%{realname}/SPData/DejaVuSansCondensed-Bold.ttf + #Alphabet sounds for sounds in ca de es fr it nl ru do @@ -257,6 +263,9 @@ fi %changelog +* Mon Mar 30 2009 Johan Cwiklinski 1.1-3 +- Symlink to system font (BZ #477372) + * Sun Mar 29 2009 Johan Cwiklinski 1.1-2 - Versions for Obsoletes and Provides were inverted