Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fef3f41b22 | ||
|
|
2db6388df2 | ||
|
|
a8bea4fa1f |
6 changed files with 2 additions and 201 deletions
|
|
@ -1 +0,0 @@
|
|||
viruskiller-1.0-1.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: viruskiller
|
||||
# $Id$
|
||||
NAME := viruskiller
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
2
dead.package
Normal file
2
dead.package
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
2015-10-07: Retired orphaned package, because it was not built.
|
||||
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
de7c78b3abdb4ff488943d78a94f5bb1 viruskiller-1.0-1.tar.gz
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
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 2007-06-14 13:38:08.000000000 +0200
|
||||
@@ -7,19 +7,17 @@ VERSION = 1.0
|
||||
RELEASE = 1
|
||||
USEPAK = 1
|
||||
|
||||
-PREFIX=$(DESTDIR)/usr
|
||||
-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/
|
||||
+PREFIX = $(DESTDIR)/usr
|
||||
+BINDIR = $(PREFIX)/bin/
|
||||
+DATADIR = $(PREFIX)/share/viruskiller/
|
||||
+ICONDIR = $(PREFIX)/share/pixmaps/
|
||||
+GNOME = $(PREFIX)/share/applications/
|
||||
|
||||
SAFEDIR = /tmp/
|
||||
|
||||
-CFLAGS += `sdl-config --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK)
|
||||
-CFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DSAFEDIR=\"$(SAFEDIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)manual.html\" -Wall
|
||||
-LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf
|
||||
+CFLAGS += $(OPTFLAGS) `sdl-config --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK)
|
||||
+CFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DSAFEDIR=\"$(SAFEDIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DATADIR)manual.html\"
|
||||
+LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lz
|
||||
|
||||
OBJS += CAudio.o
|
||||
OBJS += CBase.o
|
||||
@@ -77,19 +75,10 @@ install:
|
||||
./pak data gfx music sound $(PAKNAME)
|
||||
mkdir -p $(BINDIR)
|
||||
mkdir -p $(DATADIR)
|
||||
- mkdir -p $(DOCDIR)
|
||||
mkdir -p $(ICONDIR)
|
||||
- mkdir -p $(ICONDIR)mini
|
||||
- mkdir -p $(ICONDIR)large
|
||||
- mkdir -p $(KDE)
|
||||
mkdir -p $(GNOME)
|
||||
|
||||
- strip $(PROG)
|
||||
- install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG)
|
||||
- install -o root -g games -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME)
|
||||
- cp $(DOCS) $(DOCDIR)
|
||||
+ install -m 755 $(PROG) $(BINDIR)$(PROG)
|
||||
+ install -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME)
|
||||
cp $(ICONS)$(PROG).png $(ICONDIR)
|
||||
- cp $(ICONS)$(PROG)-mini.png $(ICONDIR)mini/$(PROG).png
|
||||
- cp $(ICONS)$(PROG)-large.png $(ICONDIR)large/$(PROG).png
|
||||
- cp $(ICONS)$(PROG).desktop $(KDE)
|
||||
cp $(ICONS)$(PROG).desktop $(GNOME)
|
||||
125
viruskiller.spec
125
viruskiller.spec
|
|
@ -1,125 +0,0 @@
|
|||
Summary: Frantic shooting game where viruses invade your computer
|
||||
Name: viruskiller
|
||||
Version: 1.0
|
||||
Release: 7
|
||||
License: GPLv2+
|
||||
Group: Amusements/Games
|
||||
URL: http://www.parallelrealities.co.uk/virusKiller.php
|
||||
# No absolute URL since the home page tunnels it through a PHP script
|
||||
Source: viruskiller-%{version}-1.tar.gz
|
||||
Patch0: viruskiller-1.0-makefile.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: SDL-devel, SDL_mixer-devel, SDL_image-devel, SDL_ttf-devel
|
||||
BuildRequires: zlib-devel, desktop-file-utils
|
||||
|
||||
%description
|
||||
Your computer has been invaded! Dozens of little viruses are pouring in via
|
||||
security holes in Microsoft Internet Explorer, Microsoft Outlook, Microsoft
|
||||
MSN Messenger and Microsoft Recycle Bin!! Using your trusty mouse you must
|
||||
shoot the buggers before they can destroy your files! Some will steal them
|
||||
from their home directories and take them back to their security hole. Others
|
||||
will just eat them right there on the spot! See how long you and your computer
|
||||
can survive the onslaught!
|
||||
|
||||
|
||||
%prep
|
||||
%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
|
||||
%{__make} %{?_smp_mflags} PREFIX="%{_prefix}" OPTFLAGS="%{optflags}"
|
||||
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__make} install DESTDIR="%{buildroot}"
|
||||
|
||||
# Remove shipped menu entry, no Comment, wrong Exec... :-(
|
||||
%{__rm} -f %{buildroot}%{_datadir}/applications/viruskiller.desktop
|
||||
|
||||
# Install menu entry
|
||||
%{__cat} > %{name}.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Name=Virus Killer
|
||||
Comment=Frantic shooting game where viruses invade your computer
|
||||
Icon=viruskiller.png
|
||||
Exec=viruskiller
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;ArcadeGame;
|
||||
Encoding=UTF-8
|
||||
EOF
|
||||
|
||||
%{__mkdir_p} %{buildroot}%{_datadir}/applications
|
||||
desktop-file-install \
|
||||
--vendor "" \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
%{name}.desktop
|
||||
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/*
|
||||
%{_bindir}/viruskiller
|
||||
%{_datadir}/viruskiller/
|
||||
%{_datadir}/pixmaps/viruskiller.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0-7
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.0-6
|
||||
- Rebuild for new BuildID feature.
|
||||
|
||||
* Sun Aug 5 2007 Matthias Saou <http://freshrpms.net/> 1.0-5
|
||||
- Update License field.
|
||||
- Remove dist tag, since the package will seldom change.
|
||||
- Remove desktop file prefix.
|
||||
|
||||
* 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?).
|
||||
|
||||
* Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 1.0-1
|
||||
- Update to 1.0-1.
|
||||
- Update makefile patch.
|
||||
- Remove no longer needed zziplib patch.
|
||||
- No longer build require zziplib-devel, but zlib-devel instead.
|
||||
|
||||
* Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 0.9-6
|
||||
- Rebuild for new gcc/glibc.
|
||||
- Remove old desktop file conditionals.
|
||||
|
||||
* Tue May 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9-5
|
||||
- rebuild once more as 0.9-4 src.rpm failed to build in build system
|
||||
|
||||
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.9-4
|
||||
- rebuild on all arches
|
||||
|
||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
||||
- rebuilt
|
||||
|
||||
* Sun Feb 27 2005 Matthias Saou <http://freshrpms.net/> 0.9-2
|
||||
- Fix release tag.
|
||||
|
||||
* Tue Jun 8 2004 Matthias Saou <http://freshrpms.net/> 0.9-1
|
||||
- Initial RPM release.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue