]> git.pld-linux.org Git - SPECS.git/blob - XorCurses.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.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.1.2
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Games
8 Source0:        http://www.jwm-art.net/art/archive/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b5056fcc8a5e2028a20f1fab5ba8c714
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 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.
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.034991 seconds and 3 git commands to generate.