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.36/vte-%{version}.tar.xz
10 # Source0-md5: 96f102ef9e178b6238edcfdb1fa9dbcc
11 # https://bugzilla.gnome.org/show_bug.cgi?id=663779
12 Patch0: vte-alt-meta.patch
14 Patch2: rename-pty-helper.patch
15 BuildRequires: autoconf >= 2.63
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: docbook-dtd412-xml
18 BuildRequires: gettext-tools
19 BuildRequires: glib2-devel >= 1:2.40.0
20 BuildRequires: gobject-introspection-devel >= 0.10.0
21 BuildRequires: gtk+3-devel >= 3.8.0
22 BuildRequires: gtk-doc >= 1.13
23 BuildRequires: gtk-doc-automake >= 1.13
24 BuildRequires: intltool >= 0.40.0
25 BuildRequires: libtool >= 2:2.2
26 BuildRequires: libxml2-progs >= 2
27 BuildRequires: ncurses-devel
28 BuildRequires: pango-devel >= 1:1.22.0
29 BuildRequires: pkgconfig
30 BuildRequires: rpmbuild(macros) >= 1.592
31 BuildRequires: tar >= 1:1.22
33 Requires: %{name}-common = %{version}-%{release}
34 Requires: glib2 >= 1:2.40.0
35 Requires: gtk+3 >= 3.8.0
36 Requires: pango >= 1:1.22.0
38 # sr@Latn vs. sr@latin
39 Conflicts: glibc-misc < 6:2.7
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 The vte package contains a terminal widget for GTK+ 3.x. It's used by
44 gnome-terminal among other programs.
46 %description -l pl.UTF-8
47 Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
48 przez gnome-terminal oraz inne programy.
51 Summary: Common files for vte and vte0
52 Summary(pl.UTF-8): Pliki wspólne dla vte i vte0
54 Requires(pre): utempter
55 Obsoletes: vte-common < 0.37
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: gtk+3-devel >= 3.8.0
70 Requires: ncurses-devel
71 Requires: pango-devel >= 1:1.22.0
72 Obsoletes: vte-devel < 0.37
73 Conflicts: gnome-libs-devel < 1.4.1.2
76 This package contains header files for GTK+ 3 based vte library.
78 %description devel -l pl.UTF-8
79 Pliki nagłówkowe potrzebne do kompilowania programów używających
80 biblioteki vte opartej na GTK+ 3.
83 Summary: Static VTE library for GTK+ 3
84 Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 3
85 Group: X11/Development/Libraries
86 Requires: %{name}-devel = %{version}-%{release}
87 Obsoletes: vte-static < 0.37
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: VTE API documentation (GTK+ 3 version)
98 Summary(pl.UTF-8): Dokumentacja API VTE (wersja dla GTK+ 3)
100 Requires: gtk-doc-common
101 Obsoletes: vte-apidocs < 0.37
105 VTE API documentation (GTK+ 3 version).
107 %description apidocs -l pl.UTF-8
108 Dokumentacja API VTE (wersja dla GTK+ 3).
111 %setup -q -n vte-%{version}
133 --disable-silent-rules \
134 --enable-gnome-pty-helper \
136 --enable-introspection \
137 --with-default-emulation=xterm \
138 --with-html-dir=%{_gtkdocdir}
142 rm -rf $RPM_BUILD_ROOT
145 DESTDIR=$RPM_BUILD_ROOT
147 %{__mv} $RPM_BUILD_ROOT/etc/profile.d/vte{,2.90}.sh
149 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
154 rm -rf $RPM_BUILD_ROOT
156 %post -p /sbin/ldconfig
157 %postun -p /sbin/ldconfig
159 %files -f vte-2.90.lang
160 %defattr(644,root,root,755)
161 %attr(755,root,root) %{_bindir}/vte2_90
162 %attr(755,root,root) %{_libdir}/libvte2_90.so.*.*.*
163 %attr(755,root,root) %ghost %{_libdir}/libvte2_90.so.9
164 %{_libdir}/girepository-1.0/Vte-2.90.typelib
165 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte2.90.sh
168 %defattr(644,root,root,755)
169 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
170 %attr(2755,root,utmp) %{_libdir}/vte2.90-pty-helper
173 %defattr(644,root,root,755)
174 %attr(755,root,root) %{_libdir}/libvte2_90.so
175 %{_includedir}/vte-2.90
176 %{_pkgconfigdir}/vte-2.90.pc
177 %{_datadir}/gir-1.0/Vte-2.90.gir
180 %defattr(644,root,root,755)
181 %{_libdir}/libvte2_90.a
184 %defattr(644,root,root,755)
185 %{_gtkdocdir}/vte-2.90