3 %bcond_with glx # drawing using GLX
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.14/%{name}-%{version}.tar.bz2
13 # Source0-md5: 98ea2513b773b44cb7f8d75dc1aa312e
14 Patch0: %{name}-keys.patch
15 Patch1: %{name}-link.patch
16 %{?with_glx:BuildRequires: OpenGL-GLU-devel}
17 %{?with_glx:BuildRequires: OpenGL-GLX-devel}
18 BuildRequires: autoconf >= 2.59-9
19 BuildRequires: automake >= 1.6
20 BuildRequires: gettext-devel
21 BuildRequires: gtk+2-devel >= 2:2.10.5
22 BuildRequires: gtk-doc
23 BuildRequires: intltool >= 0.35.0
24 BuildRequires: libart_lgpl-devel >= 2.3.17
25 BuildRequires: libtool
26 BuildRequires: ncurses-devel
27 BuildRequires: pkgconfig
28 BuildRequires: python-pygtk-devel >= 2:2.10.2
29 BuildRequires: rpm-pythonprov
30 BuildRequires: rpmbuild(macros) >= 1.197
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 %{?with_glx:Requires: OpenGL-GLU-devel}
48 Requires: gtk+2-devel >= 2:2.10.5
49 Requires: libart_lgpl-devel >= 2.3.17
50 Requires: ncurses-devel
51 Conflicts: gnome-libs-devel < 1.4.1.2
54 The vte package contains a terminal widget for GTK+. It's used by
55 gnome-terminal among other programs.
57 You should install the vte-devel package if you would like to compile
58 applications that use the vte terminal widget. You do not need to
59 install vte-devel if you just want to use precompiled applications.
61 %description devel -l pl
62 Pliki nag³ówkowe potrzebne do kompilowania programów u¿ywaj±cych vte.
65 Summary: Static VTE library
66 Summary(pl): Statyczna biblioteka VTE
67 Group: X11/Development/Libraries
68 Requires: %{name}-devel = %{version}-%{release}
69 Conflicts: gnome-libs-static < 1.4.1.2
72 Static version of VTE libraries.
74 %description static -l pl
75 Statyczna wersja bibliotek VTE.
77 %package -n python-vte
78 Summary: Python VTE module
79 Summary(pl): Modu³ VTE dla pythona
81 %pyrequires_eq python-libs
82 Requires: %{name} = %{version}-%{release}
83 Requires: python-pygtk-gtk >= 2:2.10.2
85 %description -n python-vte
88 %description -n python-vte -l pl
89 Biblioteka VTE dla pythona.
92 Summary: VTE API documentation
93 Summary(pl): Dokumentacja API VTE
95 Requires: gtk-doc-common
98 VTE API documentation.
100 %description apidocs -l pl
101 Dokumentacja API VTE.
124 --with-default-emulation=xterm \
125 %{?with_glx:--with-glX} \
126 --with-html-dir=%{_gtkdocdir} \
133 rm -rf $RPM_BUILD_ROOT
136 DESTDIR=$RPM_BUILD_ROOT
138 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
143 rm -rf $RPM_BUILD_ROOT
145 %post -p /sbin/ldconfig
146 %postun -p /sbin/ldconfig
149 %defattr(644,root,root,755)
150 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
151 %attr(755,root,root) %{_bindir}/vte
152 %attr(755,root,root) %{_libdir}/libvte.so.*.*.*
154 %attr(755,root,root) %{_libdir}/vte/*
155 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
159 %defattr(644,root,root,755)
160 %attr(755,root,root) %{_libdir}/libvte.so
163 %{_pkgconfigdir}/vte.pc
166 %defattr(644,root,root,755)
170 %defattr(644,root,root,755)
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so