SPECS: XorCurses.spec (NEW) - added to CVS

lisu lisu at pld-linux.org
Wed Mar 4 11:22:56 CET 2009


Author: lisu                         Date: Wed Mar  4 10:22:56 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added to CVS

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

---- Diffs:

================================================================
Index: SPECS/XorCurses.spec
diff -u /dev/null SPECS/XorCurses.spec:1.1
--- /dev/null	Wed Mar  4 11:22:56 2009
+++ SPECS/XorCurses.spec	Wed Mar  4 11:22:51 2009
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+Summary:	A remake of Xor by Astral Software
+Summary(pl.UTF-8):	Remake gry Xor stworzonej przez Astral Software
+Name:		XorCurses
+Version:	0.0.6b
+Release:	1
+License:	GPL
+Group:		Applications
+Source0:	http://www.jwm-art.net/art/archive/%{name}-%{version}.tar.bz2
+# Source0-md5:	e86eaa885204857a65f40a7ecedb4077
+Patch0:		%{name}-Makefile.patch
+URL:		http://www.jwm-art.net/dark.php?p=XorCurses
+BuildRequires:	ncurses-devel
+BuildRequires:	sed >= 4.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The idea of Xor (XorCurses) is to roam around a series of mazes
+collecting masks. The first level is simply a matter of finding your
+way around and locating the masks, but as you progress through the
+levels you are introduced to moving objects such as fish and chickens,
+and the bombs.
+
+%description -l pl.UTF-8
+Ideą Xor (XorCurses) jest wędrowanie przez szereg labiryntów
+zbierając maski. Pierwszy poziom jest łatwy, polega tylko na
+szukaniu prawidłowej drogi i zbieraniu masek, ale w miarę
+przechodzenia do kolejnych poziomów, gracz nauczy się przesuwania
+obiektów takich jak ryby, kurczaki czy bomby.
+
+%prep
+%setup -q
+%patch0 -p1
+%{__sed} -i 's@<curses.h>@<ncurses/curses.h>@' `grep -r -l '<curses.h>' .`
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -DDATADIR=\\\"%{_datadir}/%{name}/\\\"" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES HACKING NEWS README TODO
+%attr(755,root,root) %{_bindir}/xorcurses
+%{_datadir}/%{name}
+
+%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  2009/03/04 10:22:51  lisu
+- added to CVS
+
================================================================


More information about the pld-cvs-commit mailing list