vlc.spec 34.8 KB
Newer Older
Sam Hocevar's avatar
 
Sam Hocevar committed
1
%define name 		vlc
2
%define version 	0.5.2
3
%define rel		1
Yves Duret's avatar
Yves Duret committed
4

5
%define	libmajor	0
6

7
%define cvs     	0
8
%if %{cvs}
Yves Duret's avatar
Yves Duret committed
9
%define	cvsrel		1
10
%define cvsdate 	20030127
Yves Duret's avatar
Yves Duret committed
11 12
%define release		0.%{cvsdate}.%{cvsrel}mdk
%define cvs_name 	%{name}-snapshot-%cvsdate
13
%else
Yves Duret's avatar
Yves Duret committed
14 15 16
%define release 	%{rel}mdk
%endif

17
%define with_dvdplay 1
Yves Duret's avatar
Yves Duret committed
18

Yves Duret's avatar
Yves Duret committed
19
%define with_mozilla 1
Yves Duret's avatar
Yves Duret committed
20 21 22 23 24 25 26 27 28 29 30 31
%define with_gtk 1
%define with_gnome 1
%define with_qt 0
%define with_kde 0
%define with_ncurses 1
%define with_lirc 1
%define	with_wx 0

%define with_aa 1
%define with_sdl 1
%define with_ggi 1
%define with_svgalib 0
Yves Duret's avatar
Yves Duret committed
32
%define with_xosd 1
Yves Duret's avatar
Yves Duret committed
33 34 35 36

%define with_mad 1
%define with_ogg 1
%define with_a52 1
37 38
%define with_dv 1
%define with_dvb 1
Yves Duret's avatar
Yves Duret committed
39
%define	with_ffmpeg 1
Yves Duret's avatar
Yves Duret committed
40 41 42 43 44

%define with_esd 1
%define with_arts 1
%define with_alsa 1

Yves Duret's avatar
Yves Duret committed
45 46
%define with_slp 1

Yves Duret's avatar
Yves Duret committed
47
## but we try to figure out on wich system we are building
Yves Duret's avatar
Yves Duret committed
48 49 50
%define	buildfor_mdk82	%([[ -e /etc/mandrake-release ]] && awk '{print ($4 == "8.2")}' %{_sysconfdir}/mandrake-release || echo 0)
%define	buildfor_mdk90	%([[ -e /etc/mandrake-release ]] && awk '{print ($4 == "9.0")}' %{_sysconfdir}/mandrake-release || echo 0)
%define	buildfor_mdk91	%([[ -e /etc/mandrake-release ]] && awk '{print ($4 == "9.1")}' %{_sysconfdir}/mandrake-release || echo 0)
Yves Duret's avatar
Yves Duret committed
51
# not a mandrake one.
Yves Duret's avatar
Yves Duret committed
52
%define buildfor_rh80 %([[ -e /etc/mandrake-release ]] && echo 0 || echo 1)
Yves Duret's avatar
Yves Duret committed
53

Yves Duret's avatar
Yves Duret committed
54 55 56 57 58 59 60 61
# new macros
%if %buildfor_mdk82 || %buildfor_mdk90 || %buildfor_rh80
%define libname		lib%name%libmajor
%else
%define libname		%mklibname %name %libmajor
%endif

%if %buildfor_rh80
Yves Duret's avatar
Yves Duret committed
62
%define release %rel
63 64 65
# some mdk macros that do not exist in rh
%define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
%define make %__make
Yves Duret's avatar
Yves Duret committed
66
%define makeinstall_std %__make DESTDIR="$RPM_BUILD_ROOT" install
Yves Duret's avatar
Yves Duret committed
67 68 69 70
%define _menudir /usr/lib/menu
%define _iconsdir /usr/share/icons
%define _liconsdir /usr/share/icons/large
%define _miconsdir /usr/share/icons/mini
Yves Duret's avatar
Yves Duret committed
71
# adjust define for Redhat.
Yves Duret's avatar
Yves Duret committed
72 73 74 75
%define with_ggi 0
%define with_dvb 0
%define with_slp 0
%define with_mozilla 0
76 77
%endif

Yves Duret's avatar
Yves Duret committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
# without
%{?_without_mozilla:	%{expand: %%define with_mozilla 0}}
%{?_without_gtk:	%{expand: %%define with_gtk 0}}
%{?_without_gnome:	%{expand: %%define with_gnome 0}}
%{?_without_qt:		%{expand: %%define with_qt 0}}
%{?_without_kde:	%{expand: %%define with_kde 0}}
%{?_without_ncurses:	%{expand: %%define with_ncurses 0}}
%{?_without_lirc:	%{expand: %%define with_lirc 0}}
%{?_without_wx:		%{expand: %%define with_wx 0}}

%{?_without_aa:   	%{expand: %%define with_aa 0}}
%{?_without_sdl:   	%{expand: %%define with_sdl 0}}
%{?_without_ggi:   	%{expand: %%define with_ggi 0}}
%{?_without_svgalib:	%{expand: %%define with_svgalib 0}}
%{?_without_xosd:	%{expand: %%define with_xosd 0}}

%{?_without_mad:	%{expand: %%define with_mad 0}}
%{?_without_ogg:	%{expand: %%define with_ogg 0}}
%{?_without_a52:	%{expand: %%define with_a52 0}}
%{?_without_dv:		%{expand: %%define with_dv 0}}
%{?_without_dvb:	%{expand: %%define with_dvb 0}}

%{?_without_esd:	%{expand: %%define with_esd 0}}
%{?_without_arts:	%{expand: %%define with_arts 0}}
%{?_without_alsa:	%{expand: %%define with_alsa 0}}

Yves Duret's avatar
Yves Duret committed
104 105
%{?_without_slp:	%{expand: %%define with_slp 0}}

Yves Duret's avatar
Yves Duret committed
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
# with
%{?_with_mozilla:    	%{expand: %%define with_mozilla 1}}
%{?_with_gtk:		%{expand: %%define with_gtk 1}}
%{?_with_gnome:		%{expand: %%define with_gnome 1}}
%{?_with_qt:		%{expand: %%define with_qt 1}}
%{?_with_kde:		%{expand: %%define with_kde 1}}
%{?_with_ncurses:    	%{expand: %%define with_ncurses 1}}
%{?_with_lirc:       	%{expand: %%define with_lirc 1}}
%{?_with_wx:		%{expand: %%define with_wx 0}}

%{?_with_aa:         	%{expand: %%define with_aa 1}}
%{?_with_sdl:        	%{expand: %%define with_sdl 1}}
%{?_with_ggi:        	%{expand: %%define with_ggi 1}}
%{?_with_svgalib:    	%{expand: %%define with_svgalib 1}}
%{?_with_xosd:       	%{expand: %%define with_xosd 1}}

%{?_with_mad:		%{expand: %%define with_mad 1}}
%{?_with_ogg:        	%{expand: %%define with_ogg 1}}
%{?_with_a52:        	%{expand: %%define with_a52 1}}
%{?_with_dv:         	%{expand: %%define with_dv 1}}
%{?_with_dvb:        	%{expand: %%define with_dvb 1}}

