+BuildRequires: libtool
+BuildRequires: bison
+%{!?_without_gui:BuildRequires: gtk+-devel >= 1.2.0}
+%{!?_without_python:BuildRequires: python-devel}
+%{!?_without_gnome:BuildRequires: gnome-libs-devel}
+%{!?_without_libglade:BuildRequires: libglade-devel}
+# shouldn't this dependency be moved to libglade-devel ?
+%{!?_without_libglade:BuildRequires: libxml-devel}
+%{!?_without_xml:BuildRequires: libxml-devel}
+%{!?_without_gdk_pixbuf:BuildRequires: gdk-pixbuf-devel}
+%{!?_without_gui:Requires: gtk+ >= 1.2.0}
+%{!?_without_python:Requires: python}
+%{!?_without_gnome:Requires: gnome-libs}
+# python-pygtk and gtk+-devel require to be installed with the same prefix
+# to be visible; currently not this case :(
+%{!?_without_python:%{!?_without_gui:Requires: python-pygtk}}