From 760e5372bbbd0c81e966354cf8d01b8ec7be2997 Mon Sep 17 00:00:00 2001 From: paladine Date: Tue, 25 Apr 2006 21:37:38 +0000 Subject: [PATCH] - added ipod bcond Changed files: rhythmbox.spec -> 1.60 --- rhythmbox.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rhythmbox.spec b/rhythmbox.spec index 181ea7c..9b51efb 100644 --- a/rhythmbox.spec +++ b/rhythmbox.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_without ipod # build without iPod support +# Summary: Music Management Application Summary(pl): Aplikacja do zarz±dzania muzyk± Name: rhythmbox @@ -26,7 +30,7 @@ BuildRequires: intltool BuildRequires: libbonobo-devel >= 2.8.0 BuildRequires: libglade2-devel >= 1:2.5.1 BuildRequires: libgnomeui-devel >= 2.10.0-2 -BuildRequires: libgpod-devel +%{?with_ipod:BuildRequires: libgpod-devel} BuildRequires: libmusicbrainz-devel >= 2.0.1 BuildRequires: libnotify-devel >= 0.2.2 BuildRequires: libsexy-devel >= 0.1.5 @@ -84,7 +88,7 @@ rm po/{ar,mn}.po --with-bonobo \ --with-cd-burner \ --with-dbus \ - --with-ipod \ + %{!?with_ipod:--without-ipod} \ --with-mds=avahi \ --with-internal-libsexy=no %{__make} -- 2.44.0