]>
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 |
874f67c9 | 5 | # |
76243dbd JB |
6 | Summary: Realtime audio/video encoder and streaming server |
7 | Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni | |
9fc4ad22 | 8 | Name: ffmpeg |
c32b589f | 9 | Version: 0.4.9 |
f50f7d7c | 10 | %define snap 20060129 |
f3692243 | 11 | Release: 3.%{snap}.8 |
9cf4d8a4 JB |
12 | # LGPL or GPL, chosen at configure time (GPL version is more featured) |
13 | License: GPL | |
9fc4ad22 | 14 | Group: 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 |
17 | Source0: %{name}-%{snap}.tar.bz2 | |
18 | # Source0-md5: d8ea09431d6c0c91bfd35e0ca74a67e1 | |
d7493de8 JB |
19 | Patch0: %{name}-libtool.patch |
20 | Patch1: %{name}-libdir.patch | |
7a286645 | 21 | Patch2: %{name}-gcc4.patch |
bb062d35 | 22 | URL: http://ffmpeg.sourceforge.net/ |
2a60eebe | 23 | BuildRequires: SDL-devel |
e380e18a | 24 | BuildRequires: faac-devel |
b959c224 | 25 | BuildRequires: faad2-devel |
2a60eebe | 26 | BuildRequires: freetype-devel |
4bee03f0 JB |
27 | %ifarch ppc |
28 | # require version with altivec support fixed | |
29 | BuildRequires: gcc >= 5:3.3.2-3 | |
30 | %endif | |
8a764e4b | 31 | %{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2} |
e380e18a | 32 | BuildRequires: lame-libs-devel |
b959c224 | 33 | BuildRequires: libdts-devel |
f3692243 | 34 | BuildRequires: libgsm-devel |
d7493de8 | 35 | BuildRequires: libtheora-devel |
4814ac84 | 36 | BuildRequires: libtool >= 2:1.4d-3 |
e380e18a | 37 | BuildRequires: libvorbis-devel |
e1fe03f7 | 38 | %ifarch %{ix86} |
39 | %ifnarch i386 i486 | |
76243dbd JB |
40 | BuildRequires: nasm |
41 | %endif | |
e1fe03f7 | 42 | %endif |
1463656a KK |
43 | BuildRequires: perl-tools-pod |
44 | BuildRequires: tetex | |
9cf4d8a4 | 45 | BuildRequires: texinfo |
46f2a56b | 46 | BuildRequires: xvid-devel >= 1:1.1.0 |
33a1c0f3 | 47 | BuildRequires: zlib-devel |
57ebb8ad | 48 | %{?with_autoreqdep:BuildConflicts: libpostproc} |
46f2a56b | 49 | Requires: xvid >= 1:1.1.0 |
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 | ||
c01d7857 PS |
55 | %define specflags -fno-strict-aliasing |
56 | ||
57 | # -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one) | |
58 | %define specflags_ia32 -fomit-frame-pointer | |
59 | # -mmmx is needed to enable <mmintrin.h> code. | |
60 | %define specflags_i586 -mmmx | |
61 | %define specflags_i686 -mmmx | |
62 | ||
9fc4ad22 AM |
63 | %description |
64 | ffmpeg is a hyper fast realtime audio/video encoder and streaming | |
65 | server. It can grab from a standard Video4Linux video source and | |
66 | convert it into several file formats based on DCT/motion compensation | |
67 | encoding. Sound is compressed in MPEG audio layer 2 or using an AC3 | |
fda3e16d | 68 | compatible stream. |
9fc4ad22 | 69 | |
539b540f JB |
70 | This package contains also ffmpeg shared libraries (libavcodec and |
71 | libavformat). | |
72 | ||
9fc4ad22 | 73 | %description -l pl |
fda3e16d | 74 | ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym |
75 |