#
# Conditional build:
%bcond_without imlib2 # we can safely play without it :-)
-%bcond_without broken_rpm # dont BC packages because of logic error in Ac
+%bcond_without autoreqdep # don't care about package name deps generated by rpm
#
Summary: Realtime audio/video encoder and streaming server
Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
Patch0: %{name}-imlib2.patch
Patch1: %{name}-libtool.patch
URL: http://ffmpeg.sourceforge.net/
-%if %{with broken_rpm}
-BuildConflicts: libpostproc
-%endif
BuildRequires: SDL-devel
BuildRequires: freetype-devel
%ifarch ppc
BuildRequires: zlib-devel
BuildRequires: lame-libs-devel
BuildRequires: libvorbis-devel
+%{?with_autoreqdep:BuildConflicts: libpostproc}
Obsoletes: libpostproc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)