transcode/transcode.spec

Name: transcode
Summary: Linux video stream processing utility
Version: 1.1.5
Release: 2
License: GPL
Group: Applications/Multimedia
URL: http://www.transcoding.org/
Description: Transcode is a linux text-console utility for video stream processing. Decoding and encoding is done by loading modules that are responsible for feeding transcode with raw video/audio streams (import modules) and encoding the frames (export modules). It supports elementary video and audio frame transformations, including de-interlacing or fast resizing of video frames and loading of external filters.

Please see the included README file for more.

Available rpmbuild rebuild options : --without : lame theora dvdread quicktime a52 mpeg3 mjpeg libfame magick nasm postproc xvidcore

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: <transcode-users$exit1.org>

%{?el5:%define _without_sdl 1}

%{?el4:%define _without_magick 1}
%{?el4:%define _without_modxorg 1}
%{?el4:%define _without_sdl 1}
%{?el4:%define _without_theora 1}

%{?el3:%define _without_alsa 1}
%{?el3:%define _without_magick 1}
%{?el3:%define _without_modxorg 1}
%{?el4:%define _without_sdl 1}
%{?el3:%define _without_theora 1}

Summary: Linux video stream processing utility
Name: transcode
Version: 1.1.5
Release: 2%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://www.transcoding.org/

#Source: http://prdownload.berlios.de/tcforge/transcode-%{version}.tar.bz2
Source: http://download.berlios.de/tcforge/transcode-%{version}.tar.bz2
Patch0: transcode-1.0.3-lzo2.patch
Patch1: transcode-1.0.2-libmpeg3.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: bzip2-devel
BuildRequires: ed
BuildRequires: ffmpeg-devel
BuildRequires: freetype-devel >= 2.0
BuildRequires: gcc-c++
#BuildRequires: gtk+-devel
# Seems like ImageMagick-devel should require this! (FC2 and higher)
BuildRequires: libexif-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: mpeg2dec-devel
%{!?_without_a52:BuildRequires: a52dec-devel >= 0.7.3}
%{!?_without_alsa:BuildRequires: alsa-lib-devel}
%{!?_without_dvdread:BuildRequires: libdvdread-devel}
%{!?_without_lame:BuildRequires: lame-devel >= 3.89}
%{!?_without_libdv:BuildRequires: libdv-devel}
%{!?_without_libfame:BuildRequires: libfame-devel}
%{!?_without_libxml2:BuildRequires: libxml2-devel}
%{!?_without_lzo:BuildRequires: lzo-devel}
%{!?_without_magick:BuildRequires: ImageMagick-devel >= 5.4.3}
%{!?_without_mjpeg:BuildRequires: mjpegtools-devel}
%{!?_without_modxorg:BuildRequires: libXv-devel, libXaw-devel, libXpm-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}
%{!?_without_mpeg3:BuildRequires: libmpeg3-devel}
%{!?_without_ogg:BuildRequires: libogg-devel}
%{!?_without_postproc:BuildRequires: ffmpeg-libpostproc-devel}
%{?_with_pvm3:BuildRequires: pvm}
%{!?_without_quicktime:BuildRequires: libquicktime-devel}
%{!?_without_sdl:BuildRequires: SDL-devel}
%{!?_without_theora:BuildRequires: libtheora-devel}
%{!?_without_vorbis:BuildRequires: libvorbis-devel}
%{!?_without_x264:BuildRequires: x264-devel}
%{!?_without_xvid:BuildRequires: xvidcore-devel}
Conflicts: perl-Video-DVDRip < 0.51.2

%description
Transcode is a linux text-console utility for video stream processing.
Decoding and encoding is done by loading modules that are responsible for
feeding transcode with raw video/audio streams (import modules) and
encoding the frames (export modules). It supports elementary video and
audio frame transformations, including de-interlacing or fast resizing of
video frames and loading of external filters.

Please see the included README file for more.

Available rpmbuild rebuild options :
--without : lame theora dvdread quicktime a52 mpeg3 mjpeg libfame magick
            nasm postproc xvidcore

%prep
%setup
#patch0 -p1 -b .lzo2
#patch1 -p1 -b .libmpeg3

