]> git.pld-linux.org Git - packages/cinelerra.git/blob - cinelerra.spec
- s/e2fsprogs-devel/libuuid-devel/
[packages/cinelerra.git] / cinelerra.spec
1 # TODO: build guicast as separate, shared library to use in
2 #       xmovie, mix2000, cinelerra and bcast
3 Summary:        Cinelerra - capturing, editing and production of audio/video material
4 Summary(pl):    Cinelerra - nagrywanie, obróbka i produkcja materia³u audio/video
5 Name:           cinelerra
6 Version:        1.1.7
7 Release:        2
8 License:        GPL
9 Group:          X11/Applications
10 Source0:        http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
11 # Source0-md5:  efdd895b6706da3a450d0bcf92fd5c11
12 Patch0:         %{name}-system-libs.patch
13 Patch1:         %{name}-libsndfile1.patch
14 Patch2:         %{name}-strip.patch
15 Patch3:         %{name}-fontsdir.patch
16 Patch4:         %{name}-freetype.patch
17 URL:            http://heroinewarrior.com/cinelerra.php3
18 BuildRequires:  XFree86-devel
19 BuildRequires:  esound-devel
20 BuildRequires:  freetype-devel >= 2.1.4
21 BuildRequires:  lame-libs-devel >= 3.93.1
22 BuildRequires:  libavc1394-devel >= 0.4.0
23 BuildRequires:  libmpeg3-devel >= 1.5.0-2
24 BuildRequires:  libsndfile-devel >= 1.0.0
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtiff-devel
27 BuildRequires:  libuuid-devel
28 BuildRequires:  quicktime4linux-devel >= 2.0.0
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 # defaulttheme and microtheme cannot be stripped
32 # (they have resources appended to linked binary :/)
33 %define         no_install_post_strip   1
34
35 %description
36 There are two types of moviegoers: producers who create new content,
37 going back over their content at future points for further refinement,
38 and consumers who want to acquire the content and watch it. Cinelerra
39 is not intended for consumers. Cinelerra has many features for
40 uncompressed content, high resolution processing, and compositing,
41 with very few shortcuts. Producers need these features because of the
42 need to retouch many generations of footage with alterations to the
43 format, which makes Cinelerra very complex.
44
45 Cinelerra was meant to be a Broadcast 2000 replacement.
46
47 %description -l pl
48 S± dwa rodzaje u¿ytkowników zajmuj±cych siê filmami: producenci
49 tworz±cy nowe filmy, wracaj±cy do nich w przysz³o¶ci w celu dalszego
50 wyg³adzenia, oraz konsumenci, którzy chc± tylko zdobyæ film i go
51 obejrzeæ. Cinelerra nie jest dla konsumentów. Program ma wiele
52 mo¿liwo¶ci do edycji nieskompresowanej zawarto¶ci, obróbki w wysokiej
53 rozdzielczo¶ci oraz monta¿u, z bardzo ma³± liczb± skrótów. Producenci
54 potrzebuj± tych mo¿liwo¶ci ze wzglêdu na konieczno¶æ retuszowania
55 oraz modyfikacji formatu, co czyni program bardzo z³o¿onym.
56
57 Cinelerra by³a tworzona z my¶l± o zast±pieniu programu Broadcast 2000.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62 %patch1 -p1
63 %patch2 -p1
64 %patch3 -p1
65 %patch4 -p1
66
67 %build
68 CFLAGS="%{rpmcflags} -fno-rtti"; export CFLAGS
69 %{__make} -f build/Makefile.toolame
70 %{__make} -C mpeg2enc
71 %{__make} -C mplexhi
72 %{__make} -C mplexlo
73 %{__make} -C guicast
74 %{__make} -C cinelerra
75 # defaulttheme and microtheme are stripped before running "bootstrap"
76 %{__make} -C plugins \
77         STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}"
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cinelerra}
82
83 install cinelerra/*/cinelerra $RPM_BUILD_ROOT%{_bindir}
84 install plugins/`uname -m`/*.plugin $RPM_BUILD_ROOT%{_libdir}/cinelerra
85
86 %if 0%{!?debug:1}
87 # strip all that can be stripped
88 strip -R.note -R.comment $RPM_BUILD_ROOT%{_bindir}/cinelerra
89 find $RPM_BUILD_ROOT%{_libdir}/cinelerra -name '*.plugin' | \
90         grep -v 'defaulttheme\|microtheme' | xargs strip -R.note -R.comment
91 %endif
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files
97 %defattr(644,root,root,755)
98 %doc doc/{*.png,*.html,press}
99 %attr(755,root,root) %{_bindir}/*
100 %attr(755,root,root) %{_libdir}/cinelerra
This page took 0.115083 seconds and 3 git commands to generate.