diff --git a/Makefile b/Makefile deleted file mode 100644 index 3ad04a5..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: starfighter -# $Id: Makefile,v 1.1 2004/11/09 02:50:15 cvsextras Exp $ -NAME := starfighter -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 $$/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) diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..e12f68e --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Removed due to legal issues. diff --git a/sources b/sources deleted file mode 100644 index feb55b3..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -c057285a87e76d532f3bc42bf644ef92 starfighter-1.1-1.tar.bz2 diff --git a/starfighter-1.1-makefile.patch b/starfighter-1.1-makefile.patch deleted file mode 100644 index eda4651..0000000 --- a/starfighter-1.1-makefile.patch +++ /dev/null @@ -1,43 +0,0 @@ -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 2007-06-14 14:49:45.000000000 +0200 -@@ -1,21 +1,21 @@ --CFLAGS = `sdl-config --cflags` -Wall -DLINUX -+OPTFLAGS = -O3 -+CFLAGS = `sdl-config --cflags` -Wall -DLINUX $(OPTFLAGS) - LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image - OBJS = ai.o aliens.o audio.o bullets.o cargo.o collectable.o comms.o debris.o events.o explosions.o game.o globals.o graphics.o init.o intermission.o loadSave.o messages.o misc.o missions.o player.o resources.o script.o shop.o Starfighter.o title.o unpack.o weapons.o - - VERSION = 1.1 - PROG = starfighter - PACK = starfighter.pak --DOCS = docs/* - --BINDIR = /usr/games/ --DATADIR = /usr/share/games/parallelrealities/ --DOCDIR = /usr/share/doc/starfighter/ -+PREFIX = /usr -+BINDIR = $(PREFIX)/bin/ -+DATADIR = $(PREFIX)/share/starfighter/ - # top-level rule to create the program. - all: $(PROG) - - # compiling other source files. - %.o: code/%.cpp code/%.h code/structs.h code/defs.h code/classes.h -- $(CXX) $(CFLAGS) -c -O3 -DVERSION=\"$(VERSION)\" -DPACKLOCATION=\"$(DATADIR)$(PACK)\" $< -+ $(CXX) $(CFLAGS) -c -DVERSION=\"$(VERSION)\" -DPACKLOCATION=\"$(DATADIR)$(PACK)\" $< - - # linking the program. - $(PROG): $(OBJS) -@@ -30,8 +30,6 @@ distclean: - - # install - install: -- mkdir -p $(DATADIR) -- strip $(PROG) -- install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG) -- install -o root -g games -m 644 $(PACK) $(DATADIR)$(PACK) -- cp $(DOCS) $(DOCDIR) -+ mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR) -+ install -m 755 $(PROG) $(DESTDIR)$(BINDIR)$(PROG) -+ install -m 644 $(PACK) $(DESTDIR)$(DATADIR)$(PACK) diff --git a/starfighter.png b/starfighter.png deleted file mode 100644 index e7a85a5..0000000 Binary files a/starfighter.png and /dev/null differ diff --git a/starfighter.spec b/starfighter.spec deleted file mode 100644 index cde136d..0000000 --- a/starfighter.spec +++ /dev/null @@ -1,121 +0,0 @@ -Summary: Project: Starfighter, a space arcade game -Name: starfighter -Version: 1.1 -Release: 13 -License: GPLv2+ -Group: Amusements/Games -URL: http://www.parallelrealities.co.uk/starfighter.php -# No absolute URL since the home page tunnels it through a PHP script -Source0: starfighter-%{version}-1.tar.bz2 -Source1: starfighter.png -Patch0: starfighter-1.1-makefile.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildRequires: SDL-devel, SDL_mixer-devel, SDL_image-devel, desktop-file-utils - -%description -After decades of war one company, who had gained powerful supplying both sides -with weaponary, steps forwards and crushes both warring factions in one swift -movement. Using far superior weaponary and AI craft, the company was completely -unstoppable and now no one can stand in their way. Thousands began to perish -under the iron fist of the company. The people cried out for a saviour, for -someone to light this dark hour... and someone did. - -This game features 26 missions over 4 star systems and boss battles. - - -%prep -%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 -%{__make} %{?_smp_mflags} \ - PREFIX="%{_prefix}" \ - OPTFLAGS="%{optflags}" - - -%install -%{__rm} -rf %{buildroot} -%{__make} install PREFIX="%{_prefix}" DESTDIR="%{buildroot}" - -# Install menu icon -%{__install} -D -m 0644 %{SOURCE1} \ - %{buildroot}%{_datadir}/pixmaps/starfighter.png - -# Install menu entry -%{__cat} > %{name}.desktop << EOF -[Desktop Entry] -Name=Project: Starfighter -Comment=Space Arcade Game -Icon=starfighter.png -Exec=starfighter -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 docs/* -%{_bindir}/starfighter -%{_datadir}/starfighter/ -%{_datadir}/pixmaps/starfighter.png -%{_datadir}/applications/%{name}.desktop - - -%changelog -* Sun Sep 21 2008 Ville Skyttä - 1.1-13 -- Fix Patch:/%%patch0 mismatch. - -* Tue Feb 19 2008 Fedora Release Engineering - 1.1-12 -- Autorebuild for GCC 4.3 - -* Thu Aug 23 2007 Matthias Saou 1.1-11 -- Rebuild for new BuildID feature. - -* Sun Aug 5 2007 Matthias Saou 1.1-10 -- Update License field. -- Remove dist tag, since the package will seldom change. - -* Thu Jun 14 2007 Matthias Saou 1.1-9 -- Move binary and data to "proper" locations by updating patch (#229197). - -* Mon Aug 28 2006 Matthias Saou 1.1-8 -- FC6 rebuild. - -* Mon Mar 6 2006 Matthias Saou 1.1-7 -- FC5 rebuild. - -* Thu Feb 9 2006 Matthias Saou 1.1-6 -- Rebuild for new gcc/glibc. -- Clean up spec file a little (desktop file conditional). - -* Sun May 22 2005 Jeremy Katz - 1.1-5 -- rebuild on all arches - -* Fri Apr 7 2005 Michael Schwendt -- rebuilt - -* Wed Jan 5 2005 Matthias Saou 1.1-3 -- Fix desktop_vendor in the desktop file name (#143285). - -* Tue Nov 16 2004 Matthias Saou 1.1-2 -- Bump release to provide Extras upgrade path. - -* Tue Jun 8 2004 Matthias Saou 1.1-1 -- Initial RPM release. -