-
%include /usr/lib/rpm/macros.python
-
Summary: VTE terminal widget library
Summary(pl): Biblioteka z kontrolk± terminala VTE
Name: vte
-Version: 0.10.10
-Release: 1
+Version: 0.11.10
+Release: 3
License: LGPL
Group: X11/Libraries
-Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.10/%{name}-%{version}.tar.bz2
+Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.11/%{name}-%{version}.tar.bz2
+# Source0-md5: 71facdedd477749908402a6931d36e64
+Patch0: %{name}-keys.patch
+Patch1: %{name}-localenames.patch
+Patch2: %{name}-link.patch
+BuildRequires: OpenGL-devel
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: Xft-devel >= 2.1-3
BuildRequires: glib2-devel >= 2.2.0
BuildRequires: gtk+2-devel >= 2.2.0
+BuildRequires: gtk-doc
BuildRequires: libart_lgpl-devel >= 2.3.10
BuildRequires: libtool
+BuildRequires: rpm-pythonprov
BuildRequires: python-pygtk-devel >= 1.99.13
+BuildRequires: xft-devel >= 2.1.2
Requires(pre): utempter
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl): Pliki nag³ówkowe VTE
Group: X11/Development/Libraries
Requires: %{name} = %{version}
-Requires: glib2-devel >= 2.0.7
-Requires: gtk+2-devel >= 2.0.8
+Requires: glib2-devel >= 2.2.0
+Requires: gtk+2-devel >= 2.2.0
Requires: libart_lgpl-devel >= 2.3.10
+Requires: OpenGL-devel
Conflicts: gnome-libs-devel < 1.4.1.2
%description devel
Biblioteka VTE dla pythona.
%prep
-%setup -q
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+mv -f po/{no,nb}.po
%build
glib-gettextize --copy --force
%{__autoheader}
%{__automake}
%{__autoconf}
+CFLAGS="-I/usr/include/ncurses"
%configure \
+ --with-xft2 \
+ --with-pangox \
+ --with-glX \
--enable-gtk-doc \
- --with-html-path=%{_gtkdocdir}
-
-%{__make} pythonsiteexecdir=%{py_sitedir}
+ --with-html-dir=%{_gtkdocdir}
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- pkgconfigdir=%{_pkgconfigdir} \
- pythonsiteexecdir=%{py_sitedir} \
- HTML_DIR=%{_gtkdocdir}
+ DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
%find_lang vte