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