]> git.pld-linux.org Git - packages/cinelerra.git/blob - cinelerra.spec
676ee94162e46ffbfc0f72d1bfc9a3fc02c005fa
[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:        1
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 URL:            http://heroinewarrior.com/cinelerra.php3
17 BuildRequires:  XFree86-devel
18 # it's sick, but it's true - it uses libuuid functions
19 BuildRequires:  e2fsprogs-devel
20 BuildRequires:  esound-devel
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:  quicktime4linux-devel >= 1.6.1-2
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 # defaulttheme and microtheme cannot be stripped
31 # (they have resources appended to linked binary :/)
32 %define         no_install_post_strip   1
33
34 %description
35 There are two types of moviegoers: producers who create new content,
36 going back over their content at future points for further refinement,
37 and consumers who want to acquire the content and watch it. Cinelerra
38 is not intended for consumers. Cinelerra has many features for
39 uncompressed content, high resolution processing, and compositing,
40 with very few shortcuts. Producers need these features because of the
41 need to retouch many generations of footage with alterations to the
42 format, which makes Cinelerra very complex.
43
44 Cinelerra was meant to be a Broadcast 2000 replacement.
45
46 %description -l pl
47 S± dwa rodzaje u¿ytkowników zajmuj±cych siê filmami: producenci
48 tworz±cy nowe filmy, wracaj±cy do nich w przysz³o¶ci w celu dalszego
49 wyg³adzenia, oraz konsumenci, którzy chc± tylko zdobyæ film i go
50 obejrzeæ. Cinelerra nie jest dla konsumentów. Program ma wiele
51 mo¿liwo¶ci do edycji nieskompresowanej zawarto¶ci, obróbki w wysokiej
52 rozdzielczo¶ci oraz monta¿u, z bardzo ma³± liczb± skrótów. Producenci
53 potrzebuj± tych mo¿liwo¶ci ze wzglêdu na konieczno¶æ retuszowania
54 oraz modyfikacji formatu, co czyni program bardzo z³o¿onym.
55
56 Cinelerra by³a tworzona z my¶l± o zast±pieniu programu Broadcast 2000.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62 %patch2 -p1
63 %patch3 -p1
64
65 %build
66 CFLAGS="%{rpmcflags} -fno-rtti"; export CFLAGS
67 %{__make} -f build/Makefile.toolame
68 %{__make} -C mpeg2enc
69 %{__make} -C mplexhi
70 %{__make} -C mplexlo
71 %{__make} -C guicast
72 %{__make} -C cinelerra
73 # defaulttheme and microtheme are stripped before running "bootstrap"
74 %{__make} -C plugins \
75         STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}"
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cinelerra}
80
81 install cinelerra/*/cinelerra $RPM_BUILD_ROOT%{_bindir}
82 install plugins/`uname -m`/*.plugin $RPM_BUILD_ROOT%{_libdir}/cinelerra
83
84 %if 0%{!?debug:1}
85 # strip all that can be stripped
86 strip -R.note -R.comment $RPM_BUILD_ROOT%{_bindir}/cinelerra
87 find $RPM_BUILD_ROOT%{_libdir}/cinelerra -name '*.plugin' | \
88         grep -v 'defaulttheme\|microtheme' | xargs strip -R.note -R.comment
89 %endif
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc doc/{*.png,*.html,press}
97 %attr(755,root,root) %{_bindir}/*
98 %attr(755,root,root) %{_libdir}/cinelerra
This page took 0.031413 seconds and 2 git commands to generate.