packages: tetrix/tetrix.spec - up to 2.3 - drop obsoleted -buildfix.patch -...

lisu lisu at pld-linux.org
Fri Oct 22 12:54:40 CEST 2010


Author: lisu                         Date: Fri Oct 22 10:54:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.3
- drop obsoleted -buildfix.patch
- add -build.patch witch adds more FLAGS to Makefile
- clean up

---- Files affected:
packages/tetrix:
   tetrix.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/tetrix/tetrix.spec
diff -u packages/tetrix/tetrix.spec:1.2 packages/tetrix/tetrix.spec:1.3
--- packages/tetrix/tetrix.spec:1.2	Fri Jun 12 09:33:55 2009
+++ packages/tetrix/tetrix.spec	Fri Oct 22 12:54:35 2010
@@ -3,13 +3,13 @@
 Summary:	A curses-based clone of Tetris
 Summary(pl.UTF-8):	Klon gry Tetris typu roguelike.
 Name:		tetrix
-Version:	2.2
+Version:	2.3
 Release:	1
 License:	GPL v2
 Group:		Applications/Games
 Source0:	http://www.catb.org/~esr/tetrix/%{name}-%{version}.tar.gz
-# Source0-md5:	141390f40c9c03a9b54455e257e0eafc
-Patch0:		%{name}-buildfix.patch
+# Source0-md5:	3567667a52571ebd3c3829af66defb93
+Patch0:		%{name}-build.patch
 Patch1:		%{name}-scoresfile.patch
 URL:		http://www.catb.org/~esr/tetrix/
 BuildRequires:	ncurses-devel
@@ -19,7 +19,7 @@
 Tetrix is a UNIX-hosted, curses-based clone of Tetris.
 
 %description -l pl.UTF-8
-Tetrix jest uniksowym klonem gry Tetris. Interface gry jest oparty o
+Tetrix jest uniksowym klonem gry Tetris. Interfejs gry jest oparty o
 bibliotekę curses. Tetrix używa aktywnego czekania, zatem główne
 przeznaczenie tego programu to testowanie zachowania komputera przy
 maksymalnym obciążeniu. Jeżeli po prostu chcesz pograć w tetris w
@@ -27,13 +27,14 @@
 
 %prep
 %setup -q
-
 %patch0 -p1
 %patch1 -p1
 
 %build
 %{__make} tetrix \
-	CFLAGS=-I/usr/include/ncurses
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
+	LFLAGS="%{rpmldflags}"
 
 %{__make} tetrix.6
 
@@ -50,9 +51,9 @@
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(2755,root,games) %{_bindir}/tetrix
-%{_mandir}/man6/*
-%attr(660,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/tetrix.scores
+%attr(755,root,root) %{_bindir}/tetrix
+%{_mandir}/man6/tetrix.6*
+%attr(660,root,root) %config(noreplace) %verify(not md5 mtime size) /var/games/tetrix.scores
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -60,6 +61,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/10/22 10:54:35  lisu
+- up to 2.3
+- drop obsoleted -buildfix.patch
+- add -build.patch witch adds more FLAGS to Makefile
+- clean up
+
 Revision 1.2  2009/06/12 07:33:55  pawelz
 - Updated pl description.
 - adapterized
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tetrix/tetrix.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list