Thu, 05 Feb 2009 15:23:50 +0100
Correct dependencies and generally clean and improve packaging.
In particular, enable linking to the Mesa OpenGL library for graphics.
michael@1 | 1 | # Packmanpackagename: cinelerra |
michael@1 | 2 | # Packman: Leon Freitag (leon@links2linux.de) |
michael@1 | 3 | # Packmangroup: Multimedia |
michael@1 | 4 | # norootforbuild |
michael@1 | 5 | # NOTICE: |
michael@2 | 6 | # To compile Cinelerra with opengl you have to install |
michael@2 | 7 | # NVidia drivers v8774 into the chroot! Once compiled |
michael@2 | 8 | # Cinelerra should work on non-NVidia cards fine too. |
michael@1 | 9 | |
michael@1 | 10 | #%define svnv 1061 |
michael@1 | 11 | Name: cinelerra |
michael@1 | 12 | Summary: A non linear video editor and effects processor |
michael@2 | 13 | Version: 2.1.cv%(date '+%Y%m%d' -d 02/02/2009) |
michael@1 | 14 | #Version: 2.1.cv%{svnv} |
michael@2 | 15 | Release: 0.msvb.1 |
michael@1 | 16 | License: GPL |
michael@1 | 17 | Group: Productivity/Multimedia/Video/Editors and Convertors |
michael@2 | 18 | URL: http://cvs.cinelerra.org/ |
michael@1 | 19 | Source0: %name-%version.tar.bz2 |
michael@1 | 20 | #Patch0: cinelerra-gcc43.patch |
michael@1 | 21 | BuildRoot: %{_tmppath}/%{name}-2.1-%{release}-buildroot |
michael@2 | 22 | BuildRequires: automake autoconf libtool gcc-c++ freetype2-devel Mesa-devel xorg-x11-devel fltk-devel libx264-devel alsa-devel libesd-devel lame libavc1394-devel libfaac-devel faad2-devel libjpeg-devel libpng-devel libdv-devel OpenEXR-devel libogg-devel libvorbis-devel libtheora-devel mjpegtools-devel libraw1394-devel libiec61883-devel libmpeg3 libsndfile-devel pkgconfig nasm fftw3-devel liba52dec-devel libffmpeg-devel |
michael@1 | 23 | #who would ever think of that... |
michael@1 | 24 | BuildRequires: e2fsprogs-devel |
michael@1 | 25 | #and what they forgot to check in the configure script... |
michael@1 | 26 | BuildRequires: libtiff-devel flac-devel |
michael@2 | 27 | Requires: mjpegtools >= 1.6.3, libavcodec52, libavutil49 |
michael@2 | 28 | Requires: libx264-66, liba52, libpostproc51, libswscale0 |
michael@1 | 29 | Provides: cinelerra |
michael@1 | 30 | Autoreqprov: on |
michael@1 | 31 | |
michael@1 | 32 | %description |
michael@2 | 33 | Heroine Virtual Ltd. presents an advanced content creation system for |
michael@2 | 34 | Linux. Cinelerra takes what normally is a boring server - studied in |
michael@2 | 35 | computer science classrooms, hidden in back offices - and turns it into |
michael@2 | 36 | a 50,000 watt flamethrower of multimedia editing. |
michael@1 | 37 | |
michael@2 | 38 | That's right kids. Unlike most of the Linux solutions out there, |
michael@2 | 39 | Cinelerra requires no emulation of proprietary operating systems, no |
michael@2 | 40 | commercial add-ons, no banner advertizements, no corporate dependancies, |
michael@2 | 41 | no terrorists, just a boring old Linux box. |
michael@2 | 42 | |
michael@2 | 43 | Cinelerra does primarily 3 main things: capturing, compositing, and |
michael@2 | 44 | editing audio and video with sample level accuracy. It's a seamless |
michael@2 | 45 | integration of audio, video, and still photos rarely experienced on a |
michael@2 | 46 | web server. |
michael@2 | 47 | |
michael@2 | 48 | If you want to make movies, you just want to defy the establishment, you |
michael@2 | 49 | want the same kind of compositing and editing suite that the big boys |
michael@2 | 50 | use, on the world's most efficient UNIX operating system, it's time for |
michael@2 | 51 | Cinelerra. |
michael@2 | 52 | |
michael@2 | 53 | The version of this package is the cinelerra.org community version. |
michael@2 | 54 | |
michael@1 | 55 | %package devel |
michael@1 | 56 | Summary: Cinelerra header files and development libraries |
michael@1 | 57 | Group: Development/Libraries/Other |
michael@1 | 58 | Requires: %name = %version |
michael@2 | 59 | |
michael@1 | 60 | %description devel |
michael@2 | 61 | This package contains Cinelerra files needed for compiling stuff. |
michael@1 | 62 | |
michael@1 | 63 | %prep |
michael@1 | 64 | %setup -q |
michael@1 | 65 | #%if %suse_version >= 1100 |
michael@1 | 66 | #%patch0 |
michael@1 | 67 | #%endif |
michael@1 | 68 | |
michael@1 | 69 | %build |
michael@1 | 70 | ./autogen.sh |
michael@2 | 71 | %configure --enable-opengl --with-plugindir=%{_libdir}/%{name} --with-buildinfo=cust/Europalab\ Development\ Build\ \(MSvB20090202\) --with-external-ffmpeg |
michael@1 | 72 | |
michael@1 | 73 | %{__make} %{?_smp_mflags} %{?mflags} |
michael@1 | 74 | |
michael@1 | 75 | %install |
michael@1 | 76 | %makeinstall |
michael@1 | 77 | # rename the mpeg3 utils so they can be installed alongside SuSE native versions |
michael@1 | 78 | cd $RPM_BUILD_ROOT/%{_bindir} |
michael@1 | 79 | mv mpeg3toc mpeg3toc.hv |
michael@1 | 80 | mv mpeg3cat mpeg3cat.hv |
michael@1 | 81 | mv mpeg3dump mpeg3dump.hv |
michael@1 | 82 | cd $RPM_BUILD_ROOT%{_libdir} |
michael@1 | 83 | ln -s %{_bindir}/mpeg2enc $RPM_BUILD_ROOT%{_libdir}/cinelerra/mpeg2enc.plugin |
michael@1 | 84 | |
michael@1 | 85 | |
michael@1 | 86 | %clean |
michael@1 | 87 | rm -rf $RPM_BUILD_ROOT |
michael@1 | 88 | |
michael@1 | 89 | %files |
michael@1 | 90 | %defattr(-,root,root,-) |
michael@1 | 91 | %doc |
michael@1 | 92 | |
michael@1 | 93 | %{_bindir}/cinelerra |
michael@1 | 94 | |
michael@1 | 95 | # missing in the 2.1 build |
michael@1 | 96 | #%{_bindir}/mplexhi |
michael@1 | 97 | %{_bindir}/mplexlo |
michael@1 | 98 | |
michael@1 | 99 | %{_bindir}/mpeg3dump.hv |
michael@1 | 100 | %{_bindir}/mpeg3toc.hv |
michael@1 | 101 | %{_bindir}/mpeg3cat.hv |
michael@1 | 102 | |
michael@1 | 103 | %{_datadir}/locale/* |
michael@1 | 104 | %{_libdir}/cinelerra/* |
michael@1 | 105 | |
michael@1 | 106 | %{_libdir}/libguicast.so.* |
michael@1 | 107 | %{_libdir}/libmpeg3hv*.so.* |
michael@1 | 108 | %{_libdir}/libquicktimehv*.so.* |
michael@1 | 109 | # missing |
michael@1 | 110 | #%{_libdir}/libsndfilehv* |
michael@1 | 111 | |
michael@1 | 112 | %{_datadir}/applications/cinelerra.desktop |
michael@1 | 113 | %{_datadir}/pixmaps/cinelerra.xpm |
michael@1 | 114 | |
michael@1 | 115 | %files devel |
michael@1 | 116 | #no .pc files :/ |
michael@1 | 117 | #%{_libdir}/pkgconfig* |
michael@1 | 118 | |
michael@1 | 119 | %{_libdir}/libmpeg3hv.so |
michael@1 | 120 | %{_libdir}/libmpeg3hv.la |
michael@1 | 121 | %{_libdir}/libquicktimehv.so |
michael@1 | 122 | %{_libdir}/libquicktimehv.la |
michael@1 | 123 | %{_libdir}/libguicast.so |
michael@1 | 124 | %{_libdir}/libguicast.la |
michael@1 | 125 | #%{_libdir}/libsndfilehv.so |
michael@1 | 126 | #%{_libdir}/libsndfilehv.la |
michael@1 | 127 | %{_includedir}/* |
michael@2 | 128 | |
michael@1 | 129 | %changelog |
michael@2 | 130 | * Tue Feb 02 2009 Michael Schloh von Bennewitz <michael@schloh.com> - 2.1.cv20090106 |
michael@2 | 131 | - enabled OpenGL configuration parameter and added runtime dependencies |
michael@1 | 132 | * Tue Jan 06 2009 Leon Freitag <leon@links2linux.de> - 2.1.cv20090106 |
michael@1 | 133 | - new versioning scheme, as cinelerra moved to git and dropped the release numbers |
michael@1 | 134 | - Suse 11.1 build |
michael@1 | 135 | * Thu Jul 03 2008 Leon Freitag <leon@links2linux.de> - 2.1.cv1036 |
michael@1 | 136 | - added a patch to compile on gcc 4.3/Suse 11.0, thanks to Toni and Rain_Maker |
michael@1 | 137 | * Sat Oct 06 2007 Leon Freitag <leon@links2linux.de> - 2.1.cv1036 |
michael@1 | 138 | - svn r1036 |
michael@1 | 139 | * Wed Mar 28 2007 Leon Freitag <leon@links2linux.de> - 2.1.cv1006 |
michael@1 | 140 | - svn r1006 |
michael@1 | 141 | - added the custom buildinfo |
michael@1 | 142 | * Mon Nov 13 2006 Leon Freitag <leon@links2linux.de> - 2.1.cv958 |
michael@1 | 143 | - svn r958 |
michael@1 | 144 | - updated for the new x264 version |
michael@1 | 145 | * Tue Sep 26 2006 Leon Freitag <leon@links2linux.de> - 2.1.cv909 |
michael@1 | 146 | - changed the spec to match the packman/SP conventions |
michael@1 | 147 | - svn r909 |
michael@1 | 148 | * Thu Sep 14 2006 Kevin Brosius <cobra@compuserve.com> - 2.1.0.cvs.cobra-date |
michael@1 | 149 | - First package with merged Cinelerra 2.1 |
michael@1 | 150 | - svn r888 |
michael@1 | 151 | * Thu Jun 1 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 152 | - transitions fix, Ogg renderfarm support, po email address fix |
michael@1 | 153 | - file.h compile fix, fix thread delete race condition |
michael@1 | 154 | - a bunch of mem management fixes |
michael@1 | 155 | * Mon May 29 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 156 | - reading ogg vorbis fix, Freetype2 2.2.1 compatibility |
michael@1 | 157 | - mjpeg load fixes (bug139, 148, 259), fix insertion of media files directly |
michael@1 | 158 | - shorten xml files, motion blur plugin |
michael@1 | 159 | - camera and projector automation for plugins, waveform not shown fix |
michael@1 | 160 | - change every clip all media files behavior in saved xml |
michael@1 | 161 | - work without audio enabled, delete pluginsets fix |
michael@1 | 162 | * Tue May 02 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 163 | - fseek0 fix bug244, bug250, check sound/audio in dv format |
michael@1 | 164 | - bug249 vorbis setup fix, chromakey fix, check for libfaac |
michael@1 | 165 | - fix DV audio read sample impl., move icon in Gnome |
michael@1 | 166 | - bug30 allow transition at end of track, bug243 |
michael@1 | 167 | - fix crash when rendering plugins, fix null plugin usage |
michael@1 | 168 | - fix load XML crash, bug242 >1024 properties |
michael@1 | 169 | * Sat Apr 03 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 170 | - EDL export, .mov DV fourcc -> dvc, multi transitions with diff lengths fix |
michael@1 | 171 | - debian build fixes, new configure checks and libavcodec header fixes |
michael@1 | 172 | - mux fixes for long silence/empty video, ubuntu build fixes |
michael@1 | 173 | - RGB*_FLOAT color models for mask engine, gcc 4.1.0 fixes/mpeg2enc |
michael@1 | 174 | - Makefile cleanups, raise_window() commands, BUZ driver channel editor fixes |
michael@1 | 175 | - format selection for timecode in titler, build date and CV versioning |
michael@1 | 176 | - fix --disable-firewire, chromakey-hsv plugin, pt_BR translation updates |
michael@1 | 177 | - deinterlace plugin updates, cache frames even when not static |
michael@1 | 178 | - new deinterlacer, timefronts - take from alpha |
michael@1 | 179 | - fix apply-mask-before-plugins for masks, new timefront plugin |
michael@1 | 180 | - add histogram split checkbox |
michael@1 | 181 | * Sat Feb 04 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 182 | - vertical pos of auto-zoom text, dv audio offset/framing fix |
michael@1 | 183 | - Italian translation, Spanish update, deinterlace fix |
michael@1 | 184 | - mpeg encode params fix |
michael@1 | 185 | * Sat Jan 26 2006 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 186 | - raw dv i/o fixes, textual info for labels, " conversion |
michael@1 | 187 | - Automation text label editable, audio_position adjust for dv1394 |
michael@1 | 188 | * Sat Dec 24 2005 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 189 | - fix bug 219 & 220, make text menu hilight white |
michael@1 | 190 | - alt+left/right navigates trough edit handles |
michael@1 | 191 | - parameter name fix, single image dnd fixes, remove mwindowmove dup code |
michael@1 | 192 | - ffmpeg defaults for elem stream (Bug 164), member function fix |
michael@1 | 193 | - gettextize language changes for more plugins, French update |
michael@1 | 194 | * Sun Dec 11 2005 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 195 | - Fix renderfarm client crash, align cursor on frames default |
michael@1 | 196 | - right mouse on keyframe - keyframe popup, guicast / gettextize additions |
michael@1 | 197 | - Brazilian update, French update |
michael@1 | 198 | - link mpeg2enc.plugin for SUSE, add mjpegtools >= 1.6.3 dep |
michael@1 | 199 | * Mon Nov 14 2005 Kevin Brosius <cobra@compuserve.com> - 2.0.0.cvs.cobra-date |
michael@1 | 200 | - Initial build of CV from svn tree. |