]> git.pld-linux.org Git - packages/ffmpeg.git/blame - ffmpeg.spec
- gcc4 fix finished.
[packages/ffmpeg.git] / ffmpeg.spec
CommitLineData
2a60eebe 1#
2b3b2117 2# Conditional build:
8063dce4 3%bcond_without imlib2 # we can safely play without it :-)
c2a62dca 4%bcond_without autoreqdep # don't care about package name deps generated by rpm
874f67c9 5#
76243dbd
JB
6Summary: Realtime audio/video encoder and streaming server
7Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
9fc4ad22 8Name: ffmpeg
c32b589f 9Version: 0.4.9
f50f7d7c 10%define snap 20060129
7a286645 11Release: 3.%{snap}.2
9cf4d8a4
JB
12# LGPL or GPL, chosen at configure time (GPL version is more featured)
13License: GPL
9fc4ad22 14Group: Daemons
d7493de8 15#Source0: http://dl.sourceforge.net/ffmpeg/%{name}-%{version}-pre1.tar.gz
f50f7d7c
JB
16#Source0: ftp://ftp2.mplayerhq.hu/MPlayer/cvs/FFMpeg-%{snap}.tar.bz2
17Source0: %{name}-%{snap}.tar.bz2
18# Source0-md5: d8ea09431d6c0c91bfd35e0ca74a67e1
d7493de8
JB
19Patch0: %{name}-libtool.patch
20Patch1: %{name}-libdir.patch
7a286645 21Patch2: %{name}-gcc4.patch
bb062d35 22URL: http://ffmpeg.sourceforge.net/
2a60eebe 23BuildRequires: SDL-devel
e380e18a 24BuildRequires: faac-devel
2a60eebe 25BuildRequires: freetype-devel
4bee03f0
JB
26%ifarch ppc
27# require version with altivec support fixed
28BuildRequires: gcc >= 5:3.3.2-3
29%endif
8a764e4b 30%{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2}
e380e18a 31BuildRequires: lame-libs-devel
d7493de8 32BuildRequires: libtheora-devel
4814ac84 33BuildRequires: libtool >= 2:1.4d-3
e380e18a 34BuildRequires: libvorbis-devel
e1fe03f7 35%ifarch %{ix86}
36%ifnarch i386 i486
76243dbd
JB
37BuildRequires: nasm
38%endif
e1fe03f7 39%endif
1463656a
KK
40BuildRequires: perl-tools-pod
41BuildRequires: tetex
9cf4d8a4 42BuildRequires: texinfo
114b5e6e 43BuildRequires: xvid-devel
33a1c0f3 44BuildRequires: zlib-devel
57ebb8ad 45%{?with_autoreqdep:BuildConflicts: libpostproc}
af49d6ab 46Obsoletes: libpostproc
539b540f 47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9fc4ad22 48
2a60eebe
JB
49%define _noautoreqdep libGL.so.1 libGLU.so.1
50
9fc4ad22
AM
51%description
52ffmpeg is a hyper fast realtime audio/video encoder and streaming
53server. It can grab from a standard Video4Linux video source and
54convert it into several file formats based on DCT/motion compensation
55encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
fda3e16d 56compatible stream.
9fc4ad22 57
539b540f
JB
58This package contains also ffmpeg shared libraries (libavcodec and
59libavformat).
60
9fc4ad22 61%description -l pl
fda3e16d 62ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
63