]> git.pld-linux.org Git - packages/XorCurses.git/blob - XorCurses.spec
- up to 0.0.8
[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 Patch1:         %{name}-loops.patch
12 URL:            http://www.jwm-art.net/dark.php?p=XorCurses
13 BuildRequires:  ncurses-devel
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
33 #%%patch1 -p1
34
35 %build
36 %{__make} \
37         CC="%{__cc}" \
38         CFLAGS="%{rpmcflags} -std=gnu99 -I/usr/include/ncurses -DDATADIR=\\\"%{_datadir}/%{name}/\\\"" \
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)
52 %doc CHANGES NEWS README TODO
53 %attr(755,root,root) %{_bindir}/xorcurses
54 %{_datadir}/%{name}
This page took 0.090227 seconds and 3 git commands to generate.