%{?_with_esd:        	%{expand: %%define with_esd 1}}
%{?_with_arts:       	%{expand: %%define with_arts 1}}
%{?_with_alsa:       	%{expand: %%define with_alsa 1}}

Yves Duret's avatar
Yves Duret committed
132
%{?_with_slp:		%{expand: %%define with_slp 1}}
Sam Hocevar's avatar
 
Sam Hocevar committed
133

134
Summary:	VLC is a free MPEG, MPEG2, DVD and DivX player.
135 136 137
Name:		%{name}
Version:	%{version}
Release:	%{release}
138
Packager:	Yves Duret <yves@zarb.org>
139 140

%if %{cvs} 
141
Source0:	http://www.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.bz2
142
%else
143
Source0:	http://www.videolan.org/packages/%{version}/%{name}-%{version}.tar.bz2
144 145 146
%endif
License:	GPL
Group:		Video
147 148
URL:		http://www.videolan.org/
Requires:	vlc-gui
Alexis de Lattre's avatar
 
Alexis de Lattre committed
149
# vlc-mad needed by ffmpeg builtin (i want MPEG4 support out of box)
Yves Duret's avatar
Yves Duret committed
150
Requires:	vlc-plugin-mad
151
# DVD working out of box.
Yves Duret's avatar
Yves Duret committed
152
Requires:	vlc-plugin-a52
153

154
BuildRoot:	%_tmppath/%name-%version-%release-root
Yves Duret's avatar
Yves Duret committed
155

Yves Duret's avatar
Yves Duret committed
156 157
# for redhat system, NO buildrequires. rh sux
%if !%buildfor_rh80
Yves Duret's avatar
Yves Duret committed
158 159 160 161 162 163 164 165 166 167 168 169 170
%if %with_mozilla
Buildrequires:	mozilla-devel
%endif
%if %with_gtk
Buildrequires:	libgtk+1.2-devel
%endif
%if %with_gnome
Buildrequires:	gnome-libs-devel
%endif
%if %with_qt
Buildrequires:	libqt2-devel
%endif
%if %with_kde
171
Buildrequires:	kdelibs-devel
Yves Duret's avatar
Yves Duret committed
172 173 174 175
%endif
%if %with_ncurses
Buildrequires:	libncurses5-devel
%if %with_wx
176
Buildrequires:	wxGTK-devel
Yves Duret's avatar
Yves Duret committed
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
%endif
%if %with_lirc
Buildrequires:	liblirc-devel
%endif
%if %with_aa
Buildrequires:	aalib-devel
%endif
%if %with_sdl
Buildrequires:	SDL-devel
%endif
%if %with_ggi
Buildrequires:	libggi-devel
%endif
%if %with_svgalib
Buildrequires:	svgalib-devel
%endif
%if %with_xosd
Buildrequires:	libxosd2-devel
%endif
%if %with_mad
Buildrequires:	libmad-devel
%endif
%if %with_ogg
Buildrequires:	libvorbis-devel
Buildrequires:	libogg-devel
%endif
%if %with_dv
Buildrequires:	libdv2-devel
%endif

%if %with_a52
Yves Duret's avatar
Yves Duret committed
208
Buildrequires:	liba52dec-devel
Yves Duret's avatar
Yves Duret committed
209 210 211 212 213
%endif

%if %with_ffmpeg
Buildrequires:	libffmpeg-devel
%endif
Yves Duret's avatar
Yves Duret committed
214 215 216 217 218 219
%if %with_dvdplay
BuildRequires: libdvdplay-devel
%endif
%if %with_dvb
BuildRequires: libdvbpsi-devel
%endif
Yves Duret's avatar
Yves Duret committed
220 221

%if %with_alsa
222
Buildrequires:	libalsa2-devel
Yves Duret's avatar
Yves Duret committed
223 224
%endif
%if %with_esd
225
Buildrequires:	libesound0-devel
Yves Duret's avatar
Yves Duret committed
226 227 228 229
%endif
%if %with_arts
Buildrequires:	libarts-devel
%endif
230

Yves Duret's avatar
Yves Duret committed
231 232 233 234
%if %with_slp
Buildrequires:	libopenslp-devel
%endif

Yves Duret's avatar
Yves Duret committed
235
%endif #no buildrequires for rh systems.
Yves Duret's avatar
Yves Duret committed
236

237
%description
Alexis de Lattre's avatar
 
Alexis de Lattre committed
238 239 240
VideoLAN is an OpenSource streaming solution for every OS developed by
students from the Ecole Centrale Paris and developers from all over the
World.
241 242 243 244
VLC (VideoLAN Client) is a media player that can play MPEG1, MPEG2 and
MPEG4 (aka DivX) files, DVDs, VCDs, SVCDs, from a satellite card, from
a stream sent by VLS (VideoLAN Server), from another VLC, or from a Web
server.
Alexis de Lattre's avatar
 
Alexis de Lattre committed
245 246 247
You may install vlc-gnome or vlc-gtk to have a nice graphical interface.
This package contains no CSS unscrambling functionality for DVDs ;
you need the libdvdcss library available from 
Sam Hocevar's avatar
 
Sam Hocevar committed
248
http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
249

250 251
#general packages
%package -n %libname-devel
252
Summary: Development files for the VLC media player
253 254
Group: Development/C
Requires: %name = %version-%release
255 256
Provides: %name-devel = %version-%release
Provides: lib%name-devel = %version-%release
257
%description -n %libname-devel
258
Development files for the VLC media player
259
This package contains headers and a static library required to build plugins
260
for the VLC media player, or standalone applications using features from VLC.
261 262 263 264 265

%package -n mozilla-plugin-vlc
Summary: A multimedia plugin for Mozilla, based on vlc
group: Video
Requires: %name = %version-%release
Yves Duret's avatar
Yves Duret committed
266 267
%{expand: %%define mozve %(rpm -q mozilla| sed 's/mozilla-\([0-9].*\)-.*$/\1/')}
Requires: mozilla = %mozve
268 269 270 271 272 273 274
%description -n mozilla-plugin-vlc
This plugin adds support for MPEG, MPEG2, DVD and DivX to your Mozilla
browser. The decoding process is done by vlc and the output window is
embedded in a webpage or directly in the browser window. There is also
support for fullscreen display.


Sam Hocevar's avatar
 
Sam Hocevar committed
275
# intf plugins
276
%package -n gvlc
277
Summary: Gtk plugin for the VLC media player
278 279
Group: Video
Requires: %{name} = %{version}
280
Provides: vlc-gui
281
%description -n gvlc
282
This plugin adds a Gtk+ interface to the VLC media player. To
283
activate it, use the `--intf gtk' flag or run the `gvlc' program.
284

285
%package -n gnome-vlc
286
Summary: Gnome plugin for the VLC media player
287 288
Group: Video
Requires: %{name} = %{version}
289 290 291
Provides: vlc-gui, vlc-gnome
Obsoletes: vlc-gnome
%description -n gnome-vlc
292
This plugin adds a Gnome interface to the VLC media player. To
293
activate it, use the `--intf gnome' flag or run the `gnome-vlc' program.
294

