vlc.altlinux.spec 62.5 KB
Newer Older
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1
2
%set_verify_elf_method textrel=relaxed

3
%define svnrevision 20348
Konstantin Pavlov's avatar
Konstantin Pavlov committed
4
5
6
7
8
9

%def_disable debug

%def_disable ggi
%def_disable svg
%def_disable upnp
10
%def_disable gnomevfs
Konstantin Pavlov's avatar
Konstantin Pavlov committed
11
%def_enable smb
12
13
%def_disable dca
%def_disable libid3tag
Konstantin Pavlov's avatar
Konstantin Pavlov committed
14
15
16
17
18
19
20
21
%def_disable java_bindings
%def_disable mediacontrol_python_bindings

%if_enabled debug
%set_strip_method none
%endif

Name: vlc
22
Version: 0.9.0
Konstantin Pavlov's avatar
Konstantin Pavlov committed
23

24
Release: alt0.svn%svnrevision
Konstantin Pavlov's avatar
Konstantin Pavlov committed
25

26
Summary: VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
27
28
29
30
31
32
License: GPL

Group: Video
Url: http://www.videolan.org
Packager: Pavlov Konstantin <thresh@altlinux.ru>

33
Source: vlc-%version.tar.bz2
Konstantin Pavlov's avatar
Konstantin Pavlov committed
34
35
36
37
38

Obsoletes: %name-mad
Provides: %name-interface = %version-%release

%define libdvdcss_ver 1.2.8
39
%define ffmpeg_ver 0.5.0-alt1.svn6729
Konstantin Pavlov's avatar
Konstantin Pavlov committed
40
41
42
43
44
45
46
47
48
49
50
51
%define mpeg2dec_ver 0.4.0
%define libvcd_ver 0.7.23
%define faad_ver 2.0-alt2.20040923
%define faac_ver 1.24
%define ebml_ver 0.7.6
%define matroska_ver 0.8.0
%define cddb_ver 1.2.1-alt1
%define seamonkey_ver 1.0.4-alt4

Requires: lib%name = %version-%release

BuildPreReq: cvs
52
BuildPreReq: glibc-kernheaders
Konstantin Pavlov's avatar
Konstantin Pavlov committed
53
54
55
56
BuildPreReq: libdvdcss-devel >= %libdvdcss_ver
BuildPreReq: libavcodec-devel >= %ffmpeg_ver
BuildPreReq: libpostproc-devel >= %ffmpeg_ver
BuildPreReq: libavformat-devel >= %ffmpeg_ver
57
BuildPreReq: libswscale-devel >= %ffmpeg_ver
Konstantin Pavlov's avatar
Konstantin Pavlov committed
58
59
60
61
62
63
64
65
66
67
68
BuildPreReq: libmpeg2-devel >= %mpeg2dec_ver
BuildPreReq: libfaad-devel >= %faad_ver
BuildPreReq: libfaac-devel >= %faac_ver
BuildPreReq: libebml-devel >= %ebml_ver
BuildPreReq: libmatroska-devel >= %matroska_ver
BuildPreReq: seamonkey-devel >= %seamonkey_ver
BuildPreReq: libcddb-devel >= %cddb_ver
%if_enabled mediacontrol_python_bindings
BuildPreReq: python-devel >= 2.4
%endif
BuildPreReq: rpm-build-python
69
BuildPreReq: liblive-devel >= 0.0.0-alt0.2006.10.18a
Konstantin Pavlov's avatar
Konstantin Pavlov committed
70
71

BuildRequires: ORBit2-devel aalib-devel esound-devel freetype2-devel gcc-c++
72
BuildRequires: glib2-devel libSDL-devel libtwolame-devel
Konstantin Pavlov's avatar
Konstantin Pavlov committed
73
74
75
76
77
78
79
BuildRequires: libSDL_image-devel liba52-devel libalsa-devel libarts-devel
BuildRequires: libaudiofile-devel libbonobo2-devel libcaca-devel
BuildRequires: libcdio-devel libdvbpsi-devel libdvdnav-devel
BuildRequires: libdvdread-devel libflac-devel libgcrypt-devel
%{?_enable_ggi:BuildRequires: libggi-devel libgii-devel}
%{?_enable_svg:BuildRequires: librsvg2-devel}
BuildRequires: libgnutls-devel libgpg-error-devel libgtk+2-devel
80
BuildRequires: libjpeg-devel liblirc-devel
Konstantin Pavlov's avatar
Konstantin Pavlov committed
81
BuildRequires: libmad-devel libmodplug-devel libslang-devel libspeex-devel
82
BuildRequires: libmpcdec-devel libncurses-devel libogg-devel
Konstantin Pavlov's avatar
Konstantin Pavlov committed
83
84
85
BuildRequires: libpango-devel libpng-devel libshout2-devel
BuildRequires: libstdc++-devel libsysfs-devel libtheora-devel libtiff-devel
BuildRequires: libtinfo-devel libvcd-devel libvorbis-devel libxml2-devel
86
BuildRequires: libxosd-devel wxGTK2u-devel
Konstantin Pavlov's avatar
Konstantin Pavlov committed
87
88
89
BuildRequires: libnspr-devel libnss-devel libgoom-devel
BuildRequires: libhal-devel libx264-devel subversion vim-devel 
BuildRequires: jackit-devel liblame-devel xvid-devel zlib-devel
90
91
BuildRequires: libavahi-devel
BuildRequires: libnotify-devel libdbus-glib-devel
Konstantin Pavlov's avatar
Konstantin Pavlov committed
92
BuildRequires: fortune-mod >= 1.0-ipl33mdk
93
94
95
96
97
98
99
100
101
102
103
104
105
106
BuildRequires: libraw1394-devel libdc1394-devel libavc1394-devel
BuildRequires: browser-plugins-npapi-devel

%if_enabled libid3tag
BuildRequires: libid3tag-devel
%endif

%if_enabled dca
BuildRequires: libdca-devel
%endif

%if_enabled gnomevfs
BuildRequires: gnome-vfs2-devel gnome-vfs2 gnome-mime-data libGConf2-devel
%endif
Konstantin Pavlov's avatar
Konstantin Pavlov committed
107
108
109
110
111
112
113
114
115
116
117
118
119

%if_enabled java_bindings
BuildRequires: j2se1.5-sun-devel
%endif

%if_enabled upnp
BuildRequires: libupnp-devel
%endif

