]> git.pld-linux.org Git - packages/ffmpeg.git/blame - ffmpeg.spec
- normalize bcond for omitting BC
[packages/ffmpeg.git] / ffmpeg.spec
CommitLineData
2a60eebe 1#
2b3b2117 2# Conditional build:
8063dce4 3%bcond_without imlib2 # we can safely play without it :-)
57ebb8ad 4%bcond_without autoreqdep # don't care about package name deps generated by rpm
874f67c9 5#
76243dbd
JB
6Summary: Realtime audio/video encoder and streaming server
7Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
9fc4ad22 8Name: ffmpeg
c32b589f 9Version: 0.4.9
faa10a21 10Release: 0.pre1.1
9cf4d8a4
JB
11# LGPL or GPL, chosen at configure time (GPL version is more featured)
12License: GPL
9fc4ad22 13Group: Daemons
c32b589f 14Source0: http://dl.sourceforge.net/ffmpeg/%{name}-%{version}-pre1.tar.gz
15# Source0-md5: ea5587e3c66d50b1503b82ac4179c303
9cf4d8a4
JB
16Patch0: %{name}-imlib2.patch
17Patch1: %{name}-libtool.patch
bb062d35 18URL: http://ffmpeg.sourceforge.net/
2a60eebe
JB
19BuildRequires: SDL-devel
20BuildRequires: freetype-devel
4bee03f0
JB
21%ifarch ppc
22# require version with altivec support fixed
23BuildRequires: gcc >= 5:3.3.2-3
24%endif
8a764e4b 25%{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2}
4814ac84 26BuildRequires: libtool >= 2:1.4d-3
a712d7d0 27BuildRequires: faac-devel
e1fe03f7 28%ifarch %{ix86}
29%ifnarch i386 i486
76243dbd
JB
30BuildRequires: nasm
31%endif
e1fe03f7 32%endif
1463656a
KK
33BuildRequires: perl-tools-pod
34BuildRequires: tetex
9cf4d8a4 35BuildRequires: texinfo
539b540f 36BuildRequires: zlib-devel
a712d7d0 37BuildRequires: lame-libs-devel
38BuildRequires: libvorbis-devel
57ebb8ad 39%{?with_autoreqdep:BuildConflicts: libpostproc}
af49d6ab 40Obsoletes: libpostproc
539b540f 41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9fc4ad22 42
2a60eebe
JB
43%define _noautoreqdep libGL.so.1 libGLU.so.1
44
9fc4ad22
AM
45%description
46ffmpeg is a hyper fast realtime audio/video encoder and streaming
47server. It can grab from a standard Video4Linux video source and
48convert it into several file formats based on DCT/motion compensation
49encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
fda3e16d 50compatible stream.
9fc4ad22 51
539b540f
JB
52This package contains also ffmpeg shared libraries (libavcodec and
53libavformat).
54
9fc4ad22 55%description -l pl
fda3e16d 56ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
57