]> git.pld-linux.org Git - packages/transcode.git/blame - transcode.spec
- fix x86_64 again (are we there yet ?)
[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:
b5d29c62 8%bcond_without avifile # disable avifile module
18be77ee 9%bcond_without gtk # disable GTK+ dependent stuff
10%bcond_without im # disable imagemagick module
11%bcond_without libmpeg2 # disable libmpeg2 support
b5d29c62 12%bcond_without libmpeg3 # disable libmpeg3 support
18be77ee 13%bcond_without lzo # disable lzo support
14%bcond_without mjpeg # disable mjpegtools support
15%bcond_without sdl # disable SDL support
b5d29c62
JB
16%bcond_with jpegmmx # jpeg-mmx
17%bcond_with pvm3 # pvm3
18
19# no jpeg-mmx there (doesn't compile)
20%ifnarch i586 i686 athlon
21%undefine with_jpegmmx
22%endif
23# pvm3 needs recompiled with -fPIC
24%ifarch %{x8664} alpha
25%undefine with_pvm3
26%endif
3a5a33fc 27#
1aabd80a
JB
28Summary: Video stream converter
29Summary(pl): Konwerter strumieni video
692e6cca 30Name: transcode
b5d29c62 31Version: 1.0.2
a083a3eb 32Release: 1.2
692e6cca 33License: GPL
34Group: Applications
466c9e81 35Source0: http://www.jakemsr.com/transcode/%{name}-%{version}.tar.gz
b5d29c62 36# Source0-md5: e353c0ab7e927a8672528e05a9ae960b
a083a3eb
AM
37Patch0: %{name}-ac.patch
38Patch1: %{name}-lzo2.patch
39Patch2: %{name}-bigdir.patch
b22bf938 40Patch3: %{name}-mpeg3.patch
ba2e284e 41Patch4: %{name}-libx86_64.patch
466c9e81 42URL: http://www.transcoding.org/
18be77ee 43BuildRequires: xorg-lib-libXaw-devel
44BuildRequires: xorg-lib-libXpm-devel
a081df10 45%{?with_im:BuildRequires: ImageMagick-devel >= 5.4.3}
bc273673 46%{?with_sdl:BuildRequires: SDL-devel >= 1.1.6}
09355889 47BuildRequires: a52dec-libs-devel
985963d8
JB
48BuildRequires: autoconf
49BuildRequires: automake >= 1.3
b5d29c62
JB
50%{?with_avifile:BuildRequires: avifile-devel > 3:0.7.43-1}
51BuildRequires: ffmpeg-devel >= 0.4.9-0.pre1
bc273673 52BuildRequires: freetype-devel >= 2.1.2
a081df10 53%{?with_gtk:BuildRequires: gtk+-devel}
b5d29c62 54%{?with_jpegmmx:BuildRequires: jpeg-mmx}
bc273673 55BuildRequires: lame-libs-devel >= 3.89
18be77ee 56BuildRequires: libdv-devel >= 0.104-3
692e6cca 57BuildRequires: libdvdread-devel
09e58a63 58BuildRequires: libfame-devel
bc273673 59BuildRequires: libjpeg-devel
a081df10 60%{?with_libmpeg3:BuildRequires: libmpeg3-devel}
e6c0f64a 61BuildRequires: libogg-devel
ffe2ce89 62BuildRequires: libpng-devel
18be77ee 63%{?with_quicktime:BuildRequires: libquicktime-devel}
ffe2ce89 64BuildRequires: libstdc++-devel
bc273673 65BuildRequires: libtheora-devel
985963d8 66BuildRequires: libtool >= 2:1.5
0da60c37
JB
67BuildRequires: libvorbis-devel
68BuildRequires: libxml2-devel
18be77ee 69%{?with_lzo:BuildRequires: lzo-devel}
70%{?with_mjpeg:BuildRequires: mjpegtools-devel}
71%{?with_libmpeg2:BuildRequires: mpeg2dec-devel >= 0.4.0b}
bc273673
JB
72%ifarch %{ix86}
73BuildRequires: nasm >= 0.98.34
74%endif
ffe2ce89 75BuildRequires: pkgconfig
b5d29c62 76%{?with_pvm3:BuildRequires: pvm-devel}
dc2b7f6d 77BuildRequires: xvid-devel
692e6cca 78BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79
985963d8
JB
80%define specflags -fomit-frame-pointer
81
692e6cca 82%description
1aabd80a 83Linux Video Stream Processing Tool.
692e6cca 84
85%description -l pl
1aabd80a 86