]>
Commit | Line | Data |
---|---|---|
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 |
f50f7d7c | 5 | %bcond_without mmx # disable long inline mmx assembly. |
92d426eb | 6 | # gcc4+ doesn't like hard register pressure and won't be fixed. |
96da4392 | 7 | # ffmpeg and other apps should be rewritten with <mmintrin.h>. |
f50f7d7c | 8 | %bcond_with gcc4 # use gcc4 workaround |
874f67c9 | 9 | # |
76243dbd JB |
10 | Summary: Realtime audio/video encoder and streaming server |
11 | Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni | |
9fc4ad22 | 12 | Name: ffmpeg |
c32b589f | 13 | Version: 0.4.9 |
f50f7d7c JB |
14 | %define snap 20060129 |
15 | Release: 3.%{snap}.1 | |
9cf4d8a4 JB |
16 | # LGPL or GPL, chosen at configure time (GPL version is more featured) |
17 | License: GPL | |
9fc4ad22 | 18 | Group: Daemons |
d7493de8 | 19 | #Source0: http://dl.sourceforge.net/ffmpeg/%{name}-%{version}-pre1.tar.gz |
f50f7d7c JB |
20 | #Source0: ftp://ftp2.mplayerhq.hu/MPlayer/cvs/FFMpeg-%{snap}.tar.bz2 |
21 | Source0: %{name}-%{snap}.tar.bz2 | |
22 | # Source0-md5: d8ea09431d6c0c91bfd35e0ca74a67e1 | |
d7493de8 JB |
23 | Patch0: %{name}-libtool.patch |
24 | Patch1: %{name}-libdir.patch | |
f50f7d7c | 25 | Patch2: %{name}-gcc4-workaround.patch |
bb062d35 | 26 | URL: http://ffmpeg.sourceforge.net/ |
2a60eebe | 27 | BuildRequires: SDL-devel |
e380e18a | 28 | BuildRequires: faac-devel |
2a60eebe | 29 | BuildRequires: freetype-devel |
4bee03f0 JB |
30 | %ifarch ppc |
31 | # require version with altivec support fixed | |
32 | BuildRequires: gcc >= 5:3.3.2-3 | |
33 | %endif | |
8a764e4b | 34 | %{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2} |
e380e18a | 35 | BuildRequires: lame-libs-devel |
d7493de8 | 36 | BuildRequires: libtheora-devel |
4814ac84 | 37 | BuildRequires: libtool >= 2:1.4d-3 |
e380e18a | 38 | BuildRequires: libvorbis-devel |
e1fe03f7 | 39 | %ifarch %{ix86} |
40 | %ifnarch i386 i486 | |
76243dbd JB |
41 | BuildRequires: nasm |
42 | %endif | |
e1fe03f7 | 43 | %endif |
1463656a KK |
44 | BuildRequires: perl-tools-pod |
45 | BuildRequires: tetex | |
9cf4d8a4 | 46 | BuildRequires: texinfo |
114b5e6e | 47 | BuildRequires: xvid-devel |
33a1c0f3 | 48 | BuildRequires: zlib-devel |
57ebb8ad | 49 | %{?with_autoreqdep:BuildConflicts: libpostproc} |
af49d6ab | 50 | Obsoletes: libpostproc |
539b540f | 51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9fc4ad22 | 52 | |
2a60eebe JB |
53 | %define _noautoreqdep libGL.so.1 libGLU.so.1 |
54 | ||
9fc4ad22 AM |
55 | %description |
56 | ffmpeg is a hyper fast realtime audio/video encoder and streaming | |
57 | server. It can grab from a standard Video4Linux video source and | |
58 | convert it into several file formats based on DCT/motion compensation | |
59 | encoding. Sound is compressed in MPEG audio layer 2 or using an AC3 | |
fda3e16d | 60 | compatible stream. |
9fc4ad22 | 61 | |
539b540f JB |
62 | This package contains also ffmpeg shared libraries (libavcodec and |
63 | libavformat). | |
64 | ||
9fc4ad22 | 65 | %description -l pl |
fda3e16d | 66 | ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym |
67 |