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 BuildRequires: OpenGL-devel
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: glib2-devel >= 2.2.0
17 BuildRequires: gtk+2-devel >= 2.2.0
18 BuildRequires: gtk-doc
19 BuildRequires: libart_lgpl-devel >= 2.3.10
20 BuildRequires: libtool
21 BuildRequires: rpm-pythonprov
22 BuildRequires: python-pygtk-devel >= 1.99.13
23 BuildRequires: xft-devel >= 2.1.2
24 Requires(pre): utempter
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The vte package contains a terminal widget for GTK+. It's used by
29 gnome-terminal among other programs.
32 Ten pakiet zawiera kontrolkê terminala dla GTK+. Jest u¿ywany przez
33 gnome-terminal oraz inne programy.
36 Summary: Headers for VTE
37 Summary(pl): Pliki nag³ówkowe VTE
38 Group: X11/Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: glib2-devel >= 2.2.0
41 Requires: gtk+2-devel >= 2.2.0
42 Requires: libart_lgpl-devel >= 2.3.10
43 Requires: OpenGL-devel
44 Conflicts: gnome-libs-devel < 1.4.1.2
47 The vte package contains a terminal widget for GTK+. It's used by
48 gnome-terminal among other programs.
50 You should install the vte-devel package if you would like to
51 compile applications that use the vte terminal widget. You do not need
52 to install vte-devel if you just want to use precompiled
55 %description devel -l pl
56 Pliki nag³ówkowe potrzebne do kompilowania programów u¿ywaj±cych
60 Summary: Static VTE library
61 Summary(pl): Statyczna biblioteka VTE
62 Group: X11/Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
64 Conflicts: gnome-libs-static < 1.4.1.2
67 Static version of VTE libraries.
69 %description static -l pl
70 Statyczna wersja bibliotek VTE.
72 %package -n python-vte
73 Summary: Python VTE module
74 Summary(pl): Modu³ VTE dla pythona
76 Requires: %{name} = %{version}-%{release}
77 Requires: python-pygtk-gtk >= 1.99.13
79 %description -n python-vte
82 %description -n python-vte -l pl
83 Biblioteka VTE dla pythona.
93 glib-gettextize --copy --force
99 CFLAGS="-I/usr/include/ncurses"
104 --with-default-emulation=xterm \
106 --with-html-dir=%{_gtkdocdir}
110 rm -rf $RPM_BUILD_ROOT
113 DESTDIR=$RPM_BUILD_ROOT
115 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
120 rm -rf $RPM_BUILD_ROOT
122 %post -p /sbin/ldconfig
123 %postun -p /sbin/ldconfig
126 %defattr(644,root,root,755)
127 %doc NEWS README AUTHORS
128 %attr(755,root,root) %{_bindir}/vte
129 %attr(755,root,root) %{_libdir}/lib*.so.*.*
131 %attr(755,root,root) %{_libdir}/vte/*
132 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_libdir}/lib*.so
144 %defattr(644,root,root,755)
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{py_sitedir}/gtk-2.0/*.so