packages: battleships/battleships.spec - up to 2.8 - pass CFLAGS and LDFLAG...
lisu
lisu at pld-linux.org
Wed Oct 20 09:19:18 CEST 2010
Author: lisu Date: Wed Oct 20 07:19:18 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 2.8
- pass CFLAGS and LDFLAGS
- more verbose files
- adapter
---- Files affected:
packages/battleships:
battleships.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/battleships/battleships.spec
diff -u packages/battleships/battleships.spec:1.7 packages/battleships/battleships.spec:1.8
--- packages/battleships/battleships.spec:1.7 Mon Feb 12 22:23:48 2007
+++ packages/battleships/battleships.spec Wed Oct 20 09:19:13 2010
@@ -2,13 +2,13 @@
Summary: Battleships against the computer (character-cell graphics)
Summary(pl.UTF-8): Gra w statki przeciwko komputerowi
Name: battleships
-Version: 2.7
+Version: 2.8
Release: 1
License: GPL
Group: Applications/Games
-Vendor: Eric S. Raymond <esr at snark.thyrsus.com>
Source0: http://www.catb.org/~esr/bs/bs-%{version}.tar.gz
-# Source0-md5: 5786c6006e503d100e65139dadb5d5a7
+# Source0-md5: 3add0396d1e7f98c20267634f41a87b1
+Patch0: %{name}-ldflags.patch
URL: http://www.catb.org/~esr/bs/
BuildRequires: ncurses-devel
BuildRequires: xmlto
@@ -28,11 +28,14 @@
%prep
%setup -q -n bs-%{version}
+%patch0 -p1
%build
%{__make} \
+ TERMLIB="-lncurses -ltinfo" \
CC="%{__cc}" \
- CFLAGS="-I /usr/include/ncurses"
+ CFLAGS="%{rpmcflags} -I /usr/include/ncurses" \
+ LDFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -47,7 +50,7 @@
%files
%defattr(644,root,root,755)
%doc README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/bs
%{_mandir}/man6/bs.6*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -56,6 +59,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2010/10/20 07:19:13 lisu
+- up to 2.8
+- pass CFLAGS and LDFLAGS
+- more verbose files
+- adapter
+
Revision 1.7 2007/02/12 21:23:48 glen
- tabs in preamble
@@ -81,12 +90,3 @@
- initial import
-* Wed Dec 24 2003 Eric S. Raymond <esr at snark.thyrsus.com>
-- Improved packaging.
-
- * v1.2 with color support and minor portability fixes, November 1990
- * v2.0 featuring strict ANSI/POSIX conformance, November 1993.
- * v2.1 with ncurses mouse support, September 1995
- * v2.2 code cleanup.
- * v2.3 bug fixes by Erik Sigra.
- * v2.4 Update the RPM production.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/battleships/battleships.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list