-
%include /usr/lib/rpm/macros.python
-
Summary: VTE terminal widget library
Summary(pl): Biblioteka z kontrolk± terminala VTE
Name: vte
-Version: 0.11.8
-Release: 1
+Version: 0.11.10
+Release: 3
License: LGPL
Group: X11/Libraries
-# Source0-md5: 1db3f5a5d48acef39a5413736fba8e39
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-2
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: 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)
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
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+mv -f po/{no,nb}.po
%build
glib-gettextize --copy --force
%{__automake}
%{__autoconf}
CFLAGS="-I/usr/include/ncurses"
-LDFLAGS="-lncurses"
%configure \
--with-xft2 \
--with-pangox \
--with-glX \
--enable-gtk-doc \
- --with-html-dir=%{_gtkdocdir}
-
-%{__make}
-#pythonsiteexecdir=%{py_sitedir}
+ --with-html-dir=%{_gtkdocdir}
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
-# pythonsiteexecdir=%{py_sitedir}
+ DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
%find_lang vte