1 Summary: VTE terminal widget library for GTK+ 2
2 Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE for GTK+ 2
8 Source0: https://download.gnome.org/sources/vte/0.28/vte-%{version}.tar.bz2
9 # Source0-md5: f07a4bf943194f94b7f142db8f7f36dc
10 Patch0: vte-alt-meta.patch
11 Patch1: repaint-bug.patch
12 Patch2: vte-0.28.2-control.patch
13 Patch3: vte-0.28.2-limit-arguments.patch
14 Patch4: vte-0.28.2-paste-fix.diff
15 Patch5: vte-python-bugfixes.patch
16 URL: https://wiki.gnome.org/Apps/Terminal/VTE
17 BuildRequires: autoconf >= 2.63
18 BuildRequires: automake >= 1:1.9
19 BuildRequires: docbook-dtd412-xml
20 BuildRequires: gettext-tools
21 BuildRequires: glib2-devel >= 1:2.28.0
22 BuildRequires: gobject-introspection-devel >= 0.10.0
23 BuildRequires: gtk+2-devel >= 2:2.20.0
24 BuildRequires: gtk-doc >= 1.13
25 BuildRequires: gtk-doc-automake >= 1.13
26 BuildRequires: intltool >= 0.40.0
27 BuildRequires: libtool >= 2:2.2
28 BuildRequires: ncurses-devel
29 BuildRequires: pango-devel >= 1:1.22.0
30 BuildRequires: pkgconfig
31 BuildRequires: python-pygtk-devel >= 2:2.12.0
32 BuildRequires: rpm-build >= 4.6
33 BuildRequires: rpm-pythonprov
34 BuildRequires: rpmbuild(macros) >= 1.592
35 Requires(pre): utempter
36 Requires: glib2 >= 1:2.28.0
37 Requires: gtk+2 >= 2:2.20.0
38 Requires: pango >= 1:1.22.0
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 The vte package contains a terminal widget for GTK+ 2.x. It's used by
43 gnome-terminal among other programs.
45 %description -l pl.UTF-8
46 Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany
47 przez gnome-terminal oraz inne programy.
50 Summary: Header files for VTE for GTK+ 2
51 Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2
52 Group: X11/Development/Libraries
53 Requires: %{name} = %{version}-%{release}
54 Requires: glib2-devel >= 1:2.28.0
55 Requires: gtk+2-devel >= 2:2.20.0
56 Requires: ncurses-devel
57 Requires: pango-devel >= 1:1.22.0
58 Conflicts: gnome-libs-devel < 1.4.1.2
61 This package contains header files for GTK+ 2 based vte library.
63 %description devel -l pl.UTF-8
64 Pliki nagłówkowe potrzebne do kompilowania programów używających
65 biblioteki vte opartej na GTK+ 2.
68 Summary: Static VTE library for GTK+ 2
69 Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2
70 Group: X11/Development/Libraries
71 Requires: %{name}-devel = %{version}-%{release}
72 Conflicts: gnome-libs-static < 1.4.1.2
75 Static version of VTE library for GTK+ 2.
77 %description static -l pl.UTF-8
78 Statyczna wersja biblioteki VTE dla GTK+ 2.
81 Summary: VTE API documentation - GTK+ 2.x version
82 Summary(pl.UTF-8): Dokumentacja API VTE - wersja dla GTK+ 2.x
84 Requires: gtk-doc-common
88 VTE API documentation - GTK+ 2.x version.
90 %description apidocs -l pl.UTF-8
91 Dokumentacja API VTE - wersja dla GTK+ 2.x.
93 %package -n python-vte0
94 Summary: Python VTE module
95 Summary(pl.UTF-8): Moduł VTE dla pythona
96 Group: Libraries/Python
97 Requires: %{name} = %{version}-%{release}
99 Requires: python-pygtk-gtk >= 2:2.12.0
101 Obsoletes: python-vte < 0.30
103 %description -n python-vte0
106 %description -n python-vte0 -l pl.UTF-8
107 Biblioteka VTE dla pythona.
109 %package -n python-vte0-devel
110 Summary: Development files for VTE Python bindings
111 Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do VTE
112 Group: Development/Languages/Python
113 Requires: %{name}-devel = %{version}-%{release}
114 Requires: python-vte0 = %{version}-%{release}
115 Provides: python-vte-devel
116 Obsoletes: python-vte-devel < 0.30
118 %description -n python-vte0-devel
119 Development files for VTE Python bindings.
121 %description -n python-vte0-devel -l pl.UTF-8
122 Pliki programistyczne wiązań Pythona do VTE.
125 %setup -q -n vte-%{version}
135 --libexecdir=%{_libexecdir}/vte-0.0 \
137 --disable-silent-rules \
139 --enable-introspection \
140 --with-default-emulation=xterm \
141 --with-html-dir=%{_gtkdocdir}
146 rm -rf $RPM_BUILD_ROOT
149 DESTDIR=$RPM_BUILD_ROOT
151 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
152 $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
157 rm -rf $RPM_BUILD_ROOT
159 %post -p /sbin/ldconfig
160 %postun -p /sbin/ldconfig
162 %files -f vte-0.0.lang
163 %defattr(644,root,root,755)
164 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
165 %attr(755,root,root) %{_bindir}/vte
166 %attr(755,root,root) %{_libdir}/libvte.so.*.*.*
167 %attr(755,root,root) %ghost %{_libdir}/libvte.so.9
168 %{_libdir}/girepository-1.0/Vte-0.0.typelib
169 %dir %{_libexecdir}/vte-0.0
170 %attr(2755,root,utmp) %{_libexecdir}/vte-0.0/gnome-pty-helper
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/libvte.so
176 %{_includedir}/vte-0.0
177 %{_pkgconfigdir}/vte.pc
178 %{_datadir}/gir-1.0/Vte-0.0.gir
181 %defattr(644,root,root,755)
185 %defattr(644,root,root,755)
186 %{_gtkdocdir}/vte-0.0
188 %files -n python-vte0
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so
192 %files -n python-vte0-devel
193 %defattr(644,root,root,755)
194 %{_datadir}/pygtk/2.0/defs/vte.defs
195 %{_pkgconfigdir}/pyvte.pc