]> git.sesse.net Git - vlc/blob - vlc.spec.mdk
hummmmmm ... breaking opengl build on windows isn't a good idea
[vlc] / vlc.spec.mdk
1 %define name            vlc
2 %define version         0.6.0
3 %define rel             5
4 %define ffcvs           20030622
5 %define mpegcvs         20030612
6
7 %define libmajor        0
8
9 %define cvs             0
10 %if %{cvs}
11 %define cvsrel          1
12 %define cvsdate         20030203
13 %define release         0.%{cvsdate}.%{cvsrel}mdk
14 %define cvs_name        %{name}-snapshot-%cvsdate
15 %else
16 %define release         %{rel}mdk
17 %endif
18
19 %define with_dvdplay 1
20
21 %define with_mozilla 1
22 %define with_gtk 1
23 %define with_gnome 1
24 %define with_qt 0
25 %define with_kde 1
26 %define with_ncurses 1
27 %define with_lirc 1
28 %define with_wx 1
29
30 %define with_aa 1
31 %define with_sdl 1
32 %define with_ggi 1
33 %define with_svgalib 0
34 %define with_xosd 1
35
36 %define with_mad 1
37 %define with_ogg 1
38 %define with_flac 1
39 %define with_mkv 1
40 %define with_a52 1
41 %define with_dv 1
42 %define with_dvb 1
43 %define with_ffmpeg 1
44 %define with_mpeg2dec 1
45
46 %define with_esd 1
47 %define with_arts 1
48 %define with_alsa 1
49
50 %define with_slp 1
51 %define with_tar 1
52
53 %define buildfor_rh80   0
54 %define buildfor_mdk82  0
55 %define buildfor_mdk90  0
56 %define buildfor_mdk91  %(awk '{print ($4 == "9.1")}' %{_sysconfdir}/mandrake-release)
57 %define buildfor_mdk92  %(awk '{print ($4 == "9.2")}' %{_sysconfdir}/mandrake-release)
58
59 # new macros
60 %if %buildfor_mdk82 || %buildfor_mdk90 || %buildfor_rh80
61 %define libname         lib%name%libmajor
62 %else
63 %define libname         %mklibname %name %libmajor
64 %endif
65
66 %if %buildfor_rh80
67 %define release %rel
68 # some mdk macros that do not exist in rh
69 %define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir
70 %define make %__make %_smp_mflags
71 %define makeinstall_std %__make DESTDIR="$RPM_BUILD_ROOT" install
72 # adjust define for Redhat.
73 %endif
74
75 # without
76 %{?_without_mozilla:    %{expand: %%global with_mozilla 0}}
77 %{?_without_gtk:        %{expand: %%global with_gtk 0}}
78 %{?_without_gnome:      %{expand: %%global with_gnome 0}}
79 %{?_without_qt:         %{expand: %%global with_qt 0}}
80 %{?_without_kde:        %{expand: %%global with_kde 0}}
81 %{?_without_ncurses:    %{expand: %%global with_ncurses 0}}
82 %{?_without_lirc:       %{expand: %%global with_lirc 0}}
83 %{?_without_wx:         %{expand: %%global with_wx 0}}
84
85 %{?_without_aa:         %{expand: %%global with_aa 0}}
86 %{?_without_sdl:        %{expand: %%global with_sdl 0}}
87 %{?_without_ggi:        %{expand: %%global with_ggi 0}}
88 %{?_without_svgalib:    %{expand: %%global with_svgalib 0}}
89 %{?_without_xosd:       %{expand: %%global with_xosd 0}}
90
91 %{?_without_mad:        %{expand: %%global with_mad 0}}
92 %{?_without_ogg:        %{expand: %%global with_ogg 0}}
93 %{?_without_flac:       %{expand: %%global with_flac 0}}
94 %{?_without_mkv:        %{expand: %%global with_mkv 0}}
95 %{?_without_a52:        %{expand: %%global with_a52 0}}
96 %{?_without_dv:         %{expand: %%global with_dv 0}}
97 %{?_without_dvb:        %{expand: %%global with_dvb 0}}
98
99 %{?_without_esd:        %{expand: %%global with_esd 0}}
100 %{?_without_arts:       %{expand: %%global with_arts 0}}
101 %{?_without_alsa:       %{expand: %%global with_alsa 0}}
102
103 %{?_without_slp:        %{expand: %%global with_slp 0}}
104 %{?_without_tar:        %{expand: %%global with_tar 0}}
105
106 # with
107 %{?_with_mozilla:       %{expand: %%global with_mozilla 1}}
108 %{?_with_gtk:           %{expand: %%global with_gtk 1}}
109 %{?_with_gnome:         %{expand: %%global with_gnome 1}}
110 %{?_with_qt:            %{expand: %%global with_qt 1}}
111 %{?_with_kde:           %{expand: %%global with_kde 1}}
112 %{?_with_ncurses:       %{expand: %%global with_ncurses 1}}
113 %{?_with_lirc:          %{expand: %%global with_lirc 1}}
114 %{?_with_wx:            %{expand: %%global with_wx 1}}
115
116 %{?_with_aa:            %{expand: %%global with_aa 1}}
117 %{?_with_sdl:           %{expand: %%global with_sdl 1}}
118 %{?_with_ggi:           %{expand: %%global with_ggi 1}}
119 %{?_with_svgalib:       %{expand: %%global with_svgalib 1}}
120 %{?_with_xosd:          %{expand: %%global with_xosd 1}}
121
122 %{?_with_mad:           %{expand: %%global with_mad 1}}
123 %{?_with_ogg:           %{expand: %%global with_ogg 1}}
124 %{?_with_flac:          %{expand: %%global with_flac 1}}
125 %{?_with_mkv:           %{expand: %%global with_mkv 1}}
126 %{?_with_a52:           %{expand: %%global with_a52 1}}
127 %{?_with_dv:            %{expand: %%global with_dv 1}}
128 %{?_with_dvb:           %{expand: %%global with_dvb 1}}
129
130 %{?_with_esd:           %{expand: %%global with_esd 1}}
131 %{?_with_arts:          %{expand: %%global with_arts 1}}
132 %{?_with_alsa:          %{expand: %%global with_alsa 1}}
133
134 %{?_with_slp:           %{expand: %%global with_slp 1}}
135 %{?_with_tar:           %{expand: %%global with_tar 1}}
136
137 Summary:        VLC media player, a multimedia player and streaming application.
138 Name:           %{name}
139 Version:        %{version}
140 Release:        %{release}
141
142 %if %{cvs}
143 Source0:        http://download.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.bz2
144 %else
145 Source0:        http://download.videolan.org/packages/%{version}/%{name}-%{version}.tar.bz2
146 %endif
147 Source1:        http://download.videolan.org/pub/videolan/vlc/0.6.0/contrib/ffmpeg-%ffcvs.tar.bz2
148 Source2:        http://download.videolan.org/pub/videolan/vlc/0.6.0/contrib/mpeg2dec-%mpegcvs.tar.bz2   
149 #gw remove NP_GetValue, as it was already defined in the mozilla headers
150 Patch:          vlc-0.6.0-mozilla-conflict.patch.bz2
151 License:        GPL
152 Group:          Video
153 URL:            http://www.videolan.org/
154 Requires:       vlc-gui
155 # vlc-mad needed by ffmpeg builtin (i want MPEG4 support out of box)
156 Requires:       vlc-plugin-mad
157 # DVD working out of box.
158 Requires:       vlc-plugin-a52
159
160 BuildRoot:      %_tmppath/%name-%version-%release-root
161 %if %with_tar
162 BuildRequires:  libtar-devel
163 %endif
164 BuildRequires:  freetype2-devel
165 %if %with_mozilla
166 Buildrequires:  mozilla-devel >= 1.3
167 %endif
168 %if %with_gtk
169 Buildrequires:  libgtk+1.2-devel
170 %endif
171 %if %with_gnome
172 Buildrequires:  gnome-libs-devel
173 %endif
174 %if %with_qt
175 Buildrequires:  libqt3-devel
176 %endif
177 %if %with_kde
178 Buildrequires:  kdelibs-devel
179 %endif
180 %if %with_ncurses
181 Buildrequires:  libncurses5-devel
182 %if %with_wx
183 Buildrequires:  wxGTK-devel >= 2.4
184 %endif
185 %endif
186 %if %with_lirc
187 Buildrequires:  liblirc-devel
188 %endif
189 %if %with_aa
190 Buildrequires:  aalib-devel
191 %endif
192 %if %with_sdl
193 Buildrequires:  SDL-devel
194 %endif
195 %if %with_ggi
196 Buildrequires:  libggi-devel
197 %endif
198 %if %with_svgalib
199 Buildrequires:  svgalib-devel
200 %endif
201 %if %with_xosd
202 Buildrequires:  libxosd-devel
203 %endif
204 %if %with_mad
205 %if %buildfor_mdk92
206 BuildRequires:  libid3tag-devel
207 %endif
208 Buildrequires:  libmad-devel
209 %endif
210 %if %with_ogg
211 Buildrequires:  libvorbis-devel
212 Buildrequires:  libogg-devel
213 %endif
214 %if %with_flac
215 Buildrequires:  libflac-devel
216 %endif
217 %if %with_mkv
218 Buildrequires:  libmatroska-devel >= 0.4.4-3mdk
219 %endif
220 %if %with_dv
221 Buildrequires:  libdv2-devel
222 %endif
223
224 %if %with_a52
225 Buildrequires:  liba52dec-devel
226 %endif
227
228 %if %with_ffmpeg
229 #gw we use included cvs version
230 #Buildrequires: libffmpeg-devel
231 %endif
232
233 %if %with_mpeg2dec
234 #gw we use the included cvs version
235 #Buildrequires: libmpeg2dec-devel >= 0.3.2
236 %endif
237
238 %if %with_alsa
239 Buildrequires:  libalsa2-devel
240 %endif
241 %if %with_esd
242 Buildrequires:  libesound0-devel
243 %endif
244 %if %with_arts
245 Buildrequires:  libarts-devel
246 %endif
247
248 %if %with_slp
249 Buildrequires:  libopenslp-devel
250 %endif
251
252 %if %with_dvdplay
253 BuildRequires: libdvdplay-devel
254 %endif
255
256
257 %if %with_dvb
258 BuildRequires: libdvbpsi-devel
259 %if %buildfor_mdk92
260 # gw the cooker kernel has the new incompatible DVB api
261 BuildRequires: kernel-multimedia-source
262 %else
263 BuildRequires: kernel-source
264 %endif
265 %endif
266
267
268 %description
269 VideoLAN is an OpenSource streaming solution for every OS developed by
270 students from the Ecole Centrale Paris and developers from all over the
271 World.
272 VLC media player is a highly portable multimedia player for various audio 
273 and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as 
274 DVD's, VCD's, and various streaming protocols. It can also be used as a 
275 server to stream in unicast or multicast in IPv4 or IPv6 on a 
276 high-bandwidth network.
277 You may install vlc-gnome or vlc-gtk to have a nice graphical interface.
278 This package contains no CSS unscrambling functionality for DVDs ;
279 you need the libdvdcss library available from
280 http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
281
282 #general packages
283 %package -n %libname-devel
284 Summary: Development files for the VLC media player
285 Group: Development/C
286 Requires: %name = %version-%release
287 Provides: %name-devel = %version-%release
288 Provides: lib%name-devel = %version-%release
289 %description -n %libname-devel
290 Development files for the VLC media player
291 This package contains headers and a static library required to build plugins
292 for the VLC media player, or standalone applications using features from VLC.
293
294 %package -n mozilla-plugin-vlc
295 Summary: A multimedia plugin for Mozilla, based on vlc
296 group: Video
297 Requires: %name = %version-%release
298 %if %buildfor_mdk91
299 %define moz_ver 1.3.1
300 %else
301 %define moz_ver 1.4b
302 %endif
303 ##%{e###xpand: %%define mozve %(rpm -q --queryformat "%{version}\n" mozilla)}
304 %{expand: %%define mozve %(rpm -q mozilla| sed 's/mozilla-\([0-9].*\)-.*$/\1/')}
305 Requires: mozilla = %mozve
306 %description -n mozilla-plugin-vlc
307 This plugin adds support for MPEG, MPEG2, DVD and DivX to your Mozilla
308 browser. The decoding process is done by vlc and the output window is
309 embedded in a webpage or directly in the browser window. There is also
310 support for fullscreen display.
311
312
313 # intf plugins
314 %package -n gvlc
315 Summary: Gtk plugin for the VLC media player
316 Group: Video
317 Requires: %{name} = %{version}
318 Provides: vlc-gui
319 %description -n gvlc
320 This plugin adds a Gtk+ interface to the VLC media player. To
321 activate it, use the `--intf gtk' flag or run the `gvlc' program.
322
323 %package -n gnome-vlc
324 Summary: Gnome plugin for the VLC media player
325 Group: Video
326 Requires: %{name} = %{version}
327 Provides: vlc-gui, vlc-gnome
328 Obsoletes: vlc-gnome
329 %description -n gnome-vlc
330 This plugin adds a Gnome interface to the VLC media player. To
331 activate it, use the `--intf gnome' flag or run the `gnome-vlc' program.
332
333 %package -n qvlc
334 Summary: QT plugin for the VLC media player
335 Group: Video
336 Requires: %{name} = %{version}
337 Provides: vlc-gui, vlc-qt
338 Obsoletes: vlc-qt
339 %description -n qvlc
340 This plugin adds a Qt interface to the VLC media player. To activate it,
341 use the `--intf qt' flag or run the `qvlc' program.
342
343 %package -n kvlc
344 Summary: KDE frontend for the VLC media player
345 Group: Video
346 Requires: %{name} = %{version}
347 Provides: vlc-gui
348 %description -n kvlc
349 This plugin adds a KDE interface to the VLC media player. To
350 activate it, use the `--intf kde' flag or run the `kvlc' program.
351
352 %package plugin-ncurses
353 Summary: Ncurses console-based plugin for the VLC media player
354 Group: Video
355 Requires: %{name} = %{version}
356 %description plugin-ncurses
357 This plugin adds a ncurses interface to the VLC media player. To
358 activate it, use the `--intf ncurses' flag.
359
360 %package plugin-lirc
361 Summary: Lirc plugin for the VLC media player
362 Group: Video
363 Requires: %{name} = %{version}
364 Obsoletes: vlc-lirc
365 Provides: vlc-lirc
366 %description plugin-lirc
367 This plugin is an infrared lirc interface for the VLC media player. To
368 activate it, use the `--extraintf lirc' flag.
369
370 %package -n wxvlc
371 Summary: WxWindow plugin for the VLC media player
372 Group: Video
373 Requires: %{name} = %{version}
374 Obsoletes: vlc-lirc
375 Provides: vlc-lirc
376 Provides: vlc-gui
377 %description -n wxvlc
378 This plugin adds a wxWindow interface to the VLC media player. To
379 activate it, use the `--intf wxwin' flag or run the `wxvlc' program.
380
381
382 #
383 # video plugins
384 %package plugin-aa
385 Summary: ASCII art video plugin for the VLC media player
386 Group: Video
387 Requires: %{name} = %{version}
388 Obsoletes: vlc-aa
389 Provides: vlc-aa
390 %description plugin-aa
391 This is an ASCII art video output plugin for the VLC media playe. To
392 activate it, use the `--vout aa' flag or select the `aa' video output
393 plugin from the preferences menu.
394
395
396 %package plugin-sdl
397 Summary: Simple DirectMedia Layer video plugin for the VLC media player
398 Group: Video
399 Requires: %{name} = %{version}
400 Obsoletes: vlc-sdl
401 Provides: vlc-sdl
402 %description plugin-sdl
403 This plugin adds support for the Simple DirectMedia Layer library to
404 the VLC media player. To activate it, use the `--vout sdl' or
405 `--aout sdl' flags or select the `sdl' video or audio output plugin
406 from the preferences menu.
407
408 %package plugin-ggi
409 Summary: GGI video plugin for the VLC media player
410 Group: Video
411 Requires: %{name} = %{version}
412 Obsoletes: vlc-ggi
413 Provides: vlc-ggi
414 %description plugin-ggi
415 This is a GGI plugin for the VLC media player. To activate it, use
416 the `--vout ggi' flag or select the `ggi' video output plugin from
417 the preferences menu.
418
419 %package plugin-svgalib
420 Summary: SVGAlib video plugin for the VLC media player
421 Group: Video
422 Requires: %{name} = %{version}
423 %description plugin-svgalib
424 This plugin adds support for SVGAlib to the VLC media player. To
425 activate it, use the `--vout svgalib' flag or select the `svgalib' video
426 output plugin from the preferences menu. Note that you will need root
427 permissions to use SVGAlib.
428
429
430 #
431 # visualization plugins
432 %package plugin-xosd
433 Summary: X On-Screen Display plugin for the VLC media player
434 Group: Video
435 Requires: %{name} = %{version}
436 %description plugin-xosd
437 This is an On-Screen Display plugin for the VLC media player. To activate
438 it, use the `--extraintf xosd' flag or select the `xosd' interface plugin
439 from the preferences menu.
440
441 # codec plugins
442 %package plugin-mad
443 Summary: MAD audio codec plugin for the VLC media player
444 Group: Video
445 Requires: %{name} = %{version}
446 Obsoletes: vlc-mad
447 Provides: vlc-mad
448 %description plugin-mad
449 This plugin adds support for libmad, the MPEG audio decoder library,
450 to the VLC media player. MAD is 100% fixed-point based. To activate
451 this plugin, use the `--mpeg_adec mad' flag or select the `mad' MPEG
452 decoder from the preferences menu.
453
454 %package plugin-ogg
455 Summary: Ogg demuxer and Vorbis codec plugin for the VLC media player
456 Group: Video
457 Requires: %{name} = %{version}
458 %description plugin-ogg
459 These plugins add support for the Ogg bitstream format and the Ogg Vorbis
460 compressed audio format to the VLC media player. They are autodetected.
461
462 %package plugin-flac
463 Summary: Flac codec plugin for the VLC media player
464 Group: Video
465 Requires: %{name} = %{version}
466 %description plugin-flac
467 These plugins add support for the FLAC compressed audio format to the
468 VLC media player.
469
470 %package plugin-a52
471 Summary: A-52 (AC-3) codec plugin for the VLC media player
472 Group: Video
473 Requires: %{name} = %{version}
474 %description plugin-a52
475 This plugin adds support for the ATSC A-52 (aka. AC-3) audio format to
476 the VLC media player. The plugin is autodetected.
477
478 %package plugin-dv
479 Summary: DV codec plugin for the VLC media player
480 Group: Video
481 Requires: %{name} = %{version}
482 %description plugin-dv
483 This plugin adds support for the DV video format to the VLC media player.
484 The plugin is autodetected.
485
486 #
487 # input plugins
488 %package plugin-dvb
489 Summary: DVB input plugin for the VLC media player
490 Group: Video
491 Requires: %{name} = %{version}
492 %description plugin-dvb
493 This plugin adds support for DVB cards to the VLC media player. Note
494 that your card needs to be supported by your kernel before vlc can use it.
495
496 #
497 # audio plugins
498 %package plugin-esd
499 Summary: Enlightened Sound Daemon audio plugin for the VLC media player
500 Group: Video
501 Requires: %{name} = %{version}
502 Obsoletes: vlc-esd
503 Provides: vlc-esd
504 %description plugin-esd
505 This plugin adds support for the Enlightened Sound Daemon to the VLC
506 media player. To activate it, use the `--aout esd' flag or select the
507 `esd' audio output plugin from the preferences menu.
508
509 %package plugin-arts
510 Summary: Arts audio plugin for the VLC media player
511 Group: Video
512 Requires: %{name} = %{version}
513 Obsoletes: vlc-arts
514 Provides: vlc-arts
515 %description plugin-arts
516 This plugin adds support for the aRts Sound System to the VLC media
517 player. To activate it, use the `--aout arts' flag or select the `arts'
518 audio output plugin from the preferences menu.
519
520 %package plugin-alsa
521 Summary: Advanced Linux Sound Architecture audio plugin for the VLC media player
522 Group: Video
523 Requires: %{name} = %{version}
524 Obsoletes: vlc-alsa
525 Provides: vlc-alsa
526 %description plugin-alsa
527 This plugin adds support for the Advanced Linux Sound Architecture to
528 the VLC media player. To activate it, use the `--aout alsa' flag or
529 select the `alsa' audio output plugin from the preferences menu.
530
531
532 %package plugin-slp
533 Summary: Service Location Protocol acces plugin for the VLC media player
534 Group: Video
535 Requires: %{name} = %{version}
536 %description plugin-slp
537 This plugin adds support for the Service Location Protocol to
538 the VLC media player.
539
540
541 %prep
542 %if %{cvs}
543 %setup -q -n %{cvs_name} -a 1 -a 2
544 %else
545 %setup -q -a 1 -a 2
546 %endif
547 %patch -p1
548 rm -rf doc/skins/curve_maker/CVS
549
550 %build
551 cd mpeg2dec-%mpegcvs
552 %configure2_5x --disable-sdl --without-x
553 %make
554 cd ..
555 # yves 0.4.0-1mdk
556 # ffmpeg: static linking cause no official ffmpeg release with a stable ABI
557 # ffmpeg:no plugin posible on ia64 due to the static linking (can not put .a in a .so)
558 cd ffmpeg-%ffcvs
559 ./configure --libdir=%_libdir
560 %make
561 cd ..
562 export XPIDL=/usr/lib/mozilla-%moz_ver/xpidl
563 perl -pi -e  's#-I/usr/share/idl/mozilla#-I/usr/share/idl/mozilla-%{moz_ver}#' Makefile.in
564 export QTDIR=%{_libdir}/qt3
565 # mandrake kernel specific
566 export CPPFLAGS="${CPPFLAGS:--I/usr/src/linux/3rdparty/mod_dvb/include}"
567 # gw flags for the mozilla build 
568 export CPPFLAGS="$CPPFLAGS -DOJI -DMOZ_X11"
569 # add missing ebml include dir
570 export CPPFLAGS="$CPPFLAGS -I/usr/include/ebml"
571 # NO empty line or comments for the configure --switch or it won't work.
572 %configure2_5x  --enable-release \
573         --enable-dvd --without-dvdcss \
574 %if %with_dvdplay
575         --enable-dvdplay \
576 %else
577         --disable-dvdplay \
578 %endif
579 %if %with_mozilla
580         --enable-mozilla \
581 %else
582         --disable-mozilla \
583 %endif
584 %if %with_gtk
585         --enable-gtk \
586 %else
587         --disable-gtk \
588 %endif
589 %if %with_gnome
590         --enable-gnome \
591 %else
592         --disable-gnome \
593 %endif
594 %if %with_qt
595         --enable-qt \
596 %endif
597 %if %with_kde
598         --enable-kde \
599 %endif
600 %if %with_ncurses
601         --enable-ncurses \
602 %endif
603 %if %with_lirc
604         --enable-lirc \
605 %endif
606 %if %with_wx
607         --enable-wxwindows \
608 %else 
609         --disable-wxwindows \
610 %endif
611         --enable-x11 --enable-xvideo \
612         --enable-fb --disable-mga \
613 %if %with_aa
614         --enable-aa \
615 %endif
616 %if %with_sdl
617         --enable-sdl \
618 %endif
619 %if %with_ggi
620         --enable-ggi \
621 %endif
622 %if %with_svgalib
623         --enable-svgalib \
624 %endif
625 %if %with_xosd
626         --enable-xosd \
627 %else
628         --disable-xosd \
629 %endif
630 %if %with_mad
631         --enable-mad \
632 %endif  
633 %if %with_ffmpeg
634         --enable-ffmpeg --with-ffmpeg-tree=ffmpeg-%ffcvs \
635 %else
636         --disable-ffmpeg \
637 %endif
638 %if %with_ogg
639         --enable-vorbis \
640         --enable-ogg \
641 %else
642         --disable-vorbis \
643         --disable-ogg \
644 %endif
645 %if %with_flac
646         --enable-flac \
647 %else
648         --disable-flac \
649 %endif
650 %if %with_mkv
651         --enable-mkv \
652 %else
653         --disable-mkv \
654 %endif  
655 %if %with_dv
656         --enable-dv \
657 %else
658         --disable-dv \
659 %endif
660 %if %with_dvb
661         --enable-dvb  --enable-dvbpsi --enable-satellite \
662 %else
663         --disable-dvb  --disable-dvbpsi --disable-satellite \
664 %endif
665 %if %with_esd
666         --enable-esd \
667 %endif
668 %if %with_alsa
669         --enable-alsa \
670 %endif
671 %if %with_arts
672         --enable-arts \
673 %endif
674 %if %with_mpeg2dec
675         --enable-libmpeg2 --with-libmpeg2-tree=mpeg2dec-%mpegcvs \
676 %else
677 ~       --disable-libmpeg2 \
678 %endif
679
680 %make
681
682 %install
683 rm -rf %buildroot
684 %makeinstall_std
685 %find_lang %name
686 install -d %buildroot/%_mandir/man1
687 install doc/vlc.1 %buildroot/%_mandir/man1
688 install doc/vlc-config.1 %buildroot/%_mandir/man1
689
690 # menu
691 mkdir -p %buildroot/%_menudir
692 cat > %buildroot/%_menudir/vlc << EOF
693 ?package(vlc): command="%_bindir/vlc" hotkey="V" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC media player" icon="vlc.png" hints="Video" \
694 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
695 accept_url="true"\
696 multiple_files="true"
697 EOF
698 %if %with_gtk
699 cat > %buildroot/%_menudir/gvlc << EOF
700 ?package(gvlc): command="%_bindir/gvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Gtk media player" icon="gvlc.png" hints="Video" \
701 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
702 accept_url="true"\
703 multiple_files="true"
704 EOF
705 %endif
706 %if %with_gnome
707 cat > %buildroot/%_menudir/gnome-vlc << EOF
708 ?package(gnome-vlc): command="%_bindir/gnome-vlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Gnome media player" icon="gnome-vlc.png" hints="Video" \
709 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
710 accept_url="true"\
711 multiple_files="true"
712 EOF
713 %endif
714 %if %with_qt
715 cat > %buildroot/%_menudir/qvlc << EOF
716 ?package(qvlc): command="%_bindir/qvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Qt media player" icon="qvlc.png" hints="Video" \
717 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
718 accept_url="true"\
719 multiple_files="true"
720 EOF
721 %endif
722 %if %with_kde
723 cat > %buildroot/%_menudir/kvlc << EOF
724 ?package(kvlc): command="%_bindir/kvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC KDE media player" icon="kvlc.png" hints="Video" \
725 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
726 accept_url="true"\
727 multiple_files="true"
728 EOF
729 %endif
730 %if %with_wx
731 cat > %buildroot/%_menudir/wxvlc << EOF
732 ?package(wxvlc): command="%_bindir/wxvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC wxWindow media player" icon="vlc.png" hints="Video" \
733 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
734 accept_url="true"\
735 multiple_files="true"
736 EOF
737 %endif
738
739 # icons
740 %define pngdir %buildroot/%_datadir/vlc
741 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
742 install -m 644 %pngdir/vlc16x16.png %buildroot/%_miconsdir/vlc.png
743 install -m 644 %pngdir/vlc32x32.png %buildroot/%_iconsdir/vlc.png
744 install -m 644 %pngdir/vlc48x48.png %buildroot/%_liconsdir/vlc.png
745 %if %with_gnome
746 install -m 644 %pngdir/gnome-vlc16x16.png %buildroot/%_miconsdir/gnome-vlc.png
747 install -m 644 %pngdir/gnome-vlc32x32.png %buildroot/%_iconsdir/gnome-vlc.png
748 install -m 644 %pngdir/gnome-vlc48x48.png %buildroot/%_liconsdir/gnome-vlc.png
749 %endif
750 %if %with_gtk
751 install -m 644 %pngdir/gvlc16x16.png %buildroot/%_miconsdir/gvlc.png
752 install -m 644 %pngdir/gvlc32x32.png %buildroot/%_iconsdir/gvlc.png
753 install -m 644 %pngdir/gvlc48x48.png %buildroot/%_liconsdir/gvlc.png
754 %endif
755 %if %with_kde
756 install -m 644 %pngdir/kvlc16x16.png %buildroot/%_miconsdir/kvlc.png
757 install -m 644 %pngdir/kvlc32x32.png %buildroot/%_iconsdir/kvlc.png
758 install -m 644 %pngdir/kvlc48x48.png %buildroot/%_liconsdir/kvlc.png
759 %endif
760 %if %with_qt
761 install -m 644 %pngdir/qvlc16x16.png %buildroot/%_miconsdir/qvlc.png
762 install -m 644 %pngdir/qvlc32x32.png %buildroot/%_iconsdir/qvlc.png
763 install -m 644 %pngdir/qvlc48x48.png %buildroot/%_liconsdir/qvlc.png
764 %endif
765
766 %if ! %with_wx
767 rm -rf %buildroot%_datadir/vlc/skins
768 %endif
769
770 %post
771 %update_menus
772 %postun
773 %clean_menus
774
775 %clean
776 rm -fr %buildroot
777
778 %files -f %name.lang
779 %defattr(-,root,root)
780 %doc NEWS README COPYING AUTHORS MAINTAINERS THANKS
781 %doc doc/web-streaming.html doc/vlc-howto.sgml doc/lirc/
782 %doc doc/fortunes.txt doc/bugreport-howto.txt
783 %_bindir/vlc
784 %dir %_datadir/vlc/
785 %_datadir/vlc/*.*
786 %dir %_libdir/vlc
787
788 %dir %_libdir/vlc/access
789 %_libdir/vlc/access/libcdda_plugin.so
790 %_libdir/vlc/access/libaccess_directory_plugin.so
791 %_libdir/vlc/access/libaccess_file_plugin.so
792 %_libdir/vlc/access/libaccess_ftp_plugin.so
793 %_libdir/vlc/access/libaccess_http_plugin.so
794 %_libdir/vlc/access/libaccess_mms_plugin.so
795 %_libdir/vlc/access/libaccess_udp_plugin.so
796 %if %with_dvdplay
797 %_libdir/vlc/access/libdvdplay_plugin.so
798 %endif
799 %_libdir/vlc/access/libdvd_plugin.so
800 %_libdir/vlc/access/libdvdread_plugin.so
801 %_libdir/vlc/access/libvcd_plugin.so
802
803 %dir %_libdir/vlc/access_output/
804 %_libdir/vlc/access_output/libaccess_output_dummy_plugin.so
805 %_libdir/vlc/access_output/libaccess_output_file_plugin.so
806 %_libdir/vlc/access_output/libaccess_output_http_plugin.so
807 %_libdir/vlc/access_output/libaccess_output_udp_plugin.so
808
809 %dir %_libdir/vlc/audio_filter
810 %_libdir/vlc/audio_filter/libbandlimited_resampler_plugin.so
811 %_libdir/vlc/audio_filter/libdtstospdif_plugin.so
812 %_libdir/vlc/audio_filter/libfixed32tofloat32_plugin.so
813 %_libdir/vlc/audio_filter/libfixed32tos16_plugin.so
814 %_libdir/vlc/audio_filter/libfloat32tos16_plugin.so
815 %_libdir/vlc/audio_filter/libfloat32tos8_plugin.so
816 %_libdir/vlc/audio_filter/libfloat32tou16_plugin.so
817 %_libdir/vlc/audio_filter/libfloat32tou8_plugin.so
818 %_libdir/vlc/audio_filter/libheadphone_channel_mixer_plugin.so
819 %_libdir/vlc/audio_filter/liblinear_resampler_plugin.so
820 %_libdir/vlc/audio_filter/libs16tofixed32_plugin.so
821 %_libdir/vlc/audio_filter/libs16tofloat32_plugin.so
822 %_libdir/vlc/audio_filter/libs16tofloat32swab_plugin.so
823 %_libdir/vlc/audio_filter/libs8tofloat32_plugin.so
824 %_libdir/vlc/audio_filter/libtrivial_channel_mixer_plugin.so
825 %_libdir/vlc/audio_filter/libtrivial_resampler_plugin.so
826 %_libdir/vlc/audio_filter/libu8tofixed32_plugin.so
827 %_libdir/vlc/audio_filter/libu8tofloat32_plugin.so
828 %_libdir/vlc/audio_filter/libugly_resampler_plugin.so
829
830 %dir %_libdir/vlc/audio_mixer
831 %_libdir/vlc/audio_mixer/libfloat32_mixer_plugin.so
832 %_libdir/vlc/audio_mixer/libspdif_mixer_plugin.so
833 %_libdir/vlc/audio_mixer/libtrivial_mixer_plugin.so
834
835 %dir %_libdir/vlc/audio_output
836 %_libdir/vlc/audio_output/libaout_file_plugin.so
837 %_libdir/vlc/audio_output/liboss_plugin.so
838
839 %dir %_libdir/vlc/codec
840 %_libdir/vlc/codec/liba52_plugin.so
841 %_libdir/vlc/codec/libadpcm_plugin.so
842 %_libdir/vlc/codec/libaraw_plugin.so
843 %_libdir/vlc/codec/librawvideo_plugin.so
844 %_libdir/vlc/codec/libcinepak_plugin.so
845 %_libdir/vlc/codec/libdts_plugin.so
846 #%_libdir/vlc/codec/libidctclassic_plugin.so
847 #%ifarch %ix86
848 #%_libdir/vlc/codec/libidctmmxext_plugin.so
849 #%_libdir/vlc/codec/libidctmmx_plugin.so
850 #%endif
851 #%_libdir/vlc/codec/libidct_plugin.so
852 %_libdir/vlc/codec/liblpcm_plugin.so
853 #%ifarch %ix86
854 #%_libdir/vlc/codec/libmotionmmxext_plugin.so
855 #%_libdir/vlc/codec/libmotionmmx_plugin.so
856 #%endif
857 #%_libdir/vlc/codec/libmotion_plugin.so
858 %_libdir/vlc/codec/liblibmpeg2_plugin.so
859 %_libdir/vlc/codec/libmpeg_audio_plugin.so
860 #%_libdir/vlc/codec/libmpeg_video_plugin.so
861 %if %with_ffmpeg
862 #%_libdir/vlc/codec/libpostprocessing_c_plugin.so
863         %ifarch %ix86
864 #       %_libdir/vlc/codec/libpostprocessing_mmx_plugin.so
865 #       %_libdir/vlc/codec/libpostprocessing_mmxext_plugin.so
866         %endif
867 %endif
868 %_libdir/vlc/codec/libspudec_plugin.so
869
870 %dir %_libdir/vlc/control
871 %_libdir/vlc/control/libhttp_plugin.so
872 %_libdir/vlc/control/librc_plugin.so
873 %_libdir/vlc/control/libgestures_plugin.so
874
875 %dir %_libdir/vlc/demux
876 %_libdir/vlc/demux/libaac_plugin.so
877 %_libdir/vlc/demux/libasf_plugin.so
878 %_libdir/vlc/demux/libau_plugin.so
879 %_libdir/vlc/demux/libaudio_plugin.so
880 %_libdir/vlc/demux/libavi_plugin.so
881 %_libdir/vlc/demux/liba52sys_plugin.so
882 %_libdir/vlc/demux/libdemuxdump_plugin.so
883 %_libdir/vlc/demux/libdemuxsub_plugin.so
884 %_libdir/vlc/demux/libes_plugin.so
885 %_libdir/vlc/demux/libid3_plugin.so
886 %_libdir/vlc/demux/libm3u_plugin.so
887 %_libdir/vlc/demux/libm4v_plugin.so
888 %if %with_mkv
889 %_libdir/vlc/demux/libmkv_plugin.so
890 %endif
891 %_libdir/vlc/demux/libmp4_plugin.so
892 %_libdir/vlc/demux/libmpeg_system_plugin.so
893 %_libdir/vlc/demux/libps_plugin.so
894 %_libdir/vlc/demux/librawdv_plugin.so
895 %_libdir/vlc/demux/libts_plugin.so
896 %_libdir/vlc/demux/libwav_plugin.so
897
898 %dir %_libdir/vlc/misc
899 %_libdir/vlc/misc/libdummy_plugin.so
900 %_libdir/vlc/misc/libhttpd_plugin.so
901 %_libdir/vlc/misc/libipv4_plugin.so
902 %_libdir/vlc/misc/libipv6_plugin.so
903 %_libdir/vlc/misc/liblogger_plugin.so
904 #%ifarch %ix86
905 #%_libdir/vlc/misc/libmemcpy3dn_plugin.so
906 #%_libdir/vlc/misc/libmemcpymmxext_plugin.so
907 #%_libdir/vlc/misc/libmemcpymmx_plugin.so
908 #%endif
909 %_libdir/vlc/misc/libmemcpy_plugin.so
910 %_libdir/vlc/misc/libsap_plugin.so
911 %_libdir/vlc/misc/libscreensaver_plugin.so
912
913 %dir %_libdir/vlc/mux
914 %_libdir/vlc/mux/libmux_avi_plugin.so
915 %_libdir/vlc/mux/libmux_dummy_plugin.so
916 %_libdir/vlc/mux/libmux_ogg_plugin.so
917 %_libdir/vlc/mux/libmux_ps_plugin.so
918 %_libdir/vlc/mux/libmux_ts_plugin.so
919
920 %dir %_libdir/vlc/packetizer
921 %_libdir/vlc/packetizer/libpacketizer_a52_plugin.so
922 %_libdir/vlc/packetizer/libpacketizer_copy_plugin.so
923 %_libdir/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so
924 %_libdir/vlc/packetizer/libpacketizer_mpeg4video_plugin.so
925 %_libdir/vlc/packetizer/libpacketizer_mpegaudio_plugin.so
926 %_libdir/vlc/packetizer/libpacketizer_mpegvideo_plugin.so
927
928 %dir %_libdir/vlc/stream_out
929 %_libdir/vlc/stream_out/libstream_out_display_plugin.so
930 %_libdir/vlc/stream_out/libstream_out_dummy_plugin.so
931 %_libdir/vlc/stream_out/libstream_out_duplicate_plugin.so
932 %_libdir/vlc/stream_out/libstream_out_es_plugin.so
933 %_libdir/vlc/stream_out/libstream_out_standard_plugin.so
934
935 %dir %_libdir/vlc/video_chroma
936 %_libdir/vlc/video_chroma/libi420_rgb_plugin.so
937 %_libdir/vlc/video_chroma/libi420_ymga_plugin.so
938 %_libdir/vlc/video_chroma/libi420_yuy2_plugin.so
939 %_libdir/vlc/video_chroma/libi422_yuy2_plugin.so
940 #%ifarch %ix86
941 #%_libdir/vlc/video_chroma/libi420_rgb_mmx_plugin.so
942 #%_libdir/vlc/video_chroma/libi420_ymga_mmx_plugin.so
943 #%_libdir/vlc/video_chroma/libi420_yuy2_mmx_plugin.so
944 #%_libdir/vlc/video_chroma/libi422_yuy2_mmx_plugin.so
945 #%endif
946
947 %dir %_libdir/vlc/video_filter
948 %_libdir/vlc/video_filter/libadjust_plugin.so
949 %_libdir/vlc/video_filter/libclone_plugin.so
950 %_libdir/vlc/video_filter/libcrop_plugin.so
951 %_libdir/vlc/video_filter/libdeinterlace_plugin.so
952 %_libdir/vlc/video_filter/libdistort_plugin.so
953 %_libdir/vlc/video_filter/libinvert_plugin.so
954 %_libdir/vlc/video_filter/libmotionblur_plugin.so
955 %_libdir/vlc/video_filter/libosdtext_plugin.so
956 %_libdir/vlc/video_filter/libtransform_plugin.so
957 %_libdir/vlc/video_filter/libwall_plugin.so
958
959 %dir %_libdir/vlc/video_output
960 %_libdir/vlc/video_output/libfb_plugin.so
961 #%_libdir/vlc/video_output/libvout_encoder_plugin.so
962 %_libdir/vlc/video_output/libx11_plugin.so
963 %_libdir/vlc/video_output/libxvideo_plugin.so
964
965 %dir %_libdir/vlc/visualization
966
967 %_mandir/man1/vlc.*
968 %_menudir/vlc
969 %_miconsdir/vlc.png
970 %_iconsdir/vlc.png
971 %_liconsdir/vlc.png
972
973 %files -n %libname-devel
974 %defattr(-,root,root)
975 %doc README doc/release-howto.txt doc/skins doc/subtitles doc/Configure.help
976 %doc doc/arm-crosscompile-howto.sgml
977 %dir %_includedir/vlc
978 %_includedir/vlc/*
979 %_libdir/*a
980 %_libdir/vlc/*a
981 %_bindir/vlc-config
982 %_mandir/man1/vlc-config*
983
984 %if %with_mozilla
985 %files -n mozilla-plugin-vlc
986 %defattr(-,root,root)
987 %doc README
988 %_libdir/mozilla/*/*
989 %endif
990
991 # intf plugins
992 %if %with_gtk
993 %files -n gvlc
994 %defattr(-,root,root)
995 %doc README
996 %_libdir/vlc/misc/libgtk_main_plugin.so
997 %_libdir/vlc/gui/libgtk_plugin.so
998 %_bindir/gvlc
999 %_menudir/gvlc
1000 %_miconsdir/gvlc.png
1001 %_iconsdir/gvlc.png
1002 %_liconsdir/gvlc.png
1003 %post -n gvlc
1004 %update_menus
1005 %postun -n gvlc
1006 %clean_menus
1007 %endif
1008
1009 %if %with_gnome
1010 %files -n gnome-vlc
1011 %defattr(-,root,root)
1012 %doc README
1013 %_libdir/vlc/misc/libgnome_main_plugin.so
1014 %_libdir/vlc/gui/libgnome_plugin.so
1015 %_bindir/gnome-vlc
1016 %_menudir/gnome-vlc
1017 %_miconsdir/gnome-vlc.png
1018 %_iconsdir/gnome-vlc.png
1019 %_liconsdir/gnome-vlc.png
1020 %post   -n gnome-vlc
1021 %update_menus
1022 %postun -n gnome-vlc
1023 %clean_menus
1024 %endif
1025
1026 %if %with_wx
1027 %files -n wxvlc
1028 %defattr(-,root,root)
1029 %doc README
1030 %_bindir/wxvlc
1031 %_libdir/vlc/gui/libwxwindows_plugin.so
1032 %_menudir/wxvlc
1033 %_datadir/vlc/skins
1034 %post   -n wxvlc
1035 %update_menus
1036 %postun -n wxvlc
1037 %clean_menus
1038 %endif
1039
1040
1041 %if %with_qt
1042 %files -n qvlc
1043 %defattr(-,root,root)
1044 %doc README
1045 %_libdir/vlc/gui/libqt_plugin.so
1046 %_bindir/qvlc
1047 %_menudir/qvlc
1048 %_miconsdir/qvlc.png
1049 %_iconsdir/qvlc.png
1050 %_liconsdir/qvlc.png
1051 %post   -n qvlc
1052 %update_menus
1053 %postun -n qvlc
1054 %clean_menus
1055 %endif
1056
1057 %if %with_kde
1058 %files -n kvlc
1059 %defattr(-,root,root)
1060 %doc README
1061 %_libdir/vlc/gui/libkde_plugin.so
1062 %_bindir/kvlc
1063 %_menudir/kvlc
1064 %_miconsdir/kvlc.png
1065 %_iconsdir/kvlc.png
1066 %_liconsdir/kvlc.png
1067 %post   -n kvlc
1068 %update_menus
1069 %postun -n kvlc
1070 %clean_menus
1071 %endif
1072
1073 %if %with_ncurses
1074 %files plugin-ncurses
1075 %defattr(-,root,root)
1076 %doc README
1077 %_libdir/vlc/gui/libncurses_plugin.so
1078 %endif
1079
1080 %if %with_lirc
1081 %files plugin-lirc
1082 %defattr(-,root,root)
1083 %doc README
1084 %_libdir/vlc/control/liblirc_plugin.so
1085 %endif
1086
1087 # video plugins
1088 %if %with_sdl
1089 %files plugin-sdl
1090 %defattr(-,root,root)
1091 %doc README
1092 %_libdir/vlc/audio_output/libaout_sdl_plugin.so
1093 %_libdir/vlc/video_output/libvout_sdl_plugin.so
1094 %endif
1095
1096 %if %with_ggi
1097 %files plugin-ggi
1098 %defattr(-,root,root)
1099 %doc README
1100 %{_libdir}/vlc/video_output/libggi_plugin.so
1101 %endif
1102
1103 %if %with_aa
1104 %files plugin-aa
1105 %defattr(-,root,root)
1106 %doc README
1107 %{_libdir}/vlc/video_output/libaa_plugin.so
1108 %endif
1109
1110 %if %with_svgalib
1111 %files plugin-svgalib
1112 %defattr(-,root,root)
1113 %doc README
1114 %_libdir/vlc/video_output/libsvgalib_plugin.so
1115 %endif
1116
1117 # visualization plugin
1118 %if %with_xosd
1119 %files plugin-xosd
1120 %defattr(-,root,root)
1121 %doc README
1122 %_libdir/vlc/visualization/libxosd_plugin.so
1123 %endif
1124
1125 # codec plugin
1126 %if %with_mad
1127 %files plugin-mad
1128 %defattr(-,root,root)
1129 %doc README
1130 %_libdir/vlc/audio_filter/libmpgatofixed32_plugin.so
1131 %_libdir/vlc/demux/libid3tag_plugin.so
1132 %endif
1133
1134 %if %with_ogg
1135 %files plugin-ogg
1136 %defattr(-,root,root)
1137 %doc README
1138 %_libdir/vlc/demux/libogg_plugin.so
1139 %_libdir/vlc/codec/libvorbis_plugin.so
1140 %endif
1141
1142 %if %with_ogg
1143 %files plugin-flac
1144 %defattr(-,root,root)
1145 %doc README
1146 %_libdir/vlc/demux/libflac_plugin.so
1147 %_libdir/vlc/codec/libflacdec_plugin.so
1148 %endif
1149
1150
1151 %if %with_dv
1152 %files plugin-dv
1153 %defattr(-,root,root)
1154 %doc README
1155 %_libdir/vlc/codec/libdv_plugin.so
1156 %endif
1157
1158 %if %with_a52
1159 %files plugin-a52
1160 %defattr(-,root,root)
1161 %doc README
1162 %_libdir/vlc/audio_filter/liba52tofloat32_plugin.so
1163 %_libdir/vlc/audio_filter/liba52tospdif_plugin.so
1164 %endif
1165
1166 # input plugin
1167 %if %with_dvb
1168 %files plugin-dvb
1169 %defattr(-,root,root)
1170 %doc README
1171 %_libdir/vlc/access/libsatellite_plugin.so
1172 %_libdir/vlc/demux/libts_dvbpsi_plugin.so
1173 %_libdir/vlc/mux/libmux_ts_dvbpsi_plugin.so
1174 %endif
1175
1176 #audio plugins
1177 %if %with_esd
1178 %files plugin-esd
1179 %defattr(-,root,root)
1180 %doc README
1181 %_libdir/vlc/audio_output/libesd_plugin.so
1182 %endif
1183
1184 %if %with_arts
1185 %files plugin-arts
1186 %defattr(-,root,root)
1187 %doc README
1188 %_libdir/vlc/audio_output/libarts_plugin.so
1189 %endif
1190
1191 %if %with_alsa
1192 %files plugin-alsa
1193 %defattr(-,root,root)
1194 %doc README
1195 %_libdir/vlc/audio_output/libalsa_plugin.so
1196 %endif
1197
1198 %if %with_slp
1199 %files plugin-slp
1200 %defattr(-,root,root)
1201 %doc README
1202 %_libdir/vlc/access/libslp_plugin.so
1203 %endif
1204
1205 %changelog
1206 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-5mdk
1207 - reenable wxvlc, but use 2.4 instead of 2.5
1208 - remove the packager tag
1209 - fix build on mdk 9.1
1210
1211 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-4mdk
1212 - add some more docs
1213 - enable libtar
1214 - fix comment about the DVB headers
1215 - small spec fix
1216
1217 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-3mdk
1218 - some spec fixes
1219 - add mime types to the menu entries
1220 - enable the kde plugin
1221 - the wx package provides wx-gui
1222 - move the skins to the wx package
1223 - fix all --with options
1224 - enable matroska
1225 - disable wx, didn't work
1226
1227 * Fri Jun 27 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-2mdk
1228 - add matroska to the spec file, but don't enable it yet
1229 - enable the flac plugin
1230 - enable DVB, use headers from kernel-multimedia-source
1231
1232 * Fri Jun 27 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-1mdk
1233 - add lots of new plugins
1234 - disable libvout_encoder_plugin.so
1235 - disable postprocessing plugins
1236 - add the data dir to the main package
1237 - disable dvb (were have all the headers gone?)
1238 - include static ffmpeg
1239 - include static mpeg2dec
1240 - enable wxGTK
1241 - fix mozilla build
1242 - fix buildrequires
1243 - new version
1244
1245 * Tue Apr  8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.2-2mdk
1246 - new dvdread
1247
1248 * Sun Apr 06 2003 Yves Duret <yves@zarb.org> 0.5.2-1mdk
1249 - 0.5.2
1250
1251 * Tue Feb 18 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.0-4mdk
1252 - new xosd
1253
1254 * Thu Feb 06 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.5.0-3mdk
1255 - BuildRequires libdvbpsi-devel libdvdplay-devel
1256
1257 * Tue Feb  4 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.0-2mdk
1258 - rebuild for new xosd
1259
1260 * Mon Feb 03 2003 Yves Duret <yves@zarb.org> 0.5.0-1mdk
1261 - Natalya release.
1262 - enables DVD menus.
1263
1264 * Mon Feb 03 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030203.1mdk
1265 - latest (!) cvs snapshot before release, oh yeah.
1266 - added dv and dvb sub rpm (satellite).
1267 - added mozilla-plugin.
1268 - more docs.
1269 - fixes here and here.
1270 - sync with CVS one.
1271
1272 * Fri Jan 31 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030131.1mdk
1273 - new cvs snapshot.
1274
1275 * Tue Jan 28 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030128.1mdk
1276 - new cvs snapshot.
1277 - sync specfile with HEAD CVS one.
1278
1279 * Mon Jan 27 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030127.1mdk
1280 - new cvs snapshot.
1281
1282 * Fri Jan 24 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030124.1mdk
1283 - new cvs snapshot adding transcoding feature!
1284 - new video_output/vout_encoder plugin.
1285 - new demux/a52sys plugin.
1286
1287 * Mon Jan 20 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030120.1mdk
1288 - new cvs snapshot.
1289 - new access/slp plugin.
1290 - more buildfor_{rh80,mdk{82,90}} stuff.
1291 - use %%mklibname macro.
1292 - use %%clean_menus in postun instead of %%update_menus everywhere.
1293
1294 * Thu Jan 16 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030116.1mdk
1295 - new cvs snapshot.
1296 - codec/mad plugin is replaced by audio_filter/mpgatofixed32.
1297
1298 * Tue Jan 14 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030114.1mdk
1299 - new cvs snapshot.
1300 - new demux/m4v and mux/avi plugins.
1301
1302 * Fri Jan 10 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030110.1mdk
1303 - new cvs snapshot.
1304 - new packetizer/mpeg4audio plugin.
1305
1306 * Tue Jan 07 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030107.1mdk
1307 - cvs 2003/01/07.
1308 - mmx/3dn plugins are only for x86 arch (use %ifarch %ix86 to list them)
1309   ie. fix rpm building on ppc thx Olivier Thauvin <olivier.thauvin@aerov.jussieu.fr>
1310
1311 * Mon Jan 06 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030106.1mdk
1312 - cvs 2003/01/06.
1313 - removed access/rtp plugin (merged in access/udp).
1314 - removed codec/imdct and codec/downmix plugins (deprecated).
1315 - libvlc0-devel provides libvlc-devel.
1316
1317 * Sun Jan 05 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20021220.2mdk
1318 - rebuild against new glibc.
1319 - rpm configure macro is now fixed.
1320
1321 * Fri Dec 20 2002 Yves Duret <yves@zarb.org> 0.5.0-0.20021220.1mdk
1322 - cvs 20021220 (aka fix segfaulting with broken trancoded avi)
1323 - added rawdv plugin.
1324 - few spec enhacement and sync with upstream CVS.
1325
1326 * Wed Dec 18 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.5.0-0.20021218.1mdk
1327 - don't harcore arch in name
1328 - cvs 20021218
1329
1330
1331 * Mon Jun 20 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.2-1mdk
1332 - new upstream release
1333
1334 * Mon Jun 3 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.1-1mdk
1335 - new upstream release
1336
1337 * Thu May 23 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.0-1mdk
1338 - version 0.4.0 with MPEG4 (DivX) support thx ffmpeg.
1339   thus s/MPEG, MPEG2 and DVD/multimedia/g
1340 - sync %%description with debian ones.
1341 - vlc now requires a vlc-gui (gtk, gnome or qt).
1342 - removed gcc3.1 patches since merged upstream.
1343
1344 * Mon May 13 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-4mdk
1345 - removed xmga plugin (currently broken).
1346 - manual rebuild in gcc3.1 environment aka added Patch0 & Patch1
1347 - various summary/description changes.
1348
1349 * Fri May 03 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-3mdk
1350 - added vlc-lirc intf plugin rpm.
1351
1352 * Tue Apr 30 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-2mdk
1353 - rebuild against libalsa2 (vlc-sdl)
1354
1355 * Fri Apr 19 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
1356 - version 0.3.1.
1357 - removed patch0 merged upstream.
1358 - removed old %%ifarch ppc
1359 - added missing libmad-devel buldrequires
1360
1361 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
1362 - added liba52 support (buildrequires).
1363 - added vlc-alsa audio plugin.
1364 - mad is a codec (audio) plugin. corrected description and summary.
1365
1366 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
1367 - added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>
1368
1369 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
1370 - added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
1371 - better summary for plugin
1372 - add packager tag to myself
1373
1374 * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
1375 - version 0.3.0
1376 - added aa (Asci Art) plugin in vlc-aa rpm
1377 - merged with sam's one:
1378   * using his plugins list into %%files
1379   * removed libdvdcss from the whole tarball.
1380   * removed the workaround for vlc's bad /dev/dsp detection.
1381 - few spell corrections in all %%description
1382 - added buildrequires on SDL-devel
1383
1384 * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
1385 - new cvs snapshot
1386 - fix requires
1387
1388 * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
1389 - cvs snapshot
1390
1391 * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
1392 - mad plugin in vlc-mad rpm
1393
1394 * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
1395 - synced with main cvs specfile wich "fixed a few minor inaccuracies"
1396
1397 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
1398 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
1399   to build libdvdcss rpm.
1400
1401 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
1402 - version 0.2.92
1403 - %%makeinstall_std
1404 - splitted again, added vlc-sdl vlc-esd vlc-ggi
1405 - bring back some missing plugins
1406 - fixed buildrequires
1407 - added menu entries and icons (from cvs)
1408
1409 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
1410 - rebuild against libpng3
1411 - added some doc for sir rpmlint
1412 - #5583: option -g
1413
1414 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
1415 - version 0.2.83 : 
1416   * Activated subtitles in overlay mode (far from perfect, but this
1417     was an often requested feature).
1418
1419 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
1420 - version 0.2.82
1421
1422 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
1423 - version 0.2.81
1424 - added vlc-ncurses
1425
1426 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
1427 - cvs snapshot
1428 - added libdvdcss
1429
1430 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
1431 - fix build on ppc (c) dadou
1432
1433 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
1434 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
1435   improvements of the gtk interface.
1436 - corrected Summary in vlc-qt
1437
1438 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
1439 - added qt2 plugin (vlc-qt)
1440
1441 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
1442 - version 0.2.73
1443 - you can now get decss threw a plugin
1444 - rewritte srcipt to build vlc (decss plugin)
1445 - rebuild with SDL 1.2
1446
1447 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
1448 - true 0.2.72
1449
1450 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
1451 - version 0.2.72
1452 - package split into vlc, vlc-gnome, vlc-gtk
1453
1454 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
1455 - version 0.2.71 :
1456   * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
1457     shipped with the latest RedHat distributions.
1458   * Fixed the BeOS CSS decryption.
1459   * Fixed a few issues in IFO parsing.
1460   * Fixed XVideo video output.
1461   * Updated icons under Linux, BeOS, MacOS X.
1462
1463 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
1464 - version 0.2.70
1465
1466 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
1467 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
1468   interface for the Gnome-impaired, an even better DVD support
1469
1470 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
1471 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
1472   DVD decryption, arbitrary, seeking in the stream, pause, fast forward
1473   and slow motion, hardware YUV acceleration enhanced CSS support and a few
1474   new interface features including drag'n'drop.
1475 - first *real* public release (now under the GPL)
1476
1477 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
1478 - Fix build and use right optimizations on PPC
1479 - Enable SDL support
1480 - Spec clean up
1481
1482 * Fri Jan  5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
1483 - 0.1.99i, rebuild
1484
1485 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
1486 - 0.1.99h
1487
1488 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
1489 - first Mandrake package with help of Sam