2 # - fix gtk-doc location
3 %define gtk2_version 2.0.3
4 %define glib2_version 2.0.3
5 %define libart_lgpl_version 2.3.8
7 %include /usr/lib/rpm/macros.python
9 Summary: VTE terminal widget library
10 Summary(pl): Biblioteka z widgetem terminala VTE
16 Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.10/%{name}-%{version}.tar.bz2
17 Patch0: %{name}-Xft2.patch
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: glib2-devel >= %{glib2_version}
21 BuildRequires: gtk+2-devel >= %{gtk2_version}
22 BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
23 BuildRequires: libtool
24 BuildRequires: gnome-common
25 BuildRequires: python-pygtk-devel >= 1.99.13
26 Requires(pre): utempter
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _prefix /usr/X11R6
30 %define _mandir %{_prefix}/man
33 The vte package contains a terminal widget for GTK+. It's used by
34 gnome-terminal among other programs.
37 Ten pakiet zawiera widget terminala dla GTK+. Jest u¿ywany przez
38 gnome-terminal oraz inne programy.
41 Summary: Headers for vte
42 Summary(pl): Pliki nag³ówkowe vte
43 Group: X11/Development/Libraries
44 Requires: %{name} = %{version}
45 Requires: glib2-devel >= %{glib2_version}
46 Requires: gtk+2-devel >= %{gtk2_version}
47 Requires: libart_lgpl-devel >= %{libart_lgpl_version}
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}
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 library
78 Summary(pl): Biblioteka vte dla pythona
80 Requires: %{name} = %{version}
82 %description -n python-vte
85 %description -n python-vte -l pl
86 Biblioteka vte dla pythona.
95 #%{__aclocal} -I %{_aclocaldir}/gnome2-macros
99 %{__make} pythonsiteexecdir=%{py_sitedir}
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT \
106 pkgconfigdir=%{_pkgconfigdir} \
107 pythonsiteexecdir=%{py_sitedir}
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
118 %defattr(644,root,root,755)
119 %doc NEWS README AUTHORS
120 %attr(755,root,root) %{_bindir}/vte
121 %attr(755,root,root) %{_libdir}/lib*.so.*.*
123 %attr(755,root,root) %{_libdir}/vte/*
124 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
127 %defattr(644,root,root,755)
134 %defattr(644,root,root,755)