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