# TODO:
# - external libraries packages (is there any sense in that?)
#
-%define snap 20121104
-%define rel 4
+%define snap 20121105
+%define rel 8
Summary: Cinelerra - capturing, editing and production of audio/video material
Summary(pl.UTF-8): Cinelerra - nagrywanie, obróbka i produkcja materiału audio/video
Name: cinelerra-cv
Release: 0.%{snap}.%{rel}
License: GPL
Group: X11/Applications
-# git clone git://git.cinelerra.org/j6t/cinelerra.git cinelerra-cv
+# git clone git://git.cinelerra.org/CinelerraCV.git cinelerra-cv
Source0: %{name}-%{snap}.tar.bz2
-# Source0-md5: 06b92b01fa6ba32ca4622922f2cbaa68
+# Source0-md5: 86559f96282802d0dc3006817a7c11e3
Patch0: %{name}-build.patch
Patch1: %{name}-desktop.patch
# http://bugs.cinelerra.org/raw-attachment/ticket/949/remove-support-v4l-buzz-k2-6-38.diff
Patch2: remove-support-v4l-buzz-k2-6-38.diff
Patch3: %{name}-ffmpeg.patch
Patch4: %{name}-format-security.patch
+Patch5: %{name}-ffmpeg2.patch
URL: http://cinelerra.org/
BuildRequires: OpenEXR-devel >= 1.2.1
BuildRequires: OpenGL-GLU-devel
#%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p0
find -name Makefile.am | xargs %{__sed} -i -e 's#^LIBTOOL =.*##g'