]> git.pld-linux.org Git - packages/cinelerra-cv.git/blame - cinelerra-cv.spec
- builds fixes
[packages/cinelerra-cv.git] / cinelerra-cv.spec
CommitLineData
4b732681
AM
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
51feeac3 6Summary(pl.UTF-8): Cinelerra - nagrywanie, obróbka i produkcja materiału audio/video
4b732681
AM
7Name: cinelerra-cv
8Version: 2.1
fe5cd210 9Release: 0.%{snap}.10
4b732681
AM
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
6e08b1f8
AM
18BuildRequires: OpenGL-devel
19BuildRequires: a52dec-libs-devel
4b732681
AM
20BuildRequires: alsa-lib-devel >= 1.0.8
21BuildRequires: autoconf
22BuildRequires: automake
23BuildRequires: esound-devel
7fb4836c 24BuildRequires: ffmpeg-devel
6e08b1f8 25BuildRequires: fftw3-devel
4b732681 26BuildRequires: freetype-devel >= 2.1.4
62886f9a 27BuildRequires: gettext-devel
55df2963 28BuildRequires: lame-libs-devel >= 3.93.1
4b732681 29BuildRequires: libavc1394-devel >= 0.5.1
6e08b1f8 30BuildRequires: libdv-devel
4b732681
AM
31BuildRequires: libiec61883-devel >= 1.0.0
32#BuildRequires: libmpeg3-devel >= 1.7
33BuildRequires: libraw1394-devel >= 1.2.0
34BuildRequires: libsndfile-devel >= 1.0.11
35BuildRequires: libstdc++-devel >= 5:3.2.2
36BuildRequires: libtheora-devel >= 1.0-0.alpha4
37BuildRequires: libtiff-devel >= 3.5.7
38BuildRequires: libtool
39BuildRequires: libuuid-devel
6e08b1f8 40BuildRequires: mjpegtools-devel
4b732681
AM
41%ifarch %{ix86}
42BuildRequires: nasm
43%endif
44#BuildRequires: quicktime4linux-devel >= 2.2
637bd55d 45BuildRequires: sed >= 4.0
4b732681
AM
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
c2f84247
JR
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.
4b732681 88
c2f84247 89Cinelerra była tworzona z myślą o zastąpieniu programu Broadcast 2000.
4b732681 90
a1110f06 91Wersja społecznościowa.
4b732681
AM
92
93%prep
94%setup -q
95%patch0 -p1
96
1ec3e062 97find -name Makefile.am | xargs %{__sed} -i -e 's#^LIBTOOL =.*##g'
b80afb9a 98
4b732681 99%build
62886f9a 100rm -f m4/*.m4 *.m4
4b732681 101touch config.rpath
62886f9a 102%{__gettextize}
4b732681 103%{__libtoolize}
62886f9a 104%{__aclocal} -I m4
4b732681
AM
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
a0e939be
AM
131install -d $RPM_BUILD_ROOT%{_libdir}/cinelerra/fonts
132
4b732681
AM
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
a0e939be 149%{_libdir}/cinelerra/fonts
4b732681
AM
150%attr(755,root,root) %{_libdir}/lib*.so.*
151%{_desktopdir}/*.desktop
152%{_pixmapsdir}/*.*
This page took 0.054686 seconds and 4 git commands to generate.