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.14/%{name}-%{version}.tar.bz2
13 # Source0-md5: 42c6929f2072f1373cf37942896bb332
14 Patch0: %{name}-keys.patch
15 %{?with_glx:BuildRequires: OpenGL-devel}
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gettext-devel
19 BuildRequires: gtk+2-devel >= 2:2.10.3
20 BuildRequires: gtk-doc
21 BuildRequires: libart_lgpl-devel >= 2.3.17
22 BuildRequires: libtool
23 BuildRequires: ncurses-devel
24 BuildRequires: pkgconfig
25 BuildRequires: python-pygtk-devel >= 2:2.10.1
26 BuildRequires: rpm-pythonprov
27 BuildRequires: rpmbuild(macros) >= 1.197
28 Requires(pre): utempter
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 The vte package contains a terminal widget for GTK+. It's used by
33 gnome-terminal among other programs.
36 Ten pakiet zawiera kontrolkê terminala dla GTK+. Jest u¿ywany przez
37 gnome-terminal oraz inne programy.
40 Summary: Headers for VTE
41 Summary(pl): Pliki nag³ówkowe VTE
42 Group: X11/Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 %{?with_glx:Requires: OpenGL-devel}
45 Requires: gtk+2-devel >= 2:2.10.3
46 Requires: libart_lgpl-devel >= 2.3.17
47 Requires: ncurses-devel
48 Conflicts: gnome-libs-devel < 1.4.1.2
51 The vte package contains a terminal widget for GTK+. It's used by
52 gnome-terminal among other programs.
54 You should install the vte-devel package if you would like to
55 compile applications that use the vte terminal widget. You do not need
56 to install vte-devel if you just want to use precompiled
59 %description devel -l pl
60 Pliki nag³ówkowe potrzebne do kompilowania programów u¿ywaj±cych
64 Summary: Static VTE library
65 Summary(pl): Statyczna biblioteka VTE
66 Group: X11/Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
68 Conflicts: gnome-libs-static < 1.4.1.2
71 Static version of VTE libraries.
73 %description static -l pl
74 Statyczna wersja bibliotek VTE.
76 %package -n python-vte
77 Summary: Python VTE module
78 Summary(pl): Modu³ VTE dla pythona
80 %pyrequires_eq python-libs
81 Requires: %{name} = %{version}-%{release}
82 Requires: python-pygtk-gtk >= 2:2.10.1
84 %description -n python-vte
87 %description -n python-vte -l pl
88 Biblioteka VTE dla pythona.
91 Summary: VTE API documentation
92 Summary(pl): Dokumentacja API VTE
94 Requires: gtk-doc-common
97 VTE API documentation.
99 %description apidocs -l pl
100 Dokumentacja API VTE.
124 %{?with_glx:--with-glX} \
125 --with-default-emulation=xterm \
127 --with-html-dir=%{_gtkdocdir}
132 rm -rf $RPM_BUILD_ROOT
135 DESTDIR=$RPM_BUILD_ROOT
137 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
138 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ug
143 rm -rf $RPM_BUILD_ROOT
145 %post -p /sbin/ldconfig
146 %postun -p /sbin/ldconfig
149 %defattr(644,root,root,755)
150 %doc NEWS README AUTHORS
151 %attr(755,root,root) %{_bindir}/vte
152 %attr(755,root,root) %{_libdir}/lib*.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}/lib*.so
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/*.so