1 # TODO: is alt-meta patch still needed?
2 Summary: VTE terminal widget library
3 Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.42/%{name}-%{version}.tar.xz
10 # Source0-md5: 6dd98fd69b66508dcc2707bcdbdab93c
11 BuildRequires: autoconf >= 2.63
12 BuildRequires: automake >= 1:1.9
13 BuildRequires: docbook-dtd412-xml
14 BuildRequires: gettext-devel
15 BuildRequires: glib2-devel >= 1:2.40.0
16 BuildRequires: gnutls-devel >= 3.2.7
17 BuildRequires: gobject-introspection-devel >= 0.10.0
18 BuildRequires: gtk+3-devel >= 3.8.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: libxml2-progs >= 2
24 BuildRequires: ncurses-devel
25 BuildRequires: pango-devel >= 1:1.22.0
26 BuildRequires: pkgconfig
27 BuildRequires: rpmbuild(macros) >= 1.592
28 BuildRequires: tar >= 1:1.22
29 #BuildRequires: vala >= 2:0.18
31 BuildRequires: zlib-devel
32 Requires: glib2 >= 1:2.40.0
33 Requires: gnutls >= 3.2.7
34 Requires: gtk+3 >= 3.8.0
35 Requires: pango >= 1:1.22.0
36 Obsoletes: vte-common < 0.42.0
37 # sr@Latn vs. sr@latin
38 Conflicts: glibc-misc < 6:2.7
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 The vte package contains a terminal widget for GTK+ 3.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+ 3.x. Jest używany
47 przez gnome-terminal oraz inne programy.
50 Summary: Common files for vte and vte0
51 Summary(pl.UTF-8): Pliki wspólne dla vte i vte0
53 Requires(pre): utempter
56 Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
58 %description common -l pl.UTF-8
59 Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
62 Summary: Header files for VTE for GTK+ 3
63 Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3
64 Group: X11/Development/Libraries
65 Requires: %{name} = %{version}-%{release}
66 Requires: glib2-devel >= 1:2.40.0
67 Requires: gnutls-devel >= 3.2.7
68 Requires: gtk+3-devel >= 3.8.0
69 Requires: ncurses-devel
70 Requires: pango-devel >= 1:1.22.0
72 Conflicts: gnome-libs-devel < 1.4.1.2
75 This package contains header files for GTK+ 3 based vte library.
77 %description devel -l pl.UTF-8
78 Pliki nagłówkowe potrzebne do kompilowania programów używających
79 biblioteki vte opartej na GTK+ 3.
82 Summary: Static VTE library for GTK+ 3
83 Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 3
84 Group: X11/Development/Libraries
85 Requires: %{name}-devel = %{version}-%{release}
86 Conflicts: gnome-libs-static < 1.4.1.2
89 Static version of VTE library for GTK+ 3.
91 %description static -l pl.UTF-8
92 Statyczna wersja biblioteki VTE dla GTK+ 3.
95 Summary: Vala API for VTE library
96 Summary(pl.UTF-8): API języka Vala dla biblioteki VTE
97 Group: Development/Libraries
98 Requires: %{name}-devel = %{version}-%{release}
99 Requires: vala >= 2:0.18
101 %description -n vala-vte
102 Vala API for VTE library.
104 %description -n vala-vte -l pl.UTF-8
105 API języka Vala dla biblioteki VTE.
108 Summary: VTE API documentation (GTK+ 3 version)
109 Summary(pl.UTF-8): Dokumentacja API VTE (wersja dla GTK+ 3)
111 Requires: gtk-doc-common
112 %if "%{_rpmversion}" >= "5"
117 VTE API documentation (GTK+ 3 version).
119 %description apidocs -l pl.UTF-8
120 Dokumentacja API VTE (wersja dla GTK+ 3).
135 --disable-silent-rules \
137 --enable-introspection \
138 --with-default-emulation=xterm \
139 --with-html-dir=%{_gtkdocdir}
143 rm -rf $RPM_BUILD_ROOT
146 DESTDIR=$RPM_BUILD_ROOT
148 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
150 %find_lang %{name}-2.91
153 rm -rf $RPM_BUILD_ROOT
155 %post -p /sbin/ldconfig
156 %postun -p /sbin/ldconfig
158 %files -f vte-2.91.lang
159 %defattr(644,root,root,755)
160 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
161 %attr(755,root,root) %{_bindir}/vte-2.91
162 %attr(755,root,root) %{_libdir}/libvte-2.91.so.*.*.*
163 %attr(755,root,root) %ghost %{_libdir}/libvte-2.91.so.0
164 %{_libdir}/girepository-1.0/Vte-2.91.typelib
165 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte.sh
168 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_libdir}/libvte-2.91.so
170 %{_includedir}/vte-2.91
171 %{_pkgconfigdir}/vte-2.91.pc
172 %{_datadir}/gir-1.0/Vte-2.91.gir
175 %defattr(644,root,root,755)
176 %{_libdir}/libvte-2.91.a
179 %defattr(644,root,root,755)
180 %{_datadir}/vala/vapi/vte-2.91.vapi
183 %defattr(644,root,root,755)
184 %{_gtkdocdir}/vte-2.91