]> git.pld-linux.org Git - packages/ffmpeg.git/blame - ffmpeg.spec
- my vision ;)
[packages/ffmpeg.git] / ffmpeg.spec
CommitLineData
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
10Summary: Realtime audio/video encoder and streaming server
11Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
9fc4ad22 12Name: ffmpeg
c32b589f 13Version: 0.4.9
f50f7d7c 14%define snap 20060129
f3692243 15Release: 3.%{snap}.8
9cf4d8a4
JB
16# LGPL or GPL, chosen at configure time (GPL version is more featured)
17License: GPL
9fc4ad22 18Group: 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
21Source0: %{name}-%{snap}.tar.bz2
22# Source0-md5: d8ea09431d6c0c91bfd35e0ca74a67e1
d7493de8
JB
23Patch0: %{name}-libtool.patch
24Patch1: %{name}-libdir.patch
7a286645 25Patch2: %{name}-gcc4.patch
bb062d35 26URL: http://ffmpeg.sourceforge.net/
2a60eebe 27BuildRequires: SDL-devel
e380e18a 28BuildRequires: faac-devel
b959c224 29BuildRequires: faad2-devel
2a60eebe 30BuildRequires: freetype-devel
4bee03f0
JB
31%ifarch ppc
32# require version with altivec support fixed
33BuildRequires: gcc >= 5:3.3.2-3
34%endif
8a764e4b 35%{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2}
e380e18a 36BuildRequires: lame-libs-devel
6e2e4b86 37#BuildRequires: libx264-devel
b959c224 38BuildRequires: libdts-devel
f3692243 39BuildRequires: libgsm-devel
d7493de8 40BuildRequires: libtheora-devel
4814ac84 41BuildRequires: libtool >= 2:1.4d-3
e380e18a 42BuildRequires: libvorbis-devel
22fb3118 43BuildRequires: lzo-devel
e1fe03f7 44%ifarch %{ix86}
45%ifnarch i386 i486
76243dbd
JB
46BuildRequires: nasm
47%endif
e1fe03f7 48%endif
1463656a
KK
49BuildRequires: perl-tools-pod
50BuildRequires: tetex
9cf4d8a4 51BuildRequires: texinfo
46f2a56b 52BuildRequires: xvid-devel >= 1:1.1.0
33a1c0f3 53BuildRequires: zlib-devel
57ebb8ad 54%{?with_autoreqdep:BuildConflicts: libpostproc}
46f2a56b 55Requires: xvid >= 1:1.1.0
af49d6ab 56Obsoletes: libpostproc
539b540f 57BuildRoot: %{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
70ffmpeg is a hyper fast realtime audio/video encoder and streaming
71server. It can grab from a standard Video4Linux video source and
72convert it into several file formats based on DCT/motion compensation
73encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
fda3e16d 74compatible stream.
9fc4ad22 75
539b540f
JB
76This package contains also ffmpeg shared libraries (libavcodec and
77libavformat).
78
9fc4ad22 79%description -l pl
fda3e16d 80ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
81