Release: 1
License: LGPL/GPL
Group: Daemons
-Source0: ftp://ftp.sourceforge.net/pub/sourceforge/ffmpeg/%{name}-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/ffmpeg/%{name}-%{version}.tar.gz
+# Source0-md5: bdd96d28327d3abe02e886c13e633878
Patch0: %{name}-opt.patch
Patch1: %{name}-imlib2.patch
Patch2: %{name}-libtool.patch
URL: http://ffmpeg.sourceforge.net/
%{!?_without_imlib:BuildRequires: imlib2-devel}
-BuildRequires: libtool >= 1:1.4.2-9
+BuildRequires: libtool >= 2:1.4d-3
%ifarch i586 i686 athlon
BuildRequires: nasm
%endif
# note: -fomit-frame-pointer is always needed on x86 due to lack of registers
# (-fPIC takes one)
%{__make} \
+ CC="%{__cc}" \
OPT="%{rpmcflags} -fomit-frame-pointer -I/usr/X11R6/include" \
LDOPT="%{rpmldflags} -L/usr/X11R6/lib"
%attr(755,root,root) %{_libdir}/vhook/fish.so
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
+%if %{!?_without_imlib:1}0
%files vhook-imlib2
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/vhook/imlib2.so
+%endif
%files devel
%defattr(644,root,root,755)