]> git.pld-linux.org Git - packages/cinelerra.git/blob - cinelerra.spec
5da0637a2a934a0b6ebed2ae3d5cd2e198feb5e5
[packages/cinelerra.git] / cinelerra.spec
1 Summary:        Cinelerra - capturing, editing and production of audio/video material
2 Summary(pl):    Cinelerra - nagrywanie, obróbka i produkcja materia³u audio/video
3 Name:           cinelerra
4 Version:        1.1.5
5 Release:        1
6 License:        GPL
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)
32
33 # defaulttheme and microtheme cannot be stripped
34 # (they have resources appended to linked binary :/)
35 %define         no_install_post_strip   1
36
37 %description
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.
46
47 Cinelerra was meant to be a Broadcast 2000 replacement.
48
49 %description -l pl
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.
58
59 Cinelerra by³a tworzona z my¶l± o zast±pieniu programu Broadcast 2000.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66 %patch3 -p1
67 %patch4 -p1
68 %patch5 -p1
69 %patch6 -p1
70
71 %build
72 CFLAGS="%{rpmcflags} -fno-rtti"; export CFLAGS
73 %{__make} -C mplexhi
74 %{__make} -C mplexlo
75 %{__make} -C guicast
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}"
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cinelerra}
84
85 install cinelerra/*/cinelerra $RPM_BUILD_ROOT%{_bindir}
86 install plugins/`uname -m`/*.plugin $RPM_BUILD_ROOT%{_libdir}/cinelerra
87
88 %if 0%{!?debug:1}
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
93 %endif
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %files
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
This page took 0.101559 seconds and 3 git commands to generate.