%if_enabled smb
BuildRequires: libsmbclient-devel
%endif

120
121
122
123
BuildRequires: libX11-devel libXv-devel libmesa-devel libXext-devel 
BuildRequires: libXt-devel

BuildRequires: libqt4-devel liblua5-devel
Konstantin Pavlov's avatar
Konstantin Pavlov committed
124
125

%description
126
127
VLC Media Player is a free network-aware MPEG1, MPEG2, MPEG4 (aka DivX),
DVD and many-many-more-player-and-streamer.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
128

129
The VLC Media Player allows to play MPEG2 Transport Streams from the
Konstantin Pavlov's avatar
Konstantin Pavlov committed
130
131
network or from a file, as well as direct DVD playback.

132
This version includes MPEG1 support, direct DVD support, DVD decryption,
Konstantin Pavlov's avatar
Konstantin Pavlov committed
133
134
135
136
137
138
139
140
arbitrary, seeking in the stream, pause, fast forward and slow motion,
hardware YUV acceleration and a few new interface features including
drag'n'drop... and more more more. :)

If you want a GUI interface for VLC, install one of interface packages,
the best one is wxwidgets interface.

%package interface-http
141
Summary: HTTP interface plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
142
Group: Video
143
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
144
145
146
147
148
Provides: %name-interface = %version-%release
Provides: %name-plugin-http = %version-%release

%description interface-http

149
This package is an http interface for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
150
151

%package interface-lirc
152
Summary: Lirc inteface plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
153
Group: Video
154
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
155
156
157
158
159
160
Provides: %name-interface = %version-%release
Provides: vlc-plugin-lirc = %version-%release
Obsoletes: vlc-plugin-lirc

%description interface-lirc

161
162
This package is an infrared lirc interface for
VLC Media Player. To activate it, use the `--intf lirc' flag.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
163
164

%package interface-ncurses
165
Summary: ncurses plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
166
Group: Video
167
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
168
169
170
171
Provides: %name-plugin-ncurses = %version-%release
Provides: %name-interface = %version-%release

%description interface-ncurses
172
This package is an ncurses interface for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
173
174

%package interface-skins2
175
Summary: Skins2 plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
176
Group: Video
177
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
178
179
180
181
Provides: %name-interface = %version-%release
Requires: %name-interface-wxwidgets = %version-%release

%description interface-skins2
182
This package is an skins2 interface for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
183
184

%package interface-telnet
185
Summary: Telnet interface plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
186
Group: Video
187
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
188
189
190
Provides: %name-interface = %version-%release

%description interface-telnet
191
This package is a telnet interface for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
192
193

%package interface-wxwidgets
194
Summary: WXWidgets plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
195
Group: Video
196
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
197
198
199
200
Provides: %name-interface = %version-%release
Provides: %name-plugin-wxwidgets = %version-%release

%description interface-wxwidgets
201
This package is an wxwidgets interface for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
202

203
204
205
206
207
208
209
210
211
%package interface-qt4
Summary: QT4 interface plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-interface = %version-%release
Provides: %name-plugin-qt4 = %version-%release

%description interface-qt4
This package is an qt4 interface for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
212
213

%package plugin-a52
214
Summary: a52 input/decoder plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
215
Group: Video
216
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
217
218

%description plugin-a52
219
This package contains A52 decoder plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
220
221

%package plugin-aa
222
Summary: ASCII art video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
223
Group: Video
224
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
225
226

%description plugin-aa
227
228
This is an ASCII art video output plugin for VLC Media Player.
To activate it, use the `--vout aa' flag or select the `aa'
Konstantin Pavlov's avatar
Konstantin Pavlov committed
229
230
231
vout plugin from the preferences menu.

%package plugin-alsa
232
Summary: ALSA audio output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
233
Group: Video
234
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
235
236

%description plugin-alsa
237
238
This package adds support for Advanced Linux Sound Architecture to
VLC Media Player. To activate it, use the `--aout alsa' flag or
Konstantin Pavlov's avatar
Konstantin Pavlov committed
239
240
241
select the `alsa' aout plugin from the preferences menu.

%package plugin-arts
242
Summary: aRts audio output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
243
Group: Video
244
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
245
246

%description plugin-arts
247
248
This package adds support for aRts Sound System to VLC Media Player.
To activate it, use the `--aout arts' flag or
Konstantin Pavlov's avatar
Konstantin Pavlov committed
249
250
251
select the `arts' aout plugin from the preferences menu.

%package plugin-audiocd
252
Summary: AudioCD access plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
253
Group: Video
254
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
255
256

%description plugin-audiocd
257
This package contains AudioCD access plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
258
259

%package plugin-caca
260
Summary: Colored ASCII art video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
261
Group: Video
262
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
263
264

%description plugin-caca
265
266
This is an colored ASCII art video output plugin for VLC Media Player.
To activate it, use the `--vout caca' flag or select the `caca'
Konstantin Pavlov's avatar
Konstantin Pavlov committed
267
268
269
vout plugin from the preferences menu.

%package plugin-bonjour
270
Summary: Bonjour (avahi) services discovery plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
271
Group: Video
272
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
273
274

%description plugin-bonjour
275
This package contains Bonjour (avahi) service discovery plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
276
277

%package plugin-cmml
278
Summary: CMML input/codec plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
279
Group: Video
280
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
281
282

%description plugin-cmml
283
This package contains CMML codec plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
284

285
286
%package plugin-dv
Summary: DC1394/DV (firewire) plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
287
Group: Video
288
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
289

290
291
%description plugin-dv
This package contains DC1394/DV (firewire) access plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
292

293
294
295
%if_enabled dca
%package plugin-dca
Summary: DTS demuxer plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
296
Group: Video
297
298
299
Requires: lib%name = %version-%release
Provides: vlc-plugin-dts = %version-%release
Obsoletes: vlc-plugin-dts < %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
300

301
302
303
%description plugin-dca
This package contains DTS demuxer plugin for VLC Media Player.
%endif
Konstantin Pavlov's avatar
Konstantin Pavlov committed
304
305

%package plugin-dvb
306
Summary: DVB plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
307
Group: Video
308
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
309
310
311
Requires: %name-plugin-ts = %version-%release

%description plugin-dvb
312
This package adds capability of demultiplexing a satellite DVB stream to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
313
314

%package plugin-dvdnav
315
Summary: DVDNav input plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
316
Group: Video
317
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
318
319

