+# --with zvt build with ZVT not VTE terminal widget
Summary: GNOME Terminal
Summary(pl): Terminal dla GNOME
Name: gnome-terminal
-Version: 2.1.0
-Release: 2
+Version: 2.1.2
+Release: 3
License: GPL
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
Patch0: %{name}-TERM.patch
-Patch1: %{name}-pango-zvt.patch
+#Patch1: %{name}-pango-zvt.patch
URL: http://www.gnome.org/
-BuildRequires: GConf2-devel >= 1.2.0
+BuildRequires: GConf2-devel >= 1.2.1
BuildRequires: gtk+2-devel >= 2.0.3
BuildRequires: libglade2-devel >= 2.0.0
-BuildRequires: libgnomeui-devel >= 2.0.1
-BuildRequires: libzvt-devel >= 2.0.0
+BuildRequires: libgnomeui-devel >= 2.1.2
+%{?_with_zvt:BuildRequires: libzvt-devel >= 2.0.0}
+%{?!_with_zvt:BuildRequires: vte-devel >= 0.10.4}
BuildRequires: pkgconfig >= 0.12.0
BuildRequires: scrollkeeper
+BuildRequires: rpm-build >= 4.1-7
+Requires: libgnomeui >= 2.1.2
Requires(post,postun): scrollkeeper
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
+#%patch1 -p1
%build
-%configure
+%configure \
+ --with-widget=%{?!_with_zvt:vte}%{?_with_zvt:zvt}
%{__make}
%install