]> git.pld-linux.org Git - packages/kulic.git/commitdiff
- initial
authorZsolt Udvari <uzsolt@pld-linux.org>
Tue, 29 Dec 2009 12:51:23 +0000 (12:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kulic-cstring.patch -> 1.1
    kulic.spec -> 1.1

kulic-cstring.patch [new file with mode: 0644]
kulic.spec [new file with mode: 0644]

diff --git a/kulic-cstring.patch b/kulic-cstring.patch
new file mode 100644 (file)
index 0000000..22921be
--- /dev/null
@@ -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"
diff --git a/kulic.spec b/kulic.spec
new file mode 100644 (file)
index 0000000..c5eab41
--- /dev/null
@@ -0,0 +1,55 @@
+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*
This page took 0.08607 seconds and 4 git commands to generate.