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.40/%{name}-%{version}.tar.xz
10 # Source0-md5: 6a7a6af8eb0ebadaf3338e820a7229a3
11 # https://bugzilla.gnome.org/show_bug.cgi?id=663779
12 Patch0: %{name}-alt-meta.patch
13 BuildRequires: autoconf >= 2.63
14 BuildRequires: automake >= 1:1.9
15 BuildRequires: docbook-dtd412-xml
16 BuildRequires: gettext-devel
17 BuildRequires: glib2-devel >= 1:2.40.0
18 BuildRequires: gnutls-devel >= 3.2.0
19 BuildRequires: gobject-introspection-devel >= 0.10.0
20 BuildRequires: gtk+3-devel >= 3.8.0
21 BuildRequires: gtk-doc >= 1.13
22 BuildRequires: gtk-doc-automake >= 1.13
23 BuildRequires: intltool >= 0.40.0
24 BuildRequires: libtool >= 2:2.2
25 BuildRequires: libxml2-progs >= 2
26 BuildRequires: ncurses-devel
27 BuildRequires: pango-devel >= 1:1.22.0
28 BuildRequires: pkgconfig
29 BuildRequires: rpmbuild(macros) >= 1.592
30 BuildRequires: tar >= 1:1.22
31 #BuildRequires: vala >= 2:0.18
33 BuildRequires: zlib-devel
34 Requires: %{name}-common = %{version}-%{release}
35 Requires: glib2 >= 1:2.40.0
36 Requires: gnutls >= 3.2.0
37 Requires: gtk+3 >= 3.8.0
38 Requires: pango >= 1:1.22.0
39 # sr@Latn vs. sr@latin
40 Conflicts: glibc-misc < 6:2.7
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 The vte package contains a terminal widget for GTK+ 3.x. It's used by
45 gnome-terminal among other programs.
47 %description -l pl.UTF-8
48 Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
49 przez gnome-terminal oraz inne programy.
52 Summary: Common files for vte and vte0
53 Summary(pl.UTF-8): Pliki wspólne dla vte i vte0
55 Requires(pre): utempter
58 Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
60 %description common -l pl.UTF-8
61 Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
64 Summary: Header files for VTE for GTK+ 3
65 Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3
66 Group: X11/Development/Libraries
67 Requires: %{name} = %{version}-%{release}
68 Requires: glib2-devel >= 1:2.40.0
69 Requires: gnutls-devel >= 3.2.0
70 Requires: gtk+3-devel >= 3.8.0
71 Requires: ncurses-devel
72 Requires: pango-devel >= 1:1.22.0
74 Conflicts: gnome-libs-devel < 1.4.1.2
77 This package contains header files for GTK+ 3 based vte library.
79 %description devel -l pl.UTF-8
80 Pliki nagłówkowe potrzebne do kompilowania programów używających
81 biblioteki vte opartej na GTK+ 3.
84 Summary: Static VTE library for GTK+ 3
85 Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 3
86 Group: X11/Development/Libraries
87 Requires: %{name}-devel = %{version}-%{release}
88 Conflicts: gnome-libs-static < 1.4.1.2
91 Static version of VTE library for GTK+ 3.
93 %description static -l pl.UTF-8
94 Statyczna wersja biblioteki VTE dla GTK+ 3.
97 Summary: Vala API for VTE library
98 Summary(pl.UTF-8): API języka Vala dla biblioteki VTE
99 Group: Development/Libraries
100 Requires: %{name}-devel = %{version}-%{release}
101 Requires: vala >= 2:0.18
103 %description -n vala-vte
104 Vala API for VTE library.
106 %description -n vala-vte -l pl.UTF-8
107 API języka Vala dla biblioteki VTE.
110 Summary: VTE API documentation (GTK+ 3 version)
111 Summary(pl.UTF-8): Dokumentacja API VTE (wersja dla GTK+ 3)
113 Requires: gtk-doc-common
116 VTE API documentation (GTK+ 3 version).
118 %description apidocs -l pl.UTF-8
119 Dokumentacja API VTE (wersja dla GTK+ 3).
142 --disable-silent-rules \
143 --enable-gnome-pty-helper \
145 --enable-introspection \
146 --with-default-emulation=xterm \
147 --with-html-dir=%{_gtkdocdir}
151 rm -rf $RPM_BUILD_ROOT
154 DESTDIR=$RPM_BUILD_ROOT
156 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
158 %find_lang %{name}-2.91
161 rm -rf $RPM_BUILD_ROOT
163 %post -p /sbin/ldconfig
164 %postun -p /sbin/ldconfig
166 %files -f vte-2.91.lang
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_bindir}/vte-2.91
169 %attr(755,root,root) %{_libdir}/libvte-2.91.so.*.*.*
170 %attr(755,root,root) %ghost %{_libdir}/libvte-2.91.so.0
171 %{_libdir}/girepository-1.0/Vte-2.91.typelib
172 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte.sh
175 %defattr(644,root,root,755)
176 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
177 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
180 %defattr(644,root,root,755)
181 %attr(755,root,root) %{_libdir}/libvte-2.91.so
182 %{_includedir}/vte-2.91
183 %{_pkgconfigdir}/vte-2.91.pc
184 %{_datadir}/gir-1.0/Vte-2.91.gir
187 %defattr(644,root,root,755)
188 %{_libdir}/libvte-2.91.a
191 %defattr(644,root,root,755)
192 %{_datadir}/vala/vapi/vte-2.91.vapi
195 %defattr(644,root,root,755)
196 %{_gtkdocdir}/vte-2.91