1 %include /usr/lib/rpm/macros.python
2 Summary: VTE terminal widget library
3 Summary(pl): Biblioteka z kontrolk± terminala VTE
9 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.11/%{name}-%{version}.tar.bz2
10 # Source0-md5: 4d7a3674df5b8be7f1adffa981c1fc3d
11 Patch0: %{name}-keys.patch
12 Patch1: %{name}-localenames.patch
13 Patch2: %{name}-atktextselection.patch
14 Patch3: %{name}-types-include.patch
15 Patch4: %{name}-performance.patch
16 BuildRequires: OpenGL-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: glib2-devel >= 2.2.0
20 BuildRequires: gtk+2-devel >= 2.2.0
21 BuildRequires: gtk-doc
22 BuildRequires: libart_lgpl-devel >= 2.3.10
23 BuildRequires: libtool
24 BuildRequires: rpm-pythonprov
25 BuildRequires: python-pygtk-devel >= 1.99.13
26 BuildRequires: xft-devel >= 2.1.2
27 Requires(pre): utempter
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 The vte package contains a terminal widget for GTK+. It's used by
32 gnome-terminal among other programs.
35 Ten pakiet zawiera kontrolkê terminala dla GTK+. Jest u¿ywany przez
36 gnome-terminal oraz inne programy.
39 Summary: Headers for VTE
40 Summary(pl): Pliki nag³ówkowe VTE
41 Group: X11/Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: glib2-devel >= 2.2.0
44 Requires: gtk+2-devel >= 2.2.0
45 Requires: libart_lgpl-devel >= 2.3.10
46 Requires: OpenGL-devel
47 Conflicts: gnome-libs-devel < 1.4.1.2
50 The vte package contains a terminal widget for GTK+. It's used by
51 gnome-terminal among other programs.
53 You should install the vte-devel package if you would like to
54 compile applications that use the vte terminal widget. You do not need
55 to install vte-devel if you just want to use precompiled
58 %description devel -l pl
59 Pliki nag³ówkowe potrzebne do kompilowania programów u¿ywaj±cych
63 Summary: Static VTE library
64 Summary(pl): Statyczna biblioteka VTE
65 Group: X11/Development/Libraries
66 Requires: %{name}-devel = %{version}-%{release}
67 Conflicts: gnome-libs-static < 1.4.1.2
70 Static version of VTE libraries.
72 %description static -l pl
73 Statyczna wersja bibliotek VTE.
75 %package -n python-vte
76 Summary: Python VTE module
77 Summary(pl): Modu³ VTE dla pythona
79 Requires: %{name} = %{version}-%{release}
80 Requires: python-pygtk-gtk >= 1.99.13
82 %description -n python-vte
85 %description -n python-vte -l pl
86 Biblioteka VTE dla pythona.
99 glib-gettextize --copy --force
105 CFLAGS="-I/usr/include/ncurses"
110 --with-default-emulation=xterm \
112 --with-html-dir=%{_gtkdocdir}
116 rm -rf $RPM_BUILD_ROOT
119 DESTDIR=$RPM_BUILD_ROOT
121 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
126 rm -rf $RPM_BUILD_ROOT
128 %post -p /sbin/ldconfig
129 %postun -p /sbin/ldconfig
132 %defattr(644,root,root,755)
133 %doc NEWS README AUTHORS
134 %attr(755,root,root) %{_bindir}/vte
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
137 %attr(755,root,root) %{_libdir}/vte/*
138 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/lib*.so
150 %defattr(644,root,root,755)
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{py_sitedir}/gtk-2.0/*.so