File vlc.spec-old of Package vlc (Revision 538392f75a217e752747444d1b50e949)
Currently displaying revision 538392f75a217e752747444d1b50e949, show latest
1
# norootforbuild
2
3
Name: vlc
4
Version: 0.9.6
5
Release: 4
6
Summary: The VideoLAN client, also a very good standalone video player.
7
Summary(de): Der VideoLAN Client, auch sehr gut als Standalone Player verwendbar.
8
URL: http://www.videolan.org/
9
License: GNU General Public License (GPL)
10
Group: Productivity/Multimedia/Video/Players
11
12
Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/%{name}-%{version}.tar.bz2
13
Patch0: vlc-0.9.6-fix_font_path.patch
14
15
BuildRoot: %{_tmppath}/%{name}-%{version}-build
16
17
Recommends: freefont
18
BuildRequires: avahi-devel flac-devel fribidi-devel gcc-c++ gnutls-devel gnome-vfs2-devel
19
BuildRequires: liba52dec-devel libavc1394-devel libcddb-devel libcdio-devel libdvbpsi5 libdvdnav-devel
20
BuildRequires: libdvdread-devel libffmpeg-devel libggi-devel libid3tag-devel libjack-devel
21
BuildRequires: libmodplug libmp3lame-devel libmpeg2-devel librsvg-devel libshout-devel libsmbclient-devel zvbi-devel libkate-devel
22
BuildRequires: libtar libtwolame-devel libupnp-devel live mad-devel portaudio-devel
23
BuildRequires: SDL_image-devel speex-devel sysfsutils update-desktop-files vcdimager-devel
24
BuildRequires: libqt4-devel xosd-devel libpulse-devel
25
BuildRequires: lua-devel
26
%if 0%{?suse_version} >= 1100
27
BuildRequires: libdvbpsi-devel amrwb-devel amrnb-devel
28
%endif
29
30
%if 0%{?suse_version} >= 1030
31
BuildRequires: goom2k4-devel libcdio_paranoia0 libebml-devel libmatroska-devel
32
BuildRequires: libmpcdec-devel lirc-devel mozilla-xulrunner181-devel
33
%endif
34
35
%if 0%{?suse_version} == 1020
36
BuildRequires: goom2k4 libebml libmatroska libmpcdec-devel libnotify-devel lirc mozilla-xulrunner181-devel
37
%endif
38
39
%if 0%{?suse_version} == 1010
40
BuildRequires: gecko-sdk goom2k4 libebml libmatroska libmpcdec libnotify-devel lirc
41
BuildRequires: mDNSResponder-lib libamrnb-devel
42
%endif
43
44
%if 0%{?sles_version} == 10
45
BuildRequires: libmpcdec-devel autoconf > 2.59
46
%endif
47
48
%description
49
VideoLAN is a highly portable multimedia player for various audio and
50
video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs,
51
VCDs, and various streaming protocols. It can also be used as a server to
52
stream in unicast or multicast in IPv4 or IPv6 on a high-bandwidth network.
53
54
%description -l de
55
VideoLAN ist ein einfacher portierbarer Multimedia Player für verschiedene
56
Audio- und Videoformate (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...), DVDs,
57
VCDs, und verschiedene Streaming Protokolle. Er kann auch als Server benutzt
58
werden um per Unicast oder Multicast im Netzwerk in IPv4 oder IPv6 zu streamen.
59
60
%description -l fr
61
VideoLAN est un lecteur multimedia très portable pour différents formats audio
62
et vidéo (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...), DVDs, VCDs, et de divers
63
protocols de diffusion. Il peut également être utilisé en temps que serveur de
64
diffusion en unicast ou multicast via IPv4 ou IPv6 sur des réseaux haut-debit.
65
66
%package devel
67
Summary: Header files and static library from the Videolan Client
68
Group: Development/Libraries
69
Requires: %{name} = %{version}
70
71
%description devel
72
Install this package if you need to build Videolan Client plugins or intend
73
to link statically to it.
74
75
%package mozillaplugin
76
Summary: A plugin for embedded video playing
77
Summary(de): Ein Plugin zum eingebetteten Video abspielen
78
Summary(fr): Un plugin pour la lecture de vidéos embarquées
79
Group: Productivity/Multimedia/Video/Players
80
Requires: %{name} = %{version}-%{release}
81
82
%description mozillaplugin
83
A plugin for embedded video playing.
84
85
%description -l de mozillaplugin
86
Ein Plugin zum eingebetteten Video abspielen.
87
88
%description -l fr mozillaplugin
89
Un plugin pour la lecture de vidéos embarquées.
90
91
92
%debug_package
93
%prep
94
%setup -q
95
%patch -p1
96
97
98
%build
99
./bootstrap
100
%configure \
101
--enable-libtool --enable-release --enable-shout --enable-live555 \
102
--enable-dc1394 --enable-dv --enable-dvdread --enable-v4l \
103
--enable-pvr --enable-cddax --enable-vcdx --enable-dvb \
104
--enable-faad --enable-twolame --enable-real --enable-realrtsp \
105
--enable-flac --enable-tarkin --enable-theora --enable-lirc \
106
--enable-snapshot --enable-mga --enable-ggi --enable-aa \
107
--enable-caca --enable-esd --enable-portaudio --enable-arts \
108
--enable-jack --enable-cyberlink --enable-pda --enable-ncurses \
109
--enable-xosd --enable-galaktos --enable-goom --enable-mozilla \
110
--with-live555-tree=%{_libdir}/live \
111
%if 0%{?suse_version} < 1030
112
--with-wx-config=wx-config-2.8 \
113
%endif
114
%ifarch %ix86
115
--enable-loader \
116
%endif
117
%if 0%{?suse_version} >= 1030
118
--enable-svg
119
%endif
120
121
%__make %{?jobs:-j%jobs}
122
123
124
%install
125
%makeinstall
126
127
%find_lang vlc
128
%suse_update_desktop_file %name -r AudioVideo Player Video
129
130
%__mkdir -p %{buildroot}%{_datadir}/pixmaps
131
%__ln_s %{_datadir}/vlc/vlc48x48.png %{buildroot}%{_datadir}/pixmaps/vlc.png
132
133
%if 0%{?suse_version} >= 1010
134
%__install -d %{buildroot}%{_libdir}/browser-plugins/
135
%__ln_s %{_libdir}/mozilla/plugins/libvlcplugin.so %{buildroot}%{_libdir}/browser-plugins/libvlcplugin.so
136
%__ln_s %{_libdir}/mozilla/plugins/libvlcplugin.la %{buildroot}%{_libdir}/browser-plugins/libvlcplugin.la
137
%endif
138
139
140
%clean
141
%__rm -rf "%{buildroot}"
142
143
144
%files -f vlc.lang
145
%defattr(-,root,root)
146
%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README THANKS
147
%doc doc/fortunes.txt doc/intf-vcd.txt doc/bugreport-howto.txt
148
%exclude %{_datadir}/doc/vlc/*
149
%{_bindir}/vlc
150
%{_bindir}/cvlc
151
%{_bindir}/nvlc
152
%{_bindir}/qvlc
153
%{_bindir}/rvlc
154
%{_bindir}/vlc-wrapper
155
%{_bindir}/svlc
156
%{_libdir}/*.so.*
157
%{_libdir}/%{name}/access/*.so
158
%{_libdir}/%{name}/access_filter/*.so
159
%{_libdir}/%{name}/access_output/*.so
160
%{_libdir}/%{name}/audio_filter/*.so
161
%{_libdir}/%{name}/audio_mixer/*.so
162
%{_libdir}/%{name}/audio_output/*.so
163
%{_libdir}/%{name}/codec/*.so
164
%{_libdir}/%{name}/control/*.so
165
%{_libdir}/%{name}/demux/*.so
166
%{_libdir}/%{name}/gui/*.so
167
%{_libdir}/%{name}/meta_engine/*.so
168
%{_libdir}/%{name}/misc/*.so
169
%{_libdir}/%{name}/mux/*.so
170
%{_libdir}/%{name}/packetizer/*.so
171
%{_libdir}/%{name}/services_discovery/*.so
172
%{_libdir}/%{name}/stream_out/*.so
173
%{_libdir}/%{name}/video_chroma/*.so
174
%{_libdir}/%{name}/video_filter/*.so
175
%{_libdir}/%{name}/video_output/*.so
176
%{_libdir}/%{name}/visualization/*.so
177
%{_datadir}/applications/%{name}.desktop
178
%{_datadir}/pixmaps/%{name}.png
179
%{_datadir}/%{name}/http/*
180
%{_datadir}/%{name}/http/.*
181
%{_datadir}/%{name}/lua/*
182
%{_datadir}/%{name}/osdmenu/*
183
%{_datadir}/%{name}/skins2/*
184
%{_datadir}/%{name}/utils/*.sh
185
%{_datadir}/%{name}/*.xpm
186
%{_datadir}/%{name}/*.png
187
%{_datadir}/%{name}/*.ico
188
189
%files devel
190
%defattr(-,root,root)
191
%{_includedir}/%{name}/*.h
192
%{_includedir}/%{name}/plugins/*.h
193
%{_libdir}/*.la
194
%{_libdir}/*.so
195
%{_libdir}/pkgconfig/*.pc
196
%{_libdir}/%{name}/access/*.la
197
%{_libdir}/%{name}/access_filter/*.la
198
%{_libdir}/%{name}/access_output/*.la
199
%{_libdir}/%{name}/audio_filter/*.la
200
%{_libdir}/%{name}/audio_mixer/*.la
201
%{_libdir}/%{name}/audio_output/*.la
202
%{_libdir}/%{name}/codec/*.la
203
%{_libdir}/%{name}/control/*.la
204
%{_libdir}/%{name}/demux/*.la
205
%{_libdir}/%{name}/gui/*.la
206
%{_libdir}/%{name}/meta_engine/*.la
207
%{_libdir}/%{name}/misc/*.la
208
%{_libdir}/%{name}/mux/*.la
209
%{_libdir}/%{name}/packetizer/*.la
210
%{_libdir}/%{name}/services_discovery/*.la
211
%{_libdir}/%{name}/stream_out/*.la
212
%{_libdir}/%{name}/video_chroma/*.la
213
%{_libdir}/%{name}/video_filter/*.la
214
%{_libdir}/%{name}/video_output/*.la
215
%{_libdir}/%{name}/visualization/*.la
216
%{_libdir}/browser-plugins/libvlcplugin.la
217
%{_libdir}/mozilla/plugins/libvlcplugin.la
218
219
%files mozillaplugin
220
%defattr(-,root,root)
221
%{_libdir}/browser-plugins/libvlcplugin.so
222
%{_libdir}/mozilla/plugins/libvlcplugin.so
223
%{_datadir}/%{name}/mozilla/*.xpm
224
225
226
%changelog
227
* Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com>
228
- import for SLE_10 build
229