|
@@ -33,8 +33,8 @@ Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
Class: EVAL
|
|
|
Group: Games
|
|
Group: Games
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: 2.4.1
|
|
|
|
|
-Release: 20040207
|
|
|
|
|
|
|
+Version: 2.5
|
|
|
|
|
+Release: 20040808
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://osdn.dl.sourceforge.net/sourceforge/lgames/lbreakout2-%{version}.tar.gz
|
|
Source0: http://osdn.dl.sourceforge.net/sourceforge/lgames/lbreakout2-%{version}.tar.gz
|
|
@@ -42,7 +42,7 @@ Source0: http://osdn.dl.sourceforge.net/sourceforge/lgames/lbreakout2-%{ver
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130, make, X11, sdl >= 1.2.5, png, zlib
|
|
|
|
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20040130, X11, sdl >= 1.2.5, png, zlib, make
|
|
|
PreReq: OpenPKG, openpkg >= 20040130, X11, sdl >= 1.2.5, png, zlib
|
|
PreReq: OpenPKG, openpkg >= 20040130, X11, sdl >= 1.2.5, png, zlib
|
|
|
AutoReq: no
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
AutoReqProv: no
|
|
@@ -65,11 +65,11 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -n lbreakout2-%{version}
|
|
%setup -q -n lbreakout2-%{version}
|
|
|
- %{l_shtool} subst \
|
|
|
|
|
- -e 's;$datadir/games/lbreakout2;$datadir;g' \
|
|
|
|
|
- configure
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's;$datadir/lbreakout2;$datadir;g' \
|
|
|
|
|
+ configure
|
|
|
CC="%{l_cc}" \
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
CPPFLAGS="%{l_cppflags}" \
|
|
CPPFLAGS="%{l_cppflags}" \
|
|
@@ -92,9 +92,6 @@ AutoReqProv: no
|
|
|
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
mv $RPM_BUILD_ROOT%{l_prefix}/bin/lbreakout2 \
|
|
mv $RPM_BUILD_ROOT%{l_prefix}/bin/lbreakout2 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin/lbreakout
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin/lbreakout
|
|
|
- mv $RPM_BUILD_ROOT%{l_prefix}/share/lbreakout/doc/lbreakout2/* \
|
|
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/share/lbreakout/doc/
|
|
|
|
|
- rmdir $RPM_BUILD_ROOT%{l_prefix}/share/lbreakout/doc/lbreakout2
|
|
|
|
|
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
|
|
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|