]> git.pld-linux.org Git - packages/ffmpeg.git/blobdiff - ffmpeg.spec
- spaces -> tabs
[packages/ffmpeg.git] / ffmpeg.spec
index 79b18aff0e8352f77df998d4e6cbb8bdc239f515..e5e5871b26bf537f228ed67575aef2672200b3f3 100644 (file)
@@ -10,13 +10,14 @@ Version:    0.4.6
 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
@@ -105,6 +106,7 @@ Statyczne biblioteki ffmpeg (libavcodec i libavformat).
 # 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"
 
@@ -138,9 +140,11 @@ rm -rf $RPM_BUILD_ROOT
 %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)
This page took 0.026317 seconds and 4 git commands to generate.