SPECS: tetrix.spec (NEW) - initial PLD release

pawelz pawelz at pld-linux.org
Sat Aug 9 00:10:14 CEST 2008


Author: pawelz                       Date: Fri Aug  8 22:10:14 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   tetrix.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/tetrix.spec
diff -u /dev/null SPECS/tetrix.spec:1.1
--- /dev/null	Sat Aug  9 00:10:14 2008
+++ SPECS/tetrix.spec	Sat Aug  9 00:10:09 2008
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+#
+Summary:	A curses-based clone of Tetris.
+Summary(pl.UTF-8):	Klon gry Tetris typu roguelike.
+Name:		tetrix
+Version:	2.2
+Release:	0.1
+License:	GPL v. 2
+Group:		Applications/Games
+Source0:	http://www.catb.org/~esr/tetrix/%{name}-%{version}.tar.gz
+# Source0-md5:	141390f40c9c03a9b54455e257e0eafc
+Patch0:		%{name}-buildfix.patch
+Patch1:		%{name}-scoresfile.patch
+URL:		http://www.catb.org/~esr/tetrix/
+BuildRequires:	ncurses-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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
+bibliotekę curses.
+
+%prep
+%setup -q
+
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__make} tetrix \
+	CFLAGS=-I/usr/include/ncurses
+
+%{__make} tetrix.6
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,/var/games}
+install tetrix $RPM_BUILD_ROOT%{_bindir}
+install tetrix.6 $RPM_BUILD_ROOT%{_mandir}/man6
+touch $RPM_BUILD_ROOT/var/games/tetrix.scores
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%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
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/08/08 22:10:09  pawelz
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list