%description plugin-dvdnav
320
This package adds capability of DVDNav (DVD w/ menu) input to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
321
322

%package plugin-dvdread
323
Summary: DVDRead input (DVD without a menu) plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
324
Group: Video
325
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
326
327

%description plugin-dvdread
328
This package adds support of DVDRead (DVD w/o menu) input to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
329
330

%package plugin-esd
331
Summary: ESD audio plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
332
Group: Video
333
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
334
335

%description plugin-esd
336
337
338
This package adds support for Enlightened Sound Daemon to VLC Media Player. 
To activate it, use the `--aout esd' flag or select the `esd' aout plugin
from the preferences menu.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
339
340

%package plugin-faad
341
Summary: FAAD input plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
342
Group: Video
343
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
344
345

%description plugin-faad
346
This package adds support for FAAD codec in VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
347
348

%package plugin-ffmpeg
349
Summary: FFMPeg plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
350
Group: Video
351
352
Requires: lib%name = %version-%release
Requires: libavcodec >= 0.5.0-alt1.svn8045
Konstantin Pavlov's avatar
Konstantin Pavlov committed
353
354

%description plugin-ffmpeg
355
356
This package adds support for ffmpeg decoders, encoders and demuxers
in VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
357
358

%package plugin-framebuffer
359
Summary: Framebuffer output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
360
Group: Video
361
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
362
363

%description plugin-framebuffer
364
This package adds support for framebuffer video output in VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
365
366

%package plugin-flac
367
Summary: FLAC codec plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
368
Group: Video
369
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
370
371

%description plugin-flac
372
This package contains FLAC codec plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
373
374

%package plugin-freetype
375
Summary: FreeType OSD plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
376
Group: Video
377
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
378
379
380
Requires: fonts-ttf-dejavu

%description plugin-freetype
381
382
This package contains freetype subtitles and OSD text output plugin 
to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
383
384
385

%if_enabled ggi
%package plugin-ggi
386
Summary: GGI video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
387
Group: Video
388
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
389
390

%description plugin-ggi
391
392
This is a GGI plugin for VLC Media Player.  To activate it, use the 
`--vout ggi' flag or select the `ggi' vout plugin from the preferences menu.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
393
394
395
%endif

%package plugin-glx
396
Summary: GLX video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
397
Group: Video
398
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
399
400

%description plugin-glx
401
402
This is an GLX video output plugin for VLC Media Player.
To activate it, use the `--vout glx' flag or select the `glx'
Konstantin Pavlov's avatar
Konstantin Pavlov committed
403
404
vout plugin from the preferences menu.

405
%if_enabled gnomevfs
Konstantin Pavlov's avatar
Konstantin Pavlov committed
406
%package plugin-gnomevfs
407
Summary: Gnome VFS 2 access plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
408
Group: Video
409
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
410
411

%description plugin-gnomevfs
412
413
This package contains Gnome VFS 2 access plugin for VLC Media Player.
%endif
Konstantin Pavlov's avatar
Konstantin Pavlov committed
414
415

%package plugin-gnutls
416
Summary: GNU TLS plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
417
Group: Video
418
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
419
420

%description plugin-gnutls
421
This package contains GNU TLS plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
422
423

%package plugin-goom
424
Summary: GOOM plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
425
Group: Video
426
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
427
428

%description plugin-goom
429
This package contains GOOM visualization plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
430
431

%package plugin-h264
432
Summary: h264 output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
433
Group: Video
434
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
435
436

%description plugin-h264
437
This package contains h264 coder/packetizer plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
438
439

%package plugin-hal
440
Summary: HAL services discovery plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
441
Group: Video
442
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
443
444

%description plugin-hal
445
This package contains HAL service discovery plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
446
447

%package plugin-jack
448
Summary: Jack audio output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
449
Group: Video
450
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
451
452

%description plugin-jack
453
This package contains Jack audio output plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
454
455

%package plugin-image
456
Summary: Image video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
457
Group: Video
458
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
459
460

%description plugin-image
461
462
This is a image video output plugin for VLC Media Player.
To activate it, use the `--vout image' flag or select the `image'
Konstantin Pavlov's avatar
Konstantin Pavlov committed
463
464
465
vout plugin from the preferences menu.

%package plugin-live555
466
Summary: LiveMedia (RTSP) demuxing support for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
467
Group: Video
468
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
469
470

%description plugin-live555
471
This package contains LiveMedia (RTSP) demuxer support for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
472
473
474

%ifnarch x86_64
%package plugin-loader
475
Summary: DLL Loader plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
476
Group: Video
477
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
478
479
480
481
Provides: %name-plugin-realaudio = %version-%release
Obsoletes: %name-plugin-realaudio

%description plugin-loader
482
483
This package contains windows DLL loader plugin to VLC Media Player as well
as support for realaudio via those DLL.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
484
485
486
%endif

%package plugin-mad
487
Summary: MAD (MP3/ID3) demuxer plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
488
Group: Video
489
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
490
491

%description plugin-mad
492
This package contains MAD (MP3 demux/ID3 tag) plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
493
494

%package plugin-matroska
495
Summary: Matroska Video demuxer plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
496
Group: Video
497
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
498
499

%description plugin-matroska
500
This package contains Matroska Video demuxing plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
501
502

%package plugin-mga
503
Summary: MGA Matrox video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
504
Group: Video
505
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
506
507

%description plugin-mga
508
This package contains MGA Matrox output plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
509
510

%package plugin-modplug
511
Summary: modplug demuxer plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
512
Group: Video
513
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
514
515

%description plugin-modplug
516
This package contains modplug demuxing plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
517
518

%package plugin-mpeg2
519
Summary: MPEG1/2 codec plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
520
Group: Video
521
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
522
523

%description plugin-mpeg2
524
This package contains MPEG1/2 decoder plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
525
526

%package plugin-musepack
527
Summary: Musepack demuxer plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
528
Group: Video
529
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
530
531

%description plugin-musepack
532
This package contains musepack demuxer plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
533
534

%package plugin-notify
535
Summary: Notify SDP plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
536
Group: Video
537
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
538
539

%description plugin-notify
540
This package contains notify plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
541
542

%package plugin-ogg
543
Summary: OGG codec plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
544
Group: Video
545
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
546
547

%description plugin-ogg
548
549
This package contains OGG codec and Vorbis muxer/demuxer
plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
550
551

