summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlisu2009-10-30 10:25:54 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit1978b83339ef385b650f79f3271f04c166d5582a (patch)
tree703d0cb5a63d2f91a43eb4aa7b1364ce12658c3e
parent3790d8062844315b5aec1dc12160a4dd0fb25ab5 (diff)
downloadqonk-1978b83339ef385b650f79f3271f04c166d5582a.zip
qonk-1978b83339ef385b650f79f3271f04c166d5582a.tar.gz
- updated to 0.3.1
- include missing headers (headers.patch) - fix malloc() and free() call in the code (malloc.patch) - no more sed hacks Changed files: qonk.spec -> 1.3
-rw-r--r--qonk.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/qonk.spec b/qonk.spec
index 6e3ba97..71ba5fa 100644
--- a/qonk.spec
+++ b/qonk.spec
@@ -4,12 +4,14 @@
Summary: Simple solar system build-and-conquer game
Summary(pl.UTF-8): Prosta gra typu "buduj i zdobywaj"
Name: qonk
-Version: 0.3.0
+Version: 0.3.1
Release: 0.1
License: GPL v2+
Group: X11/Applications/Games
Source0: http://dl.sourceforge.net/qonk/%{name}-%{version}.tar.gz
-# Source0-md5: 7460e5e1e28fd1e0ed0fa51b1afb138c
+# Source0-md5: 9491980477ac5beb5bba6b8234d2ddfd
+Patch0: %{name}-headers.patch
+Patch1: %{name}-malloc.patch
URL: http://scratchpad.wikia.com/wiki/Qonk
BuildRequires: SDL-devel >= 1.2
BuildRequires: SDL_gfx-devel >= 1.2
@@ -17,7 +19,6 @@ BuildRequires: SDL_image-devel >= 1.2
BuildRequires: SDL_ttf-devel >= 2.0
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -41,7 +42,8 @@ układach.
%prep
%setup -q
-%{__sed} -i 's@font.ttf@%{_datadir}/%{name}/font.ttf@' src/canvas.cpp
+%patch0 -p1
+%patch1 -p1
%build
%{__aclocal}