]> git.pld-linux.org Git - packages/transcode.git/blame - transcode.spec
- BR: pkgconfig, sorted BRs, cleanups
[packages/transcode.git] / transcode.spec
CommitLineData
9c77b8c1 1# TODO:
b5d29c62 2# - split plugins into subpackages. (how? splitting criteria? perhaps by external deps, not by functionality (import/export/..?)
9c77b8c1 3# - disable building of libraries which exist in system (libdv?,libmpeg2 etc.)
bc273673 4# - cmov test is broken, ignores --enable-cmov-extension and tries to read /proc/cpuinfo
b5d29c62 5# - pvm3 needs recompiled with -fPIC, then it can be used here
173bf2e8 6#
3a5a33fc 7# Conditional build:
fd51b56c 8%bcond_without gtk # disable GTK+ dependent stuff
b5d29c62 9%bcond_without avifile # disable avifile module
fd51b56c 10%bcond_without sdl # disable SDL support
11%bcond_without im # disable imagemagick module
b5d29c62 12%bcond_without libmpeg3 # disable libmpeg3 support
b5d29c62
JB
13%bcond_with jpegmmx # jpeg-mmx
14%bcond_with pvm3 # pvm3
15
16# no jpeg-mmx there (doesn't compile)
17%ifnarch i586 i686 athlon
18%undefine with_jpegmmx
19%endif
20# pvm3 needs recompiled with -fPIC
21%ifarch %{x8664} alpha
22%undefine with_pvm3
23%endif
3a5a33fc 24#
1aabd80a
JB
25Summary: Video stream converter
26Summary(pl): Konwerter strumieni video
692e6cca 27Name: transcode
b5d29c62
JB
28Version: 1.0.2
29Release: 1
692e6cca 30License: GPL
31Group: Applications
466c9e81 32Source0: http://www.jakemsr.com/transcode/%{name}-%{version}.tar.gz
b5d29c62 33# Source0-md5: e353c0ab7e927a8672528e05a9ae960b
466c9e81 34URL: http://www.transcoding.org/
a081df10 35%{?with_im:BuildRequires: ImageMagick-devel >= 5.4.3}
bc273673 36%{?with_sdl:BuildRequires: SDL-devel >= 1.1.6}
0da60c37 37BuildRequires: XFree86-devel
09355889 38BuildRequires: a52dec-libs-devel
985963d8
JB
39BuildRequires: autoconf
40BuildRequires: automake >= 1.3
b5d29c62
JB
41%{?with_avifile:BuildRequires: avifile-devel > 3:0.7.43-1}
42BuildRequires: ffmpeg-devel >= 0.4.9-0.pre1
bc273673 43BuildRequires: freetype-devel >= 2.1.2
88967b9a 44BuildRequires: glib-devel >= 0.99.7
a081df10 45%{?with_gtk:BuildRequires: gtk+-devel}
b5d29c62 46%{?with_jpegmmx:BuildRequires: jpeg-mmx}
bc273673 47BuildRequires: lame-libs-devel >= 3.89
c5479046 48BuildRequires: libdv-devel >= 0.103
692e6cca 49BuildRequires: libdvdread-devel
09e58a63 50BuildRequires: libfame-devel
bc273673 51BuildRequires: libjpeg-devel
a081df10 52%{?with_libmpeg3:BuildRequires: libmpeg3-devel}
e6c0f64a 53BuildRequires: libogg-devel
ffe2ce89
KK
54BuildRequires: libpng-devel
55BuildRequires: libquicktime-devel
56BuildRequires: libstdc++-devel
bc273673 57BuildRequires: libtheora-devel
985963d8 58BuildRequires: libtool >= 2:1.5
0da60c37
JB
59BuildRequires: libvorbis-devel
60BuildRequires: libxml2-devel
bc273673 61BuildRequires: lzo-devel
88967b9a 62BuildRequires: mjpegtools-devel
b5d29c62 63BuildRequires: mpeg2dec-devel >= 0.4.0b
bc273673
JB
64%ifarch %{ix86}
65BuildRequires: nasm >= 0.98.34
66%endif
ffe2ce89 67BuildRequires: pkgconfig
b5d29c62 68%{?with_pvm3:BuildRequires: pvm-devel}
dc2b7f6d 69BuildRequires: xvid-devel
692e6cca 70BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71
985963d8
JB
72%define specflags -fomit-frame-pointer
73
692e6cca 74%description
1aabd80a 75Linux Video Stream Processing Tool.
692e6cca 76
77%description -l pl
1aabd80a 78