]> git.pld-linux.org Git - packages/XorCurses.git/blob - XorCurses.spec
cc16d2816484ec030f6a23ec04e505363744481f
[packages/XorCurses.git] / XorCurses.spec
1 Summary:        A remake of Xor by Astral Software
2 Summary(pl.UTF-8):      Remake gry Xor stworzonej przez Astral Software
3 Name:           XorCurses
4 Version:        0.0.8
5 Release:        1
6 License:        GPL
7 Group:          Applications/Games
8 Source0:        http://www.jwm-art.net/art/archive/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4205a018fb6f12d9c19b39a53c58c645
10 Patch0:         %{name}-Makefile.patch
11 URL:            http://www.jwm-art.net/dark.php?p=XorCurses
12 BuildRequires:  ncurses-devel
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
23 Ideą Xor (XorCurses) jest wędrowanie przez szereg labiryntów
24 zbierając maski. Pierwszy poziom jest łatwy, polega tylko na
25 szukaniu prawidłowej drogi i zbieraniu masek, ale w miarę
26 przechodzenia do kolejnych poziomów, gracz nauczy się przesuwania
27 obiektów takich jak ryby, kurczaki czy bomby.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32
33 %build
34 %{__make} \
35         CC="%{__cc}" \
36         CFLAGS="%{rpmcflags} -std=gnu99 -I/usr/include/ncurses -DDATADIR=\\\"%{_datadir}/%{name}/\\\"" \
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)
50 %doc CHANGES NEWS README TODO
51 %attr(755,root,root) %{_bindir}/xorcurses
52 %{_datadir}/%{name}
This page took 0.069719 seconds and 2 git commands to generate.