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