michael@0: Name: mjpegtools michael@0: Version: 1.9.0 michael@0: Release: 3%{?dist} michael@0: Summary: Tools to manipulate MPEG data michael@0: michael@0: Group: Applications/Multimedia michael@0: License: GPLv2 michael@0: URL: http://mjpeg.sourceforge.net/ michael@0: Source0: http://downloads.sourceforge.net/mjpeg/%{name}-%{version}.tar.gz michael@0: Patch0: %{name}-1.9.0rc1-anytovcd-ffmpegver.patch michael@0: Patch1: mjpegtools-1.9.0-gcc44.patch michael@0: Patch2: mjpegtools-1.9.0-png-memleak.patch michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) michael@0: michael@0: BuildRequires: libjpeg-devel michael@0: BuildRequires: nasm michael@0: BuildRequires: libdv-devel michael@0: BuildRequires: SDL-devel >= 1.1.3 michael@0: BuildRequires: SDL_gfx-devel michael@0: BuildRequires: libquicktime-devel >= 0.9.8 michael@0: BuildRequires: libpng-devel michael@0: BuildRequires: gtk2-devel >= 2.4.0 michael@0: Requires: %{name}-libs = %{version}-%{release} michael@0: # mencoder for lav2avi.sh michael@0: Requires: mencoder michael@0: # ffmpeg main package, y4mscaler and which for anytovcd.sh michael@0: Requires: ffmpeg michael@0: Requires: y4mscaler michael@0: Requires: which michael@0: Requires(post): /sbin/install-info michael@0: Requires(preun): /sbin/install-info michael@0: michael@0: %description michael@0: The mjpeg programs are a set of tools that can do recording of videos michael@0: and playback, simple cut-and-paste editing and the MPEG compression of michael@0: audio and video under Linux. This package contains mjpegtools console michael@0: utilities. michael@0: michael@0: %package gui michael@0: Summary: GUI tools to manipulate MPEG data michael@0: Group: Applications/Multimedia michael@0: Requires: %{name} = %{version}-%{release} michael@0: michael@0: %description gui michael@0: The mjpeg programs are a set of tools that can do recording of videos michael@0: and playback, simple cut-and-paste editing and the MPEG compression of michael@0: audio and video under Linux. This package contains mjpegtools GUI michael@0: utilities. michael@0: michael@0: %package libs michael@0: Summary: Libraries used by mjpegtools michael@0: Group: System Environment/Libraries michael@0: Requires: libquicktime >= 0.9.8 michael@0: michael@0: %description libs michael@0: The mjpeg programs are a set of tools that can do recording of videos michael@0: and playback, simple cut-and-paste editing and the MPEG compression of michael@0: audio and video under Linux. This package contains libraries used by michael@0: mjpegtools. michael@0: michael@0: %package devel michael@0: Summary: Development files for mjpegtools libraries michael@0: Group: Development/Libraries michael@0: Requires: %{name}-libs = %{version}-%{release} michael@0: Requires: pkgconfig michael@0: michael@0: %description devel michael@0: The mjpeg programs are a set of tools that can do recording of videos michael@0: and playback, simple cut-and-paste editing and the MPEG compression of michael@0: audio and video under Linux. This package contains development files michael@0: for building applications that use mjpegtools libraries. michael@0: michael@0: michael@0: %prep michael@0: %setup -q michael@0: %patch0 -p1 michael@0: %patch1 -p1 michael@0: %patch2 -p1 michael@0: sed -i -e 's/ARCHFLAGS=.*/ARCHFLAGS=/' configure* michael@0: sed -i -e 's|/lib /usr/lib|/%{_lib} %{_libdir}|' configure # lib64 rpaths michael@0: for f in docs/yuvfps.1 ; do michael@0: iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f michael@0: done michael@0: michael@0: michael@0: %build michael@0: %configure --disable-dependency-tracking --disable-static michael@0: make # %{?_smp_mflags} michael@0: michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=$RPM_BUILD_ROOT michael@0: rm -f $RPM_BUILD_ROOT{%{_infodir}/dir,%{_libdir}/lib*.la} michael@0: # too broken/outdated to be useful in 1.[89].0 (and would come with dep chain) michael@0: rm -f $RPM_BUILD_ROOT%{_bindir}/mpegtranscode michael@0: michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: michael@0: %post libs -p /sbin/ldconfig michael@0: michael@0: %postun libs -p /sbin/ldconfig michael@0: michael@0: %post michael@0: /sbin/install-info %{_infodir}/mjpeg-howto.info %{_infodir}/dir || : michael@0: michael@0: %preun michael@0: [ $1 -eq 0 ] && \ michael@0: /sbin/install-info --delete %{_infodir}/mjpeg-howto.info %{_infodir}/dir || : michael@0: michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %doc COPYING CHANGES ChangeLog AUTHORS BUGS README.lavpipe NEWS TODO michael@0: %{_bindir}/* michael@0: %exclude %{_bindir}/glav michael@0: %exclude %{_bindir}/lavplay michael@0: %exclude %{_bindir}/y4mhist michael@0: %exclude %{_bindir}/yuvplay michael@0: %{_mandir}/man1/*.1* michael@0: %exclude %{_mandir}/man1/lavplay.1* michael@0: %exclude %{_mandir}/man1/yuvplay.1* michael@0: %{_mandir}/man5/yuv4mpeg.5* michael@0: %{_infodir}/mjpeg-howto.info* michael@0: michael@0: %files gui michael@0: %defattr(-,root,root,-) michael@0: %doc README.glav michael@0: %{_bindir}/glav michael@0: # lavplay and yuvplay won't save -libs/console util users from X11 and SDL michael@0: # dependencies as long as liblavplay is in -libs, but they're inherently michael@0: # GUI tools -> include them here michael@0: %{_bindir}/lavplay michael@0: %{_bindir}/y4mhist michael@0: %{_bindir}/yuvplay michael@0: %{_mandir}/man1/lavplay.1* michael@0: %{_mandir}/man1/yuvplay.1* michael@0: michael@0: %files libs michael@0: %defattr(-,root,root,-) michael@0: %doc COPYING michael@0: %{_libdir}/lib*.so.* michael@0: michael@0: %files devel michael@0: %defattr(-,root,root,-) michael@0: %{_includedir}/%{name} michael@0: %{_libdir}/lib*.so michael@0: %{_libdir}/pkgconfig/%{name}.pc michael@0: michael@0: michael@0: %changelog michael@0: * Mon Nov 1 2010 Kozinov Ivan - 1.9.0-3 michael@0: - Build for MeeGo 1.1 michael@0: michael@0: * Fri Sep 3 2010 Hans de Goede 1.9.0-2 michael@0: - Fix a memleak which is causing issues for LiVES michael@0: michael@0: * Wed Apr 15 2009 Hans de Goede 1.9.0-1 michael@0: - Update to upstream 1.9.0 final release michael@0: michael@0: * Sun Mar 29 2009 Thorsten Leemhuis - 1.9.0-0.7.rc3 michael@0: - rebuild for new F11 features michael@0: michael@0: * Fri Jul 25 2008 Hans de Goede 1.9.0-0.6.rc3 michael@0: - Release bump for rpmfusion michael@0: - Sync with freshrpms (no changes) michael@0: michael@0: * Tue Apr 22 2008 Ville Skyttä - 1.9.0-0.5.rc3 michael@0: - Apply patch from Gentoo to fix build with GCC 4.3 (#1941). michael@0: michael@0: * Tue Dec 4 2007 Ville Skyttä - 1.9.0-0.4.rc3 michael@0: - 1.9.0rc3. michael@0: michael@0: * Sat Sep 29 2007 Ville Skyttä - 1.9.0-0.4.rc2 michael@0: - Requires: which michael@0: michael@0: * Wed Aug 22 2007 Ville Skyttä - 1.9.0-0.3.rc2 michael@0: - License: GPLv2 michael@0: michael@0: * Thu Jun 21 2007 Ville Skyttä - 1.9.0-0.2.rc2 michael@0: - Rebuild. michael@0: michael@0: * Fri Jun 8 2007 Ville Skyttä - 1.9.0-0.1.rc2 michael@0: - 1.9.0rc2. michael@0: michael@0: * Sat Nov 25 2006 Ville Skyttä - 1.8.0-7 michael@0: - Split GUI utilities into -gui subpackage. michael@0: - Don't ship mpegtranscode, it's broken/outdated. michael@0: - Require mencoder for lav2avi.sh. michael@0: michael@0: * Fri Oct 06 2006 Thorsten Leemhuis 1.8.0-6 michael@0: - rebuilt for unwind info generation, broken in gcc-4.1.1-21 michael@0: michael@0: * Sun Sep 24 2006 Ville Skyttä - 1.8.0-5 michael@0: - Specfile cleanup. michael@0: michael@0: * Sun Jun 4 2006 Ville Skyttä - 1.8.0-4 michael@0: - Get rid of undefined non-weak symbols in liblav*. michael@0: - Apply upstream fix for compiling with libquicktime 0.9.8. michael@0: michael@0: * Thu Mar 09 2006 Andreas Bierfert michael@0: - switch to new release field michael@0: michael@0: * Tue Feb 28 2006 Andreas Bierfert michael@0: - add dist michael@0: michael@0: * Sat Jan 21 2006 Ville Skyttä - 1.8.0-0.lvn.3 michael@0: - Include license text in -libs, it can be installed without the main package. michael@0: - Convert yuvfps man page to UTF-8. michael@0: - Fix -devel Group tag. michael@0: michael@0: * Thu Jan 19 2006 Adrian Reber - 1.8.0-0.lvn.2 michael@0: - Added patch to compile with gcc 4.1 michael@0: - Dropped 0 Epoch michael@0: michael@0: * Mon Sep 19 2005 Ville Skyttä - 0:1.8.0-0.lvn.1 michael@0: - 1.8.0. michael@0: michael@0: * Sat Aug 27 2005 Ville Skyttä - 0:1.6.3-0.lvn.0.1.rc3 michael@0: - 1.6.3-rc3, Altivec fixes applied upstream. michael@0: michael@0: * Fri Aug 12 2005 Ville Skyttä - 0:1.6.3-0.lvn.0.1.rc2 michael@0: - 1.6.3-rc2, clean up obsolete pre-FC2 stuff. michael@0: - Fix Altivec build, kudos to upstream. michael@0: michael@0: * Thu May 26 2005 Ville Skyttä - 0:1.6,3-0.lvn.0.1.rc1 michael@0: - 1.6.3-rc1 (1.7.0 snapshot package not released, so no Epoch bump). michael@0: michael@0: * Sun May 22 2005 Ville Skyttä - 0:1.7.0-0.lvn.0.2.cvs20050521 michael@0: - PPC: disable Altivec due to gcc4 build failure, honor $RPM_OPT_FLAGS. michael@0: michael@0: * Sat May 21 2005 Ville Skyttä - 0:1.7.0-0.lvn.0.1.cvs20050521 michael@0: - Pre-1.7.0 snapshot as of today, all patches applied or obsoleted upstream. michael@0: - Require pkgconfig in -devel. michael@0: michael@0: * Wed Feb 2 2005 Ville Skyttä - 0:1.6.2-0.lvn.7 michael@0: - Add corrected -fPIC tweak from Thorsten. michael@0: michael@0: * Mon Jan 31 2005 Ville Skyttä - 0:1.6.2-0.lvn.6 michael@0: - Include PNG input support. michael@0: - Remove no-op $RPM_OPT_FLAGS setting from %%build. michael@0: - Remove bogus optimization settings from configure script. michael@0: michael@0: * Fri Dec 31 2004 Thorsten Leemhuis - 0:1.6.2-0.lvn.5 michael@0: - CFLAGS="$CFLAGS -fPIC" on non x86; Fixes build error on x86_64; The michael@0: option --with-pic is not enough michael@0: michael@0: * Sat Dec 18 2004 Dams - 0:1.6.2-0.lvn.4 michael@0: - Disabling static libraries building michael@0: michael@0: * Tue Dec 14 2004 Ville Skyttä - 0:1.6.2-0.lvn.3 michael@0: - Include quicktime support. michael@0: - Apply patch from ALT Linux to fix info pages, fix typo in %%post. michael@0: - Require /sbin/install-info. michael@0: - Add "--without static" rpmbuild option to work around an issue with FC3 strip michael@0: - Always enable SIMD accelerations, CPU capabilities detected at runtime. michael@0: - Always disable use of cmov. michael@0: michael@0: * Thu Nov 11 2004 Dams 0:1.6.2-0.lvn.2 michael@0: - Added patch to fix gcc3.4 build michael@0: - Detected race condition in Makefiles (disabling _smp_mflags use) michael@0: - Added info files & scriptlets michael@0: - Dropped patch0 and patch1 michael@0: michael@0: * Tue Jun 8 2004 Dams 0:1.6.2-0.lvn.1 michael@0: - Updated to 1.6.2 michael@0: michael@0: * Sun Sep 28 2003 Dams 0:1.6.1-0.fdr.6 michael@0: - Removed comment after scriptlets michael@0: michael@0: * Fri Aug 22 2003 Dams 0:1.6.1-0.fdr.5 michael@0: - buildroot -> RPM_BUILD_ROOT michael@0: michael@0: * Sun Aug 10 2003 Dams 0:1.6.1-0.fdr.4 michael@0: - Applied upstream patches to fix build on gcc3.3 systems michael@0: michael@0: * Tue Apr 29 2003 Dams 0:1.6.1-0.fdr.3 michael@0: - Now test arch for configure options (from Ville) michael@0: - Removed ImageMagick-devel BuildRequires michael@0: michael@0: * Sun Apr 27 2003 Dams 0:1.6.1-0.fdr.2 michael@0: - Added missing BuildRequires michael@0: - Added post/postun scriplets for libs package michael@0: michael@0: * Wed Apr 23 2003 Dams michael@0: - Initial build.