%build
# This is required to get "#include <postprocess.h>" to work
export CFLAGS="%{optflags} -I%{_includedir}/postproc -DSDL_VIDEO_DRIVER_X11"
export LDFLAGS="-L%{_usr}/X11R6/%{_lib}"
%configure \
%{?_without_dvdread:--disable-dvdread} \
%{?_without_lame:--disable-lame} \
%{!?_without_a52:--enable-a52 --enable-a52-default-decoder} \
%{!?_without_alsa:--enable-alsa} \
%{!?_without_faac:--enable-faac} \
    --enable-freetype2 \
    --enable-gtk \
%{!?_without_magick:--enable-imagemagick} \
%{!?_without_libdv:--enable-libdv} \
%{!?_without_libfame:--enable-libfame} \
%{!?_without_mpeg3:--enable-libmpeg3} \
%{!?_without_nuv:--enable-nuv} \
%{!?_without_postproc:--enable-libpostproc} \
%{!?_without_quicktime:--enable-libquicktime} \
%{!?_without_libxml2:--enable-libxml2} \
%{!?_without_lzo:--enable-lzo --with-lzo-includes="%{_includedir}/lzo"} \
%{!?_without_mjpeg:--enable-mjpegtools} \
    --enable-netstream \
%{!?_without_ogg:--enable-ogg} \
%{!?_without_oss:--enable-oss} \
%{?_with_pv3:--enable-pv3} \
%{?_with_pvm3:--enable-pvm3 --with-pvm3-prefix="%{_datadir}/pvm3"} \
%{!?_without_sdl:--enable-sdl} \
%{!?_without_theora:--enable-theora} \
%{!?_without_v4l:--enable-v4l} \
%{!?_without_vorbis:--enable-vorbis} \
%{!?_without_x264:--enable-x264} \
%{!?_without_xvid:--enable-xvid}
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%{__mv} -v %{buildroot}%{_docdir}/transcode/ rpm-doc/

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING README TODO rpm-doc/*
%doc %{_mandir}/man1/*.1*
%config %{_libdir}/transcode/*.cfg
%{_bindir}/*
%dir %{_libdir}/transcode/
%{_libdir}/transcode/filter_list.awk
%{_libdir}/transcode/parse_csv.awk
%{_libdir}/transcode/*.so
%exclude %{_libdir}/transcode/*.la

%changelog
* Sat Dec 04 2010 Dag Wieers <dag@wieers.com> - 1.1.5-2
- Rebuild against ffmpeg-0.6.1.

* Tue Nov 03 2009 Dag Wieers <dag@wieers.com> - 1.1.5-1
- Updated to release 1.1.5.

* Tue Jul 21 2009 Dag Wieers <dag@wieers.com> - 1.1.3-1
- Updated to release 1.1.3.

* Mon Jan 19 2009 Dag Wieers <dag@wieers.com> - 1.1.0-1
- Updated to release 1.1.0.

* Mon Nov 17 2008 Dag Wieers <dag@wieers.com> - 1.0.7-1
- Updated to release 1.0.7.

* Sat Jul 26 2008 Dag Wieers <dag@wieers.com> - 1.0.6-1
- Updated to release 1.0.6.

* Fri Jan 11 2008 Dag Wieers <dag@wieers.com> - 1.0.5-1
- Updated to release 1.0.5.

* Sat Sep 22 2007 Dag Wieers <dag@wieers.com> - 1.0.4-1
- Updated to release 1.0.4.

* Fri Apr 20 2007 Matthias Saou <http://freshrpms.net/> 1.0.3-1
- Update to 1.0.3.
- Update lzo2 patch.
- Remove all now unneeded patches.

* Thu Jan 11 2007 Dag Wieers <dag@wieers.com> - 1.0.2-12
- Rebuild against newer ffmpeg and mjpegtools.

* Tue Sep 19 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-11
- Add patch for recent ffmpeg (libavcodec) versions detection.

* Mon Jul 31 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-10
- Add lzo2 patch from Gentoo.
- Add patch to compile against libmpeg3 1.7 (mpeg3_open error_return change).

* Mon Jun 19 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-9
- Include transcode-1.0.x-filter-patch.txt from dvd::rip to fix filters and
  previews in dvd::rip.

* Thu Jun 15 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-8
- Rebuild on FC development for the ImageMagick update (.so.10).
- Add -DSDL_VIDEO_DRIVER_X11 to the CFLAGS to fix building on FC development.

* Tue Mar 28 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-7
- Include transcode-1.0.2-filter_compare-fixes-try1.patch and
  transcode-1.0.2-filter_logo-hangup-try1.patch to fix hang.

* Thu Mar 23 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-6
- Rebuild against mjpegtools 1.8 and not 1.9, although 1.9 seems like it will
  have to be introduced at some point to fix compatibility with the latest
  libquicktime 0.9.8, and fix the ppc build.

* Wed Mar 22 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-5
- Add missing modular X build requirements.

* Fri Mar 17 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-4
- Release bump to drop the disttag number in FC5 build.

* Fri Jan 13 2006 Matthias Saou <http://freshrpms.net/> 1.0.2-3
- Add modular xorg build conditional.
- No longer override pkgdir and MOD_PATH, it's not needed anymore.

* Fri Dec  9 2005 Matthias Saou <http://freshrpms.net/> 1.0.2-2
- Rebuild against mjpegtools 1.8.0.

* Thu Dec  8 2005 Matthias Saou <http://freshrpms.net/> 1.0.2-1
- Update to 1.0.2.
- No longer explicitly disable MMX, it builds again now.

* Tue Aug 16 2005 Matthias Saou <http://freshrpms.net/> 1.0.0-2
- Rebuild against new mjpegtools.

* Mon Jul 18 2005 Matthias Saou <http://freshrpms.net/> 1.0.0-1
- Update to 1.0.0.

* Tue Jun 28 2005 Matthias Saou <http://freshrpms.net/> 1.0.0-0.1.rc1
- Update to 1.0.0rc1.

* Sun Apr 17 2005 Matthias Saou <http://freshrpms.net/> 1.0.0-0.1.beta3
- Update to 1.0.0beta3 (not the released tarball, a CVS checkout with fixes).
- Explicitly disable MMX for now, it makes the build fail :-(
- Add libpng-devel build requirement (libquicktime test fails otherwise...).
- Explicitly change postproc and freetype2 configure options.
- Mark all cfg and config files in libdir as %%config (but not noreplace).

* Mon Dec 13 2004 Matthias Saou <http://freshrpms.net/> 0.6.14-1
- Update to 0.6.14 final.
- Override pkgdir and MOD_PATH to fix lib vs. lib64.

* Mon Nov 15 2004 Matthias Saou <http://freshrpms.net/> 0.6.14-0.pre1.1
- Rebuild with mjpegtools (fixed at last) support on FC3.

* Thu Nov 11 2004 Matthias Saou <http://freshrpms.net/> 0.6.14-0.pre1.0
- Update to 0.6.14pre1.

* Fri Oct 29 2004 Matthias Saou <http://freshrpms.net/> 0.6.13-0
- Update to 0.6.13.
- Reworked the configure options, build reqs and rpmbuild conditionals.
- Remove gcc 2.96 patch, it doesn't apply anymore.
- Include bitstream patch to fix dvd::rip usage.
- Re-add ffmpeg-devel build dep, it builds shared again now.

* Fri Jul 30 2004 Dag Wieers <dag@wieers.com> - 0.6.12-6
- Added patch for building with gcc < 3. (Edward Rudd, ATbz #183)

* Fri Jul 23 2004 Matthias Saou <http://freshrpms.net/> 0.6.12-6
- Added ed build requirement for x86_64 build to succeed...
- Fix missing \ to configure lines.
- Remove explicit binary dependencies.

* Tue Jul 20 2004 Dag Wieers <dag@wieers.com> - 0.6.12-6
- Rebuild for x86_64 with quicktime support.

* Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 0.6.12-5
- Rebuild for Fedora Core 2.
- Remove explicit stripping, it goes into the debuginfo package.
- Change some of the obvious conditional builds to be static (ogg...).
- Make xvid4 the default instead of xvid2.
- Added theora and libmpeg3 support.
- Added libexif-devel build requirement, although ImageMagick-devel should.

* Fri Apr 16 2004 Matthias Saou <http://freshrpms.net/> 0.6.12-3
- Rebuild against new libdv.

* Thu Mar 25 2004 Matthias Saou <http://freshrpms.net/> 0.6.12-2
- Fix bzip2-devel dependency.

* Sat Jan 10 2004 Matthias Saou <http://freshrpms.net/> 0.6.12-1
- Update to 0.6.12.

* Mon Nov 10 2003 Matthias Saou <http://freshrpms.net/> 0.6.11-1
- Rebuild for Fedora Core 1.
- Update to 0.6.11.
- Remove ffmpeg, looks like a snapshot is included now.
- libpostproc is currently broken, "undefined reference to 'fast_memcpy'" :-(

* Tue Sep  9 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.10.

* Sun Aug 24 2003 Matthias Saou <http://freshrpms.net/>
- Added bzip2-devel ImageMagick dependency.

* Fri Aug  8 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.9.

* Tue Jul  8 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.8.

* Thu Jul  3 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.7.
- Removed obsolete lame patch.

* Fri May 23 2003 Matthias Saou <http://freshrpms.net/>
- Added aud_aux-lame-enoding-error-1.patch to fix lame encoding problems.

* Wed May 21 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.6.
- Removed the snapshot macro stuff, as future releases won't need it.
- Added "--without text" option for the new freetype2 support.

* Sat May 10 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.5.20030510.

* Fri May  2 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.4 final.

* Wed Apr  9 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.4.20030409.
- Change mplayer dep to libpostproc.
- Re-enabled ImageMagick support by default, as it's fixed in RHL9.
- Removed obsoleted ffmpeg & xvid fix.
- Added libquicktime support and explicit xvidcore.
- Enable lzo by default.

* Sat Apr  5 2003 Matthias Saou <http://freshrpms.net/>
- Exclude .la files.
- Added fix for xvid and ffmpeg export modules, thanks to Dag Wieers.
- Strip all libs by default.
- Add ffmpeg requirement.

* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/>
- Rebuilt for Red Hat Linux 9.

* Tue Mar 25 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.4.20030325 in order to fix ppc build.

* Tue Feb 18 2003 Matthias Saou <http://freshrpms.net/>
- Added lzo support, thanks to José Romildo Malaquias.

* Sun Feb 16 2003 Matthias Saou <http://freshrpms.net/>
- Rebuild against new libdvdread.

* Fri Jan 31 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.3 final.

* Tue Jan 28 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.3.20030123 snapshot.

* Sat Jan 11 2003 Matthias Saou <http://freshrpms.net/>
- Fix the avifile dependency (disabled by default).

* Tue Dec 24 2002 Matthias Saou <http://freshrpms.net/>
- Added mjpegtools.

* Mon Dec  9 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.2 final.

* Sun Nov 17 2002 Matthias Saou <http://freshrpms.net/>
- Updated to latest snapshot, 20021114.
- Rebuilt to use mplayer's libpostproc.
- Added libfame support.

* Sun Oct  6 2002 Matthias Saou <http://freshrpms.net/>
- Rebuilt for Red Hat Linux 8.0.
- Added --with and --without build options.

* Mon Sep 23 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.1.

* Mon Aug 19 2002 Matthias Saou <http://freshrpms.net/>
- Added nasm dependency.

* Fri Aug  2 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.0 final!

* Thu Aug  1 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.0rc4... doesn't compile :-(
- Added libdv, libogg and libvorbis dependencies.

* Fri Jun 14 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.6.0rc1.
- Spec file updates and fixes.

* Mon Dec 24 2001 Matthias Saou <http://freshrpms.net/>
- Update to 0.5.3.

* Sun Dec  2 2001 Matthias Saou <http://freshrpms.net/>
- Update to 0.5.1.

* Sun Nov 25 2001 Matthias Saou <http://freshrpms.net/>
- Major spec file cleanup.

* Wed Jul 11 2001 Thomas Östreich
- update to transcode v0.3.3
- small changes suggested by VM

* Tue Jul 10 2001 Thomas Östreich
- update to transcode v0.3.2
- added pkgdir in install section

* Tue Jul 10 2001 Volker Moell <moell@gmx.de>
- Wrote this specfile; first build