forked from pool/blockout
47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
|
Name: blockout
|
||
|
Version: 2.4
|
||
|
Release: 1
|
||
|
Summary: A free clone of the original BlockOut DOS game
|
||
|
Group: Productivity/Networking/System
|
||
|
License: GPL v2
|
||
|
Url: http://blockout.net/
|
||
|
|
||
|
Source: bl24-src-linux-i586.tar.xz
|
||
|
Patch1: automake.diff
|
||
|
Patch2: compilefixes.diff
|
||
|
Patch3: bl2home.diff
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildRequires: autoconf automake libtool
|
||
|
BuildRequires: gcc-c++ pkgconfig(sdl) pkgconfig(SDL_mixer) xz
|
||
|
%if 0%{?suse_version} >= 1220
|
||
|
BuildRequires: pkgconfig(libpng15)
|
||
|
%else
|
||
|
BuildRequires: pkgconfig(libpng14)
|
||
|
%endif
|
||
|
|
||
|
%description
|
||
|
BlockOut II is a free adaptation of the original BlockOut DOS game
|
||
|
edited by California Dreams in 1989. BlockOut II has the same
|
||
|
features than the original game with few graphic improvements. The
|
||
|
game has been designed to reproduce the original game kinematics as
|
||
|
accurately as possible.
|
||
|
|
||
|
%prep
|
||
|
%setup -qn bl24_lin_src
|
||
|
%patch -P 1 -P 2 -P 3 -p1
|
||
|
|
||
|
%build
|
||
|
autoreconf -fi
|
||
|
%configure
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR="%buildroot";
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%_bindir/blockout
|
||
|
%_datadir/%name
|
||
|
|
||
|
%changelog
|