]>
Commit | Line | Data |
---|---|---|
2b3b2117 | 1 | # Conditional build: |
839e806f | 2 | %bcond_without imlib2 # we can safely play without it:-) |
c2a62dca | 3 | %bcond_without autoreqdep # don't care about package name deps generated by rpm |
874f67c9 | 4 | # |
839e806f | 5 | %define snap 20060129 |
ed6da456 | 6 | %define _rel 8.5 |
76243dbd JB |
7 | Summary: Realtime audio/video encoder and streaming server |
8 | Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni | |
9fc4ad22 | 9 | Name: ffmpeg |
c32b589f | 10 | Version: 0.4.9 |
839e806f | 11 | Release: 3.%{snap}.%{_rel} |
9cf4d8a4 JB |
12 | # LGPL or GPL, chosen at configure time (GPL version is more featured) |
13 | License: GPL | |
fde29260 | 14 | Group: Applications/Multimedia |
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 | |
fde29260 ER |
19 | Source1: ffserver.init |
20 | Source2: ffserver.sysconfig | |
d7493de8 JB |
21 | Patch0: %{name}-libtool.patch |
22 | Patch1: %{name}-libdir.patch | |
7a286645 | 23 | Patch2: %{name}-gcc4.patch |
bb062d35 | 24 | URL: http://ffmpeg.sourceforge.net/ |
2a60eebe | 25 | BuildRequires: SDL-devel |
e380e18a | 26 | BuildRequires: faac-devel |
b959c224 | 27 | BuildRequires: faad2-devel |
2a60eebe | 28 | BuildRequires: freetype-devel |
4bee03f0 JB |
29 | %ifarch ppc |
30 | # require version with altivec support fixed | |
31 | BuildRequires: gcc >= 5:3.3.2-3 | |
32 | %endif | |
8a764e4b | 33 | %{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2} |
e380e18a | 34 | BuildRequires: lame-libs-devel |
b959c224 | 35 | BuildRequires: libdts-devel |
f3692243 | 36 | BuildRequires: libgsm-devel |
d7493de8 | 37 | BuildRequires: libtheora-devel |
4814ac84 | 38 | BuildRequires: libtool >= 2:1.4d-3 |
e380e18a | 39 | BuildRequires: libvorbis-devel |
839e806f | 40 | #BuildRequires: libx264-devel |
22fb3118 | 41 | BuildRequires: lzo-devel |
e1fe03f7 | 42 | %ifarch %{ix86} |
43 | %ifnarch i386 i486 | |
76243dbd JB |
44 | BuildRequires: nasm |
45 | %endif | |
e1fe03f7 | 46 | %endif |
1463656a | 47 | BuildRequires: perl-tools-pod |
593d3a64 | 48 | BuildRequires: rpmbuild(macros) >= 1.268 |
1463656a | 49 | BuildRequires: tetex |
9cf4d8a4 | 50 | BuildRequires: texinfo |
46f2a56b | 51 | BuildRequires: xvid-devel >= 1:1.1.0 |
33a1c0f3 | 52 | BuildRequires: zlib-devel |
57ebb8ad | 53 | %{?with_autoreqdep:BuildConflicts: libpostproc} |
54ec280e | 54 | Requires: %{name}-libs = %{version}-%{release} |
839e806f | 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 AM |
75 | |
76 | %description -l pl | |
fda3e16d | 77 | ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym |
78 |