Summary: A Linux video stream processing utility Name: transcode Version: 1.0.5 Release: 34%{?dist} License: GPL Group: Applications/Multimedia Source0: http://fromani.exit1.org/%{name}-%{version}.tar.bz2 Patch0: http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-video/transcode/files/transcode-1.0.2-lzo2.patch Patch1: transcode-1.0.5-nuv.patch URL: http://www.transcoding.org/ BuildRoot: %{_tmppath}/%{name}-root BuildRequires: autoconf BuildRequires: libtool-ltdl-devel BuildRequires: gcc-c++ BuildRequires: ffmpeg-devel >= 0.4.9 #BuildRequires: libpostproc-devel BuildRequires: libmpeg2-devel #BuildRequires: divx4linux-devel BuildRequires: xvidcore-devel BuildRequires: freetype-devel >= 2.0 #BuildRequires: avifile-devel >= 0.7.25 BuildRequires: lame-devel >= 3.89 BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: libtheora-devel BuildRequires: libdvdread-devel BuildRequires: libdv-devel BuildRequires: libquicktime-devel >= 0.9.8 #BuildRequires: openquicktime-devel BuildRequires: lzo-devel >= 2 BuildRequires: a52dec-devel >= 0.7.3 BuildRequires: libxml2-devel BuildRequires: mjpegtools-devel BuildRequires: SDL-devel, libXv-devel, libjpeg-devel, libpng-devel BuildRequires: /usr/bin/gtk-config BuildRequires: libfame-devel BuildRequires: ImageMagick-devel >= 5.4.3, libexif-devel, libtiff-devel, bzip2-devel #BuildRequires: glib-devel BuildRequires: zlib-devel #BuildRequires: nasm BuildRequires: alsa-lib-devel %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. %prep %setup -q %patch0 -p1 grep -rl '= 3.4.0; then # CFLAGS="%{optflags} -fno-unit-at-a-time" # export CFLAGS #fi #IMAGEMAGICK_EXTRA_LIBS=`Magick-config --ldflags` #export IMAGEMAGICK_EXTRA_LIBS %configure --enable-static \ --enable-statbuffer \ --enable-netstream \ --disable-xio \ --with-x \ --with-default-xvid=xvid4 \ --with-mod-path=%{_libdir}/transcode \ --enable-v4l \ --enable-freetype2 \ --enable-a52 \ --enable-mjpegtools \ --enable-sdl \ --enable-libfame \ --enable-lame \ --disable-avifile \ --enable-ogg \ --enable-vorbis \ --enable-theora \ --enable-libdvdread \ --disable-libmpeg3 \ --disable-liblve \ --disable-pvm3 \ --disable-libdv \ --disable-libquicktime \ --enable-lzo --with-lzo-includes=%{_includedir}/lzo \ --enable-libxml2 \ --enable-gtk \ --enable-imagemagick \ --enable-libjpeg \ --enable-ffbin \ --disable-ibp make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} perl -pi -e's,%{buildroot},,g' %{buildroot}%{_libdir}/transcode/*.la mv %{buildroot}%{_docdir}/transcode installed-docs %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README TODO installed-docs %{_bindir}/* %{_libdir}/transcode %{_mandir}/man1/*.1* %changelog * Wed Jun 18 2008 Paulo Roma - 1.0.5-34 - Patched for nuv on x86. * Sat Jun 14 2008 Axel Thimm - 1.0.5-33.2.0.1 - Fix not utf-8 specfile entries. * Thu Jan 10 2008 Axel Thimm - 1.0.5-33 - Update to 1.0.5. * Sun Oct 21 2007 Axel Thimm - 1.0.4-32 - Update to 1.0.4. * Mon Apr 16 2007 Axel Thimm - 1.0.3-30 - Update to 1.0.3. - Remove ffmpeg patch (applied upstream). * Tue Apr 18 2006 Axel Thimm - Disable xio. * Fri Dec 9 2005 Axel Thimm - Update to 1.0.2. * Thu Oct 6 2005 Axel Thimm - Update to 1.0.1. * Tue Jul 12 2005 Axel Thimm - Update to 1.0.0. * Tue Nov 23 2004 Axel Thimm - Update to 0.6.14. * Thu May 27 2004 Axel Thimm - Make xvid4 the default xvid mode (ender ). * Tue Apr 13 2004 Axel Thimm - Update to 0.6.12. * Thu Oct 16 2003 Axel Thimm - Updated to 0.6.10. * Fri Aug 8 2003 Matthias Saou - Update to 0.6.9. * Tue Jul 8 2003 Matthias Saou - Update to 0.6.8. * Thu Jul 3 2003 Matthias Saou - Update to 0.6.7. - Removed obsolete lame patch. * Fri May 23 2003 Matthias Saou - Added aud_aux-lame-enoding-error-1.patch to fix lame encoding problems. * Wed May 21 2003 Matthias Saou - 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 - Update to 0.6.5.20030510. * Fri May 2 2003 Matthias Saou - Update to 0.6.4 final. * Wed Apr 9 2003 Matthias Saou - 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 - 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 - Rebuilt for Red Hat Linux 9. * Tue Mar 25 2003 Matthias Saou - Update to 0.6.4.20030325 in order to fix ppc build. * Tue Feb 18 2003 Matthias Saou - Added lzo support, thanks to José Romildo Malaquias. * Sun Feb 16 2003 Matthias Saou - Rebuild against new libdvdread. * Fri Jan 31 2003 Matthias Saou - Update to 0.6.3 final. * Tue Jan 28 2003 Matthias Saou - Update to 0.6.3.20030123 snapshot. * Sat Jan 11 2003 Matthias Saou - Fix the avifile dependency (disabled by default). * Tue Dec 24 2002 Matthias Saou - Added mjpegtools. * Mon Dec 9 2002 Matthias Saou - Update to 0.6.2 final. * Sun Nov 17 2002 Matthias Saou - Updated to latest snapshot, 20021114. - Rebuilt to use mplayer's libpostproc. - Added libfame support. * Sun Oct 6 2002 Matthias Saou - Rebuilt for Red Hat Linux 8.0. - Added --with and --without build options. * Mon Sep 23 2002 Matthias Saou - Update to 0.6.1. * Mon Aug 19 2002 Matthias Saou - Added nasm dependency. * Fri Aug 2 2002 Matthias Saou - Update to 0.6.0 final! * Thu Aug 1 2002 Matthias Saou - Update to 0.6.0rc4... doesn't compile :-( - Added libdv, libogg and libvorbis dependencies. * Fri Jun 14 2002 Matthias Saou - Update to 0.6.0rc1. - Spec file updates and fixes. * Mon Dec 24 2001 Matthias Saou - Update to 0.5.3. * Sun Dec 2 2001 Matthias Saou - Update to 0.5.1. * Sun Nov 25 2001 Matthias Saou - 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 - Wrote this specfile; first build