From c33406585ff4e3749b04cd7b2dec4549c2ff1624 Mon Sep 17 00:00:00 2001 From: grzegol Date: Mon, 29 Dec 2003 23:05:47 +0000 Subject: [PATCH] - added without_nautilus bcond (galeon doesn't build with nautilus-2.5.x) Changed files: galeon.spec -> 1.199 --- galeon.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/galeon.spec b/galeon.spec index 9bd2f0a..e6cd2b7 100644 --- a/galeon.spec +++ b/galeon.spec @@ -1,5 +1,6 @@ # # Conditional build: +%bcond_without nautilus # disable nautilus view %bcond_with gcc2 # compile using gcc2 to get working gcc2-compiled java # plugin (better get gcc3-compiled one). # Flash plugin seems to still not work, use @@ -43,7 +44,7 @@ BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: libxml2-devel >= 2.4.0 BuildRequires: mozilla-devel >= %{minmozver} -BuildRequires: nautilus-devel >= 2.4.0 +%{?with_nautilus:BuildRequires: nautilus-devel >= 2.4.0} BuildRequires: openssl-devel >= 0.9.7c BuildRequires: rpm-build >= 4.1-10 BuildRequires: scrollkeeper >= 0.1.4 @@ -100,7 +101,12 @@ intltoolize --copy --force --disable-schemas-install \ --disable-werror \ --enable-gconf-source=%{_sysconfdir}/gconf/schemas \ + %if %{with nautilus} --enable-nautilus-view=yes + %else + --enable-nautilus-view=no + %endif + %{__make} -- 2.44.0