Enable lz4 support

This commit is contained in:
Christophe Fergeau 2014-12-12 11:55:08 +01:00
parent 472b37edf6
commit 5ebf846c54

View File

@ -7,7 +7,7 @@
Name: spice-gtk Name: spice-gtk
Version: 0.27 Version: 0.27
Release: 3%{?dist} Release: 4%{?dist}
Summary: A GTK+ widget for SPICE clients Summary: A GTK+ widget for SPICE clients
Group: System Environment/Libraries Group: System Environment/Libraries
@ -41,6 +41,7 @@ BuildRequires: gtk-doc
BuildRequires: vala-tools BuildRequires: vala-tools
BuildRequires: usbutils BuildRequires: usbutils
BuildRequires: libphodav-1.0-devel BuildRequires: libphodav-1.0-devel
BuildRequires: lz4-devel
%if %{with_gtk3} %if %{with_gtk3}
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
%endif %endif
@ -168,13 +169,13 @@ cp -a spice-gtk-%{version} spice-gtk3-%{version}
%build %build
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}/ %configure --with-gtk=2.0 --enable-gtk-doc --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ --enable-lz4
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}/ %configure --with-gtk=3.0 --enable-vala --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ --enable-lz4
make %{?_smp_mflags} make %{?_smp_mflags}
cd .. cd ..
%endif %endif
@ -279,6 +280,9 @@ rm -rf %{buildroot}%{_datadir}/pkgconfig/spice-protocol.pc
%{_bindir}/spicy-stats %{_bindir}/spicy-stats
%changelog %changelog
* Tue Dec 30 2014 Christophe Fergeau <cfergeau@redhat.com> 0.27-4
- Enable lz4 support
* Mon Dec 22 2014 Marc-André Lureau <marcandre.lureau@redhat.com> 0.27-3 * Mon Dec 22 2014 Marc-André Lureau <marcandre.lureau@redhat.com> 0.27-3
- Fix usbredir crash on disconnection. - Fix usbredir crash on disconnection.