]> git.pld-linux.org Git - packages/XorCurses.git/blame - XorCurses.spec
- 0.0.9
[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
b0a5ef41 4Version: 0.0.9
615dedda 5Release: 1
b0a5ef41 6License: GPL v3+
ceec41ce 7Group: Applications/Games
615dedda 8Source0: http://www.jwm-art.net/art/archive/%{name}-%{version}.tar.bz2
b0a5ef41 9# Source0-md5: 0c989feaef1e253125ee8e15c560cdb8
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
23Ideą Xor (XorCurses) jest wędrowanie przez szereg labiryntów
24zbierając maski. Pierwszy poziom jest łatwy, polega tylko na
25szukaniu prawidłowej drogi i zbieraniu masek, ale w miarę
26przechodzenia do kolejnych poziomów, gracz nauczy się przesuwania
27obiektów takich jak ryby, kurczaki czy bomby.
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.081611 seconds and 4 git commands to generate.