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