1 Summary: Cinelerra - capturing, editing and production of audio/video material
2 Summary(pl): Cinelerra - nagrywanie, obróbka i produkcja materia³u audio/video
7 Group: X11/Applications
8 Source0: http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
9 # yes, it's the same source
10 # TODO: build guicast as separate, shared library to use in
11 # xmovie, mix2000, cinelerra and bcast
12 Patch0: xmovie-c++.patch
13 Patch1: %{name}-system-libs.patch
14 Patch2: %{name}-libsndfile1.patch
15 Patch3: %{name}-c++.patch
16 Patch4: %{name}-lame.patch
17 Patch5: %{name}-strip.patch
18 Patch6: %{name}-fontsdir.patch
19 URL: http://heroinewarrior.com/cinelerra.php3
20 BuildRequires: XFree86-devel
21 # it's sick, but it's true - it uses libuuid functions
22 BuildRequires: e2fsprogs-devel
23 BuildRequires: esound-devel
24 BuildRequires: lame-libs-devel >= 3.93.1
25 BuildRequires: libavc1394-devel >= 0.4.0
26 BuildRequires: libmpeg3-devel >= 1.5.0-2
27 BuildRequires: libsndfile-devel >= 1.0.0
28 BuildRequires: libstdc++-devel
29 BuildRequires: libtiff-devel
30 BuildRequires: quicktime4linux-devel >= 1.6.1-2
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 # defaulttheme and microtheme cannot be stripped
34 # (they have resources appended to linked binary :/)
35 %define no_install_post_strip 1
38 There are two types of moviegoers: producers who create new content,
39 going back over their content at future points for further refinement,
40 and consumers who want to acquire the content and watch it. Cinelerra
41 is not intended for consumers. Cinelerra has many features for
42 uncompressed content, high resolution processing, and compositing,
43 with very few shortcuts. Producers need these features because of the
44 need to retouch many generations of footage with alterations to the
45 format, which makes Cinelerra very complex.
47 Cinelerra was meant to be a Broadcast 2000 replacement.
50 S± dwa rodzaje u¿ytkowników zajmuj±cych siê filmami: producenci
51 tworz±cy nowe filmy, wracaj±cy do nich w przysz³o¶ci w celu dalszego
52 wyg³adzenia, oraz konsumenci, którzy chc± tylko zdobyæ film i go
53 obejrzeæ. Cinelerra nie jest dla konsumentów. Program ma wiele
54 mo¿liwo¶ci do edycji nieskompresowanej zawarto¶ci, obróbki w wysokiej
55 rozdzielczo¶ci oraz monta¿u, z bardzo ma³± liczb± skrótów. Producenci
56 potrzebuj± tych mo¿liwo¶ci ze wzglêdu na konieczno¶æ retuszowania
57 oraz modyfikacji formatu, co czyni program bardzo z³o¿onym.
59 Cinelerra by³a tworzona z my¶l± o zast±pieniu programu Broadcast 2000.
72 CFLAGS="%{rpmcflags} -fno-rtti"; export CFLAGS
76 %{__make} -C cinelerra
77 # defaulttheme and microtheme are stripped before running "bootstrap"
78 %{__make} -C plugins \
79 STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}"
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cinelerra}
85 install cinelerra/*/cinelerra $RPM_BUILD_ROOT%{_bindir}
86 install plugins/`uname -m`/*.plugin $RPM_BUILD_ROOT%{_libdir}/cinelerra
89 # strip all that can be stripped
90 strip -R.note -R.comment $RPM_BUILD_ROOT%{_bindir}/cinelerra
91 find $RPM_BUILD_ROOT%{_libdir}/cinelerra -name '*.plugin' | \
92 grep -v 'defaulttheme\|microtheme' | xargs strip -R.note -R.comment
96 rm -rf $RPM_BUILD_ROOT
99 %defattr(644,root,root,755)
100 %doc doc/{*.png,*.html,press}
101 %attr(755,root,root) %{_bindir}/*
102 %attr(755,root,root) %{_libdir}/cinelerra