#
# Conditional build:
-%bcond_with glx # build for glX support
+%bcond_with glx # build for GLX support
#
Summary: VTE terminal widget library
Summary(pl): Biblioteka z kontrolk± terminala VTE
Name: vte
-Version: 0.11.12
-Release: 0.2
+Version: 0.11.20
+Release: 1
License: LGPL
Group: X11/Libraries
Source0: http://ftp.gnome.org/pub/gnome/sources/vte/0.11/%{name}-%{version}.tar.bz2
-# Source0-md5: 2a9c7cf110342b7c5f414343d2ecffc1
+# Source0-md5: 913983275f47e235287c83e46a80535c
Patch0: %{name}-keys.patch
-#Patch1: %{name}-atktextselection.patch
-#Patch2: %{name}-types-include.patch
-#Patch3: %{name}-nozvt.patch
+Patch1: %{name}-nozvt.patch
%{?with_glx:BuildRequires: OpenGL-devel}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: python-pygtk-devel >= 1.99.13
+BuildRequires: rpmbuild(macros) >= 1.197
Requires(pre): utempter
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl): Pliki nag³ówkowe VTE
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: OpenGL-devel
Requires: glib2-devel >= 2.2.0
Requires: gtk+2-devel >= 2.2.0
Requires: libart_lgpl-devel >= 2.3.10
-Requires: OpenGL-devel
+Requires: ncurses-devel
Conflicts: gnome-libs-devel < 1.4.1.2
%description devel
%prep
%setup -q
%patch0 -p1
-#%patch1 -p1
-#%patch2 -p1
-#%patch3 -p0
+%patch1 -p1
%build
-glib-gettextize --copy --force
+%{__glib_gettextize}
%{__libtoolize}
%{__aclocal}
%{__autoheader}
%{__automake}
%{__autoconf}
-CFLAGS="-I/usr/include/ncurses"
+CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
%configure \
--with-xft2 \
--with-pangox \