SPECS: ja2.spec - up to 0.8 - pass OPTFLAGS (-linking.patch) - rem...
lisu
lisu at pld-linux.org
Wed Apr 2 21:57:41 CEST 2008
Author: lisu Date: Wed Apr 2 19:57:41 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.8
- pass OPTFLAGS (-linking.patch)
- remove sed dependency
- TODO added
---- Files affected:
SPECS:
ja2.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/ja2.spec
diff -u SPECS/ja2.spec:1.7 SPECS/ja2.spec:1.8
--- SPECS/ja2.spec:1.7 Tue Oct 23 19:39:25 2007
+++ SPECS/ja2.spec Wed Apr 2 21:57:36 2008
@@ -1,20 +1,25 @@
# $Revision$, $Date$
+#
+# TODO:
+# - better workaround (try to avoid using config file to build)
+# - better handle of language
+#
Summary: Jagged Alliance 2 port
Summary(pl.UTF-8): Port gry Jagged Alliance 2
Name: ja2
-Version: 0.7
+Version: 0.8
Release: 1
License: SFI
Group: Applications/Games
Source0: http://ja2.dragonriders.de/files/%{name}-%{version}-source.tar.bz2
-# Source0-md5: c80b120c8f534f7d0fd1dce4ce5dbbd0
+# Source0-md5: a9562d6b02cc632acbc0febd47374293
Source1: %{name}.png
Patch0: %{name}-config.patch
Patch1: %{name}-DESTDIR.patch
Patch2: %{name}-desktop.patch
+Patch3: %{name}-linking.patch
URL: http://ja2.dragonriders.de/
BuildRequires: SDL-devel >= 1.2.0
-BuildRequires: sed >= 4.0
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,6 +41,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%{__sed} -i 's@#CFLAGS += -g at CFLAGS += %{rpmcflags}@' config.template
mv config.template config.default
@@ -44,7 +50,7 @@
%{__make} \
CC="%{__cc}" \
CXX="%{__cxx}" \
- LIBS="-lSDL"
+ OPTFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -71,6 +77,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2008-04-02 19:57:36 lisu
+- up to 0.8
+- pass OPTFLAGS (-linking.patch)
+- remove sed dependency
+- TODO added
+
Revision 1.7 2007-10-23 17:39:25 lisu
- 0.7
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ja2.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list