]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without qt # don't build Qt-based utilities (incl. aviplay) | |
4 | %bcond_with divx # enables divx4linux support (proprietary, binary-only | |
5 | # lib) note: if disabled, divx is decoded by ffmpeg | |
6 | %bcond_with nas # enable NAS support | |
7 | %bcond_with v4l1 # Video4Linux 1 | |
8 | # | |
9 | Summary: Library for playing AVI files | |
10 | Summary(pl.UTF-8): Biblioteka do odtwarzania plików AVI | |
11 | Summary(pt_BR.UTF-8): Biblioteca para reproduzir formatos de áudio e vídeo usando binários win32 | |
12 | Name: avifile | |
13 | Version: 0.7.45 | |
14 | Release: 18 | |
15 | Epoch: 3 | |
16 | License: GPL | |
17 | Group: X11/Libraries | |
18 | Source0: http://downloads.sourceforge.net/avifile/%{name}-0.7-%{version}.tar.bz2 | |
19 | # Source0-md5: 7da94802f120d1b69e04a13170dcd21d | |
20 | Source1: %{name}.desktop | |
21 | Patch0: %{name}-shareware.patch | |
22 | Patch1: %{name}-fix-keys.patch | |
23 | Patch2: %{name}-etc_dir.patch | |
24 | Patch3: %{name}-aviplay_h.patch | |
25 | Patch4: %{name}-no_aux_dir.patch | |
26 | Patch5: %{name}-link_shared.patch | |
27 | Patch6: %{name}-no_libnsl.patch | |
28 | Patch7: %{name}-system-libmad.patch | |
29 | Patch8: %{name}-system_wide_ffmpeg.patch | |
30 | Patch9: %{name}-opt.patch | |
31 | Patch10: %{name}-opts.patch | |
32 | Patch11: %{name}-sparc.patch | |
33 | Patch12: %{name}-link.patch | |
34 | Patch13: %{name}-am.patch | |
35 | Patch14: %{name}-gcc4.patch | |
36 | Patch15: %{name}-compile.patch | |
37 | Patch16: %{name}-extern_c_ffmpeg.patch | |
38 | Patch17: %{name}-xf86dga.patch | |
39 | Patch18: %{name}-new_ffmpeg.patch | |
40 | Patch19: %{name}-fix-no-bits_per_sample.patch | |
41 | Patch20: %{name}-gcc44.patch | |
42 | Patch21: %{name}-types.patch | |
43 | Patch22: %{name}-ffmpeg.patch | |
44 | Patch23: %{name}-v4l.patch | |
45 | URL: http://avifile.sourceforge.net/ | |
46 | BuildRequires: SDL-devel >= 1.2.0 | |
47 | BuildRequires: a52dec-libs-devel | |
48 | BuildRequires: audiofile-devel | |
49 | BuildRequires: autoconf | |
50 | BuildRequires: automake | |
51 | %{?with_divx:BuildRequires: divx4linux-devel} | |
52 | BuildRequires: faad2-devel | |
53 | BuildRequires: ffmpeg-devel | |
54 | %ifarch ppc | |
55 | # version with altivec support fixed | |
56 | BuildRequires: gcc >= 5:3.3.2-3 | |
57 | %endif | |
58 | BuildRequires: lame-libs-devel | |
59 | BuildRequires: libjpeg-devel | |
60 | BuildRequires: libmad-devel | |
61 | BuildRequires: libogg-devel | |
62 | BuildRequires: libtool >= 1:1.4.3 | |
63 | BuildRequires: libvorbis-devel >= 1:1.0 | |
64 | %{?with_nas:BuildRequires: nas-devel} | |
65 | BuildRequires: pkgconfig | |
66 | %{?with_qt:BuildRequires: qt-devel >= 2.0.0} | |
67 | BuildRequires: rpmbuild(macros) >= 1.213 | |
68 | BuildRequires: xorg-lib-libXext-devel | |
69 | BuildRequires: xorg-lib-libXft-devel | |
70 | BuildRequires: xorg-lib-libXi-devel | |
71 | BuildRequires: xorg-lib-libXinerama-devel | |
72 | BuildRequires: xorg-lib-libXv-devel | |
73 | BuildRequires: xorg-lib-libXxf86dga-devel | |
74 | BuildRequires: xorg-lib-libXxf86vm-devel | |
75 | BuildRequires: xvid-devel >= 1:1.0.0 | |
76 | BuildConflicts: wine-devel | |
77 | Obsoletes: avifile-vidix-nvidia | |
78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
79 | ||
80 | %define specflags -fno-strict-aliasing -D__STDC_CONSTANT_MACROS | |
81 | ||
82 | %description | |
83 | Avifile is a library that allow programs to read and write compressed | |
84 | AVI files (Indeo Video, DivX ;-), etc.) under x86 Linux. | |
85 | (De)compression is performed with various plugins (Win32, FFMpeg,...) | |
86 | ||
87 | %description -l pl.UTF-8 | |
88 | Avifile jest biblioteką służącą do odczytywania i zapisywania | |
89 | skompresowanych plików AVI (Indeo Video, DivX ;-), etc.) pod Linuksem. | |
90 | Do (de)kompresji używane są wtyczki (win32, FFMpeg...). | |
91 | ||
92 | %description -l pt_BR.UTF-8 | |
93 | Avifile busca criar uma biblioteca usável de suporte a arquivos AVI e | |
94 | um conjunto básico de utilitários (para reprodução, captura e edição) | |
95 | para o Linux. Contém classes C++ para leitura e criação de AVIs e | |
96 | interfaces para compressores e descompresseores de áudio e vídeo. | |
97 | ||
98 | %package devel | |
99 | Summary: Header file required to build programs using libavifile | |
100 | Summary(pl.UTF-8): Pliki nagłówkowe wymagane przez programy używające libavifile | |
101 | Summary(pt_BR.UTF-8): Componentes para desenvolvimento com a avifile | |
102 | Group: X11/Development/Libraries | |
103 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
104 | Requires: xorg-lib-libXext-devel | |
105 | Requires: xorg-lib-libXft-devel | |
106 | Requires: xorg-lib-libXi-devel | |
107 | Requires: xorg-lib-libXinerama-devel | |
108 | Requires: xorg-lib-libXv-devel | |
109 | Requires: xorg-lib-libXxf86dga-devel | |
110 | Requires: xorg-lib-libXxf86vm-devel | |
111 | Requires: zlib-devel | |
112 | ||
113 | %description devel | |
114 | Header files required to build programs using libavifile. | |
115 | ||
116 | %description devel -l pl.UTF-8 | |
117 | Pliki nagłówkowe niezbędne do kompilacji programów korzystających z | |
118 | libavifile. | |
119 | ||
120 | %description devel -l pt_BR.UTF-8 | |
121 | Componentes para desenvolvimento com a avifile. | |
122 | ||
123 | %package qt | |
124 | Summary: Qt-based AVI utilities | |
125 | Summary(pl.UTF-8): Oparte na bibliotece Qt narzędzia do plików AVI | |
126 | Group: X11/Applications/Multimedia | |
127 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
128 | ||
129 | %description qt | |
130 | Qt-based AVI utilities. | |
131 | ||
132 | %description qt -l pl.UTF-8 | |
133 | Oparte na bibliotece Qt narzędzia do plików AVI. | |
134 | ||
135 | %package aviplay | |
136 | Summary: Player for AVI/ASF/WMF files | |
137 | Summary(pl.UTF-8): Odtwarzacz plików AVI/ASF/WMF | |
138 | Group: X11/Applications/Multimedia | |
139 | Requires: %{name}-qt = %{epoch}:%{version}-%{release} | |
140 | ||
141 | %description aviplay | |
142 | Sample player for AVI, ASF, WFM (with straming support) files. | |
143 | ||
144 | %description aviplay -l pl.UTF-8 | |
145 | Przykładowy odtwarzacz plików AVI, ASF, WFM (ze wsparciem dla | |
146 | odtwarzania z sieci.) | |
147 | ||
148 | %package utils | |
149 | Summary: Sample programs using the avifile library | |
150 | Summary(pl.UTF-8): Przykładowe programy używające biblioteki avifile | |
151 | Group: X11/Applications/Multimedia | |
152 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
153 | ||
154 | %description utils | |
155 | Qt-based AVI utilities with few other useful supporting tools for TV | |
156 | capturing, AVI recompression, benchmarking, joining AVI files. These | |
157 | programs have more bugs as they are not as extensively developed as | |
158 | player. | |
159 | ||
160 | %description utils -l pl.UTF-8 | |
161 | Kilka użytecznych narzędzi do przechwytywania TV, rekompresji AVI, | |
162 | benchmarkowania, łączenia plików AVI. Mają więcej błędów, ponieważ nie | |
163 | są tak intensywnie rozwijane jak odtwarzacz. | |
164 | ||
165 | %package divx | |
166 | Summary: Fast MPEG4 codec | |
167 | Summary(pl.UTF-8): Szybki kodek MPEG4 | |
168 | Group: X11/Libraries | |
169 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
170 | Requires: divx4linux | |
171 | Obsoletes: avifile-divx4 | |
172 | ||
173 | %description divx | |
174 | DivX MPEG-4 decoder and encoder. | |
175 | ||
176 | %description divx -l pl.UTF-8 | |
177 | Dekoder i koder MPEG-4 DivX. | |
178 | ||
179 | %package ffmpeg | |
180 | Summary: GPL MPEG4 codec | |
181 | Summary(pl.UTF-8): Kodek MPEG4 na licencji GPL | |
182 | Group: X11/Libraries | |
183 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
184 | ||
185 | %description ffmpeg | |
186 | ffmpeg is a hyper fast realtime audio/video encoder, a streaming | |
187 | server and a generic audio and video file converter. | |
188 | ||
189 | It can grab from a standard Video4Linux video source and convert it | |
190 | into several file formats based on DCT/motion compensation encoding. | |
191 | Sound is compressed in MPEG audio layer 2 or using an AC3 compatible | |
192 | stream. | |
193 | ||
194 | %description ffmpeg -l pl.UTF-8 | |
195 | ffmpeg jest hiperszybkim koderem audio/wideo czasu rzeczywistego, | |
196 | serwerem strumieni oraz standardowym konwerterem plików audio-wideo. | |
197 | ||
198 | Może pobierać obraz ze standardowego źródła obrazu Video4Linux i | |
199 | konwertować je do kilku formatów plików opartych na kodowaniu DCT i | |
200 | kompensacji ruchu. Dźwięk jest kompresowany w formacie MPEG layer 2 | |
201 | lub przy użyciu strumienia kompatybilnego z AC3. | |
202 | ||
203 | %package lame_audioenc | |
204 | Summary: MP3 audio encoder plugin | |
205 | Summary(pl.UTF-8): Wtyczka kodująca dźwięk w formacie MP3 | |
206 | Group: X11/Libraries | |
207 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
208 | # this library is dlopened | |
209 | %ifarch %{x8664} ia64 ppc64 s390x sparc64 | |
210 | Requires: libmp3lame.so.0()(64bit) | |
211 | %else | |
212 | Requires: libmp3lame.so.0 | |
213 | %endif | |
214 | Requires: lame-libs | |
215 | ||
216 | %description lame_audioenc | |
217 | Plugin for MP3 encoding capability of avirecompress tool. | |
218 | ||
219 | %description lame_audioenc -l pl.UTF-8 | |
220 | Wtyczka umożliwiająca avirecompressowi kodowanie MP3. | |
221 | ||
222 | %package mad | |
223 | Summary: MAD - MPEG audio plugin | |
224 | Summary(pl.UTF-8): MAD - wtyczka MPEG audio | |
225 | Group: X11/Libraries | |
226 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
227 | ||
228 | %description mad | |
229 | Plugin for decompression of MPEG-1 Layer I/II/III audio streams. | |
230 | ||
231 | %description mad -l pl.UTF-8 | |
232 | Wtyczka do dekompresji strumieni dźwiękowych MPEG-1 Layer I/II/III. | |
233 | ||
234 | %package vorbis | |
235 | Summary: Vorbis audio plugin | |
236 | Summary(pl.UTF-8): Wtyczka Vorbis audio | |
237 | Group: X11/Libraries | |
238 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
239 | ||
240 | %description vorbis | |
241 | Plugin for decompression of Vorbis audio streams. | |
242 | ||
243 | %description vorbis -l pl.UTF-8 | |
244 | Wtyczka do dekompresji strumieni audio Vorbis. | |
245 | ||
246 | %package win32 | |
247 | Summary: Win32 audio/video plugin | |
248 | Summary(pl.UTF-8): Wtyczka audio/video win32 | |
249 | Group: X11/Libraries | |
250 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
251 | Suggests: w32codec | |
252 | ||
253 | %description win32 | |
254 | Plugin for using Win32 DLL libraries in avifile located in | |
255 | /usr/lib/win32. | |
256 | ||
257 | %description win32 -l pl.UTF-8 | |
258 | Wtyczka do używania w avifile zlokalizowanych w /usr/lib/win32 | |
259 | bibliotek DLL Win32. | |
260 | ||
261 | %package xvid | |
262 | Summary: XVID codec | |
263 | Summary(pl.UTF-8): Kodek XVID | |
264 | Group: X11/Libraries | |
265 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
266 | Requires: xvid | |
267 | ||
268 | %description xvid | |
269 | XVID decoder and encoder. | |
270 | ||
271 | %description xvid -l pl.UTF-8 | |
272 | Dekoder i koder XVID. | |
273 | ||
274 | %package vidix-driver-fb | |
275 | Summary: VIDIX driver for generic FrameBuffer | |
276 | Summary(pl.UTF-8): Sterownik VIDIX dla zwykłego FrameBuffera | |
277 | Group: X11/Libraries | |
278 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
279 | ||
280 | %description vidix-driver-fb | |
281 | VIDIX driver for generic FrameBuffer. | |
282 | ||
283 | %description vidix-driver-fb -l pl.UTF-8 | |
284 | Sterownik VIDIX dla zwykłego FrameBuffera. | |
285 | ||
286 | %package vidix-driver-mach64 | |
287 | Summary: VIDIX driver for ATI Mach64 video adapters | |
288 | Summary(pl.UTF-8): Sterownik VIDIX dla kart graficznych ATI Mach64 | |
289 | Group: X11/Libraries | |
290 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
291 | ||
292 | %description vidix-driver-mach64 | |
293 | VIDIX driver for ATI Mach64 adapters. | |
294 | ||
295 | %description vidix-driver-mach64 -l pl.UTF-8 | |
296 | Sterownik vidix dla kart graficznych ATI Mach64. | |
297 | ||
298 | %package vidix-driver-mga | |
299 | Summary: VIDIX driver for MGA (Matrox) video adapters | |
300 | Summary(pl.UTF-8): Sterownik VIDIX dla kart graficznych MGA (Matrox) | |
301 | Group: X11/Libraries | |
302 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
303 | ||
304 | %description vidix-driver-mga | |
305 | VIDIX driver for MGA (Matrox) video adapters. | |
306 | ||
307 | %description vidix-driver-mga -l pl.UTF-8 | |
308 | Sterownik VIDIX dla kart graficznych MGA (Matrox). | |
309 | ||
310 | %package vidix-driver-permedia | |
311 | Summary: VIDIX driver for Permedia video adapters | |
312 | Summary(pl.UTF-8): Sterownik VIDIX dla kart graficznych Permedia | |
313 | Group: X11/Libraries | |
314 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
315 | ||
316 | %description vidix-driver-permedia | |
317 | VIDIX driver for Permedia video adapters. | |
318 | ||
319 | %description vidix-driver-permedia -l pl.UTF-8 | |
320 | Sterownik VIDIX dla kart graficznych Permedia. | |
321 | ||
322 | %package vidix-driver-radeon | |
323 | Summary: VIDIX driver for ATI Radeon video adapters | |
324 | Summary(pl.UTF-8): Sterownik VIDIX dla kart graficznych ATI Radeon | |
325 | Group: X11/Libraries | |
326 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
327 | ||
328 | %description vidix-driver-radeon | |
329 | VIDIX driver for ATI Radeon video adapters. | |
330 | ||
331 | %description vidix-driver-radeon -l pl.UTF-8 | |
332 | Sterownik VIDIX dla kart graficznych ATI Radeon. | |
333 | ||
334 | %package vidix-driver-rage128 | |
335 | Summary: VIDIX driver for ATI Rage128 video adapters | |
336 | Summary(pl.UTF-8): Sterownik VIDIX dla kart graficznych ATI Rage128 | |
337 | Group: X11/Libraries | |
338 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
339 | ||
340 | %description vidix-driver-rage128 | |
341 | VIDIX driver for ATI Rage128 video adapters. | |
342 | ||
343 | %description vidix-driver-rage128 -l pl.UTF-8 | |
344 | Sterownik VIDIX dla kart graficznych ATI Rage128. | |
345 | ||
346 | %prep | |
347 | %setup -q -n %{name}-0.7-%{version} | |
348 | %{__rm} -r ffmpeg m4/ffmpeg.m4 | |
349 | %patch0 -p1 | |
350 | %patch1 -p1 | |
351 | %patch2 -p1 | |
352 | %patch3 -p1 | |
353 | %patch4 -p1 | |
354 | %patch5 -p1 | |
355 | %patch6 -p1 | |
356 | %patch7 -p1 | |
357 | %patch8 -p1 | |
358 | %patch9 -p1 | |
359 | %patch10 -p1 | |
360 | %patch11 -p1 | |
361 | %patch12 -p1 | |
362 | %patch13 -p1 | |
363 | %patch14 -p1 | |
364 | %patch15 -p1 | |
365 | %patch16 -p1 | |
366 | %patch17 -p1 | |
367 | %patch18 -p1 | |
368 | %patch19 -p1 | |
369 | %patch20 -p1 | |
370 | %patch21 -p1 | |
371 | %patch22 -p1 | |
372 | %patch23 -p1 | |
373 | ||
374 | # unwanted hack | |
375 | %{__rm} m4/as.m4 | |
376 | # original file contains only m4/*.m4; must exist because of AC_INIT parameter | |
377 | > acinclude.m4 | |
378 | ||
379 | %build | |
380 | %{__libtoolize} | |
381 | %{__aclocal} -I m4 | |
382 | %{__autoconf} | |
383 | %{__autoheader} | |
384 | %{__automake} | |
385 | ||
386 | %configure \ | |
387 | CPPFLAGS="-I/usr/include/divx -I/usr/include/libavformat -I/usr/include/libavcodec" \ | |
388 | --with-qt-includes=%{_includedir}/qt \ | |
389 | --with-qt-libraries=%{_libdir} \ | |
390 | --enable-a52 \ | |
391 | %{?with_divx:--enable-divx4} \ | |
392 | --enable-lamebin \ | |
393 | --disable-lame \ | |
394 | --enable-libmad \ | |
395 | --enable-release \ | |
396 | %{!?with_qt:--disable-samples} \ | |
397 | %{!?with_v4l1:--disable-v4l} \ | |
398 | %ifarch %{ix86} | |
399 | %ifnarch i386 i486 | |
400 | --enable-x86opt \ | |
401 | %endif | |
402 | %else | |
403 | --disable-x86opt \ | |
404 | %endif | |
405 | %{!?with_qt:--without-qt} | |
406 | ||
407 | touch lib/dummy.cpp | |
408 | %{__make} | |
409 | ||
410 | %install | |
411 | rm -rf $RPM_BUILD_ROOT | |
412 | install -d $RPM_BUILD_ROOT{/usr/lib/win32,%{_pixmapsdir},%{_desktopdir}} | |
413 | ||
414 | %{__make} install \ | |
415 | DESTDIR=$RPM_BUILD_ROOT \ | |
416 | m4datadir=%{_aclocaldir} | |
417 | ||
418 | %if %{with v4l1} | |
419 | # conflicts with ??? | |
420 | mv -f $RPM_BUILD_ROOT%{_bindir}/kv4lsetup $RPM_BUILD_ROOT%{_bindir}/akv4lsetup | |
421 | mv -f $RPM_BUILD_ROOT%{_mandir}/man1/kv4lsetup.1 $RPM_BUILD_ROOT%{_mandir}/man1/akv4lsetup.1 | |
422 | %{__perl} -pi -e 's/(kv4l|k4vl)/akv4l/g' $RPM_BUILD_ROOT%{_mandir}/man1/akv4lsetup.1 | |
423 | %endif | |
424 | ||
425 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
426 | install bin/test.png $RPM_BUILD_ROOT%{_pixmapsdir}/avifile.png | |
427 | ||
428 | # avifile dlopens *.so | |
429 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/avifile*/{,vidix/}*.la | |
430 | # API not exported | |
431 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libqavm*.{so,la} | |
432 | ||
433 | %clean | |
434 | rm -rf $RPM_BUILD_ROOT | |
435 | ||
436 | %post -p /sbin/ldconfig | |
437 | %postun -p /sbin/ldconfig | |
438 | ||
439 | %post qt -p /sbin/ldconfig | |
440 | %postun qt -p /sbin/ldconfig | |
441 | ||
442 | %files | |
443 | %defattr(644,root,root,755) | |
444 | %doc README doc/{CREDITS,EXCEPTIONS,KNOWN_BUGS,LICENSING,TODO,VIDEO-PERFORMANCE,WARNINGS} | |
445 | %attr(755,root,root)%{_libdir}/libaviplay-0.7.so.*.* | |
446 | %attr(755,root,root) %ghost %{_libdir}/libaviplay-0.7.so.0 | |
447 | %attr(755,root,root)%{_libdir}/libaviplaydha-0.7.so.*.* | |
448 | %attr(755,root,root) %ghost %{_libdir}/libaviplaydha-0.7.so.0 | |
449 | %attr(755,root,root)%{_libdir}/libaviplayvidix-0.7.so.*.* | |
450 | %attr(755,root,root) %ghost %{_libdir}/libaviplayvidix-0.7.so.0 | |
451 | %dir %{_libdir}/avifile-0.7 | |
452 | %attr(755,root,root) %{_libdir}/avifile-0.7/ac3pass.so | |
453 | %attr(755,root,root) %{_libdir}/avifile-0.7/audiodec.so | |
454 | %attr(755,root,root) %{_libdir}/avifile-0.7/mpeg_audiodec.so | |
455 | %attr(755,root,root) %{_libdir}/avifile-0.7/osmjpeg.so | |
456 | %ifarch %{ix86} | |
457 | %dir %{_libdir}/avifile-0.7/vidix | |
458 | %endif | |
459 | ||
460 | %files devel | |
461 | %defattr(644,root,root,755) | |
462 | %doc doc/README-DEVEL | |
463 | %attr(755,root,root) %{_bindir}/avifile-config | |
464 | %attr(755,root,root) %{_libdir}/libaviplay.so | |
465 | %attr(755,root,root) %{_libdir}/libaviplaydha.so | |
466 | %attr(755,root,root) %{_libdir}/libaviplayvidix.so | |
467 | %{_libdir}/libaviplay.la | |
468 | %{_libdir}/libaviplaydha.la | |
469 | %{_libdir}/libaviplayvidix.la | |
470 | %{_includedir}/avifile-0.7 | |
471 | %{_aclocaldir}/avifile.m4 | |
472 | %{_pkgconfigdir}/avifile.pc | |
473 | %{_mandir}/man1/avifile-config.1* | |
474 | ||
475 | %if %{with qt} | |
476 | %files qt | |
477 | %defattr(644,root,root,755) | |
478 | %attr(755,root,root) %{_bindir}/avirecompress | |
479 | %attr(755,root,root) %{_libdir}/libqavm-0.7.so.*.* | |
480 | %attr(755,root,root) %ghost %{_libdir}/libqavm-*.so.0 | |
481 | %{_mandir}/man1/avirecompress.1* | |
482 | %if %{with v4l1} | |
483 | %attr(755,root,root) %{_bindir}/avicap | |
484 | %{_mandir}/man1/avicap.1* | |
485 | %endif | |
486 | ||
487 | %files aviplay | |
488 | %defattr(644,root,root,755) | |
489 | %attr(755,root,root) %{_bindir}/aviplay | |
490 | %{_mandir}/man1/aviplay.1* | |
491 | %{_datadir}/avifile-0.7 | |
492 | %{_desktopdir}/avifile.desktop | |
493 | %{_pixmapsdir}/avifile.png | |
494 | %endif | |
495 | ||
496 | %files utils | |
497 | %defattr(644,root,root,755) | |
498 | %attr(755,root,root) %{_bindir}/avibench | |
499 | %attr(755,root,root) %{_bindir}/avicat | |
500 | %attr(755,root,root) %{_bindir}/avimake | |
501 | %attr(755,root,root) %{_bindir}/avitype | |
502 | %{_mandir}/man1/avibench.1* | |
503 | %{_mandir}/man1/avicat.1* | |
504 | %{_mandir}/man1/avimake.1* | |
505 | %{_mandir}/man1/avitype.1* | |
506 | %if %{with v4l1} | |
507 | %attr(755,root,root) %{_bindir}/akv4lsetup | |
508 | %attr(755,root,root) %{_bindir}/avirec | |
509 | %{_mandir}/man1/akv4lsetup.1* | |
510 | %{_mandir}/man1/avirec.1* | |
511 | %endif | |
512 | ||
513 | %if %{with divx} | |
514 | %files divx | |
515 | %defattr(644,root,root,755) | |
516 | %attr(755,root,root) %{_libdir}/avifile-0.7/divx4.so | |
517 | %endif | |
518 | ||
519 | %files ffmpeg | |
520 | %defattr(644,root,root,755) | |
521 | %attr(755,root,root) %{_libdir}/avifile-0.7/ffmpeg.so | |
522 | ||
523 | %files lame_audioenc | |
524 | %defattr(644,root,root,755) | |
525 | %attr(755,root,root) %{_libdir}/avifile-0.7/mp3lamebin_audioenc.so | |
526 | #%attr(755,root,root) %{_libdir}/avifile-0.7/mp3lame_audioenc.so | |
527 | ||
528 | %files mad | |
529 | %defattr(644,root,root,755) | |
530 | %attr(755,root,root) %{_libdir}/avifile-0.7/mad_audiodec.so | |
531 | ||
532 | %files vorbis | |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_libdir}/avifile-0.7/vorbis_audio.so | |
535 | ||
536 | %ifarch %{ix86} | |
537 | %files win32 | |
538 | %defattr(644,root,root,755) | |
539 | %attr(755,root,root) %{_libdir}/avifile-0.7/win32.so | |
540 | %endif | |
541 | ||
542 | %files xvid | |
543 | %defattr(644,root,root,755) | |
544 | %attr(755,root,root) %{_libdir}/avifile-0.7/xvid4.so | |
545 | ||
546 | %ifarch %{ix86} | |
547 | %files vidix-driver-fb | |
548 | %defattr(644,root,root,755) | |
549 | %attr(755,root,root) %{_libdir}/avifile-0.7/vidix/libgenfb.so | |
550 | ||
551 | %files vidix-driver-mach64 | |
552 | %defattr(644,root,root,755) | |
553 | %attr(755,root,root) %{_libdir}/avifile-0.7/vidix/libmach64.so | |
554 | ||
555 | %files vidix-driver-mga | |
556 | %defattr(644,root,root,755) | |
557 | %attr(755,root,root) %{_libdir}/avifile-0.7/vidix/libmga.so | |
558 | %attr(755,root,root) %{_libdir}/avifile-0.7/vidix/libmga_crtc2.so | |
559 | ||
560 | %files vidix-driver-permedia | |
561 | %defattr(644,root,root,755) | |
562 | %attr(755,root,root) %{_libdir}/avifile-0.7/vidix/libpm3.so | |
563 | ||
564 | %files vidix-driver-radeon | |
565 | %defattr(644,root,root,755) | |
566 | %attr(755,root,root) %{_libdir}/avifile-0.7/vidix/libradeon.so | |
567 | ||
568 | %files vidix-driver-rage128 | |
569 | %defattr(644,root,root,755) | |
570 | %attr(755,root,root) %{_libdir}/avifile-0.7/vidix/librage128.so | |
571 | %endif |