cinelerra/cinelerra.spec

changeset 3
d160fffb83b7
parent 2
9837280ca183
child 4
ee379de11fd7
equal deleted inserted replaced
1:c545cea20cd5 2:ab7aa348803f
1 # Packmanpackagename: cinelerra 1 # Packmanpackagename: cinelerra
2 # Packman: Leon Freitag (leon@links2linux.de) 2 # Packman: Leon Freitag (leon@links2linux.de)
3 # Packmangroup: Multimedia 3 # Packmangroup: Multimedia
4 # norootforbuild 4 # norootforbuild
5
5 # NOTICE: 6 # NOTICE:
6 # To compile Cinelerra with opengl you have to install 7 # To compile Cinelerra with opengl you have to install
7 # NVidia drivers v8774 into the chroot! Once compiled 8 # NVidia drivers v8774 into the chroot! Once compiled
8 # Cinelerra should work on non-NVidia cards fine too. 9 # Cinelerra should work on non-NVidia cards fine too.
9 10
10 #%define svnv 1061 11 Name: cinelerra
11 Name: cinelerra 12 Summary: A non linear video editor and effects processor
12 Summary: A non linear video editor and effects processor 13 Version: 2.1.cv%(date '+%Y%m%d' -d 02/02/2009)
13 Version: 2.1.cv%(date '+%Y%m%d' -d 02/02/2009) 14 Release: 0.msvb.1
14 #Version: 2.1.cv%{svnv} 15 License: GPL
15 Release: 0.msvb.1 16 Group: Productivity/Multimedia/Video/Editors and Convertors
16 License: GPL 17 URL: http://cvs.cinelerra.org/
17 Group: Productivity/Multimedia/Video/Editors and Convertors 18 Source0: %name-%version.tar.bz2
18 URL: http://cvs.cinelerra.org/ 19 BuildRoot: %{_tmppath}/%{name}-2.1-%{release}-buildroot
19 Source0: %name-%version.tar.bz2 20 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 e2fsprogs-devel libtiff-devel flac-devel
20 #Patch0: cinelerra-gcc43.patch 21 Requires: mjpegtools >= 1.6.3, libavcodec52, libavutil49
21 BuildRoot: %{_tmppath}/%{name}-2.1-%{release}-buildroot 22 Requires: libx264-66, liba52, libpostproc51, libswscale0
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 Provides: cinelerra
23 #who would ever think of that... 24 Autoreqprov: on
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
31 25
32 %description 26 %description
33 Heroine Virtual Ltd. presents an advanced content creation system for 27 Cinelerra is a free and open source software nonlinear video editing
34 Linux. Cinelerra takes what normally is a boring server - studied in 28 system which includes a video compositing engine, allowing the user
35 computer science classrooms, hidden in back offices - and turns it into 29 to perform common compositing operations such as keying and mattes.
36 a 50,000 watt flamethrower of multimedia editing. 30 Because Cinelerra is a professional editing program, it requires
31 significant computing power.
37 32
38 That's right kids. Unlike most of the Linux solutions out there, 33 Cinelerra was first released August 1, 2002, and was based in part
39 Cinelerra requires no emulation of proprietary operating systems, no 34 on an earlier product known as Broadcast 2000. Broadcast 2000 was
40 commercial add-ons, no banner advertizements, no corporate dependancies, 35 withdrawn by Heroine Virtual in September 2001.
41 no terrorists, just a boring old Linux box.
42
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.
47
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.
52 36
53 The version of this package is the cinelerra.org community version. 37 The version of this package is the cinelerra.org community version.
54 38
55 %package devel 39 %package devel
56 Summary: Cinelerra header files and development libraries 40 Summary: Cinelerra header files and development libraries
57 Group: Development/Libraries/Other 41 Group: Development/Libraries/Other
58 Requires: %name = %version 42 Requires: %name = %version
59 43
60 %description devel 44 %description devel
61 This package contains Cinelerra files needed for compiling stuff. 45 This package contains Cinelerra files needed for compiling stuff.
62 46
63 %prep 47 %prep
64 %setup -q 48 %setup -q
65 #%if %suse_version >= 1100
66 #%patch0
67 #%endif
68 49
69 %build 50 %build
70 ./autogen.sh 51 ./autogen.sh
71 %configure --enable-opengl --with-plugindir=%{_libdir}/%{name} --with-buildinfo=cust/Europalab\ Development\ Build\ \(MSvB20090202\) --with-external-ffmpeg 52 %configure --enable-opengl --with-plugindir=%{_libdir}/%{name} --with-buildinfo=cust/Europalab\ Development\ Build\ \(MSvB20090202\) --with-external-ffmpeg
72
73 %{__make} %{?_smp_mflags} %{?mflags} 53 %{__make} %{?_smp_mflags} %{?mflags}
74 54
75 %install 55 %install
76 %makeinstall 56 %makeinstall
77 # rename the mpeg3 utils so they can be installed alongside SuSE native versions 57 # rename the mpeg3 utils to allow for parallel
58 # installation alongside SuSE native versions.
78 cd $RPM_BUILD_ROOT/%{_bindir} 59 cd $RPM_BUILD_ROOT/%{_bindir}
79 mv mpeg3toc mpeg3toc.hv 60 mv mpeg3toc mpeg3toc.hv
80 mv mpeg3cat mpeg3cat.hv 61 mv mpeg3cat mpeg3cat.hv
81 mv mpeg3dump mpeg3dump.hv 62 mv mpeg3dump mpeg3dump.hv
82 cd $RPM_BUILD_ROOT%{_libdir} 63 cd $RPM_BUILD_ROOT%{_libdir}
83 ln -s %{_bindir}/mpeg2enc $RPM_BUILD_ROOT%{_libdir}/cinelerra/mpeg2enc.plugin 64 ln -s %{_bindir}/mpeg2enc $RPM_BUILD_ROOT%{_libdir}/cinelerra/mpeg2enc.plugin
84
85 65
86 %clean 66 %clean
87 rm -rf $RPM_BUILD_ROOT 67 rm -rf $RPM_BUILD_ROOT
88 68
89 %files 69 %files
90 %defattr(-,root,root,-) 70 %defattr(-,root,root,-)
91 %doc 71 %doc
92 72
93 %{_bindir}/cinelerra 73 %{_bindir}/cinelerra
94 74
95 # missing in the 2.1 build 75 #%{_bindir}/mplexhi # missing in the 2.1 build
96 #%{_bindir}/mplexhi
97 %{_bindir}/mplexlo 76 %{_bindir}/mplexlo
98 77
99 %{_bindir}/mpeg3dump.hv 78 %{_bindir}/mpeg3dump.hv
100 %{_bindir}/mpeg3toc.hv 79 %{_bindir}/mpeg3toc.hv
101 %{_bindir}/mpeg3cat.hv 80 %{_bindir}/mpeg3cat.hv
104 %{_libdir}/cinelerra/* 83 %{_libdir}/cinelerra/*
105 84
106 %{_libdir}/libguicast.so.* 85 %{_libdir}/libguicast.so.*
107 %{_libdir}/libmpeg3hv*.so.* 86 %{_libdir}/libmpeg3hv*.so.*
108 %{_libdir}/libquicktimehv*.so.* 87 %{_libdir}/libquicktimehv*.so.*
109 # missing 88 #%{_libdir}/libsndfilehv* # missing
110 #%{_libdir}/libsndfilehv*
111 89
112 %{_datadir}/applications/cinelerra.desktop 90 %{_datadir}/applications/cinelerra.desktop
113 %{_datadir}/pixmaps/cinelerra.xpm 91 %{_datadir}/pixmaps/cinelerra.xpm
114 92
115 %files devel 93 %files devel
116 #no .pc files :/ 94 #%{_libdir}/pkgconfig* #no .pc files :/
117 #%{_libdir}/pkgconfig*
118 95
119 %{_libdir}/libmpeg3hv.so 96 %{_libdir}/libmpeg3hv.so
120 %{_libdir}/libmpeg3hv.la 97 %{_libdir}/libmpeg3hv.la
121 %{_libdir}/libquicktimehv.so 98 %{_libdir}/libquicktimehv.so
122 %{_libdir}/libquicktimehv.la 99 %{_libdir}/libquicktimehv.la
125 #%{_libdir}/libsndfilehv.so 102 #%{_libdir}/libsndfilehv.so
126 #%{_libdir}/libsndfilehv.la 103 #%{_libdir}/libsndfilehv.la
127 %{_includedir}/* 104 %{_includedir}/*
128 105
129 %changelog 106 %changelog
107 * Thu Feb 04 2009 Michael Schloh von Bennewitz <michael@schloh.com> - 2.1.cv20090106
108 - reformat text and build logic statements in specification
130 * Tue Feb 02 2009 Michael Schloh von Bennewitz <michael@schloh.com> - 2.1.cv20090106 109 * Tue Feb 02 2009 Michael Schloh von Bennewitz <michael@schloh.com> - 2.1.cv20090106
131 - enabled OpenGL configuration parameter and added runtime dependencies 110 - enabled OpenGL configuration parameter and added runtime dependencies
132 * Tue Jan 06 2009 Leon Freitag <leon@links2linux.de> - 2.1.cv20090106 111 * 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 112 - new versioning scheme, as cinelerra moved to git and dropped the release numbers
134 - Suse 11.1 build 113 - Suse 11.1 build

mercurial