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