]> git.pld-linux.org Git - packages/cinelerra-cv.git/blob - cinelerra-cv.spec
- new; community version
[packages/cinelerra-cv.git] / cinelerra-cv.spec
1 # TODO:
2 # - external libraries packages (is there any sense in that?)
3 #
4 %define snap    20061125
5 Summary:        Cinelerra - capturing, editing and production of audio/video material
6 Summary(pl):    Cinelerra - nagrywanie, obróbka i produkcja materia³u audio/video
7 Name:           cinelerra-cv
8 Version:        2.1
9 Release:        0.%{snap}.1
10 License:        GPL
11 Group:          X11/Applications
12 # svn://svn.skolelinux.org/cinelerra/trunk/hvirtual
13 Source0:        %{name}-%{version}.tar.gz
14 # Source0-md5:  89a039be86acab89ed392ce987dea2c8
15 Patch0:         %{name}-build.patch
16 URL:            http://cvs.cinelerra.org/
17 BuildRequires:  OpenEXR-devel >= 1.2.1
18 #BuildRequires: OpenGL-devel >= 2.0
19 BuildRequires:  alsa-lib-devel >= 1.0.8
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  esound-devel
23 BuildRequires:  freetype-devel >= 2.1.4
24 #BuildRequires: lame-libs-devel >= 3.93.1
25 BuildRequires:  libavc1394-devel >= 0.5.1
26 BuildRequires:  libiec61883-devel >= 1.0.0
27 #BuildRequires: libmpeg3-devel >= 1.7
28 BuildRequires:  libraw1394-devel >= 1.2.0
29 BuildRequires:  libsndfile-devel >= 1.0.11
30 BuildRequires:  libstdc++-devel >= 5:3.2.2
31 BuildRequires:  libtheora-devel >= 1.0-0.alpha4
32 BuildRequires:  libtiff-devel >= 3.5.7
33 BuildRequires:  libtool
34 BuildRequires:  libuuid-devel
35 %ifarch %{ix86}
36 BuildRequires:  nasm
37 %endif
38 #BuildRequires: quicktime4linux-devel >= 2.2
39 BuildRequires:  xorg-lib-libX11-devel
40 BuildRequires:  xorg-lib-libXext-devel
41 BuildRequires:  xorg-lib-libXv-devel
42 BuildRequires:  xorg-lib-libXxf86vm-devel
43 Requires:       OpenEXR-devel >= 1.2.1
44 Requires:       alsa-lib >= 1.0.8
45 Requires:       freetype >= 2.1.4
46 Requires:       libavc1394 >= 0.5.1
47 Requires:       libiec61883 >= 1.0.0
48 #Requires:      libmpeg3 >= 1.7
49 Requires:       libraw1394 >= 1.2.0
50 Requires:       libsndfile >= 1.0.11
51 Requires:       libtheora >= 1.0-0.alpha4
52 #Requires:      quicktime4linux >= 2.2
53 Obsoletes:      bcast
54 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56 %define         _noautostrip    .*/microtheme.plugin
57
58 %description
59 There are two types of moviegoers: producers who create new content,
60 going back over their content at future points for further refinement,
61 and consumers who want to acquire the content and watch it. Cinelerra
62 is not intended for consumers. Cinelerra has many features for
63 uncompressed content, high resolution processing, and compositing,
64 with very few shortcuts. Producers need these features because of the
65 need to retouch many generations of footage with alterations to the
66 format, which makes Cinelerra very complex.
67
68 Cinelerra was meant to be a Broadcast 2000 replacement.
69
70 This is Community Version.
71
72 %description -l pl
73 S± dwa rodzaje u¿ytkowników zajmuj±cych siê filmami: producenci
74 tworz±cy nowe filmy, wracaj±cy do nich w przysz³o¶ci w celu dalszego
75 wyg³adzenia, oraz konsumenci, którzy chc± tylko zdobyæ film i go
76 obejrzeæ. Cinelerra nie jest dla konsumentów. Program ma wiele
77 mo¿liwo¶ci do edycji nieskompresowanej zawarto¶ci, obróbki w wysokiej
78 rozdzielczo¶ci oraz monta¿u, z bardzo ma³± liczb± skrótów. Producenci
79 potrzebuj± tych mo¿liwo¶ci ze wzglêdu na konieczno¶æ retuszowania oraz
80 modyfikacji formatu, co czyni program bardzo z³o¿onym.
81
82 Cinelerra by³a tworzona z my¶l± o zast±pieniu programu Broadcast 2000.
83
84 Wersja Spo³eczno¶ciowa.
85
86 %prep
87 %setup -q
88 %patch0 -p1
89
90 %build
91 rm -rf m4/*.m4 *.m4
92 touch config.rpath
93 %{__aclocal}
94 %{__libtoolize}
95 %{__autoheader}
96 %{__automake}
97 %{__autoconf}
98
99 %configure \
100 %ifarch ppc
101         --enable-altivec \
102 %endif
103 %ifarch %{ix86} %{x8664}
104         --enable-mmx \
105         --enable-3dnow \
106 %endif
107         --enable-freetype2 \
108         --with-external-ffmpeg \
109         --with-alsa-prefix=%{_prefix} \
110         --with-fontsdir=%{_fontsdir} \
111         --with-plugindir=%{_libdir}/cinelerra
112
113 %{__make}
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117
118 %{__make} install \
119         DESTDIR=$RPM_BUILD_ROOT
120
121 %find_lang cinelerra
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %post -p /sbin/ldconfig
127 %postun -p /sbin/ldconfig
128
129 %files -f cinelerra.lang
130 %defattr(644,root,root,755)
131 %doc doc/* README* TODO
132 %attr(755,root,root) %{_bindir}/*
133 %dir %{_libdir}/cinelerra
134 %attr(755,root,root) %{_libdir}/cinelerra/*.so
135 %{_libdir}/cinelerra/*.la
136 %{_libdir}/cinelerra/shapewipe
137 %attr(755,root,root) %{_libdir}/lib*.so.*
138 %{_desktopdir}/*.desktop
139 %{_pixmapsdir}/*.*
This page took 0.063564 seconds and 3 git commands to generate.