SPECS: tennix.spec - up to 0.4.2 - pass CFLAGS without sed use
lisu
lisu at pld-linux.org
Sun Nov 18 19:07:49 CET 2007
Author: lisu Date: Sun Nov 18 18:07:49 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.4.2
- pass CFLAGS without sed use
---- Files affected:
SPECS:
tennix.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: SPECS/tennix.spec
diff -u SPECS/tennix.spec:1.13 SPECS/tennix.spec:1.14
--- SPECS/tennix.spec:1.13 Mon Sep 24 22:50:43 2007
+++ SPECS/tennix.spec Sun Nov 18 19:07:44 2007
@@ -2,19 +2,18 @@
Summary: A simple two-player tennis game
Summary(pl.UTF-8): Prosta gra w tenisa dla dwóch graczy
Name: tennix
-Version: 0.4.1
+Version: 0.4.2
Release: 1
License: GPL v2+
Group: X11/Applications/Games
Source0: http://thpinfo.com/2007/tennix/%{name}-%{version}.tar.gz
-# Source0-md5: 3f0f177aea7f869686230fc30662fbb0
+# Source0-md5: ffb81f0cea9e4ddd3aa24b29c77499b1
Patch0: %{name}-makefile.patch
Patch1: %{name}-desktop.patch
URL: http://icculus.org/tennix/
BuildRequires: SDL-devel
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
-BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -33,12 +32,11 @@
%setup -q
%patch0 -p1
%patch1 -p1
-# Some trouble with pass CFLAGS in build section
-%{__sed} -i 's at CFLAGS +=@CFLAGS += %{rpmcflags}@' makefile
%build
%{__make} \
CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -DVERSION=\\\"%{version}\\\" `sdl-config --cflags` " \
LDFLAGS="%{rpmldflags}"
%install
@@ -67,6 +65,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2007-11-18 18:07:44 lisu
+- up to 0.4.2
+- pass CFLAGS without sed use
+
Revision 1.13 2007-09-24 20:50:43 lisu
- use desktop file included with project
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tennix.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list