Author: orion
Update of /cvs/free/rpms/mjpegtools/EL-6
In directory se02.es.rpmfusion.net:/tmp/cvs-serv13849/EL-6
Modified Files:
.cvsignore mjpegtools.spec sources
Added Files:
mjpegtools-2.0.0-no-config-in-public-header.h
Removed Files:
mjpegtools-1.9.0-gcc44.patch
mjpegtools-1.9.0-png-memleak.patch
mjpegtools-1.9.0rc1-anytovcd-ffmpegver.patch
Log Message:
Update to 2.0.0 from devel
--- NEW FILE mjpegtools-2.0.0-no-config-in-public-header.h ---
diff -up mjpegtools-2.0.0/mplex/stream_params.hpp~
mjpegtools-2.0.0/mplex/stream_params.hpp
--- mjpegtools-2.0.0/mplex/stream_params.hpp~ 2010-03-13 14:05:07.000000000 +0100
+++ mjpegtools-2.0.0/mplex/stream_params.hpp 2011-08-02 23:34:12.126843444 +0200
@@ -23,7 +23,6 @@
#ifndef __STREAM_PARAMS_HH__
#define __STREAM_PARAMS_HH__
-#include <config.h>
#include <mjpeg_types.h>
class LpcmParams
{
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/mjpegtools/EL-6/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 15 Apr 2009 10:41:21 -0000 1.3
+++ .cvsignore 4 Jan 2012 19:06:15 -0000 1.4
@@ -1 +1 @@
-mjpegtools-1.9.0.tar.gz
+mjpegtools-2.0.0.tar.gz
Index: mjpegtools.spec
===================================================================
RCS file: /cvs/free/rpms/mjpegtools/EL-6/mjpegtools.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mjpegtools.spec 3 Sep 2010 14:41:39 -0000 1.5
+++ mjpegtools.spec 4 Jan 2012 19:06:16 -0000 1.6
@@ -1,17 +1,12 @@
Name: mjpegtools
-Version: 1.9.0
-Release: 2%{?dist}
+Version: 2.0.0
+Release: 1%{?dist}
Summary: Tools to manipulate MPEG data
-
Group: Applications/Multimedia
License: GPLv2
URL:
http://mjpeg.sourceforge.net/
Source0:
http://downloads.sourceforge.net/mjpeg/%{name}-%{version}.tar.gz
-Patch0: %{name}-1.9.0rc1-anytovcd-ffmpegver.patch
-Patch1: mjpegtools-1.9.0-gcc44.patch
-Patch2: mjpegtools-1.9.0-png-memleak.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Patch0: mjpegtools-2.0.0-no-config-in-public-header.h
BuildRequires: libjpeg-devel
BuildRequires: nasm
BuildRequires: libdv-devel
@@ -21,6 +16,7 @@
BuildRequires: libpng-devel
BuildRequires: gtk2-devel >= 2.4.0
Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-lav = %{version}-%{release}
# mencoder for lav2avi.sh
Requires: mencoder
# ffmpeg main package, y4mscaler and which for anytovcd.sh
@@ -36,6 +32,7 @@
audio and video under Linux. This package contains mjpegtools console
utilities.
+
%package gui
Summary: GUI tools to manipulate MPEG data
Group: Applications/Multimedia
@@ -47,22 +44,34 @@
audio and video under Linux. This package contains mjpegtools GUI
utilities.
+
%package libs
-Summary: Libraries used by mjpegtools
+Summary: MJPEGtools libraries
Group: System Environment/Libraries
-Requires: libquicktime >= 0.9.8
%description libs
The mjpeg programs are a set of tools that can do recording of videos
and playback, simple cut-and-paste editing and the MPEG compression of
+audio and video under Linux. This package contains libraries which are
+used by mjpegtools and also by several other projects.
+
+
+%package lav
+Summary: MJPEGtools lavpipe libraries
+Group: System Environment/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+%description lav
+The mjpeg programs are a set of tools that can do recording of videos
+and playback, simple cut-and-paste editing and the MPEG compression of
audio and video under Linux. This package contains libraries used by
mjpegtools.
+
%package devel
Summary: Development files for mjpegtools libraries
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
-Requires: pkgconfig
%description devel
The mjpeg programs are a set of tools that can do recording of videos
@@ -71,11 +80,22 @@
for building applications that use mjpegtools libraries.
+%package lav-devel
+Summary: Development files for mjpegtools lavpipe libraries
+Group: Development/Libraries
+Requires: %{name}-lav = %{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
+
+%description lav-devel
+The mjpeg programs are a set of tools that can do recording of videos
+and playback, simple cut-and-paste editing and the MPEG compression of
+audio and video under Linux. This package contains development files
+for building applications that use mjpegtools lavpipe libraries.
+
+
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
sed -i -e 's/ARCHFLAGS=.*/ARCHFLAGS=/' configure*
sed -i -e 's|/lib /usr/lib|/%{_lib} %{_libdir}|' configure # lib64 rpaths
for f in docs/yuvfps.1 ; do
@@ -85,36 +105,35 @@
%build
%configure --disable-dependency-tracking --disable-static
-make # %{?_smp_mflags}
+make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT{%{_infodir}/dir,%{_libdir}/lib*.la}
# too broken/outdated to be useful in 1.[89].0 (and would come with dep chain)
-rm -f $RPM_BUILD_ROOT%{_bindir}/mpegtranscode
+rm $RPM_BUILD_ROOT%{_bindir}/mpegtranscode
-%clean
-rm -rf $RPM_BUILD_ROOT
+%post
+/sbin/install-info %{_infodir}/mjpeg-howto.info %{_infodir}/dir || :
+%preun
+[ $1 -eq 0 ] && \
+/sbin/install-info --delete %{_infodir}/mjpeg-howto.info %{_infodir}/dir || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
-%post
-/sbin/install-info %{_infodir}/mjpeg-howto.info %{_infodir}/dir || :
+%post lav -p /sbin/ldconfig
-%preun
-[ $1 -eq 0 ] && \
-/sbin/install-info --delete %{_infodir}/mjpeg-howto.info %{_infodir}/dir || :
+%postun lav -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
-%doc COPYING CHANGES ChangeLog AUTHORS BUGS README.lavpipe NEWS TODO
+%doc CHANGES ChangeLog AUTHORS BUGS README.lavpipe NEWS TODO
%{_bindir}/*
%exclude %{_bindir}/glav
%exclude %{_bindir}/lavplay
@@ -130,8 +149,8 @@
%defattr(-,root,root,-)
%doc README.glav
%{_bindir}/glav
-# lavplay and yuvplay won't save -libs/console util users from X11 and SDL
-# dependencies as long as liblavplay is in -libs, but they're inherently
+# lavplay and yuvplay won't save console util users from X11 and SDL
+# dependencies as long as liblavplay is in -lav, but they're inherently
# GUI tools -> include them here
%{_bindir}/lavplay
%{_bindir}/y4mhist
@@ -142,16 +161,29 @@
%files libs
%defattr(-,root,root,-)
%doc COPYING
-%{_libdir}/lib*.so.*
+%{_libdir}/libm*.so.*
+
+%files lav
+%defattr(-,root,root,-)
+%{_libdir}/liblav*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
-%{_libdir}/lib*.so
+%exclude %{_includedir}/%{name}/*lav*.h
+%{_libdir}/libm*.so
%{_libdir}/pkgconfig/%{name}.pc
+%files lav-devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*lav*.h
+%{_libdir}/liblav*.so
+
%changelog
+* Mon Aug 1 2011 Hans de Goede <j.w.r.degoede(a)gmail.com> - 2.0.0-1
+- Update to new upstream 2.0.0 final release
+
* Fri Sep 3 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 1.9.0-2
- Fix a memleak which is causing issues for LiVES
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mjpegtools/EL-6/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 15 Apr 2009 10:41:21 -0000 1.3
+++ sources 4 Jan 2012 19:06:16 -0000 1.4
@@ -1 +1 @@
-309a6fcf0900a010d6a9c1e91afc2f5c mjpegtools-1.9.0.tar.gz
+903e1e3b967eebcc5fe5626d7517dc46 mjpegtools-2.0.0.tar.gz
--- mjpegtools-1.9.0-gcc44.patch DELETED ---
--- mjpegtools-1.9.0-png-memleak.patch DELETED ---
--- mjpegtools-1.9.0rc1-anytovcd-ffmpegver.patch DELETED ---