]>
Commit | Line | Data |
---|---|---|
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 |
28 | Summary: Video stream converter |
29 | Summary(pl): Konwerter strumieni video | |
692e6cca | 30 | Name: transcode |
b5d29c62 | 31 | Version: 1.0.2 |
a083a3eb | 32 | Release: 1.2 |
692e6cca | 33 | License: GPL |
34 | Group: Applications | |
466c9e81 | 35 | Source0: http://www.jakemsr.com/transcode/%{name}-%{version}.tar.gz |
b5d29c62 | 36 | # Source0-md5: e353c0ab7e927a8672528e05a9ae960b |
a083a3eb AM |
37 | Patch0: %{name}-ac.patch |
38 | Patch1: %{name}-lzo2.patch | |
39 | Patch2: %{name}-bigdir.patch | |
b22bf938 | 40 | Patch3: %{name}-mpeg3.patch |
ba2e284e | 41 | Patch4: %{name}-libx86_64.patch |
466c9e81 | 42 | URL: http://www.transcoding.org/ |
18be77ee | 43 | BuildRequires: xorg-lib-libXaw-devel |
44 | BuildRequires: 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 | 47 | BuildRequires: a52dec-libs-devel |
985963d8 JB |
48 | BuildRequires: autoconf |
49 | BuildRequires: automake >= 1.3 | |
b5d29c62 JB |
50 | %{?with_avifile:BuildRequires: avifile-devel > 3:0.7.43-1} |
51 | BuildRequires: ffmpeg-devel >= 0.4.9-0.pre1 | |
bc273673 | 52 | BuildRequires: freetype-devel >= 2.1.2 |
a081df10 | 53 | %{?with_gtk:BuildRequires: gtk+-devel} |
b5d29c62 | 54 | %{?with_jpegmmx:BuildRequires: jpeg-mmx} |
bc273673 | 55 | BuildRequires: lame-libs-devel >= 3.89 |
18be77ee | 56 | BuildRequires: libdv-devel >= 0.104-3 |
692e6cca | 57 | BuildRequires: libdvdread-devel |
09e58a63 | 58 | BuildRequires: libfame-devel |
bc273673 | 59 | BuildRequires: libjpeg-devel |
a081df10 | 60 | %{?with_libmpeg3:BuildRequires: libmpeg3-devel} |
e6c0f64a | 61 | BuildRequires: libogg-devel |
ffe2ce89 | 62 | BuildRequires: libpng-devel |
18be77ee | 63 | %{?with_quicktime:BuildRequires: libquicktime-devel} |
ffe2ce89 | 64 | BuildRequires: libstdc++-devel |
bc273673 | 65 | BuildRequires: libtheora-devel |
985963d8 | 66 | BuildRequires: libtool >= 2:1.5 |
0da60c37 JB |
67 | BuildRequires: libvorbis-devel |
68 | BuildRequires: 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} |
73 | BuildRequires: nasm >= 0.98.34 | |
74 | %endif | |
ffe2ce89 | 75 | BuildRequires: pkgconfig |
b5d29c62 | 76 | %{?with_pvm3:BuildRequires: pvm-devel} |
dc2b7f6d | 77 | BuildRequires: xvid-devel |
692e6cca | 78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
79 | ||
985963d8 JB |
80 | %define specflags -fomit-frame-pointer |
81 | ||
692e6cca | 82 | %description |
1aabd80a | 83 | Linux Video Stream Processing Tool. |
692e6cca | 84 | |
85 | %description -l pl | |
1aabd80a | 86 |