From 40166643d9ce4d60a18dd2728b095bf90eeb97a5 Mon Sep 17 00:00:00 2001 From: zytek Date: Sat, 11 May 2002 16:49:53 +0000 Subject: [PATCH] - finished! Changed files: 54321.spec -> 1.3 --- 54321.spec | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/54321.spec b/54321.spec index 3a69bbf..f068604 100644 --- a/54321.spec +++ b/54321.spec @@ -1,20 +1,21 @@ -Summary: - Preety 3D games for one player. -Summary(pl): - £adne trójwymiarowe gry dla jednego gracza. -Name: - 54321 -Version: - 1.0.2001.11.16 -Release: - 0.1 -License: - GPL -Group: - X11/Applications/Games +Summary: Preety puzzle games for one player. +Summary(pl): £adne puzzlowate gry dla jednego gracza. +Name: 54321 +Version: 1.0.2001.11.16 +Release: 0.9 +License: GPL +Group: X11/Applications/Games Source0: http://nklein.com/products/54321/1.0.2001.11.16/54321.tgz Source1: %{name}.desktop +Source2: 54321-exec Patch0: 54321-sdl_include_dir_fix.patch -URL: - http://www.nklein.com/products/54321/ -BuildRequires: - SDL-devel -BuildRequires: - SDL_image-devel -Requires: - SDL >= 1.2.4 -Requires: - SDL_image -Requires: - libpng -Requires: - zlib +URL: http://www.nklein.com/products/54321/ +BuildRequires: SDL-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 @@ -23,12 +24,13 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) 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. -For more information, see the help within the game. %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ê. %prep -%setup -q +%setup -q -n 54321 %patch0 -p1 %build @@ -36,11 +38,12 @@ For more information, see the help within the game. %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT{%{_applnkdir}/Games \ +install -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT%{_applnkdir}/Games \ $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/54321/Release} cp -r Release/* $RPM_BUILD_ROOT%{_datadir}/54321/Release -ln -sf Release/bin/Linux/54321 $RPM_BUILD_ROOT%{_bindir}/54321 +install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir} +mv $RPM_BUILD_ROOT%{_bindir}/54321-exec $RPM_BUILD_ROOT%{_bindir}/54321 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games #gzip -9nf README @@ -52,4 +55,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) #%doc *.gz %attr(755,root,root) %{_bindir}/* -%{_datadir}/%{name} +%{_datadir}/%{name}/Release/data/* +%attr(755,root,root) %{_datadir}/%{name}/Release/bin/Linux/* +%{_applnkdir}/Games/* -- 2.44.0