rpms/xmoto/devel xmoto.spec,1.45,1.46

Jon Ciesla limb at fedoraproject.org
Wed Dec 31 16:05:26 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/xmoto/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19939

Modified Files:
	xmoto.spec 
Log Message:
Font fix.



Index: xmoto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xmoto/devel/xmoto.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- xmoto.spec	10 Dec 2008 21:04:10 -0000	1.45
+++ xmoto.spec	31 Dec 2008 16:04:56 -0000	1.46
@@ -1,6 +1,6 @@
 Name:		xmoto
 Version:	0.5.0
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Challenging 2D Motocross Platform Game
 
 Group:		Amusements/Games
@@ -30,6 +30,12 @@
 BuildRequires:	bzip2-devel
 BuildRequires:	sqlite-devel
 BuildRequires:	SDL_net-devel
+%if "0%{?dist}" == "0.fc10"
+Requires: dejavu-fonts
+%else
+Requires: dejavu-fonts-sans
+%endif
+
 
 %description
 X-Moto is a challenging 2D motocross platform game, where physics play an all
@@ -77,6 +83,9 @@
 
 desktop-file-install --vendor fedora --dir $RPM_BUILD_ROOT%{_datadir}/applications --add-category X-Fedora %{SOURCE1}
 
+rm $RPM_BUILD_ROOT%{_datadir}/xmoto/Textures/Fonts/DejaVuSans.ttf 
+ln -s ../../../fonts/dejavu/DejaVuSans.ttf $RPM_BUILD_ROOT%{_datadir}/xmoto/Textures/Fonts/DejaVuSans.ttf 
+
 # Locale files
 %find_lang %{name} %{name}.lang
 
@@ -106,6 +115,10 @@
 %{_mandir}/man6/xmoto.6.gz
 
 %changelog
+* Tue Dec 30 2008 Jon Ciesla <limb at jcomserv.net> 0.5.0-3
+- Symlink to system font, BZ 477485.
+- Dropped extension from icon in .desktop.
+
 * Wed Dec 10 2008 Jon Ciesla <limb at jcomserv.net> 0.5.0-2
 - No remaining fuzzy patches, dropping patch fuzz workaround.
 




More information about the fedora-extras-commits mailing list