%package plugin-opengl
552
Summary: OpenGL video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
553
Group: Video
554
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
555
556

%description plugin-opengl
557
558
This is an OpenGL video output plugin for VLC Media Player.
To activate it, use the `--vout opengl' flag or select the `opengl'
Konstantin Pavlov's avatar
Konstantin Pavlov committed
559
560
561
vout plugin from the preferences menu.

%package plugin-osd
562
Summary: OSD plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
563
Group: Video
564
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
565
566

%description plugin-osd
567
This package adds support for OSD visualization for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
568
569

%package plugin-oss
570
Summary: OSS audio output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
571
Group: Video
572
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
573
574

%description plugin-oss
575
This package adds support for OSS to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
576
577
578
579
To activate it, use the `--aout oss' flag or select the `oss'
aout plugin from the preferences menu.

%package plugin-png
580
Summary: PNG plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
581
Group: Video
582
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
583
584

%description plugin-png
585
This package contains PNG codec plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
586
587

%package plugin-podcast
588
Summary: Podcast SDP plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
589
Group: Video
590
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
591
592

%description plugin-podcast
593
This package contains podcast discovery plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
594
595

%package plugin-realrtsp
596
Summary: REAL RTSP access plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
597
Group: Video
598
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
599
600

%description plugin-realrtsp
601
This package contains REAL RTSP access plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
602
603

%package plugin-screen
604
Summary: Screen capture plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
605
Group: Video
606
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
607
608

%description plugin-screen
609
This package contains screen capture plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
610
611

%package plugin-sdl
612
Summary: Simple DirectMedia Layer video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
613
Group: Video
614
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
615
616

%description plugin-sdl
617
618
This package adds support for Simple DirectMedia Layer library to 
VLC Media Player. To activate it, use the `--vout sdl' or
Konstantin Pavlov's avatar
Konstantin Pavlov committed
619
620
621
622
`--aout sdl' flags or select the `sdl' vout or aout plugin from the
preferences menu.

%package plugin-sdlimage
623
Summary: SDL Image codec plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
624
Group: Video
625
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
626
627

%description plugin-sdlimage
628
This package contains SDL Image codec plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
629
630

%package plugin-shout
631
Summary: SHOUT access output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
632
Group: Video
633
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
634
635

%description plugin-shout
636
637
This package adds support for SHOUT output access/services 
discovery to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
638
639
640

%if_enabled smb
%package plugin-smb
641
Summary: SMB access plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
642
Group: Video
643
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
644
645

%description plugin-smb
646
This package contains SMB access plugin to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
647
648
649
%endif

%package plugin-snapshot
650
Summary: Snapshot video output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
651
Group: Video
652
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
653
654

%description plugin-snapshot
655
This package contains snapshot video output plugin to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
656
657

%package plugin-speex
658
Summary: speex codec support plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
659
Group: Video
660
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
661
662

%description plugin-speex
663
This package contains SPEEX plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
664
665
666

%if_enabled svg
%package plugin-svg
667
Summary: SVG plugin plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
668
Group: Video
669
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
670
671

%description plugin-svg
672
This package contains SVG plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
673
674
675
%endif

%package plugin-theora
676
Summary: Theora codec plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
677
Group: Video
678
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
679
680

%description plugin-theora
681
This package contains Theora codec support for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
682
683

%package plugin-ts
684
Summary: TS mux/demux plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
685
Group: Video
686
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
687
688

%description plugin-ts
689
This package contains TS mux/demux support for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
690
691
692
693

One of the essential plugins.

%package plugin-twolame
694
Summary: TwoLAME encoding plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
695
Group: Video
696
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
697
698

%description plugin-twolame
699
This package contains TwoLAME mpeg2 encoder plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
700
701

%package plugin-v4l
702
Summary: Video4Linux input plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
703
Group: Video
704
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
705
706

%description plugin-v4l
707
This package adds support for Video4Linux to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
708
709

%package plugin-videocd
710
Summary: VideoCD input plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
711
Group: Video
712
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
713
714

%description plugin-videocd
715
This package contains VideoCD access plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
716
717

%package plugin-x11
718
Summary: X11 output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
719
Group: Video
720
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
721
722

%description plugin-x11
723
This package adds support for X11 video output to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
724
725

%package plugin-xml
726
Summary: XML plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
727
Group: Video
728
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
729
730

%description plugin-xml
731
This package contains XML plugin to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
732
733

%package plugin-xvideo
734
Summary: XVideo output plugin for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
735
Group: Video
736
Requires: lib%name = %version-%release
Konstantin Pavlov's avatar
Konstantin Pavlov committed
737
738

%description plugin-xvideo
739
This package adds support for XVideo output to VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
740
741

%package -n lib%name
742
Summary: VLC Media Player library
Konstantin Pavlov's avatar
Konstantin Pavlov committed
743
744
745
746
747
748
Group: System/Libraries

%description -n lib%name
This is a base VLC library. EXPERIMENTAL!!!

%package -n lib%name-devel
749
Summary: Development files for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
750
751
752
753
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
754
This package provides files needed to develop plugins for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
755
756
757
758
759
760

%package -n mozilla-plugin-vlc
Summary: VLC plugin for mozilla-based browsers
Group: Video

%description -n mozilla-plugin-vlc
761
This package contains mozilla plugin for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
762
763
764

%if_enabled mediacontrol_python_bindings
%package -n python-module-vlc
765
Summary: Python bindings for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
766
767
768
Group: Video

%description -n python-module-vlc
769
This package contains python bindings for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
770
771
772
%endif

%package -n vim-plugin-vlc-syntax
773
Summary: VIm syntax for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
774
775
776
Group: Video

%description -n vim-plugin-vlc-syntax
777
This package contains VIm syntax for VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
778
779
780
781
782
783
784

%package -n fortunes-vlc
Summary: VLC fortunes
Group: Video
PreReq: fortune-mod >= 1.0-ipl33mdk

%description -n fortunes-vlc
785
This package contains fortunes from VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
786
787

