File vdr-plugin-games.spec of Package vdr-plugin-games

# spec file for package vdr-plugin-games
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 B1 Systems GmbH, Vohburg, 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

%define pluginname games
Name:           vdr-plugin-%{pluginname}
Version:        0.6.3
Release:        0
Summary:        The VdrGames-Plugin is an OSD games collection
License:        GPL-2.0
Group:          Hardware/TV
Source0:        vdr-%{pluginname}-%{version}.tar.bz2
Patch0:         fpic.diff
Patch1:         gcc46.diff
BuildRequires:  gcc-c++
BuildRequires:  pkg-config
BuildRequires:  vdr-devel
PreReq:         %vdr_prereq
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The VdrGames-Plugin  is an OSD games collection (formaly known as the tetris plugin).

This collection currently contains Tetris, Tron, TicTacToe, Snake and Minesweeper.

%setup -q -n %{pluginname}-%{version}
%patch0 -p 1
%patch1 -p 1


install -m 0755 -d %{buildroot}%{_libdir}/vdr
install -m 0755{vdr_apiversion} %{buildroot}%{_libdir}/vdr/