295
%package -n qvlc
296
Summary: Qt2 plugin for the VLC media player
297 298
Group: Video
Requires: %{name} = %{version}
299 300 301
Provides: vlc-gui, vlc-qt
Obsoletes: vlc-qt
%description -n qvlc
302 303
This plugin adds a Qt interface to the VLC media player. To activate it,
use the `--intf qt' flag or run the `qvlc' program.
304

305
%package -n kvlc
306
Summary: KDE frontend for the VLC media player
307 308 309 310
Group: Video
Requires: %{name} = %{version}
Provides: vlc-gui
%description -n kvlc
311
This plugin adds a KDE interface to the VLC media player. To
312 313 314
activate it, use the `--intf kde' flag or run the `kvlc' program.

%package plugin-ncurses
315
Summary: Ncurses console-based plugin for the VLC media player
316 317
Group: Video
Requires: %{name} = %{version}
318
%description plugin-ncurses
319
This plugin adds a ncurses interface to the VLC media player. To
320 321
activate it, use the `--intf ncurses' flag.

322
%package plugin-lirc
323
Summary: Lirc plugin for the VLC media player
324 325
Group: Video
Requires: %{name} = %{version}
326 327 328
Obsoletes: vlc-lirc
Provides: vlc-lirc
%description plugin-lirc
329 330
This plugin is an infrared lirc interface for the VLC media player. To
activate it, use the `--extraintf lirc' flag.
331

332
%package -n wxvlc
333
Summary: WxWindow plugin for the VLC media player
334 335 336 337 338
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-lirc
Provides: vlc-lirc
%description -n wxvlc
339
This plugin adds a wxWindow interface to the VLC media player. To
340 341 342
activate it, use the `--intf wxwin' flag or run the `wxvlc' program.


343
#
Sam Hocevar's avatar
 
Sam Hocevar committed
344
# video plugins
345
%package plugin-aa
346
Summary: ASCII art video plugin for the VLC media player
Sam Hocevar's avatar
 
Sam Hocevar committed
347 348
Group: Video
Requires: %{name} = %{version}
349 350 351
Obsoletes: vlc-aa
Provides: vlc-aa
%description plugin-aa
352 353 354
This is an ASCII art video output plugin for the VLC media playe. To
activate it, use the `--vout aa' flag or select the `aa' video output
plugin from the preferences menu.
355

Sam Hocevar's avatar
 
Sam Hocevar committed
356

357
%package plugin-sdl
358
Summary: Simple DirectMedia Layer video plugin for the VLC media player
Sam Hocevar's avatar
 
Sam Hocevar committed
359 360
Group: Video
Requires: %{name} = %{version}
361 362 363
Obsoletes: vlc-sdl
Provides: vlc-sdl
%description plugin-sdl
364
This plugin adds support for the Simple DirectMedia Layer library to
365 366 367
the VLC media player. To activate it, use the `--vout sdl' or
`--aout sdl' flags or select the `sdl' video or audio output plugin
from the preferences menu.
Sam Hocevar's avatar
 
Sam Hocevar committed
368

369
%package plugin-ggi
370
Summary: GGI video plugin for the VLC media player
Sam Hocevar's avatar
 
Sam Hocevar committed
371 372
Group: Video
Requires: %{name} = %{version}
373 374 375
Obsoletes: vlc-ggi
Provides: vlc-ggi
%description plugin-ggi
376 377 378
This is a GGI plugin for the VLC media player. To activate it, use
the `--vout ggi' flag or select the `ggi' video output plugin from
the preferences menu.
379 380

%package plugin-svgalib
381
Summary: SVGAlib video plugin for the VLC media player
382 383 384
Group: Video
Requires: %{name} = %{version}
%description plugin-svgalib
385
This plugin adds support for SVGAlib to the VLC media player. To
386 387 388 389 390 391 392 393
activate it, use the `--vout svgalib' flag or select the `svgalib' video
output plugin from the preferences menu. Note that you will need root
permissions to use SVGAlib.


#
# visualization plugins
%package plugin-xosd
394
Summary: X On-Screen Display plugin for the VLC media player
395 396 397
Group: Video
Requires: %{name} = %{version}
%description plugin-xosd
398 399 400
This is an On-Screen Display plugin for the VLC media player. To activate
it, use the `--extraintf xosd' flag or select the `xosd' interface plugin
from the preferences menu.
401

Sam Hocevar's avatar
 
Sam Hocevar committed
402
# codec plugins
403
%package plugin-mad
404
Summary: MAD audio codec plugin for the VLC media player
Sam Hocevar's avatar
 
Sam Hocevar committed
405 406
Group: Video
Requires: %{name} = %{version}
407 408 409
Obsoletes: vlc-mad
Provides: vlc-mad
%description plugin-mad
410
This plugin adds support for libmad, the MPEG audio decoder library,
411
to the VLC media player. MAD is 100% fixed-point based. To activate
412 413
this plugin, use the `--mpeg_adec mad' flag or select the `mad' MPEG
decoder from the preferences menu.
Sam Hocevar's avatar
 
Sam Hocevar committed
414

415
%package plugin-ogg
416
Summary: Ogg demuxer and Vorbis codec plugin for the VLC media player
417 418 419 420
Group: Video
Requires: %{name} = %{version}
%description plugin-ogg
These plugins add support for the Ogg bitstream format and the Ogg Vorbis
421
compressed audio format to the VLC media player. They are autodetected.
422 423

%package plugin-a52
424
Summary: A-52 (AC-3) codec plugin for the VLC media player
425 426 427 428
Group: Video
Requires: %{name} = %{version}
%description plugin-a52
This plugin adds support for the ATSC A-52 (aka. AC-3) audio format to
429
the VLC media player. The plugin is autodetected.
430 431

%package plugin-dv
432
Summary: DV codec plugin for the VLC media player
433 434 435
Group: Video
Requires: %{name} = %{version}
%description plugin-dv
436 437
This plugin adds support for the DV video format to the VLC media player.
The plugin is autodetected.
438 439 440 441

#
# input plugins
%package plugin-dvb
442
Summary: DVB input plugin for the VLC media player
443 444 445
Group: Video
Requires: %{name} = %{version}
%description plugin-dvb
446
This plugin adds support for DVB cards to the VLC media player. Note
447 448 449
that your card needs to be supported by your kernel before vlc can use it.

#
Sam Hocevar's avatar
 
Sam Hocevar committed
450
# audio plugins
451
%package plugin-esd
452
Summary: Enlightened Sound Daemon audio plugin for the VLC media player
Sam Hocevar's avatar
 
Sam Hocevar committed
453 454
Group: Video
Requires: %{name} = %{version}
455 456 457
Obsoletes: vlc-esd
Provides: vlc-esd
%description plugin-esd
458 459 460
This plugin adds support for the Enlightened Sound Daemon to the VLC
media player. To activate it, use the `--aout esd' flag or select the
`esd' audio output plugin from the preferences menu.
Sam Hocevar's avatar
 
Sam Hocevar committed
461

462
%package plugin-arts
463
Summary: aRts audio plugin for the VLC media player
Sam Hocevar's avatar
 
