packages cinelerra-cv.spec
      Pages: < 1 >  DOWNLOAD      
Name:          cinelerra-cv
Version:       2.2.git20120403
Release:       1mamba2
Summary:       Advanced audio and video capturing, compositing, and editing
Group:         Graphical Desktop/Applications/Multimedia
Vendor:        openmamba
Distribution:  openmamba
Packager:      Tiziana Ferro <tiziana.ferro@...>
# Source got with git clone git:// cinelerra-cv (make dist not working)
Source0:       %{name}-%{version}.tar.xz
Patch0:        %{name}-2.1.5-fix-font.patch
Patch1:        %{name}-2.1.5-remove-fontts.patch
Patch2:        %{name}-2.2.git20120403-ffmpeg.patch
License:       GPL
BuildRoot:     %{_tmppath}/%{name}-%{version}-root
Obsoletes:     cinelerra
Provides:      cinelerra
BuildRequires: glibc-devel
BuildRequires: liba52dec-devel
BuildRequires: libalsa-devel
BuildRequires: libavc1394-devel
BuildRequires: libavcodec-devel
BuildRequires: libdv-devel
BuildRequires: libfaac-devel
BuildRequires: libfaad2-devel
BuildRequires: libfftw-devel
BuildRequires: libflac-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libiec61883-devel
BuildRequires: libilmbase-devel
BuildRequires: libjpeg-devel
BuildRequires: liblame-devel
BuildRequires: libmjpegtools-devel
BuildRequires: libogg-devel
BuildRequires: libopenexr-devel
BuildRequires: libpng-devel
BuildRequires: libpostproc-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libraw1394-devel
BuildRequires: libsndfile-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswscale-devel
BuildRequires: libtheora-devel
BuildRequires: libtiff-devel
BuildRequires: libuuid-devel
BuildRequires: libvorbis-devel
BuildRequires: libX11-devel
BuildRequires: libx264-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXv-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libz-devel
%ifarch %{ix86}
BuildRequires: nasm
BuildRequires: libjbig-devel
BuildRequires: libmjpegtools-devel
BuildRequires: e2fsprogs
BuildRequires: libavcodec-devel
Requires:      mpeg3-tools

There are two types of moviegoers: producers who create new content, going back over their content at future points for further refinement, and consumers who want to acquire the content and watch it.
Cinelerra is not intended for consumers.
Cinelerra has many features for uncompressed content, high resolution processing, and compositing, with very few shortcuts.
Producers need these features because of the need to retouch many generations of footage with alterations to the format, which makes Cinelerra very complex.

Cinelerra was meant to be a Broadcast 2000 replacement.

This is Community Version.

A professional audio and video editing software.

%package devel
Summary:       Devel package for %{name}
Group:         Development/Libraries
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides:      cinelerra-devel
Obsoletes:     cinelerra-devel

%description devel
This is the Community maintained Version of cinelerra.

This package contains static libraries and header files need for development.

%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
%patch2 -p1

%configure \
  --with-fontsdir=%{_datadir}/fonts/%{name} \
  --with-plugindir=%{_libdir}/cinelerra \
  --with-alsa-prefix=%{_prefix} \
  --disable-esd \
  --with-external-ffmpeg \
  --enable-libfaad \
  --enable-freetype2 \
  --disable-static \
%ifarch %{ix86} x86_64
  --enable-mmx \
  --disable-mmx \
  --disable-3dnow \
%ifarch ppc ppc64
  --enable-altivec \
  --disable-altivec \
  --with-pic \
  --enable-opengl \
  --disable-rpath \
   FREETYPE_CFLAGS="-I%{_includedir}/freetype2" \
   CFLAGS="%{optflags}" \
   LTFLAGS="--tag=CC" \


[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DESTDIR=%{buildroot}

# remove conflict with ffmpeg
rm -f %{buildroot}%{_bindir}/mpeg3cat \
      %{buildroot}%{_bindir}/mpeg3dump \

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%dir %{_libdir}/cinelerra

%files devel
%dir %{_includedir}/mpeg3
%dir %{_includedir}/quicktime

* Thu May 10 2012 Silvan Calarco <silvan.calarco@...> 2.2.git20120403-1mamba2
- mamba2 milestone rebuild

* Tue Apr 03 2012 Silvan Calarco <silvan.calarco@...> 2.2.git20120403-1mamba
- update to 2.2.git20120403

* Sat Mar 19 2011 Silvan Calarco <silvan.calarco@...> 2.1.5_20101122-3mamba
- obsolete cinelerra-devel

* Fri Mar 18 2011 Silvan Calarco <silvan.calarco@...> 2.1.5_20101122-2mamba
- fixed to build with external ffmpeg and freetype
- require mpeg3-tools and don't provide intenal conflicting mpeg3* executables
- specfile cleanups

* Sun Mar 13 2011 Tiziana Ferro <tiziana.ferro@...> 2.1.5_20101122-1mamba
- package created by autospec