]> git.pld-linux.org Git - packages/XorCurses.git/blame - XorCurses.spec
- up to 0.0.8
[packages/XorCurses.git] / XorCurses.spec
CommitLineData
615dedda 1Summary: A remake of Xor by Astral Software
2Summary(pl.UTF-8): Remake gry Xor stworzonej przez Astral Software
3Name: XorCurses
5b6f4074 4Version: 0.0.8
615dedda 5Release: 1
6License: GPL
ceec41ce 7Group: Applications/Games
615dedda 8Source0: http://www.jwm-art.net/art/archive/%{name}-%{version}.tar.bz2
5b6f4074 9# Source0-md5: 4205a018fb6f12d9c19b39a53c58c645
615dedda 10Patch0: %{name}-Makefile.patch
5b6f4074 11Patch1: %{name}-loops.patch
615dedda 12URL: http://www.jwm-art.net/dark.php?p=XorCurses
13BuildRequires: ncurses-devel
615dedda 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The idea of Xor (XorCurses) is to roam around a series of mazes
18collecting masks. The first level is simply a matter of finding your
19way around and locating the masks, but as you progress through the
20levels you are introduced to moving objects such as fish and chickens,
21and the bombs.
22
23%description -l pl.UTF-8
24Ideą Xor (XorCurses) jest wędrowanie przez szereg labiryntów
25zbierając maski. Pierwszy poziom jest łatwy, polega tylko na
26szukaniu prawidłowej drogi i zbieraniu masek, ale w miarę
27przechodzenia do kolejnych poziomów, gracz nauczy się przesuwania
28obiektó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
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47%clean
48rm -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}
This page took 0.171 seconds and 4 git commands to generate.