Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a11bd7401c | ||
|
|
2c752c28b5 | ||
|
|
575b6e083d |
7 changed files with 78 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
vor-0.5.5.tar.bz2
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: vor
|
||||
# $Id$
|
||||
NAME := vor
|
||||
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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
a4eb90351dc19413e82ac0bc5269bc42 vor-0.5.5.tar.bz2
|
||||
11
vor-fix-DSO.patch
Normal file
11
vor-fix-DSO.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.in 2009-12-09 22:28:59.000000000 +0100
|
||||
+++ Makefile.in.old 2010-05-14 20:37:03.000000000 +0200
|
||||
@@ -43,7 +43,7 @@
|
||||
SDL_CFLAGS := @SDL_CFLAGS@
|
||||
SDL_LIBS := @SDL_LIBS@
|
||||
|
||||
-ldflags := $(SDL_LIBS) -lSDL_image -lSDL_mixer $(LDFLAGS)
|
||||
+ldflags := $(SDL_LIBS) -lm -lSDL_image -lSDL_mixer $(LDFLAGS)
|
||||
cflags := -I. $(SDL_CFLAGS) $(paths) $(CFLAGS)
|
||||
|
||||
my_objects := args.@OBJEXT@ dust.@OBJEXT@ file.@OBJEXT@ mt.@OBJEXT@ rocks.@OBJEXT@ score.@OBJEXT@ sprite.@OBJEXT@ sound.@OBJEXT@ autopilot.@OBJEXT@
|
||||
10
vor.desktop
Normal file
10
vor.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Categories=Game;ArcadeGame;
|
||||
Comment=A quick action game
|
||||
Type=Application
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Exec=vor
|
||||
Name=VoR
|
||||
Icon=/usr/share/vor/icon.png
|
||||
55
vor.spec
Normal file
55
vor.spec
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
Name: vor
|
||||
Version: 0.5.5
|
||||
Release: 2%{?dist}
|
||||
Summary: Variations on Rockdogders is an 2D space shooter
|
||||
|
||||
Group: Amusements/Games
|
||||
License: GPLv2+
|
||||
URL: http://jasonwoof.org/vor
|
||||
Source0: http://qualdan.com/%{name}/%{name}-%{version}.tar.bz2
|
||||
Source1: vor.desktop
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: SDL, SDL_mixer, SDL_image, SDL_image-devel, SDL_mixer-devel, desktop-file-utils
|
||||
|
||||
Patch10: vor-fix-DSO.patch
|
||||
|
||||
Requires: SDL, SDL_mixer, SDL_image
|
||||
|
||||
%description
|
||||
VoR is a simple, fast-paced action game that will challenge your reflexes.
|
||||
It has excellent game-play, great physics, good graphics, and a retro/synthoid
|
||||
thumpy beat to help put you in the mood for old-school 2D gaming.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch10 -p0
|
||||
|
||||
%build
|
||||
%configure --prefix=/usr
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
desktop-file-install \
|
||||
--dir=%{buildroot}%{_datadir}/applications \
|
||||
%{SOURCE1}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Jun 29 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.5.5-2
|
||||
- spelling error fixes
|
||||
|
||||
* Mon Dec 28 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.5-1
|
||||
- Initial Fedora release
|
||||
Loading…
Add table
Add a link
Reference in a new issue