]>
Commit | Line | Data |
---|---|---|
6983d0ea PG |
1 | # TODO: |
2 | # - separate ffserver and its config to separate server package. | |
3 | # Make whole init-stuff for it. | |
f9124991 | 4 | # - make -libs package and leave ffmpeg binary to main |
2a60eebe | 5 | # |
2b3b2117 | 6 | # Conditional build: |
8063dce4 | 7 | %bcond_without imlib2 # we can safely play without it :-) |
c2a62dca | 8 | %bcond_without autoreqdep # don't care about package name deps generated by rpm |
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 | 14 | %define snap 20060129 |
f3692243 | 15 | Release: 3.%{snap}.8 |
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 | |
7a286645 | 25 | Patch2: %{name}-gcc4.patch |
bb062d35 | 26 | URL: http://ffmpeg.sourceforge.net/ |
2a60eebe | 27 | BuildRequires: SDL-devel |
e380e18a | 28 | BuildRequires: faac-devel |
b959c224 | 29 | BuildRequires: faad2-devel |
2a60eebe | 30 | BuildRequires: freetype-devel |
4bee03f0 JB |
31 | %ifarch ppc |
32 | # require version with altivec support fixed | |
33 | BuildRequires: gcc >= 5:3.3.2-3 | |
34 | %endif | |
8a764e4b | 35 | %{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2} |
e380e18a | 36 | BuildRequires: lame-libs-devel |
6e2e4b86 | 37 | #BuildRequires: libx264-devel |
b959c224 | 38 | BuildRequires: libdts-devel |
f3692243 | 39 | BuildRequires: libgsm-devel |
d7493de8 | 40 | BuildRequires: libtheora-devel |
4814ac84 | 41 | BuildRequires: libtool >= 2:1.4d-3 |
e380e18a | 42 | BuildRequires: libvorbis-devel |
22fb3118 | 43 | BuildRequires: lzo-devel |
e1fe03f7 | 44 | %ifarch %{ix86} |
45 | %ifnarch i386 i486 | |
76243dbd JB |
46 | BuildRequires: nasm |
47 | %endif | |
e1fe03f7 | 48 | %endif |
1463656a KK |
49 | BuildRequires: perl-tools-pod |
50 | BuildRequires: tetex | |
9cf4d8a4 | 51 | BuildRequires: texinfo |
46f2a56b | 52 | BuildRequires: xvid-devel >= 1:1.1.0 |
33a1c0f3 | 53 | BuildRequires: zlib-devel |
57ebb8ad | 54 | %{?with_autoreqdep:BuildConflicts: libpostproc} |
46f2a56b | 55 | Requires: xvid >= 1:1.1.0 |
af49d6ab | 56 | Obsoletes: libpostproc |
539b540f | 57 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9fc4ad22 | 58 | |
2a60eebe JB |
59 | %define _noautoreqdep libGL.so.1 libGLU.so.1 |
60 | ||
c01d7857 PS |
61 | %define specflags -fno-strict-aliasing |
62 | ||
63 | # -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one) | |
64 | %define specflags_ia32 -fomit-frame-pointer | |
65 | # -mmmx is needed to enable <mmintrin.h> code. | |
66 | %define specflags_i586 -mmmx | |
67 | %define specflags_i686 -mmmx | |
68 | ||
9fc4ad22 AM |
69 | %description |
70 | ffmpeg is a hyper fast realtime audio/video encoder and streaming | |
71 | server. It can grab from a standard Video4Linux video source and | |
72 | convert it into several file formats based on DCT/motion compensation | |
73 | encoding. Sound is compressed in MPEG audio layer 2 or using an AC3 | |
fda3e16d | 74 | compatible stream. |
9fc4ad22 | 75 | |
539b540f JB |
76 | This package contains also ffmpeg shared libraries (libavcodec and |
77 | libavformat). | |
78 | ||
9fc4ad22 | 79 | %description -l pl |
fda3e16d | 80 | ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym |
81 |