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