summaryrefslogtreecommitdiffstats
path: root/virt-viewer.spec.in
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2015-10-06 19:51:13 +0200
committerFabiano FidĂȘncio <fidencio@redhat.com>2016-02-15 21:49:57 +0100
commit4235ef34539d276a6ab65185417e73348b5a1856 (patch)
treec5249266c5b9e7b6e61a7d04c62f988ce0622de2 /virt-viewer.spec.in
parentc86a4dfa41e1cfe1d9b0e7c35a83ff8d599c898d (diff)
downloadvirt-viewer-4235ef34539d276a6ab65185417e73348b5a1856.tar.gz
virt-viewer-4235ef34539d276a6ab65185417e73348b5a1856.tar.xz
virt-viewer-4235ef34539d276a6ab65185417e73348b5a1856.zip
Drop support to gtk2
The 3.0 release was the last one that still supports GTK2. For the Windows builds the support to GTK2 was dropped in the previous release. Let's do the same for the entire project now. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Diffstat (limited to 'virt-viewer.spec.in')
-rw-r--r--virt-viewer.spec.in27
1 files changed, 2 insertions, 25 deletions
diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in
index e79692b..7b22319 100644
--- a/virt-viewer.spec.in
+++ b/virt-viewer.spec.in
@@ -5,11 +5,6 @@
# touch configure.ac or Makefile.am.
%{!?enable_autotools:%define enable_autotools 0}
-%define with_gtk3 0
-%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
-%define with_gtk3 1
-%endif
-
%define with_spice 0
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
%define with_spice 1
@@ -43,24 +38,12 @@ BuildRequires: libtool
%endif
BuildRequires: glib2-devel >= @GLIB2_REQUIRED@
-%if %{with_gtk3}
-BuildRequires: gtk3-devel >= @GTK3_REQUIRED@
-%else
-BuildRequires: gtk2-devel >= @GTK2_REQUIRED@
-%endif
+BuildRequires: gtk3-devel >= @GTK_REQUIRED@
BuildRequires: libvirt-devel >= @LIBVIRT_REQUIRED@
BuildRequires: libxml2-devel >= @LIBXML2_REQUIRED@
-%if %{with_gtk3}
-BuildRequires: gtk-vnc2-devel >= @GTK_VNC2_REQUIRED@
-%else
-BuildRequires: gtk-vnc-devel >= @GTK_VNC1_REQUIRED@
-%endif
+BuildRequires: gtk-vnc2-devel >= @GTK_VNC_REQUIRED@
%if %{with_spice}
-%if %{with_gtk3}
BuildRequires: spice-gtk3-devel >= @SPICE_GTK_REQUIRED@
-%else
-BuildRequires: spice-gtk-devel >= @SPICE_GTK_REQUIRED@
-%endif
BuildRequires: spice-protocol >= @SPICE_PROTOCOL_REQUIRED@
%endif
BuildRequires: /usr/bin/pod2man
@@ -94,12 +77,6 @@ autoreconf -if
%define spice_arg --without-spice-gtk
%endif
-%if %{with_gtk3}
-%define gtk_arg --with-gtk=3.0
-%else
-%define gtk_arg --with-gtk=2.0
-%endif
-
%if %{with_govirt}
%define govirt_arg --with-ovirt
%endif