]> git.pld-linux.org Git - packages/rhythmbox.git/blobdiff - rhythmbox.spec
- added ipod bcond
[packages/rhythmbox.git] / rhythmbox.spec
index 181ea7c864f910bfea3e4c3a04d2cbbf598d23e9..9b51efbf8822600369e650df311c91958ecaa30b 100644 (file)
@@ -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}
This page took 0.14958 seconds and 4 git commands to generate.