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: be5d69c93e1dd31fa36f139247fa3fdb
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
37 # sr@Latn vs. sr@latin
38 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 Conflicts: gnome-libs-devel < 1.4.1.2
73 Obsoletes: vte-devel < 0.37
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 Conflicts: gnome-libs-static < 1.4.1.2
88 Obsoletes: vte-static < 0.37
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
104 VTE API documentation (GTK+ 3 version).
106 %description apidocs -l pl.UTF-8
107 Dokumentacja API VTE (wersja dla GTK+ 3).
110 %setup -q -n vte-%{version}
132 --disable-silent-rules \
133 --enable-gnome-pty-helper \
135 --enable-introspection \
136 --with-default-emulation=xterm \
137 --with-html-dir=%{_gtkdocdir}
141 rm -rf $RPM_BUILD_ROOT
144 DESTDIR=$RPM_BUILD_ROOT
146 %{__mv} $RPM_BUILD_ROOT/etc/profile.d/vte{,2.90}.sh
148 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
153 rm -rf $RPM_BUILD_ROOT
155 %post -p /sbin/ldconfig
156 %postun -p /sbin/ldconfig
158 %files -f vte-2.90.lang
159 %defattr(644,root,root,755)
160 %attr(755,root,root) %{_bindir}/vte2_90
161 %attr(755,root,root) %{_libdir}/libvte2_90.so.*.*.*
162 %attr(755,root,root) %ghost %{_libdir}/libvte2_90.so.9
163 %{_libdir}/girepository-1.0/Vte-2.90.typelib
164 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte2.90.sh
167 %defattr(644,root,root,755)
168 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
169 %attr(2755,root,utmp) %{_libdir}/vte2.90-pty-helper
172 %defattr(644,root,root,755)
173 %attr(755,root,root) %{_libdir}/libvte2_90.so
174 %{_includedir}/vte-2.90
175 %{_pkgconfigdir}/vte-2.90.pc
176 %{_datadir}/gir-1.0/Vte-2.90.gir
179 %defattr(644,root,root,755)
180 %{_libdir}/libvte2_90.a
183 %defattr(644,root,root,755)
184 %{_gtkdocdir}/vte-2.90