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