Add --enable-webdav

This commit is contained in:
Marc-André Lureau 2015-03-04 16:07:11 +01:00
parent f6ccf6db46
commit 0ecdc9e17e

View File

@ -33,6 +33,7 @@ BuildRequires: polkit-devel
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: vala-tools BuildRequires: vala-tools
BuildRequires: usbutils BuildRequires: usbutils
BuildRequires: libsoup-devel >= 2.49.91
BuildRequires: libphodav2-devel BuildRequires: libphodav2-devel
BuildRequires: lz4-devel BuildRequires: lz4-devel
%if %{with_gtk3} %if %{with_gtk3}
@ -154,14 +155,21 @@ cp -a spice-gtk-%{version} spice-gtk3-%{version}
%build %build
CONFIGURE_ARGS="
--enable-gtk-doc
--enable-webdav
--with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/
--enable-lz4
"
cd spice-gtk-%{version} 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} make %{?_smp_mflags}
cd .. cd ..
%if %{with_gtk3} %if %{with_gtk3}
cd spice-gtk3-%{version} 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} make %{?_smp_mflags}
cd .. cd ..
%endif %endif