From 0ecdc9e17e7495b636503f7ba25d55c6101aca70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 4 Mar 2015 16:07:11 +0100 Subject: [PATCH] Add --enable-webdav --- spice-gtk.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/spice-gtk.spec b/spice-gtk.spec index ea45526..21fd7b4 100644 --- a/spice-gtk.spec +++ b/spice-gtk.spec @@ -33,6 +33,7 @@ BuildRequires: polkit-devel BuildRequires: gtk-doc BuildRequires: vala-tools BuildRequires: usbutils +BuildRequires: libsoup-devel >= 2.49.91 BuildRequires: libphodav2-devel BuildRequires: lz4-devel %if %{with_gtk3} @@ -154,14 +155,21 @@ cp -a spice-gtk-%{version} spice-gtk3-%{version} %build +CONFIGURE_ARGS=" + --enable-gtk-doc + --enable-webdav + --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ + --enable-lz4 +" + cd spice-gtk-%{version} -%configure --with-gtk=2.0 --enable-gtk-doc --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ --enable-lz4 +%configure $CONFIGURE_ARGS --with-gtk=2.0 make %{?_smp_mflags} cd .. %if %{with_gtk3} cd spice-gtk3-%{version} -%configure --with-gtk=3.0 --enable-vala --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ --enable-lz4 +%configure $CONFIGURE_ARGS --with-gtk=3.0 make %{?_smp_mflags} cd .. %endif