# TODO: # - external libraries packages (is there any sense in that?) # %define snap 20061125 Summary: Cinelerra - capturing, editing and production of audio/video material Summary(pl): Cinelerra - nagrywanie, obróbka i produkcja materiału audio/video Name: cinelerra-cv Version: 2.1 Release: 0.%{snap}.1 License: GPL Group: X11/Applications # svn://svn.skolelinux.org/cinelerra/trunk/hvirtual Source0: %{name}-%{version}.tar.gz # Source0-md5: 89a039be86acab89ed392ce987dea2c8 Patch0: %{name}-build.patch URL: http://cvs.cinelerra.org/ BuildRequires: OpenEXR-devel >= 1.2.1 #BuildRequires: OpenGL-devel >= 2.0 BuildRequires: alsa-lib-devel >= 1.0.8 BuildRequires: autoconf BuildRequires: automake BuildRequires: esound-devel BuildRequires: freetype-devel >= 2.1.4 #BuildRequires: lame-libs-devel >= 3.93.1 BuildRequires: libavc1394-devel >= 0.5.1 BuildRequires: libiec61883-devel >= 1.0.0 #BuildRequires: libmpeg3-devel >= 1.7 BuildRequires: libraw1394-devel >= 1.2.0 BuildRequires: libsndfile-devel >= 1.0.11 BuildRequires: libstdc++-devel >= 5:3.2.2 BuildRequires: libtheora-devel >= 1.0-0.alpha4 BuildRequires: libtiff-devel >= 3.5.7 BuildRequires: libtool BuildRequires: libuuid-devel %ifarch %{ix86} BuildRequires: nasm %endif #BuildRequires: quicktime4linux-devel >= 2.2 BuildRequires: xorg-lib-libX11-devel BuildRequires: xorg-lib-libXext-devel BuildRequires: xorg-lib-libXv-devel BuildRequires: xorg-lib-libXxf86vm-devel Requires: OpenEXR-devel >= 1.2.1 Requires: alsa-lib >= 1.0.8 Requires: freetype >= 2.1.4 Requires: libavc1394 >= 0.5.1 Requires: libiec61883 >= 1.0.0 #Requires: libmpeg3 >= 1.7 Requires: libraw1394 >= 1.2.0 Requires: libsndfile >= 1.0.11 Requires: libtheora >= 1.0-0.alpha4 #Requires: quicktime4linux >= 2.2 Obsoletes: bcast BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _noautostrip .*/microtheme.plugin %description 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. %description -l pl Są dwa rodzaje użytkowników zajmujących się filmami: producenci tworzący nowe filmy, wracający do nich w przyszłości w celu dalszego wygładzenia, oraz konsumenci, którzy chcą tylko zdobyć film i go obejrzeć. Cinelerra nie jest dla konsumentów. Program ma wiele możliwości do edycji nieskompresowanej zawartości, obróbki w wysokiej rozdzielczości oraz montażu, z bardzo małą liczbą skrótów. Producenci potrzebują tych możliwości ze względu na konieczność retuszowania oraz modyfikacji formatu, co czyni program bardzo złożonym. Cinelerra była tworzona z myślą o zastąpieniu programu Broadcast 2000. Wersja Społecznościowa. %prep %setup -q %patch0 -p1 %build rm -rf m4/*.m4 *.m4 touch config.rpath %{__aclocal} %{__libtoolize} %{__autoheader} %{__automake} %{__autoconf} %configure \ %ifarch ppc --enable-altivec \ %endif %ifarch %{ix86} %{x8664} --enable-mmx \ --enable-3dnow \ %endif --enable-freetype2 \ --with-external-ffmpeg \ --with-alsa-prefix=%{_prefix} \ --with-fontsdir=%{_fontsdir} \ --with-plugindir=%{_libdir}/cinelerra %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %find_lang cinelerra %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f cinelerra.lang %defattr(644,root,root,755) %doc doc/* README* TODO %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/cinelerra %attr(755,root,root) %{_libdir}/cinelerra/*.so %{_libdir}/cinelerra/*.la %{_libdir}/cinelerra/shapewipe %attr(755,root,root) %{_libdir}/lib*.so.* %{_desktopdir}/*.desktop %{_pixmapsdir}/*.*