SHA256
1
0
forked from pool/blockout
blockout/blockout.spec
Jan Engelhardt 17a51b5429 Accepting request 155783 from home:pgajdos:libpng16
- build also against libpng16
  * modified compilefixes.diff (#include <string.h> in hpng.c)
  * modified automake.diff (look for libpng16 and then for libpng15)

OBS-URL: https://build.opensuse.org/request/show/155783
OBS-URL: https://build.opensuse.org/package/show/games/blockout?expand=0&rev=5
2013-02-19 08:54:49 +00:00

66 lines
1.9 KiB
RPMSpec

#
# spec file for package blockout
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: blockout
Version: 2.4
Release: 0
Summary: A free clone of the original BlockOut DOS game
License: GPL-2.0
Group: Productivity/Networking/System
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
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: xz
BuildRequires: pkgconfig(SDL_mixer)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(sdl)
%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