]> git.pld-linux.org Git - packages/vlc.git/blob - vlc.spec
- up to 0.3.0,STBR
[packages/vlc.git] / vlc.spec
1 Summary:        VideoLAN is a free MPEG, MPEG-2 and DVD software solution
2 Summary(pl):    Klient VideoLAN
3 Summary(pt_BR): O VideoLAN é um cliente DVD e MPEG de livre distribuição que pode funcionar via rede
4 Name:           vlc
5 Version:        0.3.0
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Multimedia
9 Source0:        http://www.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.gz
10 URL:            http://www.videolan.org/
11 BuildRequires:  SDL-devel >= 1.2
12 %ifnarch sparc sparc64
13 #BuildRequires: alsa-lib-devel
14 %endif
15 BuildRequires:  autoconf
16 BuildRequires:  esound-devel
17 BuildRequires:  gnome-libs-devel
18 BuildRequires:  libgii-devel
19 BuildRequires:  libggi-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _mandir         %{_prefix}/man
23
24 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
26
27 %description
28 VideoLAN is a free network-aware MPEG and DVD player. The VideoLAN
29 Client allows to play MPEG-2 Transport Streams from the network or
30 from a file, as well as direct DVD playback. VideoLAN is a project of
31 students from the Ecole Centrale Paris. This version add MPEG-1
32 support, direct DVD support, DVD decryption, arbitrary, seeking in the
33 stream, pause, fast forward and slow motion, hardware YUV acceleration
34 and a few new interface features including drag'n'drop. You may
35 install vlc-gnome, vlc-gtk and vlc-qt vlc-gnome vlc-ncurses.
36
37 %description -l pl
38 VideoLAN jest darmowym rozwi±zaniem dla streamingu MPEG2.
39
40 Klient VideoLAN pozwala na odtwarzanie strumienia MPEG2 z sieci lub z
41 pliku jak równie¿ bezpo¶rednie odtwarzanie z DVD.
42
43 %description -l pt_BR
44 O VideoLAN é um cliente DVD e MPEG de livre distribuição que pode
45 funcionar via rede. Permite a reprodução de "transport streams" MPEG-2
46 a partir da rede ou de um arquivo, bem como assistir a DVDs
47 localmente.
48
49 %package X11
50 Summary:        VideoLAN Client - X11 output plugin
51 Summary(pl):    Klient VideoLAN - plugin dla X11
52 Group:          X11/Applications/Multimedia
53 Requires:       %{name} = %{version}
54
55 %description X11
56 X11 output plugin for VideoLAN Client
57
58 %description X11 -l pl
59 Plugin X11 dla Klienta VideoLAN
60
61 %package GGI
62 Summary:        VideoLAN Client - GGI output plugin
63 Summary(pl):    Klient VideoLAN - plugin GGI
64 Group:          X11/Applications/Multimedia
65 Requires:       %{name} = %{version}
66
67 %description GGI
68 GGI output plugin for VideoLAN Client.
69
70 %description GGI -l pl
71 Plugin GGI dla Klienta VideoLAN.
72
73 %package SDL
74 Summary:        VideoLAN Client - SDL output plugin
75 Summary(pl):    Klient VideoLAN - plugin SDL
76 Group:          X11/Applications/Multimedia
77 Requires:       %{name} = %{version}
78
79 %description SDL
80 SDL output plugin for VideoLAN Client.
81
82 %description SDL -l pl
83 Plugin SDL dla Klienta VideoLAN.
84
85 %package gnome
86 Summary:        VideoLAN Client - gnome output plugin
87 Summary(pl):    Klient VideoLAN - plugin gnome
88 Summary(pt_BR): Plugin gnome para o VideoLAN
89 Group:          X11/Applications/Multimedia
90 Requires:       %{name} = %{version}
91
92 %description gnome
93 Gnome output plugin for VideoLAN Client.
94
95 %description gnome -l pl
96 Plugin gnome dla Klienta VideoLAN.
97
98 %description gnome -l pt_BR
99 Plugin gnome para o VideoLAN.
100
101 %package gtk
102 Summary:        VideoLAN Client - gtk output plugin
103 Summary(pl):    Klient VideoLAN - plugin gtk
104 Summary(pt_BR): Plugin gtk para o VideoLAN
105 Group:          X11/Applications/Multimedia
106 Requires:       %{name} = %{version}
107
108 %description gtk
109 GTK output plugin for VideoLAN Client.
110
111 %description gtk -l pl
112 Plugin GTK dla Klienta VideoLAN.
113
114 %description gtk -l pt_BR
115 Plugin gtk para o VideoLAN.
116
117 %package esd
118 Summary:        VideoLAN Client - esound output plugin
119 Summary(pl):    Klient VideoLAN - plugin esound
120 Group:          X11/Applications/Multimedia
121 Requires:       %{name} = %{version}
122
123 %description esd
124 Esd audio output plugin for VideoLAN Client.
125
126 %description esd -l pl
127 Plugin audio esd dla Klienta VideoLAN.
128
129 #%package alsa
130 #Summary:       VideoLAN Client - alsa output plugin
131 #Summary(pl):   Klient VideoLAN - plugin alsa
132 #Group:         X11/Applications/Multimedia
133 #Group(de):     X11/Applikationen/Multimedia
134 #Group(pl):     X11/Aplikacje/Multimedia
135 #Requires:      %{name} = %{version}
136 #
137 #%description alsa
138 #ALSA audio output plugin for VideoLAN Client.
139 #
140 #%description -l pl alsa
141 #Plugin audi ALSA dla Klienta VideoLAN.
142 #
143
144 %prep
145 %setup -q
146
147 %build
148 autoconf
149 %configure \
150 %ifarch i586 i686 athlon
151         --enable-mmx \
152 %ifarch i686 athlon
153         --enable-ppro \
154 %else
155         --disable-mmx \
156         --disable-ppro \
157 %endif
158 %endif
159          --enable-dvdread \
160         --enable-dummy \
161         --enable-dsp \
162         --disable-alsa \
163         --enable-esd \
164         --enable-fb \
165         --enable-ggi \
166         --enable-ncurses \
167         --with-ggi \
168         --with-sdl \
169         --disable-glide \
170         --enable-gnome \
171         --enable-x11 \
172         --with-sdl=/usr/X11R6 \
173         --disable-optimizations # we use own RPM_OPT_FLAGS optimalizations
174
175 %{__make}
176
177 %install
178 rm -rf $RPM_BUILD_ROOT
179
180 %{__make} install DESTDIR=$RPM_BUILD_ROOT
181
182 gzip -9nf README TODO ChangeLog AUTHORS
183
184 %clean
185 rm -rf $RPM_BUILD_ROOT
186
187 %files
188 %defattr(644,root,root,755)
189 %doc *.gz
190 %attr(755,root,root) %{_bindir}/vlc
191 %dir %{_libdir}/videolan
192 %dir %{_libdir}/videolan/vlc
193 %attr(755,root,root) %{_libdir}/videolan/vlc/dsp.so
194 %attr(755,root,root) %{_libdir}/videolan/vlc/fb.so
195 %dir %{_datadir}/videolan
196 %{_datadir}/videolan/*.psf
197 %{_datadir}/videolan/vlc.png
198
199 %files X11
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_libdir}/videolan/vlc/x11.so
202
203 %files GGI
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{_libdir}/videolan/vlc/ggi.so
206
207 %files SDL
208 %defattr(644,root,root,755)
209 %attr(755,root,root) %{_libdir}/videolan/vlc/sdl.so
210
211 %files gtk
212 %defattr(644,root,root,755)
213 %attr(755,root,root) %{_bindir}/gvlc
214 %attr(755,root,root) %{_libdir}/videolan/vlc/gtk.so
215 %{_datadir}/videolan/gvlc.png
216
217 %files gnome
218 %defattr(644,root,root,755)
219 %attr(755,root,root) %{_bindir}/gnome-vlc
220 %attr(755,root,root) %{_libdir}/videolan/vlc/gnome.so
221 %{_datadir}/videolan/gvlc.png
222
223 %files esd
224 %defattr(644,root,root,755)
225 %attr(755,root,root) %{_libdir}/videolan/vlc/esd.so
226
227 #%files alsa
228 #%defattr(644,root,root,755)
229 #%attr(755,root,root) %{_libdir}/videolan/vlc/alsa.so
This page took 0.083269 seconds and 4 git commands to generate.