1 Summary: Preety puzzle games for one player
2 Summary(pl): £adne uk³adanki dla jednego gracza
4 Version: 1.0.2001.11.16
7 Group: X11/Applications/Games
8 Source0: http://nklein.com/products/54321/1.0.2001.11.16/%{name}.tgz
9 # Source0-md5: 20b2ad52ef45742c1a65911b225b6ddc
10 Source1: %{name}.desktop
12 Patch0: %{name}-sdl_include_dir_fix.patch
13 URL: http://www.nklein.com/products/54321/
14 BuildRequires: SDL-devel
15 BuildRequires: SDL_image-devel
16 Requires: SDL >= 1.2.4
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 54321 is five games in four-, three-, or two-dimensions for one
21 player. 54321 takes five classic two-dimensional puzzle games and
22 extends them into three and four dimensions.
25 54321 to piêæ gier w czterech, trzech i dwóch wymiarach dla jednego
26 gracza. Gry bazuj± na klasycznych schematach uk³adanek; oprawione s± w
34 %{__make} -f GNUmakefile \
37 CXXFLAGS="%{rpmcflags} -I/usr/include/SDL -DNDEBUG=1"
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_bindir},%{_datadir}/54321/bin/Linux,%{_libdir}/54321}
43 cp -r Release/data $RPM_BUILD_ROOT%{_datadir}/54321
44 # hack to preserve %{_datadir} arch-independent
45 install Release/bin/Linux/54321 $RPM_BUILD_ROOT%{_libdir}/54321
46 cat > $RPM_BUILD_ROOT%{_bindir}/54321 <<EOF
48 cd /usr/share/54321/bin/Linux && exec %{_libdir}/54321/54321 \$*
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_bindir}/*
60 %attr(755,root,root) %{_libdir}/%{name}
61 %dir %{_datadir}/%{name}
62 %dir %{_datadir}/%{name}/bin
63 %dir %{_datadir}/%{name}/bin/Linux
64 %{_datadir}/%{name}/data