File et-sdl-sound.spec of Package et-sdl-sound

# spec file for package et-sdl-sound
# Copyright (c) 2011 Javier Llorente <>
# 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
Name:		et-sdl-sound
Version:	29
Release:	0
Summary:	Soundwrapper for Enemy Territory, RTCW and Q3
License:	GPL
Group:		System/Libraries
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
BuildRequires:	gcc-c++
BuildRequires:	libSDL-devel
BuildRequires:	glibc-devel
%ifarch x86_64
BuildRequires:	libstdc++-devel-32bit
BuildRequires:	gcc-32bit
BuildRequires:	libstdc++-devel
BuildRequires:	gcc

Provides SDL-based replacement for deprecated OSS-based sound systems of 
Enemy Territory, Return to Castle Wolfenstein and Quake III Arena.
To put it short, et-sdl-sound is a working ALSA support hack for ET, RTCW
and Q3 (and all mods for those binaries)

%setup -q -n %{name}


install -d %{buildroot}%{_bindir}
install -m755 et-sdl-sound quake3-sdl-sound wolf-sdl-sound wolfsp-sdl-sound %{buildroot}%{_bindir}