#
# Conditional build
-%bcond_without esound # build without esound plugin
+%bcond_with esound # build without esound plugin
%bcond_without flac # build without FLAC plugin
%bcond_without jack # build without jack plugin
%bcond_without mikmod # build without mikmod plugin
Summary(pl.UTF-8): Alsaplayer - odtwarzacz CD/FLAC/MOD/MP3/Ogg/WAV
Name: alsaplayer
Version: 0.99.80
-Release: 1
+Release: 4
License: GPL v3+
Group: Applications/Sound
Source0: http://www.alsaplayer.org/%{name}-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-docs.patch
+Patch1: %{name}-g++.patch
URL: http://www.alsaplayer.org/
BuildRequires: OpenGL-devel
BuildRequires: alsa-lib-devel
Group: X11/Applications/Sound
Requires: %{name} = %{version}-%{release}
Provides: alsaplayer_ui
+Obsoletes: alsaplayer-interface-gtk
%description interface-gtk2
GTK+ 2 interface for Alsaplayer.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
rm -f missing
rm -f $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la}
rm -f $RPM_BUILD_ROOT%{_pkglibdir}/scopes2/*.{a,la}
-%{find_lang} %{name}
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT