]>
Commit | Line | Data |
---|---|---|
615dedda | 1 | Summary: A remake of Xor by Astral Software |
2 | Summary(pl.UTF-8): Remake gry Xor stworzonej przez Astral Software | |
3 | Name: XorCurses | |
5b6f4074 | 4 | Version: 0.0.8 |
615dedda | 5 | Release: 1 |
6 | License: GPL | |
ceec41ce | 7 | Group: Applications/Games |
615dedda | 8 | Source0: http://www.jwm-art.net/art/archive/%{name}-%{version}.tar.bz2 |
5b6f4074 | 9 | # Source0-md5: 4205a018fb6f12d9c19b39a53c58c645 |
615dedda | 10 | Patch0: %{name}-Makefile.patch |
5b6f4074 | 11 | Patch1: %{name}-loops.patch |
615dedda | 12 | URL: http://www.jwm-art.net/dark.php?p=XorCurses |
13 | BuildRequires: ncurses-devel | |
615dedda | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | The idea of Xor (XorCurses) is to roam around a series of mazes | |
18 | collecting masks. The first level is simply a matter of finding your | |
19 | way around and locating the masks, but as you progress through the | |
20 | levels you are introduced to moving objects such as fish and chickens, | |
21 | and the bombs. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Ideą Xor (XorCurses) jest wędrowanie przez szereg labiryntów | |
25 | zbierając maski. Pierwszy poziom jest łatwy, polega tylko na | |
26 | szukaniu prawidłowej drogi i zbieraniu masek, ale w miarę | |
27 | przechodzenia do kolejnych poziomów, gracz nauczy się przesuwania | |
28 | obiektów takich jak ryby, kurczaki czy bomby. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | %patch0 -p1 | |
5b6f4074 | 33 | #%%patch1 -p1 |
615dedda | 34 | |
35 | %build | |
36 | %{__make} \ | |
37 | CC="%{__cc}" \ | |
5b6f4074 | 38 | CFLAGS="%{rpmcflags} -std=gnu99 -I/usr/include/ncurses -DDATADIR=\\\"%{_datadir}/%{name}/\\\"" \ |
615dedda | 39 | LDFLAGS="%{rpmldflags}" |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
5b6f4074 | 52 | %doc CHANGES NEWS README TODO |
615dedda | 53 | %attr(755,root,root) %{_bindir}/xorcurses |
54 | %{_datadir}/%{name} |