%package maxi
788
Summary: Maxi package for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
789
Group: Video
ivoire's avatar
ivoire committed
790
Requires: vlc vlc-interface-ncurses vlc-interface-skins2 vlc-interface-wxwidgets vlc-interface-lirc vlc-interface-telnet vlc-interface-http vlc-plugin-a52 vlc-plugin-aa vlc-plugin-alsa vlc-plugin-arts vlc-plugin-audiocd vlc-plugin-caca vlc-plugin-cmml vlc-plugin-dvb vlc-plugin-dvdnav vlc-plugin-dvdread vlc-plugin-esd vlc-plugin-faad vlc-plugin-ffmpeg vlc-plugin-framebuffer vlc-plugin-flac vlc-plugin-freetype vlc-plugin-glx vlc-plugin-gnutls vlc-plugin-goom vlc-plugin-h264 vlc-plugin-hal vlc-plugin-jack vlc-plugin-image vlc-plugin-mad vlc-plugin-mga vlc-plugin-modplug vlc-plugin-mpeg2 vlc-plugin-musepack vlc-plugin-ogg vlc-plugin-opengl vlc-plugin-osd vlc-plugin-oss vlc-plugin-png vlc-plugin-podcast vlc-plugin-realrtsp vlc-plugin-screen vlc-plugin-sdl vlc-plugin-sdlimage vlc-plugin-shout vlc-plugin-snapshot vlc-plugin-speex vlc-plugin-theora vlc-plugin-v4l vlc-plugin-videocd vlc-plugin-x11 vlc-plugin-xml vlc-plugin-xvideo libvlc mozilla-plugin-vlc vim-plugin-vlc-syntax vlc-plugin-bonjour vlc-plugin-matroska vlc-plugin-ts vlc-plugin-notify vlc-plugin-live555 vlc-plugin-twolame vlc-plugin-dv
791
%{?_enable_dca:Requires: vlc-plugin-dca}
Konstantin Pavlov's avatar
Konstantin Pavlov committed
792
793
794
795
796
797
798
799
%{?_enable_svg:Requires: vlc-plugin-svg}
%{?_enable_ggi:Requires: vlc-plugin-ggi}
%ifnarch x86_64
Requires: vlc-plugin-loader vlc-plugin-realaudio
%endif
%if_enabled smb
Requires: vlc-plugin-smb
%endif
800
801
802
%if_enabled gnomevfs
Requires: vlc-plugin-gnomevfs
%endif
Konstantin Pavlov's avatar
Konstantin Pavlov committed
803
804

%description maxi
805
This is a virtual package with every plugin of VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
806
807

%package normal
808
Summary: Normal package for VLC Media Player
Konstantin Pavlov's avatar
Konstantin Pavlov committed
809
Group: Video
810
Requires: vlc vlc-interface-wxwidgets vlc-plugin-a52 vlc-plugin-alsa vlc-plugin-dvdread vlc-plugin-ffmpeg vlc-plugin-xvideo vlc-plugin-x11 libvlc vlc-plugin-ts vlc-plugin-live555 vlc-plugin-xml
Konstantin Pavlov's avatar
Konstantin Pavlov committed
811
812
813
814
Provides: %name-common = %version-%release
Obsoletes: %name-common < %version-%release

%description normal
815
This is a virtual 'common' package with most useable plugins of VLC Media Player.
Konstantin Pavlov's avatar
Konstantin Pavlov committed
816
817
818
819
820
821
822
823
824
825
It comes with wxWidgets interface, alsa audio output, full DVD read 
support, all of the ffmpeg capabilities to read and decode files 
and Xvideo/X11 video output plugins.

%define _vlc_pluginsdir %_libdir/%name

%prep
%setup -q -n %name-%version

%build
826

Konstantin Pavlov's avatar
Konstantin Pavlov committed
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
./bootstrap

%if_enabled java_bindings
export JAVA_HOME=%_libdir/j2se1.5-sun
%endif

%configure \
	%{subst_enable debug} \
	--disable-rpath \
	--disable-static \
	--enable-utf8 \
	--enable-a52 \
	--enable-aa \
	--enable-alsa \
	--enable-arts \
842
	--enable-audioscrobbler \
Konstantin Pavlov's avatar
Konstantin Pavlov committed
843
844
845
846
	--enable-caca \
	--enable-cdda \
	--disable-cddax \
	--enable-cmml \
847
	--enable-dc1394 \
Konstantin Pavlov's avatar
Konstantin Pavlov committed
848
	--enable-dmo \
849
	--enable-dv \
Konstantin Pavlov's avatar
Konstantin Pavlov committed
850
851
852
853
854
855
	--enable-dvb \
	--enable-dvbpsi \
	--enable-dvd \
	--enable-dvdnav \
	--enable-dvdplay \
	--enable-dvdread \
856
	%{subst_enable dca} \
Konstantin Pavlov's avatar
Konstantin Pavlov committed
857
858
859
860
861
862
863
864
865
	--enable-esd \
	--enable-faad \
	--enable-fb \
	--enable-ffmpeg \
	--enable-flac \
	--enable-freetype \
	--enable-fribidi \
	%{subst_enable ggi} \
	--enable-glx \
866
	%{subst_enable gnomevfs} \
Konstantin Pavlov's avatar
Konstantin Pavlov committed
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
	--enable-gnutls \
	--enable-goom \
	--enable-hal \
	--enable-httpd \
	--enable-jack \
	%{?_enable_java_bindings:--enable-java-bindings} \
	--enable-libtool \
	--enable-libcddb \
	--enable-libcdio \
	--enable-libmpeg2 \
	--enable-libxml2 \
	--enable-lirc \
	--enable-live555 \
	--with-live555-tree=%_libdir/live \
%ifnarch x86_64
	--enable-loader \
	--enable-real \
%endif
	--enable-mad \
	--enable-mga \
	--enable-mkv \
	--enable-mod \
	%{?_enable_mediacontrol_python_bindings:--enable-mediacontrol_python_bindings} \
	--enable-mozilla \
	--enable-mpc \
	--enable-ncurses \
	--enable-notify \
	--enable-ogg \
	--enable-opengl \
	--enable-oss \
	--enable-png \
	--enable-realrtsp \
	--enable-screen \
	--enable-sdl \
	--enable-shout \
	--enable-skins2 \
	--enable-slp \
	%{subst_enable smb} \
	--enable-snapshot \
	--enable-speex \
	%{subst_enable svg} \
	--enable-tarkin \
	--enable-theora \
	--enable-tremor \
	--enable-twolame \
	%{subst_enable upnp} \
	--enable-v4l \
	--enable-vcd \
	--enable-vcdx \
	--enable-visual \
	--enable-vlm \
	--enable-vorbis \
	--enable-wxwidgets \
	--enable-x11 \
	--enable-x264 \
	--enable-xosd \
	--enable-xvideo \
	--with-ffmpeg-faac \
