packages: kulic/kulic.spec (NEW), kulic/kulic-cstring.patch (NEW) - initial
uzsolt
uzsolt at pld-linux.org
Tue Dec 29 13:51:28 CET 2009
Author: uzsolt Date: Tue Dec 29 12:51:28 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/kulic:
kulic.spec (NONE -> 1.1) (NEW), kulic-cstring.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/kulic/kulic.spec
diff -u /dev/null packages/kulic/kulic.spec:1.1
--- /dev/null Tue Dec 29 13:51:28 2009
+++ packages/kulic/kulic.spec Tue Dec 29 13:51:23 2009
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+Summary: 2d shooting game
+Name: kulic
+Version: 1.1
+Release: 0.3
+License: GPL v2
+Group: X11/Applications/Games
+Source0: http://hippo.nipax.cz/src/%{name}-%{version}.tar.gz
+# Source0-md5: 16aff4bded3ae1c6712ca71d4d429730
+Patch0: %{name}-cstring.patch
+URL: http://hippo.nipax.cz/download.en.php
+BuildRequires: allegro-devel
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libtool
+# Need for sound, imho allegro-alsa is the best solution
+Suggests: allegro-alsa
+# Suggests: allegro-arts
+# Suggests: allegro-esd
+# Suggests: allegro-jack
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+2d shooting game.
+
+%prep
+%setup -q
+%patch0 -p1
+%{__sed} -i "s,/usr/local,/usr,g" src/*.c*
+
+%build
+
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_mandir}/man6/kulic*
+
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/12/29 12:51:23 uzsolt
+- initial
+
================================================================
Index: packages/kulic/kulic-cstring.patch
diff -u /dev/null packages/kulic/kulic-cstring.patch:1.1
--- /dev/null Tue Dec 29 13:51:29 2009
+++ packages/kulic/kulic-cstring.patch Tue Dec 29 13:51:23 2009
@@ -0,0 +1,40 @@
+--- kulic-1.1-orig/src/main.cc 2009-12-29 13:16:39.860801036 +0100
++++ kulic-1.1/src/main.cc 2009-12-29 13:17:07.620589890 +0100
+@@ -23,6 +23,7 @@
+ #include <strings.h>
+ #include <errno.h>
+ #include <sys/file.h>
++#include <cstring>
+
+
+
+--- kulic-1.1-orig/src/GMENUSET.cpp 2009-12-29 13:16:39.893510284 +0100
++++ kulic-1.1/src/GMENUSET.cpp 2009-12-29 13:21:42.364104068 +0100
+@@ -5,6 +5,7 @@
+ #include "stdafx.h"
+ #include "GMenuSet.h"
+ #include <iostream>
++#include <cstring>
+
+ using namespace std;
+
+--- kulic-1.1-orig/src/GRUN.cpp 2009-12-29 13:16:39.863810315 +0100
++++ kulic-1.1/src/GRUN.cpp 2009-12-29 13:25:38.653455950 +0100
+@@ -2,6 +2,7 @@
+ //
+ //////////////////////////////////////////////////////////////////////
+
++#include <cstring>
+ #include "stdh.h"
+
+ #include "GSoldier.h"
+--- kulic-1.1-orig/src/GVIEW.cpp 2009-12-29 13:16:39.863810315 +0100
++++ kulic-1.1/src/GVIEW.cpp 2009-12-29 13:26:21.000117965 +0100
+@@ -2,6 +2,7 @@
+ //
+ //////////////////////////////////////////////////////////////////////
+
++#include <cstring>
+ #include "stdh.h"
+ #include "soldiers.h"
+ #include "zbrane.h"
================================================================
More information about the pld-cvs-commit
mailing list