rpms/starfighter/FC-5 starfighter-1.1-makefile.patch, 1.1, 1.2 starfighter.spec, 1.8, 1.9
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Fri Jun 15 15:13:47 UTC 2007
Author: thias
Update of /cvs/extras/rpms/starfighter/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13398/FC-5
Modified Files:
starfighter-1.1-makefile.patch starfighter.spec
Log Message:
Move binary and data to "proper" locations by updating patch (#229197).
starfighter-1.1-makefile.patch:
Index: starfighter-1.1-makefile.patch
===================================================================
RCS file: /cvs/extras/rpms/starfighter/FC-5/starfighter-1.1-makefile.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- starfighter-1.1-makefile.patch 9 Nov 2004 02:50:17 -0000 1.1
+++ starfighter-1.1-makefile.patch 15 Jun 2007 15:13:12 -0000 1.2
@@ -1,6 +1,6 @@
diff -Naupr starfighter-1.1.orig/makefile starfighter-1.1/makefile
--- starfighter-1.1.orig/makefile 2003-08-18 14:48:23.000000000 +0200
-+++ starfighter-1.1/makefile 2004-06-08 12:58:50.994520760 +0200
++++ starfighter-1.1/makefile 2007-06-14 14:49:45.000000000 +0200
@@ -1,21 +1,21 @@
-CFLAGS = `sdl-config --cflags` -Wall -DLINUX
+OPTFLAGS = -O3
@@ -17,8 +17,8 @@
-DATADIR = /usr/share/games/parallelrealities/
-DOCDIR = /usr/share/doc/starfighter/
+PREFIX = /usr
-+BINDIR = $(PREFIX)/games/
-+DATADIR = $(PREFIX)/share/games/starfighter/
++BINDIR = $(PREFIX)/bin/
++DATADIR = $(PREFIX)/share/starfighter/
# top-level rule to create the program.
all: $(PROG)
Index: starfighter.spec
===================================================================
RCS file: /cvs/extras/rpms/starfighter/FC-5/starfighter.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- starfighter.spec 6 Mar 2006 15:11:24 -0000 1.8
+++ starfighter.spec 15 Jun 2007 15:13:12 -0000 1.9
@@ -1,7 +1,7 @@
Summary: Project: Starfighter, a space arcade game
Name: starfighter
Version: 1.1
-Release: 7%{?dist}
+Release: 9%{?dist}
License: GPL
Group: Amusements/Games
URL: http://www.parallelrealities.co.uk/starfighter.php
@@ -24,8 +24,10 @@
%prep
-%setup
+%setup -q
%patch0 -p1 -b .makefile
+# No files need to be executable, yet quite a few are, so fix that
+find . -type f -exec %{__chmod} -x {} \;
%build
@@ -48,7 +50,7 @@
Name=Project: Starfighter
Comment=Space Arcade Game
Icon=starfighter.png
-Exec=%{_prefix}/games/starfighter
+Exec=starfighter
Terminal=false
Type=Application
Categories=Application;Game;ArcadeGame;
@@ -67,15 +69,21 @@
%files
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
%doc docs/*
-%{_prefix}/games/starfighter
-%{_prefix}/share/games/starfighter
+%{_bindir}/starfighter
+%{_datadir}/starfighter/
%{_datadir}/pixmaps/starfighter.png
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/*%{name}.desktop
%changelog
+* Thu Jun 14 2007 Matthias Saou <http://freshrpms.net/> 1.1-9
+- Move binary and data to "proper" locations by updating patch (#229197).
+
+* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.1-8
+- FC6 rebuild.
+
* Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 1.1-7
- FC5 rebuild.
More information about the fedora-extras-commits
mailing list