Sam Hocevar committed
464 465
Group: Video
Requires: %{name} = %{version}
466 467 468
Obsoletes: vlc-arts
Provides: vlc-arts
%description plugin-arts
469 470 471
This plugin adds support for the aRts Sound System to the VLC media
player. To activate it, use the `--aout arts' flag or select the `arts'
audio output plugin from the preferences menu.
Sam Hocevar's avatar
 
Sam Hocevar committed
472

473
%package plugin-alsa
474
Summary: Advanced Linux Sound Architecture audio plugin for the VLC media player
Sam Hocevar's avatar
 
Sam Hocevar committed
475 476
Group: Video
Requires: %{name} = %{version}
477 478 479
Obsoletes: vlc-alsa
Provides: vlc-alsa
%description plugin-alsa
480
This plugin adds support for the Advanced Linux Sound Architecture to
481 482
the VLC media player. To activate it, use the `--aout alsa' flag or
select the `alsa' audio output plugin from the preferences menu.
Sam Hocevar's avatar
 
Sam Hocevar committed
483

484

Yves Duret's avatar
Yves Duret committed
485
%package plugin-slp
486
Summary: Service Location Protocol acces plugin for the VLC media player
Yves Duret's avatar
Yves Duret committed
487 488 489 490
Group: Video
Requires: %{name} = %{version}
%description plugin-slp
This plugin adds support for the Service Location Protocol to
491
the VLC media player.
Yves Duret's avatar
Yves Duret committed
492 493


494 495 496 497
%prep
%if %{cvs}
%setup -q -n %{cvs_name}
%else
498
%setup -q 
499
%endif
Henri Fallon's avatar
 
Henri Fallon committed
500

501
%build
502
# yves 0.4.0-1mdk
503
# ffmpeg: static linking cause no official ffmpeg release with a stable ABI
Yves Duret's avatar
Yves Duret committed
504
# ffmpeg:no plugin posible on ia64 due to the static linking (can not put .a in a .so)
Yves Duret's avatar
Yves Duret committed
505 506 507 508 509
%if %with_mozilla
%define moz_ver 1.3a
export XPIDL=/usr/lib/mozilla-%moz_ver/xpidl
perl -pi -e  's#-I/usr/share/idl/mozilla#-I/usr/share/idl/mozilla-1.3a#' Makefile.in
%endif
510 511 512
export QTDIR=%{_libdir}/qt3
# mandrake kernel specific
export CPPFLAGS="${CPPFLAGS:--I/usr/src/linux/3rdparty/mod_dvb/include}"
Yves Duret's avatar
Yves Duret committed
513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586
# NO empty line or comments for the configure --switch or it won't work.
%configure2_5x  --enable-release \
	--enable-dvd --without-dvdcss \
%if %with_dvdplay
	--enable-dvdplay \
%else
	--disable-dvdplay \
%endif
%if %with_mozilla
	--enable-mozilla \
%else
	--disable-mozilla \
%endif
%if %with_gtk
	--enable-gtk \
%else
	--disable-gtk \
%endif
%if %with_gnome
	--enable-gnome \
%else
	--disable-gnome \
%endif
%if %with_qt
	--enable-qt \
%endif
%if %with_kde
	--enable-kde \
%endif
%if %with_ncurses
	--enable-ncurses \
%endif
%if %with_lirc
	--enable-lirc \
%endif
%if %with_wx
	--enable-wxwindows \
%else 
	--disable-wxwindows \
%endif
	--enable-x11 --enable-xvideo \
	--enable-fb --disable-mga \
%if %with_aa
	--enable-aa \
%endif
%if %with_sdl
	--enable-sdl \
%endif
%if %with_ggi
	--enable-ggi \
%endif
%if %with_svgalib
        --enable-svgalib \
%endif
%if %with_xosd
	--enable-xosd \
%else
	--disable-xosd \
%endif
%if %with_mad
        --enable-mad \
%endif  
%if %with_ffmpeg
        --enable-ffmpeg --with-ffmpeg=/usr --with-ffmpeg-tree=/usr/lib \
%else
        --disable-ffmpeg \
%endif
%if %with_ogg
	--enable-vorbis \
	--enable-ogg \
%else
	--disable-vorbis \
	--disable-ogg \
%endif
587 588 589 590 591
%if %with_dv
	--enable-dv \
%else
	--disable-dv \
%endif
Yves Duret's avatar
Yves Duret committed
592 593 594 595 596
%if %with_dvb
	--enable-dvb  --enable-dvbpsi --enable-satellite \
%else
	--disable-dvb  --disable-dvbpsi --disable-satellite \
%endif
Yves Duret's avatar
Yves Duret committed
597 598 599 600 601 602 603 604 605 606
%if %with_esd
	--enable-esd \
%endif
%if %with_alsa
	--enable-alsa \
%endif
%if %with_arts
	--enable-arts \
%endif

Sam Hocevar's avatar
 
Sam Hocevar committed
607
%make
Sam Hocevar's avatar
 
Sam Hocevar committed
608

609
%install
Yves Duret's avatar
Yves Duret committed
610
rm -fr %buildroot
Sam Hocevar's avatar
 
Sam Hocevar committed
611
%makeinstall_std
612
%find_lang %name
Yves Duret's avatar
Yves Duret committed
613 614 615
install -d %buildroot/%_mandir/man1
install doc/vlc.1 %buildroot/%_mandir/man1
install doc/vlc-config.1 %buildroot/%_mandir/man1
Sam Hocevar's avatar
 
Sam Hocevar committed
616

Sam Hocevar's avatar
 
Sam Hocevar committed
617
# menu
Yves Duret's avatar
Yves Duret committed
618 619
mkdir -p %buildroot/%_menudir
cat > %buildroot/%_menudir/vlc << EOF
620
?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"
Yves Duret's avatar
Yves Duret committed
621 622 623
EOF
%if %with_gtk
cat > %buildroot/%_menudir/gvlc << EOF
624
?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"
Sam Hocevar's avatar
 
Sam Hocevar committed
625
EOF
Yves Duret's avatar
Yves Duret committed
626 627 628
%endif
%if %with_gnome
cat > %buildroot/%_menudir/gnome-vlc << EOF
629
?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"
Sam Hocevar's avatar
 
Sam Hocevar committed
630
EOF
Yves Duret's avatar
Yves Duret committed
631 632 633
%endif
%if %with_qt
cat > %buildroot/%_menudir/qvlc << EOF
634
?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"
Sam Hocevar's avatar
 
Sam Hocevar committed
635
EOF
Yves Duret's avatar
Yves Duret committed
636 637 638
%endif
%if %with_kde
cat > %buildroot/%_menudir/kvlc << EOF
639
?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"
Sam Hocevar's avatar
 
Sam Hocevar committed
640
EOF
641
%endif
642
%if %with_wx
643
?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"
644
%endif
Yves Duret's avatar
Yves Duret committed
645

Sam Hocevar's avatar
 
Sam Hocevar committed
646
# icons
Yves Duret's avatar
Yves Duret committed
647
%define pngdir %buildroot/%_datadir/vlc
Sam Hocevar's avatar
 
