Mercurial > pidgin.yaz
comparison gaim.spec.in @ 20383:1706b25196e4
sf patch #1640011, from Celso Pinto
Patch for gaim.spec that fixes dependencies on SUSE
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 25 Jan 2007 07:47:05 +0000 |
parents | 99e13490ddff |
children |
comparison
equal
deleted
inserted
replaced
20382:bcba1cb6b318 | 20383:1706b25196e4 |
---|---|
27 BuildRoot: %{_tmppath}/%{name}-%{version}-root | 27 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
28 | 28 |
29 # Generic build requirements | 29 # Generic build requirements |
30 BuildRequires: libtool, pkgconfig, intltool, gettext, libxml2-devel | 30 BuildRequires: libtool, pkgconfig, intltool, gettext, libxml2-devel |
31 %{?_with_avahi:BuildRequires: avahi-compat-howl-devel} | 31 %{?_with_avahi:BuildRequires: avahi-compat-howl-devel} |
32 %{?_with_dbus:BuildRequires: dbus-devel >= 0.35} | |
33 %{!?_without_gstreamer:BuildRequires: gstreamer-devel >= 0.10} | |
34 %{!?_without_gtkspell:BuildRequires: gtkspell-devel} | 32 %{!?_without_gtkspell:BuildRequires: gtkspell-devel} |
35 %{?_with_howl:BuildRequires: howl-devel} | 33 %{?_with_howl:BuildRequires: howl-devel} |
36 %{?_with_meanwhile:BuildRequires: meanwhile-devel} | 34 %{?_with_meanwhile:BuildRequires: meanwhile-devel} |
37 %{?_with_mono:BuildRequires: mono-devel} | 35 %{?_with_mono:BuildRequires: mono-devel} |
38 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2} | 36 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2} |
39 %{?_with_silc:BuildRequires: /usr/include/silc/silcclient.h} | 37 %{?_with_silc:BuildRequires: /usr/include/silc/silcclient.h} |
40 %{?_with_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h} | 38 %{?_with_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h} |
41 %{!?_without_text:BuildRequires: ncurses-devel} | 39 %{!?_without_text:BuildRequires: ncurses-devel} |
42 | 40 |
41 %if "%{_vendor}" == "suse" | |
42 # For SuSE: | |
43 BuildRequires: gnutls-devel | |
44 %{?_with_dbus:BuildRequires: dbus-1-devel >= 0.35} | |
45 %{!?_without_gstreamer:BuildRequires: gstreamer010-devel >= 0.10} | |
46 %else | |
47 %{?_with_dbus:BuildRequires: dbus-devel >= 0.35} | |
48 %{!?_without_gstreamer:BuildRequires: gstreamer-devel >= 0.10} | |
49 %endif | |
50 | |
43 # Mandrake 10.1 and lower || Mandrake 10.2 (and higher?) | 51 # Mandrake 10.1 and lower || Mandrake 10.2 (and higher?) |
44 %if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "Mandrakesoft" || "%{_vendor}" == "Mandriva" | 52 %if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "Mandrakesoft" || "%{_vendor}" == "Mandriva" |
45 # For Mandrake/Mandriva: | 53 # For Mandrake/Mandriva: |
46 BuildRequires: libgtk+2.0_0-devel, libnss3-devel, perl-devel | 54 BuildRequires: libgtk+2.0_0-devel, libnss3-devel, perl-devel |
47 Obsoletes: libgaim-remote0 | 55 Obsoletes: libgaim-remote0 |
48 %else | 56 %else |
49 # For SuSE, Red Hat, Fedora and others: | 57 # For SuSE, Red Hat, Fedora and others: |
50 BuildRequires: gtk2-devel | 58 BuildRequires: gtk2-devel |
51 %if "%{_vendor}" == "suse" | 59 %if "%{_vendor}" != "suse" |
52 # For SuSE: | |
53 BuildRequires: gnutls-devel | |
54 %else | |
55 # For Red Hat, Fedora and others: | 60 # For Red Hat, Fedora and others: |
56 # let's assume RH & FC1 are the only brain-dead distros missing the | 61 # let's assume RH & FC1 are the only brain-dead distros missing the |
57 # perl-XML-Parser dependency on intltool and that other RH/FC releases | 62 # perl-XML-Parser dependency on intltool and that other RH/FC releases |
58 # don't care if we specify it here | 63 # don't care if we specify it here |
59 BuildRequires: perl-XML-Parser | 64 BuildRequires: perl-XML-Parser |