3 %bcond_with glx # build for GLX support
5 Summary: VTE terminal widget library
6 Summary(pl): Biblioteka z kontrolk± terminala VTE
12 Source0: http://ftp.gnome.org/pub/gnome/sources/vte/0.11/%{name}-%{version}.tar.bz2
13 # Source0-md5: bbe9710eca23984c884426a5d915f6eb
14 Patch0: %{name}-keys.patch
15 Patch1: %{name}-nozvt.patch
16 %{?with_glx:BuildRequires: OpenGL-devel}
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gettext-devel
20 BuildRequires: glib2-devel >= 2.2.0
21 BuildRequires: gtk+2-devel >= 2:2.2.0
22 BuildRequires: gtk-doc
23 BuildRequires: libart_lgpl-devel >= 2.3.10
24 BuildRequires: libtool
25 BuildRequires: ncurses-devel
26 BuildRequires: pkgconfig
28 BuildRequires: python-pygtk-devel >= 1.99.13
29 BuildRequires: rpmbuild(macros) >= 1.197
30 BuildRequires: xft-devel >= 2.1.2
31 Requires(pre): utempter
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 The vte package contains a terminal widget for GTK+. It's used by
36 gnome-terminal among other programs.
39 Ten pakiet zawiera kontrolkê terminala dla GTK+. Jest u¿ywany przez
40 gnome-terminal oraz inne programy.
43 Summary: Headers for VTE
44 Summary(pl): Pliki nag³ówkowe VTE
45 Group: X11/Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: OpenGL-devel
48 Requires: glib2-devel >= 2.2.0
49 Requires: gtk+2-devel >= 2.2.0
50 Requires: libart_lgpl-devel >= 2.3.10
51 Requires: ncurses-devel
52 Conflicts: gnome-libs-devel < 1.4.1.2
55 The vte package contains a terminal widget for GTK+. It's used by
56 gnome-terminal among other programs.
58 You should install the vte-devel package if you would like to
59 compile applications that use the vte terminal widget. You do not need
60 to install vte-devel if you just want to use precompiled
63 %description devel -l pl
64 Pliki nag³ówkowe potrzebne do kompilowania programów u¿ywaj±cych
68 Summary: Static VTE library
69 Summary(pl): Statyczna biblioteka VTE
70 Group: X11/Development/Libraries
71 Requires: %{name}-devel = %{version}-%{release}
72 Conflicts: gnome-libs-static < 1.4.1.2
75 Static version of VTE libraries.
77 %description static -l pl
78 Statyczna wersja bibliotek VTE.
80 %package -n python-vte
81 Summary: Python VTE module
82 Summary(pl): Modu³ VTE dla pythona
84 %pyrequires_eq python-libs
85 Requires: %{name} = %{version}-%{release}
86 Requires: python-pygtk-gtk >= 1.99.13
88 %description -n python-vte
91 %description -n python-vte -l pl
92 Biblioteka VTE dla pythona.
106 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
110 %{?with_glx:--with-glX} \
111 --with-default-emulation=xterm \
113 --with-html-dir=%{_gtkdocdir}
117 rm -rf $RPM_BUILD_ROOT
120 DESTDIR=$RPM_BUILD_ROOT
122 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
123 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
128 rm -rf $RPM_BUILD_ROOT
130 %post -p /sbin/ldconfig
131 %postun -p /sbin/ldconfig
134 %defattr(644,root,root,755)
135 %doc NEWS README AUTHORS
136 %attr(755,root,root) %{_bindir}/vte
137 %attr(755,root,root) %{_libdir}/lib*.so.*.*
139 %attr(755,root,root) %{_libdir}/vte/*
140 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_libdir}/lib*.so
152 %defattr(644,root,root,755)
156 %defattr(644,root,root,755)
157 %attr(755,root,root) %{py_sitedir}/gtk-2.0/*.so