Sam Hocevar committed
648
mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
Yves Duret's avatar
Yves Duret committed
649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670
install -m 644 %pngdir/vlc16x16.png %buildroot/%_miconsdir/vlc.png
install -m 644 %pngdir/vlc32x32.png %buildroot/%_iconsdir/vlc.png
install -m 644 %pngdir/vlc48x48.png %buildroot/%_liconsdir/vlc.png
%if %with_gnome
install -m 644 %pngdir/gnome-vlc16x16.png %buildroot/%_miconsdir/gnome-vlc.png
install -m 644 %pngdir/gnome-vlc32x32.png %buildroot/%_iconsdir/gnome-vlc.png
install -m 644 %pngdir/gnome-vlc48x48.png %buildroot/%_liconsdir/gnome-vlc.png
%endif
%if %with_gtk
install -m 644 %pngdir/gvlc16x16.png %buildroot/%_miconsdir/gvlc.png
install -m 644 %pngdir/gvlc32x32.png %buildroot/%_iconsdir/gvlc.png
install -m 644 %pngdir/gvlc48x48.png %buildroot/%_liconsdir/gvlc.png
%endif
%if %with_kde
install -m 644 %pngdir/kvlc16x16.png %buildroot/%_miconsdir/kvlc.png
install -m 644 %pngdir/kvlc32x32.png %buildroot/%_iconsdir/kvlc.png
install -m 644 %pngdir/kvlc48x48.png %buildroot/%_liconsdir/kvlc.png
%endif
%if %with_qt
install -m 644 %pngdir/qvlc16x16.png %buildroot/%_miconsdir/qvlc.png
install -m 644 %pngdir/qvlc32x32.png %buildroot/%_iconsdir/qvlc.png
install -m 644 %pngdir/qvlc48x48.png %buildroot/%_liconsdir/qvlc.png
671
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
672

