+%if %buildfor_rh80
+%define release %rel
+# some mdk macros that do not exist in rh
+%define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
+%define make %__make
+%define makeinstall_std %__make DESTDIR="$RPM_BUILD_ROOT" install
+%define _menudir /usr/lib/menu
+%define _iconsdir /usr/share/icons
+%define _liconsdir /usr/share/icons/large
+%define _miconsdir /usr/share/icons/mini
+# adjust define for Redhat.
+%define with_ggi 0
+%define with_dvb 0
+%define with_slp 0
+%define with_mozilla 0
+%endif
+
+# 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}}
+
+%{?_without_slp: %{expand: %%define with_slp 0}}
+
+# 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}}
+
+%{?_with_slp: %{expand: %%define with_slp 1}}
+
+Summary: VLC is a free MPEG, MPEG2, DVD and DivX player.