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