925
926
927
928
	--with-ffmpeg-mp3lame \
	--with-ffmpeg-vorbis \
	--with-ffmpeg-theora \
	--with-ffmpeg-ogg \
Konstantin Pavlov's avatar
Konstantin Pavlov committed
929
930
931
932
933
934
935
936
937
938
939
940
941
	--with-ffmpeg-zlib

%make_build

%install

mkdir -p %buildroot%_libdir
%make_install DESTDIR="%buildroot" install

install -pD -m644 doc/vlc.1 %buildroot/%_man1dir/vlc.1

# freedesktop menu
mkdir -p %buildroot%_datadir/applications 
942
install -pm644 share/applications/vlc.desktop %buildroot%_datadir/applications/vlc.desktop
Konstantin Pavlov's avatar
Konstantin Pavlov committed
943
944
945
946
947

# icons
mkdir -p %buildroot/{%_miconsdir,%_liconsdir}
install -m644 %buildroot/%_datadir/vlc/vlc32x32.png %buildroot/%_iconsdir/vlc.png

948
949
950
951
# fix installation of mozilloids plugin
mkdir -p %buildroot%browser_plugins_path
mv %buildroot%_libdir/mozilla/plugins/* %buildroot%browser_plugins_path

Konstantin Pavlov's avatar
Konstantin Pavlov committed
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
# remove non-packaged files
rm -f %buildroot%_libdir/*.a
rm -f %buildroot%_vlc_pluginsdir/*.a
rm -rf %buildroot%_docdir/%name
find %buildroot -type f -name "*.la" -delete

# vim stuff
mkdir -p %buildroot%vim_syntax_dir
cp extras/vlc.vim %buildroot%vim_syntax_dir/

# fortunes stuff
mkdir -p %buildroot%_gamesdatadir/fortune
cp doc/fortunes.txt %buildroot%_gamesdatadir/fortune/vlc
strfile %buildroot%_gamesdatadir/fortune/vlc %buildroot%_gamesdatadir/fortune/vlc.dat

%find_lang --output=%name.files %name

%post
%update_menus

%postun
%clean_menus

%files -f %name.files
%_bindir/vlc
%_bindir/svlc
%dir %_vlc_pluginsdir

%exclude %_datadir/%name/http
%exclude %_datadir/%name/skins2

%_datadir/%name
%_man1dir/*
%_iconsdir/vlc.png

%dir %_vlc_pluginsdir/access
%_vlc_pluginsdir/access/libaccess_directory_plugin.so*
%_vlc_pluginsdir/access/libaccess_file_plugin.so*
%_vlc_pluginsdir/access/libaccess_ftp_plugin.so*
%_vlc_pluginsdir/access/libaccess_http_plugin.so*
%_vlc_pluginsdir/access/libaccess_mms_plugin.so*
%_vlc_pluginsdir/access/libaccess_udp_plugin.so*
%_vlc_pluginsdir/access/libaccess_fake_plugin.so*
%_vlc_pluginsdir/access/libaccess_tcp_plugin.so*

%dir %_vlc_pluginsdir/access_output
%_vlc_pluginsdir/access_output/libaccess_output_dummy_plugin.so*
%_vlc_pluginsdir/access_output/libaccess_output_file_plugin.so*
%_vlc_pluginsdir/access_output/libaccess_output_http_plugin.so*
%_vlc_pluginsdir/access_output/libaccess_output_udp_plugin.so*

%dir %_vlc_pluginsdir/access_filter
%_vlc_pluginsdir/access_filter/libaccess_filter_record_plugin.so*
%_vlc_pluginsdir/access_filter/libaccess_filter_timeshift_plugin.so*
1006
1007
%_vlc_pluginsdir/access_filter/libaccess_filter_dump_plugin.so*
%_vlc_pluginsdir/access_filter/libaccess_filter_bandwidth_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1008
1009
1010
1011
1012
1013

%dir %_vlc_pluginsdir/audio_filter
%_vlc_pluginsdir/audio_filter/libbandlimited_resampler_plugin.so*
%_vlc_pluginsdir/audio_filter/libdolby_surround_decoder_plugin.so*
%_vlc_pluginsdir/audio_filter/libheadphone_channel_mixer_plugin.so*
%_vlc_pluginsdir/audio_filter/liblinear_resampler_plugin.so*
1014
%_vlc_pluginsdir/audio_filter/libtospdif_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1015
1016
1017
1018
1019
1020
1021
1022
%_vlc_pluginsdir/audio_filter/libtrivial_channel_mixer_plugin.so*
%_vlc_pluginsdir/audio_filter/libtrivial_resampler_plugin.so*
%_vlc_pluginsdir/audio_filter/libugly_resampler_plugin.so*
%_vlc_pluginsdir/audio_filter/libaudio_format_plugin.so*
%_vlc_pluginsdir/audio_filter/libequalizer_plugin.so*
%_vlc_pluginsdir/audio_filter/libnormvol_plugin.so*
%_vlc_pluginsdir/audio_filter/libsimple_channel_mixer_plugin.so*
%_vlc_pluginsdir/audio_filter/libparam_eq_plugin.so*
1023
1024
1025
%_vlc_pluginsdir/audio_filter/libconverter_fixed_plugin.so*
%_vlc_pluginsdir/audio_filter/libconverter_float_plugin.so*
%_vlc_pluginsdir/audio_filter/libmono_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045

%dir %_vlc_pluginsdir/audio_mixer
%_vlc_pluginsdir/audio_mixer/libfloat32_mixer_plugin.so*
%_vlc_pluginsdir/audio_mixer/libspdif_mixer_plugin.so*
%_vlc_pluginsdir/audio_mixer/libtrivial_mixer_plugin.so*

%dir %_vlc_pluginsdir/audio_output
%_vlc_pluginsdir/audio_output/libaout_file_plugin.so*

%dir %_vlc_pluginsdir/codec
%_vlc_pluginsdir/codec/libadpcm_plugin.so*
%_vlc_pluginsdir/codec/libaraw_plugin.so*
%_vlc_pluginsdir/codec/librawvideo_plugin.so*
%_vlc_pluginsdir/codec/libcinepak_plugin.so*
%_vlc_pluginsdir/codec/libdts_plugin.so*
%_vlc_pluginsdir/codec/liblpcm_plugin.so*
%_vlc_pluginsdir/codec/libspudec_plugin.so*
%_vlc_pluginsdir/codec/libfake_plugin.so*
%_vlc_pluginsdir/codec/libsubsdec_plugin.so*
%_vlc_pluginsdir/codec/libcvdsub_plugin.so*
1046
%_vlc_pluginsdir/codec/libtelx_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092

%dir %_vlc_pluginsdir/control
%_vlc_pluginsdir/control/librc_plugin.so*
%_vlc_pluginsdir/control/libgestures_plugin.so*
%_vlc_pluginsdir/control/libhotkeys_plugin.so*
%_vlc_pluginsdir/control/libnetsync_plugin.so*
%_vlc_pluginsdir/control/libshowintf_plugin.so*
%_vlc_pluginsdir/control/libmotion_plugin.so*

%dir %_vlc_pluginsdir/demux
#%_vlc_pluginsdir/demux/libaac_plugin.so*
%_vlc_pluginsdir/demux/libasf_plugin.so*
%_vlc_pluginsdir/demux/libau_plugin.so*
#%_vlc_pluginsdir/demux/libaudio_plugin.so*
%_vlc_pluginsdir/demux/libavi_plugin.so*
%_vlc_pluginsdir/demux/liba52sys_plugin.so*
%_vlc_pluginsdir/demux/libdemuxdump_plugin.so*
#%_vlc_pluginsdir/demux/libdemuxsub_plugin.so*
#%_vlc_pluginsdir/demux/libes_plugin.so*
#%_vlc_pluginsdir/demux/libid3_plugin.so*
#%_vlc_pluginsdir/demux/libm3u_plugin.so*
%_vlc_pluginsdir/demux/libm4v_plugin.so*

%_vlc_pluginsdir/demux/libmp4_plugin.so*
%_vlc_pluginsdir/demux/libps_plugin.so*
%_vlc_pluginsdir/demux/librawdv_plugin.so*
%_vlc_pluginsdir/demux/libwav_plugin.so*
%_vlc_pluginsdir/demux/libaiff_plugin.so*
%_vlc_pluginsdir/demux/libdtssys_plugin.so*
%_vlc_pluginsdir/demux/libm4a_plugin.so*
%_vlc_pluginsdir/demux/libmjpeg_plugin.so*
#%_vlc_pluginsdir/demux/libmod_plugin.so*
%_vlc_pluginsdir/demux/libmpga_plugin.so*
%_vlc_pluginsdir/demux/libmpgv_plugin.so*
%_vlc_pluginsdir/demux/libnsc_plugin.so*
%_vlc_pluginsdir/demux/libnsv_plugin.so*
%_vlc_pluginsdir/demux/libnuv_plugin.so*
%_vlc_pluginsdir/demux/libplaylist_plugin.so*
%_vlc_pluginsdir/demux/libpva_plugin.so*
%_vlc_pluginsdir/demux/libreal_plugin.so*
#%_vlc_pluginsdir/demux/libsgimb_plugin.so*
%_vlc_pluginsdir/demux/libsubtitle_plugin.so*
%_vlc_pluginsdir/demux/libty_plugin.so*
%_vlc_pluginsdir/demux/libvobsub_plugin.so*
%_vlc_pluginsdir/demux/libvoc_plugin.so*
%_vlc_pluginsdir/demux/libxa_plugin.so*
1093
1094
1095
1096
1097
1098
1099
%_vlc_pluginsdir/demux/libtta_plugin.so
%_vlc_pluginsdir/demux/libh264_plugin.so*
%_vlc_pluginsdir/demux/libvc1_plugin.so*
%_vlc_pluginsdir/demux/libluaplaylist_plugin.so*
%_vlc_pluginsdir/demux/librawvid_plugin.so*

%dir %_vlc_pluginsdir/gui
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1100
1101
1102
1103

%dir %_vlc_pluginsdir/misc
%_vlc_pluginsdir/misc/libdummy_plugin.so*
#%_vlc_pluginsdir/misc/libhttpd_plugin.so*
1104
1105
#%_vlc_pluginsdir/misc/libipv4_plugin.so*
#%_vlc_pluginsdir/misc/libipv6_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1106
1107
1108
1109
1110
1111
1112
1113
1114
%_vlc_pluginsdir/misc/liblogger_plugin.so*
%_vlc_pluginsdir/misc/libvod_rtsp_plugin.so*
%_vlc_pluginsdir/misc/libmemcpy_plugin.so*
%_vlc_pluginsdir/misc/libscreensaver_plugin.so*
%_vlc_pluginsdir/misc/libexport_plugin.so*
%_vlc_pluginsdir/misc/libgrowl_plugin.so*
%_vlc_pluginsdir/misc/libmemcpy3dn_plugin.so*
%_vlc_pluginsdir/misc/libmemcpymmx_plugin.so*
%_vlc_pluginsdir/misc/libmemcpymmxext_plugin.so*
1115
1116
1117
1118
%_vlc_pluginsdir/misc/libaudioscrobbler_plugin.so*
%_vlc_pluginsdir/misc/libprobe_hal_plugin.so*
%_vlc_pluginsdir/misc/libprofile_parser_plugin.so*

Konstantin Pavlov's avatar
Konstantin Pavlov committed
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135

%dir %_vlc_pluginsdir/services_discovery
%_vlc_pluginsdir/services_discovery/libsap_plugin.so*

%dir %_vlc_pluginsdir/mux
%_vlc_pluginsdir/mux/libmux_asf_plugin.so*
%_vlc_pluginsdir/mux/libmux_avi_plugin.so*
%_vlc_pluginsdir/mux/libmux_dummy_plugin.so*
#%_vlc_pluginsdir/mux/libmux_ogg_plugin.so*
%_vlc_pluginsdir/mux/libmux_ps_plugin.so*
%_vlc_pluginsdir/mux/libmux_mp4_plugin.so*
%_vlc_pluginsdir/mux/libmux_mpjpeg_plugin.so*
%_vlc_pluginsdir/mux/libmux_wav_plugin.so*

#%_vlc_pluginsdir/mux/libmux_ts_plugin.so*

%dir %_vlc_pluginsdir/packetizer
Thomas Guillem's avatar
Thomas Guillem committed
1136
%_vlc_pluginsdir/packetizer/libpacketizer_a52_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1137
1138
1139
%_vlc_pluginsdir/packetizer/libpacketizer_copy_plugin.so*
%_vlc_pluginsdir/packetizer/libpacketizer_mpeg4audio_plugin.so*
%_vlc_pluginsdir/packetizer/libpacketizer_mpeg4video_plugin.so*
1140
%_vlc_pluginsdir/packetizer/libpacketizer_mpegaudio_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1141
%_vlc_pluginsdir/packetizer/libpacketizer_mpegvideo_plugin.so*
1142
1143
%_vlc_pluginsdir/packetizer/libpacketizer_vc1_plugin.so*

Konstantin Pavlov's avatar
Konstantin Pavlov committed
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156

%dir %_vlc_pluginsdir/stream_out
%_vlc_pluginsdir/stream_out/libstream_out_display_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_dummy_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_duplicate_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_es_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_standard_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_bridge_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_description_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_gather_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_mosaic_bridge_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_rtp_plugin.so*
%_vlc_pluginsdir/stream_out/libstream_out_transcode_plugin.so*
1157
%_vlc_pluginsdir/stream_out/libstream_out_autodel_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
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
1184
1185
1186
1187
1188

%dir %_vlc_pluginsdir/video_chroma
%_vlc_pluginsdir/video_chroma/libi420_rgb_plugin.so*
%_vlc_pluginsdir/video_chroma/libi420_ymga_plugin.so*
%_vlc_pluginsdir/video_chroma/libi420_yuy2_plugin.so*
%_vlc_pluginsdir/video_chroma/libi422_yuy2_plugin.so*
%_vlc_pluginsdir/video_chroma/libi420_rgb_mmx_plugin.so*
%_vlc_pluginsdir/video_chroma/libi420_ymga_mmx_plugin.so*
%_vlc_pluginsdir/video_chroma/libi420_yuy2_mmx_plugin.so*
%_vlc_pluginsdir/video_chroma/libi422_yuy2_mmx_plugin.so*
						
%dir %_vlc_pluginsdir/video_filter
%_vlc_pluginsdir/video_filter/libadjust_plugin.so*
%_vlc_pluginsdir/video_filter/libclone_plugin.so*
%_vlc_pluginsdir/video_filter/libcrop_plugin.so*
%_vlc_pluginsdir/video_filter/libdeinterlace_plugin.so*
#%_vlc_pluginsdir/video_filter/libdistort_plugin.so*
%_vlc_pluginsdir/video_filter/libinvert_plugin.so*
%_vlc_pluginsdir/video_filter/libmotionblur_plugin.so*
#%_vlc_pluginsdir/video_filter/libosdtext_plugin.so*
%_vlc_pluginsdir/video_filter/libtransform_plugin.so*
%_vlc_pluginsdir/video_filter/libwall_plugin.so*
%_vlc_pluginsdir/video_filter/libblend_plugin.so*
%_vlc_pluginsdir/video_filter/liblogo_plugin.so*
%_vlc_pluginsdir/video_filter/libmarq_plugin.so*
%_vlc_pluginsdir/video_filter/libmosaic_plugin.so*
%_vlc_pluginsdir/video_filter/libmotiondetect_plugin.so*
%_vlc_pluginsdir/video_filter/libosdmenu_plugin.so*
%_vlc_pluginsdir/video_filter/librss_plugin.so*
%_vlc_pluginsdir/video_filter/librv32_plugin.so*
%_vlc_pluginsdir/video_filter/libscale_plugin.so*
1189
#%_vlc_pluginsdir/video_filter/libtime_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1190
%_vlc_pluginsdir/video_filter/libmagnify_plugin.so*
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
%_vlc_pluginsdir/video_filter/libalphamask_plugin.so*
%_vlc_pluginsdir/video_filter/libbluescreen_plugin.so*
%_vlc_pluginsdir/video_filter/libcolorthres_plugin.so*
%_vlc_pluginsdir/video_filter/liberase_plugin.so*
%_vlc_pluginsdir/video_filter/libextract_plugin.so*
%_vlc_pluginsdir/video_filter/libgaussianblur_plugin.so*
%_vlc_pluginsdir/video_filter/libgradient_plugin.so*
%_vlc_pluginsdir/video_filter/libnoise_plugin.so*
%_vlc_pluginsdir/video_filter/libpanoramix_plugin.so*
%_vlc_pluginsdir/video_filter/libpsychedelic_plugin.so*
%_vlc_pluginsdir/video_filter/libpuzzle_plugin.so*
%_vlc_pluginsdir/video_filter/libripple_plugin.so*
%_vlc_pluginsdir/video_filter/librotate_plugin.so*
%_vlc_pluginsdir/video_filter/libsharpen_plugin.so*
%_vlc_pluginsdir/video_filter/libwave_plugin.so*
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1206
1207
1208
1209
1210
1211

%dir %_vlc_pluginsdir/video_output

%dir %_vlc_pluginsdir/visualization
%_vlc_pluginsdir/visualization/libvisual_plugin.so*

1212
1213
1214
%dir %_vlc_pluginsdir/meta_engine
%_vlc_pluginsdir/meta_engine/libfolder_plugin.so*

Rafaël Carré's avatar
Rafaël Carré committed
1215
%doc AUTHORS README NEWS THANKS
Konstantin Pavlov's avatar
Konstantin Pavlov committed
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238

%files interface-ncurses
%_vlc_pluginsdir/gui/libncurses_plugin.so*

%files interface-wxwidgets
%_vlc_pluginsdir/gui/libwxwidgets_plugin.so*
%_datadir/applications/vlc.desktop
%_bindir/wxvlc

%files interface-skins2
%_vlc_pluginsdir/gui/libskins2_plugin.so*
%_datadir/%name/skins2

%files interface-http
%_vlc_pluginsdir/control/libhttp_plugin.so*
%_datadir/%name/http

%files interface-telnet
%_vlc_pluginsdir/control/libtelnet_plugin.so*

%files interface-lirc
%_vlc_pluginsdir/control/liblirc_plugin.so*

1239
1240
1241
1242
%files interface-qt4
%_bindir/qvlc
%_vlc_pluginsdir/gui/libqt4_plugin.so*

Konstantin Pavlov's avatar
Konstantin Pavlov committed
1243
1244
1245
1246
1247
1248
%files plugin-sdl
%_vlc_pluginsdir/audio_output/libaout_sdl_plugin.so*
%_vlc_pluginsdir/video_output/libvout_sdl_plugin.so*

%files plugin-jack
%_vlc_pluginsdir/audio_output/libjack_plugin.so*