rpms/viruskiller/FC-6 viruskiller-1.0-makefile.patch, 1.2, 1.3 viruskiller.spec, 1.11, 1.12
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Fri Jun 15 14:43:07 UTC 2007
- Previous message (by thread): rpms/texmaker/FC-5 texmaker-64bit_fix.patch, NONE, 1.1 texmaker.spec, 1.12, 1.13
- Next message (by thread): rpms/viruskiller/EL-4 viruskiller-1.0-makefile.patch, NONE, 1.1 viruskiller.spec, 1.3, 1.4 viruskiller-0.9-makefile.patch, 1.1, NONE viruskiller-0.9-zzip.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: thias
Update of /cvs/extras/rpms/viruskiller/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3945/FC-6
Modified Files:
viruskiller-1.0-makefile.patch viruskiller.spec
Log Message:
Move binary and data to "proper" locations by updating patch (#243031).
viruskiller-1.0-makefile.patch:
Index: viruskiller-1.0-makefile.patch
===================================================================
RCS file: /cvs/extras/rpms/viruskiller/FC-6/viruskiller-1.0-makefile.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- viruskiller-1.0-makefile.patch 29 Aug 2006 08:49:41 -0000 1.2
+++ viruskiller-1.0-makefile.patch 15 Jun 2007 14:43:02 -0000 1.3
@@ -1,19 +1,20 @@
diff -Naupr viruskiller-1.0.orig/makefile viruskiller-1.0/makefile
--- viruskiller-1.0.orig/makefile 2005-05-21 19:03:45.000000000 +0200
-+++ viruskiller-1.0/makefile 2006-08-29 10:45:35.000000000 +0200
++++ viruskiller-1.0/makefile 2007-06-14 13:38:08.000000000 +0200
@@ -7,19 +7,17 @@ VERSION = 1.0
RELEASE = 1
USEPAK = 1
-PREFIX=$(DESTDIR)/usr
-+PREFIX = $(DESTDIR)/usr
- BINDIR = $(PREFIX)/games/
+-BINDIR = $(PREFIX)/games/
-DATADIR = $(PREFIX)/share/games/parallelrealities/
-DOCDIR = $(PREFIX)/share/doc/$(PROG)-$(VERSION)-$(RELEASE)/
-ICONDIR = $(PREFIX)/share/icons/
-KDE = $(PREFIX)/share/applnk/Games/Arcade/
-GNOME = $(PREFIX)/share/gnome/apps/Games/
-+DATADIR = $(PREFIX)/share/games/viruskiller/
++PREFIX = $(DESTDIR)/usr
++BINDIR = $(PREFIX)/bin/
++DATADIR = $(PREFIX)/share/viruskiller/
+ICONDIR = $(PREFIX)/share/pixmaps/
+GNOME = $(PREFIX)/share/applications/
Index: viruskiller.spec
===================================================================
RCS file: /cvs/extras/rpms/viruskiller/FC-6/viruskiller.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- viruskiller.spec 29 Aug 2006 08:49:41 -0000 1.11
+++ viruskiller.spec 15 Jun 2007 14:43:02 -0000 1.12
@@ -1,7 +1,7 @@
Summary: Frantic shooting game where viruses invade your computer
Name: viruskiller
Version: 1.0
-Release: 2%{?dist}
+Release: 4%{?dist}
License: GPL
Group: Amusements/Games
URL: http://www.parallelrealities.co.uk/virusKiller.php
@@ -23,8 +23,12 @@
%prep
-%setup
+%setup -q
%patch0 -p1 -b .makefile
+# Replace the displayed location of the help (in-game) to the proper one
+%{__perl} -pi -e 's|/usr/share/doc/viruskiller/manual.html|%{_docdir}/%{name}-%{version}/manual.html|g' data/titleWidgets
+# No files need to be executable, yet quite a few are, so fix that
+find . -type f -exec %{__chmod} -x {} \;
%build
@@ -44,7 +48,7 @@
Name=Virus Killer
Comment=Frantic shooting game where viruses invade your computer
Icon=viruskiller.png
-Exec=%{_prefix}/games/viruskiller
+Exec=viruskiller
Terminal=false
Type=Application
Categories=Application;Game;ArcadeGame;
@@ -63,15 +67,22 @@
%files
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
%doc doc/*
-%{_prefix}/games/viruskiller
-%{_prefix}/share/games/viruskiller/
+%{_bindir}/viruskiller
+%{_datadir}/viruskiller/
%{_datadir}/pixmaps/viruskiller.png
%{_datadir}/applications/*%{name}.desktop
%changelog
+* Thu Jun 14 2007 Matthias Saou <http://freshrpms.net/> 1.0-4
+- Move binary and data to "proper" locations by updating patch (#243031).
+- Remove executable bit from all files from the archive, it shouldn't be set.
+
+* Fri Feb 2 2007 Matthias Saou <http://freshrpms.net/> 1.0-3
+- Make in-game help display the proper location for the manual.html (#220404).
+
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.0-2
- FC6 rebuild.
- Add -lz to LIBS in the makefile patch (no longer in SDL libs?).
- Previous message (by thread): rpms/texmaker/FC-5 texmaker-64bit_fix.patch, NONE, 1.1 texmaker.spec, 1.12, 1.13
- Next message (by thread): rpms/viruskiller/EL-4 viruskiller-1.0-makefile.patch, NONE, 1.1 viruskiller.spec, 1.3, 1.4 viruskiller-0.9-makefile.patch, 1.1, NONE viruskiller-0.9-zzip.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list