sf patch #1640011, from Celso Pinto

Thu, 25 Jan 2007 07:47:05 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Thu, 25 Jan 2007 07:47:05 +0000
changeset 20464
131ead1b6880
parent 20463
52bd37e96ada
child 20465
52e266ba6ecd

sf patch #1640011, from Celso Pinto
Patch for gaim.spec that fixes dependencies on SUSE

COPYRIGHT file | annotate | diff | comparison | revisions
gaim.spec.in file | annotate | diff | comparison | revisions
--- a/COPYRIGHT	Thu Jan 25 07:32:30 2007 +0000
+++ b/COPYRIGHT	Thu Jan 25 07:47:05 2007 +0000
@@ -242,6 +242,7 @@
 Havoc Pennington
 Ted Percival
 Eduardo Pérez
+Celso Pinto
 Joao Luís Marques Pinto
 Aleksander Piotrowski
 Julien Pivotto
--- a/gaim.spec.in	Thu Jan 25 07:32:30 2007 +0000
+++ b/gaim.spec.in	Thu Jan 25 07:47:05 2007 +0000
@@ -29,8 +29,6 @@
 # Generic build requirements
 BuildRequires: libtool, pkgconfig, intltool, gettext, libxml2-devel
 %{?_with_avahi:BuildRequires: avahi-compat-howl-devel}
-%{?_with_dbus:BuildRequires: dbus-devel >= 0.35}
-%{!?_without_gstreamer:BuildRequires: gstreamer-devel >= 0.10}
 %{!?_without_gtkspell:BuildRequires: gtkspell-devel}
 %{?_with_howl:BuildRequires: howl-devel}
 %{?_with_meanwhile:BuildRequires: meanwhile-devel}
@@ -40,6 +38,16 @@
 %{?_with_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h}
 %{!?_without_text:BuildRequires: ncurses-devel}
 
+%if "%{_vendor}" == "suse"
+# For SuSE:
+BuildRequires: gnutls-devel
+%{?_with_dbus:BuildRequires: dbus-1-devel >= 0.35}
+%{!?_without_gstreamer:BuildRequires: gstreamer010-devel >= 0.10}
+%else
+%{?_with_dbus:BuildRequires: dbus-devel >= 0.35}
+%{!?_without_gstreamer:BuildRequires: gstreamer-devel >= 0.10}
+%endif
+
 # Mandrake 10.1 and lower || Mandrake 10.2 (and higher?)
 %if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "Mandrakesoft" || "%{_vendor}" == "Mandriva"
 # For Mandrake/Mandriva:
@@ -48,10 +56,7 @@
 %else
 # For SuSE, Red Hat, Fedora and others:
 BuildRequires: gtk2-devel
-%if "%{_vendor}" == "suse"
-# For SuSE:
-BuildRequires: gnutls-devel
-%else
+%if "%{_vendor}" != "suse"
 # For Red Hat, Fedora and others:
 # let's assume RH & FC1 are the only brain-dead distros missing the
 # perl-XML-Parser dependency on intltool and that other RH/FC releases

mercurial