Yves Duret's avatar
Yves Duret committed
673 674
#rpm (>= 4.0.4-20mdk) now checks for installed (but unpackaged) files
rm -f %pngdir/*
Yves Duret's avatar
Yves Duret committed
675 676 677 678
%if %buildfor_rh80
rm -fr %buildroot/%_menudir
rm -fr %buildroot/%_iconsdir
%endif
Yves Duret's avatar
Yves Duret committed
679

Yves Duret's avatar
Yves Duret committed
680
%if !%buildfor_rh80
Sam Hocevar's avatar
 
Sam Hocevar committed
681 682 683
%post
%update_menus
%postun
Yves Duret's avatar
Yves Duret committed
684
%clean_menus
Yves Duret's avatar
Yves Duret committed
685
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
686

687 688
%clean
rm -fr %buildroot
689

690
%files -f %name.lang
Sam Hocevar's avatar
 
Sam Hocevar committed
691
%defattr(-,root,root)
692
%doc NEWS README COPYING AUTHORS MAINTAINERS THANKS
Yves Duret's avatar
Yves Duret committed
693
%_bindir/vlc
694 695 696 697 698

%dir %_libdir/vlc

%dir %_libdir/vlc/access
%_libdir/vlc/access/libaccess_file_plugin.so
Yves Duret's avatar
Yves Duret committed
699
%_libdir/vlc/access/libaccess_ftp_plugin.so
700 701 702
%_libdir/vlc/access/libaccess_http_plugin.so
%_libdir/vlc/access/libaccess_mms_plugin.so
%_libdir/vlc/access/libaccess_udp_plugin.so
Yves Duret's avatar
Yves Duret committed
703
%if %with_dvdplay
704
%_libdir/vlc/access/libdvdplay_plugin.so
Yves Duret's avatar
Yves Duret committed
705
%endif
706 707 708 709
%_libdir/vlc/access/libdvd_plugin.so
%_libdir/vlc/access/libdvdread_plugin.so
%_libdir/vlc/access/libvcd_plugin.so

Yves Duret's avatar
Yves Duret committed
710 711 712 713 714
%dir %_libdir/vlc/access_output/
%_libdir/vlc/access_output/libaccess_output_dummy_plugin.so
%_libdir/vlc/access_output/libaccess_output_file_plugin.so
%_libdir/vlc/access_output/libaccess_output_udp_plugin.so

715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742
%dir %_libdir/vlc/audio_filter
%_libdir/vlc/audio_filter/libfixed32tofloat32_plugin.so
%_libdir/vlc/audio_filter/libfixed32tos16_plugin.so
%_libdir/vlc/audio_filter/libfloat32tos16_plugin.so
%_libdir/vlc/audio_filter/libfloat32tos8_plugin.so
%_libdir/vlc/audio_filter/libfloat32tou16_plugin.so
%_libdir/vlc/audio_filter/libfloat32tou8_plugin.so
%_libdir/vlc/audio_filter/libheadphone_channel_mixer_plugin.so
%_libdir/vlc/audio_filter/liblinear_resampler_plugin.so
%_libdir/vlc/audio_filter/libs16tofloat32_plugin.so
%_libdir/vlc/audio_filter/libs16tofloat32swab_plugin.so
%_libdir/vlc/audio_filter/libs8tofloat32_plugin.so
%_libdir/vlc/audio_filter/libtrivial_channel_mixer_plugin.so
%_libdir/vlc/audio_filter/libtrivial_resampler_plugin.so
%_libdir/vlc/audio_filter/libu8tofixed32_plugin.so
%_libdir/vlc/audio_filter/libu8tofloat32_plugin.so
%_libdir/vlc/audio_filter/libugly_resampler_plugin.so

%dir %_libdir/vlc/audio_mixer
%_libdir/vlc/audio_mixer/libfloat32_mixer_plugin.so
%_libdir/vlc/audio_mixer/libspdif_mixer_plugin.so
%_libdir/vlc/audio_mixer/libtrivial_mixer_plugin.so

%dir %_libdir/vlc/audio_output
%_libdir/vlc/audio_output/libaout_file_plugin.so
%_libdir/vlc/audio_output/liboss_plugin.so

%dir %_libdir/vlc/codec
Yves Duret's avatar
Yves Duret committed
743
%_libdir/vlc/codec/liba52_plugin.so
744 745 746 747
%_libdir/vlc/codec/libadpcm_plugin.so
%_libdir/vlc/codec/libaraw_plugin.so
%_libdir/vlc/codec/libcinepak_plugin.so
%_libdir/vlc/codec/libidctclassic_plugin.so
748
%ifarch %ix86
749 750
%_libdir/vlc/codec/libidctmmxext_plugin.so
%_libdir/vlc/codec/libidctmmx_plugin.so
751
%endif
752 753
%_libdir/vlc/codec/libidct_plugin.so
%_libdir/vlc/codec/liblpcm_plugin.so
754
%ifarch %ix86
755 756
%_libdir/vlc/codec/libmotionmmxext_plugin.so
%_libdir/vlc/codec/libmotionmmx_plugin.so
757
%endif
758 759 760
%_libdir/vlc/codec/libmotion_plugin.so
%_libdir/vlc/codec/libmpeg_audio_plugin.so
%_libdir/vlc/codec/libmpeg_video_plugin.so
Yves Duret's avatar
Yves Duret committed
761 762
%if %with_ffmpeg
%_libdir/vlc/codec/libpostprocessing_c_plugin.so
763 764 765 766
	%ifarch %ix86
	%_libdir/vlc/codec/libpostprocessing_mmx_plugin.so
	%_libdir/vlc/codec/libpostprocessing_mmxext_plugin.so
	%endif
Yves Duret's avatar
Yves Duret committed
767
%endif
768 769 770
%_libdir/vlc/codec/libspudec_plugin.so

%dir %_libdir/vlc/control
Yves Duret's avatar
Yves Duret committed
771
%_libdir/vlc/control/librc_plugin.so
772 773 774 775 776 777

%dir %_libdir/vlc/demux
%_libdir/vlc/demux/libaac_plugin.so
%_libdir/vlc/demux/libasf_plugin.so
%_libdir/vlc/demux/libaudio_plugin.so
%_libdir/vlc/demux/libavi_plugin.so
778
%_libdir/vlc/demux/liba52sys_plugin.so
779 780 781 782 783
%_libdir/vlc/demux/libdemuxdump_plugin.so
%_libdir/vlc/demux/libdemuxsub_plugin.so
%_libdir/vlc/demux/libes_plugin.so
%_libdir/vlc/demux/libid3_plugin.so
%_libdir/vlc/demux/libm3u_plugin.so
784
%_libdir/vlc/demux/libm4v_plugin.so
785 786 787
%_libdir/vlc/demux/libmp4_plugin.so
%_libdir/vlc/demux/libmpeg_system_plugin.so
%_libdir/vlc/demux/libps_plugin.so
Yves Duret's avatar
Yves Duret committed
788
%_libdir/vlc/demux/librawdv_plugin.so
789 790 791 792 793 794 795 796
%_libdir/vlc/demux/libts_plugin.so
%_libdir/vlc/demux/libwav_plugin.so

%dir %_libdir/vlc/misc
%_libdir/vlc/misc/libdummy_plugin.so
%_libdir/vlc/misc/libipv4_plugin.so
%_libdir/vlc/misc/libipv6_plugin.so
%_libdir/vlc/misc/liblogger_plugin.so
797
%ifarch %ix86
798 799 800
%_libdir/vlc/misc/libmemcpy3dn_plugin.so
%_libdir/vlc/misc/libmemcpymmxext_plugin.so
%_libdir/vlc/misc/libmemcpymmx_plugin.so
801
%endif
802 803 804
%_libdir/vlc/misc/libmemcpy_plugin.so
%_libdir/vlc/misc/libsap_plugin.so

Yves Duret's avatar
Yves Duret committed
805
%dir %_libdir/vlc/mux
806
%_libdir/vlc/mux/libmux_avi_plugin.so
Yves Duret's avatar
Yves Duret committed
807 808 809 810 811 812 813
%_libdir/vlc/mux/libmux_dummy_plugin.so
%_libdir/vlc/mux/libmux_ps_plugin.so
%_libdir/vlc/mux/libmux_ts_plugin.so

%dir %_libdir/vlc/packetizer
%_libdir/vlc/packetizer/libpacketizer_a52_plugin.so
%_libdir/vlc/packetizer/libpacketizer_copy_plugin.so
814
%_libdir/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so
Yves Duret's avatar
Yves Duret committed
815 816 817 818
%_libdir/vlc/packetizer/libpacketizer_mpeg4video_plugin.so
%_libdir/vlc/packetizer/libpacketizer_mpegaudio_plugin.so
%_libdir/vlc/packetizer/libpacketizer_mpegvideo_plugin.so

819 820 821 822 823
%dir %_libdir/vlc/video_chroma
%_libdir/vlc/video_chroma/libi420_rgb_plugin.so
%_libdir/vlc/video_chroma/libi420_ymga_plugin.so
%_libdir/vlc/video_chroma/libi420_yuy2_plugin.so
%_libdir/vlc/video_chroma/libi422_yuy2_plugin.so
824 825 826 827 828 829
%ifarch %ix86
%_libdir/vlc/video_chroma/libi420_rgb_mmx_plugin.so
%_libdir/vlc/video_chroma/libi420_ymga_mmx_plugin.so
%_libdir/vlc/video_chroma/libi420_yuy2_mmx_plugin.so
%_libdir/vlc/video_chroma/libi422_yuy2_mmx_plugin.so
%endif
830 831 832 833 834 835 836 837 838 839 840 841 842 843

%dir %_libdir/vlc/video_filter
%_libdir/vlc/video_filter/libadjust_plugin.so
%_libdir/vlc/video_filter/libclone_plugin.so
%_libdir/vlc/video_filter/libcrop_plugin.so
%_libdir/vlc/video_filter/libdeinterlace_plugin.so
%_libdir/vlc/video_filter/libdistort_plugin.so
%_libdir/vlc/video_filter/libinvert_plugin.so
%_libdir/vlc/video_filter/libmotionblur_plugin.so
%_libdir/vlc/video_filter/libtransform_plugin.so
%_libdir/vlc/video_filter/libwall_plugin.so

%dir %_libdir/vlc/video_output
%_libdir/vlc/video_output/libfb_plugin.so
844
%_libdir/vlc/video_output/libvout_encoder_plugin.so
845 846 847 848 849
%_libdir/vlc/video_output/libx11_plugin.so
%_libdir/vlc/video_output/libxvideo_plugin.so

%dir %_libdir/vlc/visualization

Yves Duret's avatar
Yves Duret committed
850
%_mandir/man1/vlc.*
Yves Duret's avatar
Yves Duret committed
851
%if !%buildfor_rh80
852 853 854 855
%_menudir/vlc
%_miconsdir/vlc.png
%_iconsdir/vlc.png
%_liconsdir/vlc.png
Yves Duret's avatar
Yves Duret committed
856
%endif
857 858 859 860 861 862 863 864

%files -n %libname-devel
%defattr(-,root,root)
%doc README
%dir %_includedir/vlc
%_includedir/vlc/*
%_libdir/*a
%_libdir/vlc/*a
Yves Duret's avatar
Yves Duret committed
865
%_bindir/vlc-config
Yves Duret's avatar
Yves Duret committed
866
%_mandir/man1/vlc-config*
867

Yves Duret's avatar
Yves Duret committed
868
%if %with_mozilla
869 870 871
%files -n mozilla-plugin-vlc
%defattr(-,root,root)
%doc README
Yves Duret's avatar
Yves Duret committed
872
%_libdir/mozilla/*/*
Yves Duret's avatar
Yves Duret committed
873
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
874 875

# intf plugins
Yves Duret's avatar
Yves Duret committed
876
%if %with_gtk
877
%files -n gvlc
878
%defattr(-,root,root)
Sam Hocevar's avatar
 
Sam Hocevar committed
879
%doc README
880 881 882
%_libdir/vlc/misc/libgtk_main_plugin.so
%_libdir/vlc/gui/libgtk_plugin.so
%_bindir/gvlc
Yves Duret's avatar
Yves Duret committed
883
%if !%buildfor_rh80
884 885 886 887 888
%_menudir/gvlc
%_miconsdir/gvlc.png
%_iconsdir/gvlc.png
%_liconsdir/gvlc.png
%post -n gvlc
Sam Hocevar's avatar
 
