r1000: zero length allocation in stsz.c detected by valgrind, and the writing over...
[cinelerra_cv/mob.git] / cinelerra-cvs-current.spec.in
blob146090efb5a0f7f8639f216a2da351b6e0a66c75
1 # This is not relocatable
2 %define prefix /usr
4 # macros
5 %define with_OPENGL 0
7 %{?_with_opengl: %{expand: %%global with_OPENGL 1}}
9 Summary: Cinelerra CV
10 Name: cinelerra
11 Version: @VERSION@.cv981
12 %if %{with_OPENGL}
13 ##Version: @VERSION@.CV.svn.%{build_nick}.opengl
14 Release: %{build_nick}.%(date '+%Y%m%d').opengl
15 %else
16 ##Version: @VERSION@.CV.svn.%{build_nick}
17 Release: %{build_nick}.%(date '+%Y%m%d')
18 %endif
19 ##Release: %(date '+%Y%m%d')
20 License: GPL
21 Group: Productivity/Multimedia/Video/Editors and Convertors
22 URL: http://cvs.cinelerra.org
23 Source0: %{name}-@VERSION@.tar.gz
24 BuildRoot: %{_tmppath}/%{name}-@VERSION@-%{release}-buildroot
25 Requires: mjpegtools >= 1.6.3
27 %if %suse_version > 1000
28 BuildRequires: xorg-x11 xorg-x11-devel mjpegtools >= 1.6.3 mjpegtools-devel
29 BuildRequires: alsa-devel libogg-devel
30 BuildRequires: libvorbis-devel libtheora-devel OpenEXR-devel libdv-devel
31 BuildRequires: libpng-devel libjpeg-devel mjpegtools-devel fftw3-devel a52dec
32 BuildRequires: faad2-devel faac libiec61883-devel esound-devel lame
33 BuildRequires: e2fsprogs-devel libsndfile-devel nasm gcc gcc-c++ libtiff-devel
35 # libpng-devel-32bit libjpeg-devel-32bit e2fsprogs-devel-32bit
36 # libtiff-devel-32bit
37 # non-suse repo
38 BuildRequires: x264-devel
39 %endif
41 Provides: cinelerra
43 %description
44 %if %{with_OPENGL}
45 Cinelerra unofficial cvs package
46 build options: --with opengl
47 %else
48 Cinelerra unofficial cvs package
49 without OpenGL support
50 build options: [none]
51 %endif
53 %prep
54 %setup -n %{name}-@VERSION@
56 %build
57 %if %{with_OPENGL}
58 ./configure --prefix=%{prefix} --libdir=%_libdir --with-plugindir=%{_libdir}/cinelerra --enable-freetype2 --with-buildinfo=cust/"SVN r981 SUSE" --enable-opengl
59 %else
60 ./configure --prefix=%{prefix} --libdir=%_libdir --with-plugindir=%{_libdir}/cinelerra --enable-freetype2 --with-buildinfo=cust/"SVN r981 SUSE"
61 %endif
62 %{__make} %{?_smp_mflags} %{?mflags}
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 make DESTDIR=$RPM_BUILD_ROOT install
67 # rename the mpeg3 utils so they can be installed alongside SuSE native versions
68 ( cd $RPM_BUILD_ROOT%{prefix}/bin
69 mv mpeg3toc mpeg3toc.hv
70 mv mpeg3cat mpeg3cat.hv
71 mv mpeg3dump mpeg3dump.hv
72 ln -s /usr/bin/mpeg2enc $RPM_BUILD_ROOT%{_libdir}/cinelerra/mpeg2enc.plugin
75 %clean
76 rm -rf $RPM_BUILD_ROOT
78 %files
79 %defattr(-,root,root,-)
80 %doc
81 #%{prefix}/bin/*
82 %{prefix}/bin/cinelerra
84 # missing in the 2.0 build?
85 #%{prefix}/bin/mplexhi
86 %{prefix}/bin/mplexlo
88 #%exclude %{prefix}/bin/mpeg3dump
89 #%exclude %{prefix}/bin/mpeg3toc
90 #%exclude %{prefix}/bin/mpeg3cat
91 %{prefix}/bin/mpeg3dump.hv
92 %{prefix}/bin/mpeg3toc.hv
93 %{prefix}/bin/mpeg3cat.hv
95 %{prefix}/share/locale/*
96 %exclude %{prefix}/include/*
98 %{_libdir}/cinelerra/*.so
99 %{_libdir}/cinelerra/mpeg2enc.plugin
100 %{_libdir}/cinelerra/shapewipe/*
102 # remove below for no static libs
103 # %exclude %{_libdir}/lib/cinelerra/*.a
104 %exclude %{_libdir}/cinelerra/*.la
106 %{_libdir}/cinelerra/fonts/*
108 %{_libdir}/libguicast*
109 %{_libdir}/libmpeg3hv*
110 %{_libdir}/libquicktimehv*
111 # missing in 2.0
112 #%{prefix}/lib/libsndfilehv*
113 #%{prefix}/lib/pkgconfig*
115 %{prefix}/share/applications/cinelerra.desktop
116 %{prefix}/share/pixmaps/cinelerra.xpm
119 %changelog
120 * Fri Jan 19 2007 Kevin Brosius <cobra@compuserve.com> - 2.1.cv981-cobra-date
121 - svn r981
122 - Update for 64bit SUSE builds
123 - Change versioning to more closely match SUSE package guidelines and packman
126 * Fri Nov 24 2006 Kevin Brosius <cobra@compuserve.com> - 2.1.0.cvs.cobra-date
127 - svn r958
129 * Thu Sep 14 2006 Kevin Brosius <cobra@compuserve.com> - 2.1.0.cvs.cobra-date
130 - First package with merged Cinelerra 2.1
131 - svn r888
133 %changelog
134 * Thu Jun 1 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
135 - transitions fix, Ogg renderfarm support, po email address fix
136 - file.h compile fix, fix thread delete race condition
137 - a bunch of mem management fixes
139 * Mon May 29 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
140 - reading ogg vorbis fix, Freetype2 2.2.1 compatibility
141 - mjpeg load fixes (bug139, 148, 259), fix insertion of media files directly
142 - shorten xml files, motion blur plugin
143 - camera and projector automation for plugins, waveform not shown fix
144 - change every clip all media files behavior in saved xml
145 - work without audio enabled, delete pluginsets fix
147 * Tue May 02 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
148 - fseek0 fix bug244, bug250, check sound/audio in dv format
149 - bug249 vorbis setup fix, chromakey fix, check for libfaac
150 - fix DV audio read sample impl., move icon in Gnome
151 - bug30 allow transition at end of track, bug243
152 - fix crash when rendering plugins, fix null plugin usage
153 - fix load XML crash, bug242 >1024 properties
155 * Sat Apr 03 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
156 - EDL export, .mov DV fourcc -> dvc, multi transitions with diff lengths fix
157 - debian build fixes, new configure checks and libavcodec header fixes
158 - mux fixes for long silence/empty video, ubuntu build fixes
159 - RGB*_FLOAT color models for mask engine, gcc 4.1.0 fixes/mpeg2enc
160 - Makefile cleanups, raise_window() commands, BUZ driver channel editor fixes
161 - format selection for timecode in titler, build date and CV versioning
162 - fix --disable-firewire, chromakey-hsv plugin, pt_BR translation updates
163 - deinterlace plugin updates, cache frames even when not static
164 - new deinterlacer, timefronts - take from alpha
165 - fix apply-mask-before-plugins for masks, new timefront plugin
166 - add histogram split checkbox
168 * Sat Feb 04 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
169 - vertical pos of auto-zoom text, dv audio offset/framing fix
170 - Italian translation, Spanish update, deinterlace fix
171 - mpeg encode params fix
173 * Sat Jan 26 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
174 - raw dv i/o fixes, textual info for labels, " conversion
175 - Automation text label editable, audio_position adjust for dv1394
177 * Sat Dec 24 2005 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
178 - fix bug 219 & 220, make text menu hilight white
179 - alt+left/right navigates trough edit handles
180 - parameter name fix, single image dnd fixes, remove mwindowmove dup code
181 - ffmpeg defaults for elem stream (Bug 164), member function fix
182 - gettextize language changes for more plugins, French update
184 * Sun Dec 11 2005 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
185 - Fix renderfarm client crash, align cursor on frames default
186 - right mouse on keyframe - keyframe popup, guicast / gettextize additions
187 - Brazilian update, French update
188 - link mpeg2enc.plugin for SUSE, add mjpegtools >= 1.6.3 dep
190 * Mon Nov 14 2005 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date
191 - Initial build of CV from svn tree.