Release: 0.9
License: GPL
Group: X11/Applications/Games
-Source0: http://nklein.com/products/54321/1.0.2001.11.16/54321.tgz
+Source0: http://nklein.com/products/54321/1.0.2001.11.16/%{name}.tgz
Source1: %{name}.desktop
-Source2: 54321-exec
-Patch0: 54321-sdl_include_dir_fix.patch
+Source2: %{name}-exec
+Patch0: %{name}-sdl_include_dir_fix.patch
URL: http://www.nklein.com/products/54321/
BuildRequires: SDL-devel
-BuildRequires: SDL_image-devel
+BuildRequires: SDL_image-devel
Requires: SDL >= 1.2.4
-Requires: SDL_image
-Requires: libpng
-Requires: zlib
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%description
-54321 is five games in four-, three-, or two-dimensions for one player.
-54321 takes five classic two-dimensional puzzle games and extends
-them into three and four dimensions.
+54321 is five games in four-, three-, or two-dimensions for one
+player. 54321 takes five classic two-dimensional puzzle games and
+extends them into three and four dimensions.
%description -l pl
-54321 to piêæ gier w czterech, trzech i dwóch wymiarach dla jednego gracza.
-Gry bazuj± na klasycznych puzzlowatych schematach oprawionych w ³adn± grafikê.
+54321 to piêæ gier w czterech, trzech i dwóch wymiarach dla jednego
+gracza. Gry bazuj± na klasycznych puzzlowatych schematach oprawionych
+w ³adn± grafikê.
%prep
-%setup -q -n 54321
+%setup -q -n 54321
%patch0 -p1
%build
mv $RPM_BUILD_ROOT%{_bindir}/54321-exec $RPM_BUILD_ROOT%{_bindir}/54321
install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
-#gzip -9nf README
+#gzip -9nf README
%clean
rm -rf $RPM_BUILD_ROOT