Sam Hocevar committed
889
%update_menus
890
%postun -n gvlc
Yves Duret's avatar
Yves Duret committed
891
%clean_menus
Yves Duret's avatar
Yves Duret committed
892
%endif
Yves Duret's avatar
Yves Duret committed
893
%endif
894

Yves Duret's avatar
Yves Duret committed
895
%if %with_gnome
896
%files -n gnome-vlc
897
%defattr(-,root,root)
Sam Hocevar's avatar
 
Sam Hocevar committed
898
%doc README
899 900 901
%_libdir/vlc/misc/libgnome_main_plugin.so
%_libdir/vlc/gui/libgnome_plugin.so
%_bindir/gnome-vlc
Yves Duret's avatar
Yves Duret committed
902
%if !%buildfor_rh80
903 904 905 906 907
%_menudir/gnome-vlc
%_miconsdir/gnome-vlc.png
%_iconsdir/gnome-vlc.png
%_liconsdir/gnome-vlc.png
%post   -n gnome-vlc
Sam Hocevar's avatar
 
Sam Hocevar committed
908
%update_menus
909
%postun -n gnome-vlc
Yves Duret's avatar
Yves Duret committed
910
%clean_menus
Yves Duret's avatar
Yves Duret committed
911
%endif
Yves Duret's avatar
Yves Duret committed
912
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
913

Yves Duret's avatar
Yves Duret committed
914
%if %with_qt
915
%files -n qvlc
916
%defattr(-,root,root)
Sam Hocevar's avatar
 
Sam Hocevar committed
917
%doc README
918 919
%_libdir/vlc/gui/libqt_plugin.so
%_bindir/qvlc
Yves Duret's avatar
Yves Duret committed
920
%if !%buildfor_rh80
921 922 923 924 925
%_menudir/qvlc
%_miconsdir/qvlc.png
%_iconsdir/qvlc.png
%_liconsdir/qvlc.png
%post   -n qvlc
Sam Hocevar's avatar
 
Sam Hocevar committed
926
%update_menus
927
%postun -n qvlc
Yves Duret's avatar
Yves Duret committed
928
%clean_menus
Sam Hocevar's avatar
 
Sam Hocevar committed
929
%endif
Yves Duret's avatar
Yves Duret committed
930
%endif
931

Yves Duret's avatar
Yves Duret committed
932
%if %with_kde
933 934 935 936
%files -n kvlc
%doc README
%_libdir/vlc/gui/libkde_plugin.so
%_bindir/kvlc
Yves Duret's avatar
Yves Duret committed
937
%if !%buildfor_rh80
938 939 940 941 942 943 944
%_menudir/kvlc
%_miconsdir/kvlc.png
%_iconsdir/kvlc.png
%_liconsdir/kvlc.png
%post   -n kvlc
%update_menus
%postun -n kvlc
Yves Duret's avatar
Yves Duret committed
945
%clean_menus
Yves Duret's avatar
Yves Duret committed
946
%endif
Yves Duret's avatar
Yves Duret committed
947
%endif
948

Yves Duret's avatar
Yves Duret committed
949
%if %with_ncurses
950
%files plugin-ncurses
951
%defattr(-,root,root)
Sam Hocevar's avatar
 
Sam Hocevar committed
952
%doc README
953
%_libdir/vlc/gui/libncurses_plugin.so
Yves Duret's avatar
Yves Duret committed
954
%endif
955

Yves Duret's avatar
Yves Duret committed
956
%if %with_lirc
957
%files plugin-lirc
958 959
%defattr(-,root,root)
%doc README
960
%_libdir/vlc/control/liblirc_plugin.so
961 962
%endif

Sam Hocevar's avatar
 
Sam Hocevar committed
963
# video plugins
Yves Duret's avatar
Yves Duret committed
964
%if %with_sdl
965 966 967 968 969
%files plugin-sdl
%defattr(-,root,root)
%doc README
%_libdir/vlc/audio_output/libaout_sdl_plugin.so
%_libdir/vlc/video_output/libvout_sdl_plugin.so
Yves Duret's avatar
Yves Duret committed
970
%endif
971

Yves Duret's avatar
Yves Duret committed
972
%if %with_ggi
973
%files plugin-ggi
Sam Hocevar's avatar
 
Sam Hocevar committed
974 975
%defattr(-,root,root)
%doc README
976
%{_libdir}/vlc/video_output/libggi_plugin.so
Yves Duret's avatar
Yves Duret committed
977
%endif
978

Yves Duret's avatar
Yves Duret committed
979
%if %with_aa
980
%files plugin-aa
Sam Hocevar's avatar
 
Sam Hocevar committed
981 982
%defattr(-,root,root)
%doc README
983
%{_libdir}/vlc/video_output/libaa_plugin.so
Yves Duret's avatar
Yves Duret committed
984
%endif
985

Yves Duret's avatar
Yves Duret committed
986
%if %with_svgalib
987 988 989 990 991
%files plugin-svgalib
%defattr(-,root,root)
%doc README
%_libdir/vlc/video_output/libsvgalib_plugin.so
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
992

993
# visualization plugin
Yves Duret's avatar
Yves Duret committed
994
%if %with_xosd
995
%files plugin-xosd
Sam Hocevar's avatar
 
Sam Hocevar committed
996 997
%defattr(-,root,root)
%doc README
998
%_libdir/vlc/visualization/libxosd_plugin.so
Yves Duret's avatar
Yves Duret committed
999
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
1000

Sam Hocevar's avatar
 
Sam Hocevar committed
1001
# codec plugin
Yves Duret's avatar
Yves Duret committed
1002
%if %with_mad
1003 1004 1005
%files plugin-mad
%defattr(-,root,root)
%doc README
1006
%_libdir/vlc/audio_filter/libmpgatofixed32_plugin.so
Yves Duret's avatar
Yves Duret committed
1007 1008
%_libdir/vlc/demux/libid3tag_plugin.so
%endif
1009

Yves Duret's avatar
Yves Duret committed
1010
%if %with_ogg
1011 1012 1013
%files plugin-ogg
%defattr(-,root,root)
%doc README
Yves Duret's avatar
Yves Duret committed
1014 1015 1016
%_libdir/vlc/demux/libogg_plugin.so
%_libdir/vlc/codec/libvorbis_plugin.so
%endif
1017

Yves Duret's avatar
Yves Duret committed
1018
%if %with_dv
1019 1020 1021 1022
%files plugin-dv
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libdv_plugin.so
Yves Duret's avatar
Yves Duret committed
1023
%endif
1024

Yves Duret's avatar
Yves Duret committed
1025
%if %with_a52
1026 1027 1028
%files plugin-a52
%defattr(-,root,root)
%doc README
Yves Duret's avatar
Yves Duret committed
1029 1030
%_libdir/vlc/audio_filter/liba52tofloat32_plugin.so
%_libdir/vlc/audio_filter/liba52tospdif_plugin.so
Yves Duret's avatar
Yves Duret committed
1031
%endif
1032 1033

