rpms/nethack/F-7 nethack.spec,1.16,1.17

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Wed Jan 23 20:34:27 UTC 2008


Author: lmacken

Update of /cvs/pkgs/rpms/nethack/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13791

Modified Files:
	nethack.spec 
Log Message:
* Thu Jan 17 2008 Luke Macken <lmacken at redhat.com> 3.4.3-16
- Create a symlink to our fonts in /etc/X11/fontpath.d (Bug #221692)

* Tue Aug 21 2007 Luke Macken <lmacken at redhat.com> 3.4.3-15
- Rebuild

* Mon Jul  9 2007 Luke Macken <lmacken at redhat.com> 3.4.3-14
- Fix nethack.desktop (Bug #247373)

* Sun Jul 08 2007 Florian La Roche <laroche at redhat.com> 3.4.3-13
- require xorg-x11-font-utils (to run mkfontdir) for post script




Index: nethack.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nethack/F-7/nethack.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- nethack.spec	16 Oct 2006 22:38:48 -0000	1.16
+++ nethack.spec	23 Jan 2008 20:33:44 -0000	1.17
@@ -3,7 +3,7 @@
 
 Name:           nethack
 Version:        3.4.3
-Release:        12%{?dist}
+Release:        16%{?dist}
 Summary:        A rogue-like single player dungeon exploration game
 
 Group:          Amusements/Games
@@ -16,6 +16,7 @@
 Patch2:         %{name}-%{version}-x11.patch
 Patch3:         %{name}-%{version}-guidebook.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires(post): xorg-x11-font-utils
 
 BuildRequires:  ncurses-devel
 BuildRequires:  bison, flex, desktop-file-utils
@@ -102,7 +103,13 @@
 
 %post
 mkfontdir %{nhgamedir}/fonts
-
+if [ ! -L /etc/X11/fontpath.d/nethack ] ; then
+    ln -s %{nhgamedir}/fonts /etc/X11/fontpath.d/nethack
+fi
+
+%preun
+rm /etc/X11/fontpath.d/nethack
+rm %{nhgamedir}/fonts/fonts.dir
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -129,6 +136,18 @@
 
 
 %changelog
+* Thu Jan 17 2008 Luke Macken <lmacken at redhat.com> 3.4.3-16
+- Create a symlink to our fonts in /etc/X11/fontpath.d (Bug #221692)
+
+* Tue Aug 21 2007 Luke Macken <lmacken at redhat.com> 3.4.3-15
+- Rebuild
+
+* Mon Jul  9 2007 Luke Macken <lmacken at redhat.com> 3.4.3-14
+- Fix nethack.desktop (Bug #247373)
+
+* Sun Jul 08 2007 Florian La Roche <laroche at redhat.com> 3.4.3-13
+- require xorg-x11-font-utils (to run mkfontdir) for post script
+
 * Mon Oct 16 2006 Luke Macken <lmacken at redhat.com> 3.4.3-12
 - Own /usr/games/nethack-3.4.3
 




More information about the fedora-extras-commits mailing list