Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Fedora Release Engineering
a11bd7401c dist-git conversion 2010-07-29 15:07:59 +00:00
thomasj
2c752c28b5 initial import 2010-07-01 12:07:40 +00:00
Jason ティビツ
575b6e083d Initialize branch F-12 for vor 2010-07-01 04:57:15 +00:00
7 changed files with 78 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
vor-0.5.5.tar.bz2

View file

@ -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)

View file

@ -0,0 +1 @@
a4eb90351dc19413e82ac0bc5269bc42 vor-0.5.5.tar.bz2

11
vor-fix-DSO.patch Normal file
View 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
View 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
View 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