# input plugin
Yves Duret's avatar
Yves Duret committed
1034
%if %with_dvb
1035
%files plugin-dvb
Sam Hocevar's avatar
 
Sam Hocevar committed
1036 1037
%defattr(-,root,root)
%doc README
1038
%_libdir/vlc/access/libsatellite_plugin.so
Yves Duret's avatar
Yves Duret committed
1039
%_libdir/vlc/demux/libts_dvbpsi_plugin.so
1040
%_libdir/vlc/mux/libmux_ts_dvbpsi_plugin.so
Yves Duret's avatar
Yves Duret committed
1041
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
1042

Sam Hocevar's avatar
 
Sam Hocevar committed
1043
#audio plugins
Yves Duret's avatar
Yves Duret committed
1044
%if %with_esd
1045
%files plugin-esd
Sam Hocevar's avatar
 
Sam Hocevar committed
1046 1047
%defattr(-,root,root)
%doc README
1048
%_libdir/vlc/audio_output/libesd_plugin.so
Yves Duret's avatar
Yves Duret committed
1049
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
1050

Yves Duret's avatar
Yves Duret committed
1051
%if %with_arts
1052
%files plugin-arts
Sam Hocevar's avatar
 
Sam Hocevar committed
1053 1054
%defattr(-,root,root)
%doc README
1055
%_libdir/vlc/audio_output/libarts_plugin.so
Yves Duret's avatar
Yves Duret committed
1056
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
1057

Yves Duret's avatar
Yves Duret committed
1058
%if %with_alsa
1059
%files plugin-alsa
Sam Hocevar's avatar
 
Sam Hocevar committed
1060 1061
%defattr(-,root,root)
%doc README
1062
%_libdir/vlc/audio_output/libalsa_plugin.so
Yves Duret's avatar
Yves Duret committed
1063
%endif
Sam Hocevar's avatar
 
Sam Hocevar committed
1064

Yves Duret's avatar
Yves Duret committed
1065 1066 1067 1068 1069 1070 1071
%if %with_slp
%files plugin-slp
%defattr(-,root,root)
%doc README
%_libdir/vlc/access/libslp_plugin.so
%endif

Sam Hocevar's avatar
 
Sam Hocevar committed
1072
%changelog
1073 1074 1075
* Sat Feb 01 2003 Yves Duret <yves@zarb.org> 0.5.0-1mdk
- new upstream release.

1076 1077 1078 1079 1080 1081
* Mon Jun 20 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.2-1mdk
- new upstream release

* Mon Jun 3 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.1-1mdk
- new upstream release

Christophe Massiot's avatar
Christophe Massiot committed
1082
* Thu May 23 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.0-1mdk
1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
- version 0.4.0 with MPEG4 (DivX) support thx ffmpeg.
  thus s/MPEG, MPEG2 and DVD/multimedia/g
- sync %%description with debian ones.
- vlc now requires a vlc-gui (gtk, gnome or qt).
- removed gcc3.1 patches since merged upstream.

* Mon May 13 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-4mdk
- removed xmga plugin (currently broken).
- manual rebuild in gcc3.1 environment aka added Patch0 & Patch1
- various summary/description changes.

* Fri May 03 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-3mdk
- added vlc-lirc intf plugin rpm.
Sam Hocevar's avatar
 
Sam Hocevar committed
1096

1097 1098 1099 1100 1101 1102
* Tue Apr 30 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-2mdk
- rebuild against libalsa2 (vlc-sdl)

* Fri Apr 19 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
- version 0.3.1.
- removed patch0 merged upstream.
Sam Hocevar's avatar
 
Sam Hocevar committed
1103
- removed old %%ifarch ppc
1104
- added missing libmad-devel buldrequires
Sam Hocevar's avatar
 
Sam Hocevar committed
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115

* Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
- added liba52 support (buildrequires).
- added vlc-alsa audio plugin.
- mad is a codec (audio) plugin. corrected description and summary.

* Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
- added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>

* Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
- added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
1116
- better summary for plugin
Sam Hocevar's avatar
 
Sam Hocevar committed
1117 1118
- add packager tag to myself

Sam Hocevar's avatar
 
Sam Hocevar committed
1119
* Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
1120
- version 0.3.0
Sam Hocevar's avatar
 
Sam Hocevar committed
1121
- added aa (Asci Art) plugin in vlc-aa rpm
Sam Hocevar's avatar
 
Sam Hocevar committed
1122 1123 1124 1125
- merged with sam's one:
  * using his plugins list into %%files
  * removed libdvdcss from the whole tarball.
  * removed the workaround for vlc's bad /dev/dsp detection.
1126
- few spell corrections in all %%description
Sam Hocevar's avatar
 
Sam Hocevar committed
1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141
- added buildrequires on SDL-devel

* Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
- new cvs snapshot
- fix requires

* Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
- cvs snapshot

* Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
- mad plugin in vlc-mad rpm

* Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
- synced with main cvs specfile wich "fixed a few minor inaccuracies"

Sam Hocevar's avatar
 
Sam Hocevar committed
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
* Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
- readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
  to build libdvdcss rpm.

* Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
- version 0.2.92
- %%makeinstall_std
- splitted again, added vlc-sdl vlc-esd vlc-ggi
- bring back some missing plugins
- fixed buildrequires
- added menu entries and icons (from cvs)

* Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
- rebuild against libpng3
- added some doc for sir rpmlint
- #5583: option -g
1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183

* Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
- version 0.2.83 : 
  * Activated subtitles in overlay mode (far from perfect, but this
    was an often requested feature).

* Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
- version 0.2.82

* Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
- version 0.2.81
- added vlc-ncurses

* Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
- cvs snapshot
- added libdvdcss

* Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
- fix build on ppc (c) dadou

* Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
- version 0.2.80 : bug fixes and bug fixes and bug fixes and small
  improvements of the gtk interface.
- corrected Summary in vlc-qt

* Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
1184
- added qt2 plugin (vlc-qt)
1185 1186 1187

* Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
- version 0.2.73
1188
- you can now get decss threw a plugin
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234
- rewritte srcipt to build vlc (decss plugin)
- rebuild with SDL 1.2

* Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
- true 0.2.72

* Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
- version 0.2.72
- package split into vlc, vlc-gnome, vlc-gtk

* Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
- version 0.2.71 :
  * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
    shipped with the latest RedHat distributions.                    
  * Fixed the BeOS CSS decryption.
  * Fixed a few issues in IFO parsing.
  * Fixed XVideo video output.
  * Updated icons under Linux, BeOS, MacOS X.

* Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
- version 0.2.70

* Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
- version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+ 
  interface for the Gnome-impaired, an even better DVD support

* Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
- new version for all the DVD fans (add MPEG1 support, direct DVD support, 
  DVD decryption, arbitrary, seeking in the stream, pause, fast forward 
  and slow motion, hardware YUV acceleration enhanced CSS support and a few 
  new interface features including drag'n'drop.
- first *real* public release (now under the GPL)

* Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
- Fix build and use right optimizations on PPC
- Enable SDL support
- Spec clean up

* Fri Jan  5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
- 0.1.99i, rebuild

* Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
- 0.1.99h

* Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
- first Mandrake package with help of Sam