cinelerra/cinelerra.spec

Thu, 05 Feb 2009 15:23:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 05 Feb 2009 15:23:50 +0100
changeset 2
9837280ca183
parent 1
0ac791766d58
child 3
d160fffb83b7
permissions
-rw-r--r--

Correct dependencies and generally clean and improve packaging.
In particular, enable linking to the Mesa OpenGL library for graphics.

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

mercurial