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.38/%{name}-%{version}.tar.xz
10 # Source0-md5: c2bc81265f6e8907e3bd0d0c0c29a898
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: gobject-introspection-devel >= 0.10.0
19 BuildRequires: gtk+3-devel >= 3.8.0
20 BuildRequires: gtk-doc >= 1.13
21 BuildRequires: gtk-doc-automake >= 1.13
22 BuildRequires: intltool >= 0.40.0
23 BuildRequires: libtool >= 2:2.2
24 BuildRequires: libxml2-progs >= 2
25 BuildRequires: ncurses-devel
26 BuildRequires: pango-devel >= 1:1.22.0
27 BuildRequires: pkgconfig
28 BuildRequires: rpmbuild(macros) >= 1.592
29 BuildRequires: tar >= 1:1.22
30 #BuildRequires: vala >= 2:0.18
32 Requires: %{name}-common = %{version}-%{release}
33 Requires: glib2 >= 1:2.40.0
34 Requires: gtk+3 >= 3.8.0
35 Requires: pango >= 1:1.22.0
36 # sr@Latn vs. sr@latin
37 Conflicts: glibc-misc < 6:2.7
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 The vte package contains a terminal widget for GTK+ 3.x. It's used by
42 gnome-terminal among other programs.
44 %description -l pl.UTF-8
45 Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
46 przez gnome-terminal oraz inne programy.
49 Summary: Common files for vte and vte0
50 Summary(pl.UTF-8): Pliki wspólne dla vte i vte0
52 Requires(pre): utempter
55 Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
57 %description common -l pl.UTF-8
58 Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
61 Summary: Header files for VTE for GTK+ 3
62 Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3
63 Group: X11/Development/Libraries
64 Requires: %{name} = %{version}-%{release}
65 Requires: glib2-devel >= 1:2.40.0
66 Requires: gtk+3-devel >= 3.8.0
67 Requires: ncurses-devel
68 Requires: pango-devel >= 1:1.22.0
69 Conflicts: gnome-libs-devel < 1.4.1.2
72 This package contains header files for GTK+ 3 based vte library.
74 %description devel -l pl.UTF-8
75 Pliki nagłówkowe potrzebne do kompilowania programów używających
76 biblioteki vte opartej na GTK+ 3.
79 Summary: Static VTE library for GTK+ 3
80 Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 3
81 Group: X11/Development/Libraries
82 Requires: %{name}-devel = %{version}-%{release}
83 Conflicts: gnome-libs-static < 1.4.1.2
86 Static version of VTE library for GTK+ 3.
88 %description static -l pl.UTF-8
89 Statyczna wersja biblioteki VTE dla GTK+ 3.
92 Summary: Vala API for VTE library
93 Summary(pl.UTF-8): API języka Vala dla biblioteki VTE
94 Group: Development/Libraries
95 Requires: %{name}-devel = %{version}-%{release}
96 Requires: vala >= 2:0.18
98 %description -n vala-vte
99 Vala API for VTE library.
101 %description -n vala-vte -l pl.UTF-8
102 API języka Vala dla biblioteki VTE.
105 Summary: VTE API documentation (GTK+ 3 version)
106 Summary(pl.UTF-8): Dokumentacja API VTE (wersja dla GTK+ 3)
108 Requires: gtk-doc-common
111 VTE API documentation (GTK+ 3 version).
113 %description apidocs -l pl.UTF-8
114 Dokumentacja API VTE (wersja dla GTK+ 3).
137 --disable-silent-rules \
138 --enable-gnome-pty-helper \
140 --enable-introspection \
141 --with-default-emulation=xterm \
142 --with-html-dir=%{_gtkdocdir}
146 rm -rf $RPM_BUILD_ROOT
149 DESTDIR=$RPM_BUILD_ROOT
151 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
153 %find_lang %{name}-2.91
156 rm -rf $RPM_BUILD_ROOT
158 %post -p /sbin/ldconfig
159 %postun -p /sbin/ldconfig
161 %files -f vte-2.91.lang
162 %defattr(644,root,root,755)
163 %attr(755,root,root) %{_bindir}/vte-2.91
164 %attr(755,root,root) %{_libdir}/libvte-2.91.so.*.*.*
165 %attr(755,root,root) %ghost %{_libdir}/libvte-2.91.so.0
166 %{_libdir}/girepository-1.0/Vte-2.91.typelib
167 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte.sh
170 %defattr(644,root,root,755)
171 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
172 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_libdir}/libvte-2.91.so
177 %{_includedir}/vte-2.91
178 %{_pkgconfigdir}/vte-2.91.pc
179 %{_datadir}/gir-1.0/Vte-2.91.gir
182 %defattr(644,root,root,755)
183 %{_libdir}/libvte-2.91.a
186 %defattr(644,root,root,755)
187 %{_datadir}/vala/vapi/vte-2.91.vapi
190 %defattr(644,root,root,755)
191 %{_gtkdocdir}/vte-2.91