1 Summary: VTE terminal widget library for GTK+ 2
2 Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE for GTK+ 2
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/vte-%{version}.tar.bz2
9 # Source0-md5: f07a4bf943194f94b7f142db8f7f36dc
10 Patch0: vte-alt-meta.patch
11 Patch1: repaint-bug.patch
12 BuildRequires: autoconf >= 2.63
13 BuildRequires: automake >= 1:1.9
14 BuildRequires: docbook-dtd412-xml
15 BuildRequires: gettext-tools
16 BuildRequires: glib2-devel >= 1:2.28.0
17 BuildRequires: gobject-introspection-devel >= 0.10.0
18 BuildRequires: gtk+2-devel >= 2:2.20.0
19 BuildRequires: gtk-doc >= 1.13
20 BuildRequires: gtk-doc-automake >= 1.13
21 BuildRequires: intltool >= 0.40.0
22 BuildRequires: libtool >= 2:2.2
23 BuildRequires: ncurses-devel
24 BuildRequires: pango-devel >= 1:1.22.0
25 BuildRequires: pkgconfig
26 BuildRequires: python-pygtk-devel >= 2:2.12.0
27 BuildRequires: rpm-pythonprov
28 BuildRequires: rpmbuild(macros) >= 1.592
29 Requires(pre): utempter
30 Requires: glib2 >= 1:2.28.0
31 Requires: gtk+2 >= 2:2.20.0
32 Requires: pango >= 1:1.22.0
33 # sr@Latn vs. sr@latin
34 Conflicts: glibc-misc < 6:2.7
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 The vte package contains a terminal widget for GTK+ 2.x. It's used by
39 gnome-terminal among other programs.
41 %description -l pl.UTF-8
42 Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany
43 przez gnome-terminal oraz inne programy.
46 Summary: Header files for VTE for GTK+ 2
47 Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2
48 Group: X11/Development/Libraries
49 Requires: %{name} = %{version}-%{release}
50 Requires: glib2-devel >= 1:2.28.0
51 Requires: gtk+2-devel >= 2:2.20.0
52 Requires: ncurses-devel
53 Requires: pango-devel >= 1:1.22.0
54 Conflicts: gnome-libs-devel < 1.4.1.2
57 This package contains header files for GTK+ 2 based vte library.
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe potrzebne do kompilowania programów używających
61 biblioteki vte opartej na GTK+ 2.
64 Summary: Static VTE library for GTK+ 2
65 Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2
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 library for GTK+ 2.
73 %description static -l pl.UTF-8
74 Statyczna wersja biblioteki VTE dla GTK+ 2.
77 Summary: VTE API documentation - GTK+ 2.x version
78 Summary(pl.UTF-8): Dokumentacja API VTE - wersja dla GTK+ 2.x
80 Requires: gtk-doc-common
81 %if "%{_rpmversion}" >= "5"
86 VTE API documentation - GTK+ 2.x version.
88 %description apidocs -l pl.UTF-8
89 Dokumentacja API VTE - wersja dla GTK+ 2.x.
91 %package -n python-vte0
92 Summary: Python VTE module
93 Summary(pl.UTF-8): Moduł VTE dla pythona
94 Group: Libraries/Python
95 Requires: %{name} = %{version}-%{release}
97 Requires: python-pygtk-gtk >= 2:2.12.0
101 %description -n python-vte0
104 %description -n python-vte0 -l pl.UTF-8
105 Biblioteka VTE dla pythona.
107 %package -n python-vte0-devel
108 Summary: Development files for VTE Python bindings
109 Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do VTE
110 Group: Development/Languages/Python
111 Requires: %{name}-devel = %{version}-%{release}
112 Requires: python-vte0 = %{version}-%{release}
113 Provides: python-vte-devel
114 Obsoletes: python-vte-devel
116 %description -n python-vte0-devel
117 Development files for VTE Python bindings.
119 %description -n python-vte0-devel -l pl.UTF-8
120 Pliki programistyczne wiązań Pythona do VTE.
123 %setup -q -n vte-%{version}
129 --libexecdir=%{_libdir}/vte-0.0 \
131 --disable-silent-rules \
133 --enable-introspection \
134 --with-default-emulation=xterm \
135 --with-html-dir=%{_gtkdocdir}
140 rm -rf $RPM_BUILD_ROOT
143 DESTDIR=$RPM_BUILD_ROOT
145 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
146 $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
151 rm -rf $RPM_BUILD_ROOT
153 %post -p /sbin/ldconfig
154 %postun -p /sbin/ldconfig
156 %files -f vte-0.0.lang
157 %defattr(644,root,root,755)
158 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
159 %attr(755,root,root) %{_bindir}/vte
160 %attr(755,root,root) %{_libdir}/libvte.so.*.*.*
161 %attr(755,root,root) %ghost %{_libdir}/libvte.so.9
162 %dir %{_libdir}/vte-0.0
163 %attr(2755,root,utmp) %{_libdir}/vte-0.0/gnome-pty-helper
164 %{_libdir}/girepository-1.0/Vte-0.0.typelib
168 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_libdir}/libvte.so
170 %{_includedir}/vte-0.0
171 %{_pkgconfigdir}/vte.pc
172 %{_datadir}/gir-1.0/Vte-0.0.gir
175 %defattr(644,root,root,755)
179 %defattr(644,root,root,755)
180 %{_gtkdocdir}/vte-0.0
182 %files -n python-vte0
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so
186 %files -n python-vte0-devel
187 %defattr(644,root,root,755)
188 %{_datadir}/pygtk/2.0/defs/vte.defs
189 %{_pkgconfigdir}/pyvte.pc