]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: only lzo 1.x is supported | |
3 | # | |
4 | # Conditional build: | |
5 | %bcond_without imlib2 # don't build imlib2 vhook module | |
6 | %bcond_without autoreqdep # don't care about package name deps generated by rpm | |
7 | # | |
8 | %define snap 20060129 | |
9 | %define _rel 8.7 | |
10 | Summary: Realtime audio/video encoder and streaming server | |
11 | Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni | |
12 | Name: ffmpeg | |
13 | Version: 0.4.9 | |
14 | Release: 3.%{snap}.%{_rel} | |
15 | # LGPL or GPL, chosen at configure time (GPL version is more featured) | |
16 | License: GPL | |
17 | Group: Applications/Multimedia | |
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: %{name}-%{snap}.tar.bz2 | |
21 | # Source0-md5: d8ea09431d6c0c91bfd35e0ca74a67e1 | |
22 | Source1: ffserver.init | |
23 | Source2: ffserver.sysconfig | |
24 | Source3: ffserver.conf | |
25 | Patch0: %{name}-libtool.patch | |
26 | Patch1: %{name}-libdir.patch | |
27 | Patch2: %{name}-gcc4.patch | |
28 | URL: http://ffmpeg.sourceforge.net/ | |
29 | BuildRequires: SDL-devel | |
30 | BuildRequires: faac-devel | |
31 | BuildRequires: faad2-devel | |
32 | BuildRequires: freetype-devel | |
33 | %ifarch ppc | |
34 | # require version with altivec support fixed | |
35 | BuildRequires: gcc >= 5:3.3.2-3 | |
36 | %endif | |
37 | %{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2} | |
38 | BuildRequires: lame-libs-devel | |
39 | BuildRequires: libdts-devel | |
40 | BuildRequires: libgsm-devel | |
41 | BuildRequires: libtheora-devel | |
42 | BuildRequires: libtool >= 2:1.4d-3 | |
43 | BuildRequires: libvorbis-devel | |
44 | #BuildRequires: libx264-devel | |
45 | BuildRequires: lzo-devel | |
46 | %ifarch %{ix86} | |
47 | %ifnarch i386 i486 | |
48 | BuildRequires: nasm | |
49 | %endif | |
50 | %endif | |
51 | BuildRequires: perl-tools-pod | |
52 | BuildRequires: rpmbuild(macros) >= 1.268 | |
53 | BuildRequires: tetex | |
54 | BuildRequires: texinfo | |
55 | BuildRequires: xvid-devel >= 1:1.1.0 | |
56 | BuildRequires: zlib-devel | |
57 | %{?with_autoreqdep:BuildConflicts: libpostproc} | |
58 | Requires: %{name}-libs = %{version}-%{release} | |
59 | Requires: xvid >= 1:1.1.0 | |
60 | Obsoletes: libpostproc | |
61 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
62 | ||
63 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
64 | ||
65 | %define specflags -fno-strict-aliasing | |
66 | ||
67 | # -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one) | |
68 | %define specflags_ia32 -fomit-frame-pointer | |
69 | # -mmmx is needed to enable <mmintrin.h> code. | |
70 | %define specflags_i586 -mmmx | |
71 | %define specflags_i686 -mmmx | |
72 | ||
73 | %description | |
74 | ffmpeg is a hyper fast realtime audio/video encoder and streaming | |
75 | server. It can grab from a standard Video4Linux video source and | |
76 | convert it into several file formats based on DCT/motion compensation | |
77 | encoding. Sound is compressed in MPEG audio layer 2 or using an AC3 | |
78 | compatible stream. | |
79 | ||
80 | %description -l pl | |
81 | ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym | |
82 |