]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - external libraries packages (is there any sense in that?) | |
3 | # | |
4 | %define snap 20061125 | |
5 | Summary: Cinelerra - capturing, editing and production of audio/video material | |
6 | Summary(pl.UTF-8): Cinelerra - nagrywanie, obróbka i produkcja materiału audio/video | |
7 | Name: cinelerra-cv | |
8 | Version: 2.1 | |
9 | Release: 0.%{snap}.9 | |
10 | License: GPL | |
11 | Group: X11/Applications | |
12 | # svn://svn.skolelinux.org/cinelerra/trunk/hvirtual | |
13 | Source0: %{name}-%{version}.tar.gz | |
14 | # Source0-md5: 89a039be86acab89ed392ce987dea2c8 | |
15 | Patch0: %{name}-build.patch | |
16 | URL: http://cvs.cinelerra.org/ | |
17 | BuildRequires: OpenEXR-devel >= 1.2.1 | |
18 | BuildRequires: OpenGL-devel | |
19 | BuildRequires: a52dec-libs-devel | |
20 | BuildRequires: alsa-lib-devel >= 1.0.8 | |
21 | BuildRequires: autoconf | |
22 | BuildRequires: automake | |
23 | BuildRequires: esound-devel | |
24 | BuildRequires: findutils | |
25 | BuildRequires: ffmpeg-devel | |
26 | BuildRequires: fftw3-devel | |
27 | BuildRequires: freetype-devel >= 2.1.4 | |
28 | BuildRequires: gettext-devel | |
29 | BuildRequires: lame-libs-devel >= 3.93.1 | |
30 | BuildRequires: libavc1394-devel >= 0.5.1 | |
31 | BuildRequires: libdv-devel | |
32 | BuildRequires: libiec61883-devel >= 1.0.0 | |
33 | #BuildRequires: libmpeg3-devel >= 1.7 | |
34 | BuildRequires: libraw1394-devel >= 1.2.0 | |
35 | BuildRequires: libsndfile-devel >= 1.0.11 | |
36 | BuildRequires: libstdc++-devel >= 5:3.2.2 | |
37 | BuildRequires: libtheora-devel >= 1.0-0.alpha4 | |
38 | BuildRequires: libtiff-devel >= 3.5.7 | |
39 | BuildRequires: libtool | |
40 | BuildRequires: libuuid-devel | |
41 | BuildRequires: mjpegtools-devel | |
42 | %ifarch %{ix86} | |
43 | BuildRequires: nasm | |
44 | %endif | |
45 | #BuildRequires: quicktime4linux-devel >= 2.2 | |
46 | BuildRequires: xorg-lib-libX11-devel | |
47 | BuildRequires: xorg-lib-libXext-devel | |
48 | BuildRequires: xorg-lib-libXv-devel | |
49 | BuildRequires: xorg-lib-libXxf86vm-devel | |
50 | Requires: OpenEXR-devel >= 1.2.1 | |
51 | Requires: alsa-lib >= 1.0.8 | |
52 | Requires: freetype >= 2.1.4 | |
53 | Requires: libavc1394 >= 0.5.1 | |
54 | Requires: libiec61883 >= 1.0.0 | |
55 | #Requires: libmpeg3 >= 1.7 | |
56 | Requires: libraw1394 >= 1.2.0 | |
57 | Requires: libsndfile >= 1.0.11 | |
58 | Requires: libtheora >= 1.0-0.alpha4 | |
59 | #Requires: quicktime4linux >= 2.2 | |
60 | Obsoletes: bcast | |
61 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
62 | ||
63 | %define _noautostrip .*/microtheme.plugin | |
64 | ||
65 | %description | |
66 | There are two types of moviegoers: producers who create new content, | |
67 | going back over their content at future points for further refinement, | |
68 | and consumers who want to acquire the content and watch it. Cinelerra | |
69 | is not intended for consumers. Cinelerra has many features for | |
70 | uncompressed content, high resolution processing, and compositing, | |
71 | with very few shortcuts. Producers need these features because of the | |
72 | need to retouch many generations of footage with alterations to the | |
73 | format, which makes Cinelerra very complex. | |
74 | ||
75 | Cinelerra was meant to be a Broadcast 2000 replacement. | |
76 | ||
77 | This is Community Version. | |
78 | ||
79 | %description -l pl.UTF-8 | |
80 | Są dwa rodzaje użytkowników zajmujących się filmami: producenci | |
81 | tworzący nowe filmy, wracający do nich w przyszłości w celu dalszego | |
82 | wygładzenia, oraz konsumenci, którzy chcą tylko zdobyć film i go | |
83 | obejrzeć. Cinelerra nie jest dla konsumentów. Program ma wiele | |
84 | możliwości do edycji nieskompresowanej zawartości, obróbki w wysokiej | |
85 | rozdzielczości oraz montażu, z bardzo małą liczbą skrótów. Producenci | |
86 | potrzebują tych możliwości ze względu na konieczność retuszowania oraz | |
87 | modyfikacji formatu, co czyni program bardzo złożonym. | |
88 | ||
89 | Cinelerra była tworzona z myślą o zastąpieniu programu Broadcast 2000. | |
90 | ||
91 | Wersja Społecznościowa. | |
92 | ||
93 | %prep | |
94 | %setup -q | |
95 | %patch0 -p1 | |
96 | ||
97 | find . -name Makefile.am -exec sed -i -e 's#^LIBTOOL =.*##g' "{}" ";" | |
98 | ||
99 | %build | |
100 | rm -f m4/*.m4 *.m4 | |
101 | touch config.rpath | |
102 | %{__gettextize} | |
103 | %{__libtoolize} | |
104 | %{__aclocal} -I m4 | |
105 | %{__autoheader} | |
106 | %{__automake} | |
107 | %{__autoconf} | |
108 | ||
109 | %configure \ | |
110 | %ifarch ppc | |
111 | --enable-altivec \ | |
112 | %endif | |
113 | %ifarch %{ix86} %{x8664} | |
114 | --enable-mmx \ | |
115 | --enable-3dnow \ | |
116 | %endif | |
117 | --enable-freetype2 \ | |
118 | --with-external-ffmpeg \ | |
119 | --with-alsa-prefix=%{_prefix} \ | |
120 | --with-fontsdir=%{_fontsdir} \ | |
121 | --with-plugindir=%{_libdir}/cinelerra | |
122 | ||
123 | %{__make} | |
124 | ||
125 | %install | |
126 | rm -rf $RPM_BUILD_ROOT | |
127 | ||
128 | %{__make} install \ | |
129 | DESTDIR=$RPM_BUILD_ROOT | |
130 | ||
131 | install -d $RPM_BUILD_ROOT%{_libdir}/cinelerra/fonts | |
132 | ||
133 | %find_lang cinelerra | |
134 | ||
135 | %clean | |
136 | rm -rf $RPM_BUILD_ROOT | |
137 | ||
138 | %post -p /sbin/ldconfig | |
139 | %postun -p /sbin/ldconfig | |
140 | ||
141 | %files -f cinelerra.lang | |
142 | %defattr(644,root,root,755) | |
143 | %doc doc/* README* TODO | |
144 | %attr(755,root,root) %{_bindir}/* | |
145 | %dir %{_libdir}/cinelerra | |
146 | %attr(755,root,root) %{_libdir}/cinelerra/*.so | |
147 | %{_libdir}/cinelerra/*.la | |
148 | %{_libdir}/cinelerra/shapewipe | |
149 | %{_libdir}/cinelerra/fonts | |
150 | %attr(755,root,root) %{_libdir}/lib*.so.* | |
151 | %{_desktopdir}/*.desktop | |
152 | %{_pixmapsdir}/*.* |