From 575b6e083d6c252939ca2d47ffc4c479c481a1cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= Date: Thu, 1 Jul 2010 04:57:15 +0000 Subject: [PATCH 1/3] Initialize branch F-12 for vor --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 From 2c752c28b552c82f46e6056675e7b3182b2add1a Mon Sep 17 00:00:00 2001 From: thomasj Date: Thu, 1 Jul 2010 12:07:40 +0000 Subject: [PATCH 2/3] initial import --- .cvsignore | 1 + import.log | 1 + sources | 1 + vor-fix-DSO.patch | 11 ++++++++++ vor.desktop | 10 +++++++++ vor.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 79 insertions(+) create mode 100644 import.log create mode 100644 vor-fix-DSO.patch create mode 100644 vor.desktop create mode 100644 vor.spec diff --git a/.cvsignore b/.cvsignore index e69de29..7b06778 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +vor-0.5.5.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..860c931 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +vor-0_5_5-2_fc13:F-12:vor-0.5.5-2.fc13.src.rpm:1277986031 diff --git a/sources b/sources index e69de29..9f619ea 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a4eb90351dc19413e82ac0bc5269bc42 vor-0.5.5.tar.bz2 diff --git a/vor-fix-DSO.patch b/vor-fix-DSO.patch new file mode 100644 index 0000000..a5384c6 --- /dev/null +++ b/vor-fix-DSO.patch @@ -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@ diff --git a/vor.desktop b/vor.desktop new file mode 100644 index 0000000..8c0edf2 --- /dev/null +++ b/vor.desktop @@ -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 \ No newline at end of file diff --git a/vor.spec b/vor.spec new file mode 100644 index 0000000..97e50bc --- /dev/null +++ b/vor.spec @@ -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 0.5.5-2 +- spelling error fixes + +* Mon Dec 28 2009 Thomas Janssen 0.5.5-1 +- Initial Fedora release From a11bd7401c1501ab83512b2bfc700e4a1d5bd18d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:07:59 +0000 Subject: [PATCH 3/3] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 283ce79..0000000 --- a/Makefile +++ /dev/null @@ -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) diff --git a/branch b/branch deleted file mode 100644 index 06de2d2..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-12 diff --git a/import.log b/import.log deleted file mode 100644 index 860c931..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -vor-0_5_5-2_fc13:F-12:vor-0.5.5-2.fc13.src.rpm:1277986031