]>
Commit | Line | Data |
---|---|---|
ba53f3b0 JB |
1 | Summary: VTE terminal widget library for GTK+ 2 |
2 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE for GTK+ 2 | |
d3a7e9a1 JR |
3 | Name: vte0 |
4 | Version: 0.28.2 | |
6350abe2 | 5 | Release: 19 |
0dba45ff | 6 | License: LGPL v2+ |
e8267128 | 7 | Group: X11/Libraries |
1e06c4b3 | 8 | Source0: https://download.gnome.org/sources/vte/0.28/vte-%{version}.tar.bz2 |
d3a7e9a1 | 9 | # Source0-md5: f07a4bf943194f94b7f142db8f7f36dc |
c0fac737 | 10 | Patch0: vte-alt-meta.patch |
1e8dce16 | 11 | Patch1: repaint-bug.patch |
0d173647 JR |
12 | Patch2: vte-0.28.2-control.patch |
13 | Patch3: vte-0.28.2-limit-arguments.patch | |
14 | Patch4: vte-0.28.2-paste-fix.diff | |
15 | Patch5: vte-python-bugfixes.patch | |
1e06c4b3 | 16 | URL: https://wiki.gnome.org/Apps/Terminal/VTE |
7a680fca | 17 | BuildRequires: autoconf >= 2.63 |
6edcfe02 | 18 | BuildRequires: automake >= 1:1.9 |
4b8a5265 | 19 | BuildRequires: docbook-dtd412-xml |
733be96e | 20 | BuildRequires: gettext-tools |
7a680fca | 21 | BuildRequires: glib2-devel >= 1:2.28.0 |
7a680fca | 22 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
d3a7e9a1 | 23 | BuildRequires: gtk+2-devel >= 2:2.20.0 |
0b8514c4 | 24 | BuildRequires: gtk-doc >= 1.13 |
117fafc1 | 25 | BuildRequires: gtk-doc-automake >= 1.13 |
6edcfe02 | 26 | BuildRequires: intltool >= 0.40.0 |
117fafc1 | 27 | BuildRequires: libtool >= 2:2.2 |
fab84d2b | 28 | BuildRequires: ncurses-devel |
117fafc1 | 29 | BuildRequires: pango-devel >= 1:1.22.0 |
fab84d2b | 30 | BuildRequires: pkgconfig |
d3a7e9a1 | 31 | BuildRequires: python-pygtk-devel >= 2:2.12.0 |
1e06c4b3 | 32 | BuildRequires: rpm-build >= 4.6 |
d3a7e9a1 | 33 | BuildRequires: rpm-pythonprov |
7a680fca | 34 | BuildRequires: rpmbuild(macros) >= 1.592 |
d3a7e9a1 | 35 | Requires(pre): utempter |
117fafc1 | 36 | Requires: glib2 >= 1:2.28.0 |
d3a7e9a1 JR |
37 | Requires: gtk+2 >= 2:2.20.0 |
38 | Requires: pango >= 1:1.22.0 | |
e8267128 AF |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
e8267128 | 41 | %description |
d3a7e9a1 | 42 | The vte package contains a terminal widget for GTK+ 2.x. It's used by |
e8267128 AF |
43 | gnome-terminal among other programs. |
44 | ||
3e245f43 | 45 | %description -l pl.UTF-8 |
d3a7e9a1 | 46 | Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany |
73261104 | 47 | przez gnome-terminal oraz inne programy. |
82049e23 | 48 | |
e8267128 | 49 | %package devel |
d3a7e9a1 JR |
50 | Summary: Header files for VTE for GTK+ 2 |
51 | Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2 | |
e8267128 | 52 | Group: X11/Development/Libraries |
26e85033 | 53 | Requires: %{name} = %{version}-%{release} |
7a680fca | 54 | Requires: glib2-devel >= 1:2.28.0 |
d3a7e9a1 | 55 | Requires: gtk+2-devel >= 2:2.20.0 |
132b7410 | 56 | Requires: ncurses-devel |
117fafc1 | 57 | Requires: pango-devel >= 1:1.22.0 |
e8267128 AF |
58 | Conflicts: gnome-libs-devel < 1.4.1.2 |
59 | ||
60 | %description devel | |
d3a7e9a1 | 61 | This package contains header files for GTK+ 2 based vte library. |
e8267128 | 62 | |
3e245f43 | 63 | %description devel -l pl.UTF-8 |
73261104 | 64 | Pliki nagłówkowe potrzebne do kompilowania programów używających |
d3a7e9a1 | 65 | biblioteki vte opartej na GTK+ 2. |
73261104 JB |
66 | |
67 | %package static | |
d3a7e9a1 JR |
68 | Summary: Static VTE library for GTK+ 2 |
69 | Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2 | |
73261104 JB |
70 | Group: X11/Development/Libraries |
71 | Requires: %{name}-devel = %{version}-%{release} | |
72 | Conflicts: gnome-libs-static < 1.4.1.2 | |
73 | ||
74 | %description static | |
d3a7e9a1 | 75 | Static version of VTE library for GTK+ 2. |
73261104 JB |
76 | |
77 | %description static -l pl.UTF-8 | |
d3a7e9a1 | 78 | Statyczna wersja biblioteki VTE dla GTK+ 2. |
73261104 JB |
79 | |
80 | %package apidocs | |
d3a7e9a1 JR |
81 | Summary: VTE API documentation - GTK+ 2.x version |
82 | Summary(pl.UTF-8): Dokumentacja API VTE - wersja dla GTK+ 2.x | |
73261104 JB |
83 | Group: Documentation |
84 | Requires: gtk-doc-common | |
274d39ac | 85 | BuildArch: noarch |
73261104 JB |
86 | |
87 | %description apidocs | |
d3a7e9a1 | 88 | VTE API documentation - GTK+ 2.x version. |
73261104 JB |
89 | |
90 | %description apidocs -l pl.UTF-8 | |
d3a7e9a1 JR |
91 | Dokumentacja API VTE - wersja dla GTK+ 2.x. |
92 | ||
93 | %package -n python-vte0 | |
94 | Summary: Python VTE module | |
95 | Summary(pl.UTF-8): Moduł VTE dla pythona | |
96 | Group: Libraries/Python | |
d3a7e9a1 | 97 | Requires: %{name} = %{version}-%{release} |
274d39ac | 98 | Requires: python-libs |
d3a7e9a1 | 99 | Requires: python-pygtk-gtk >= 2:2.12.0 |
bb2f028e | 100 | Provides: python-vte |
1e06c4b3 | 101 | Obsoletes: python-vte < 0.30 |
d3a7e9a1 JR |
102 | |
103 | %description -n python-vte0 | |
104 | Python VTE library. | |
105 | ||
106 | %description -n python-vte0 -l pl.UTF-8 | |
107 | Biblioteka VTE dla pythona. | |
108 | ||
109 | %package -n python-vte0-devel | |
110 | Summary: Development files for VTE Python bindings | |
111 | Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do VTE | |
112 | Group: Development/Languages/Python | |
113 | Requires: %{name}-devel = %{version}-%{release} | |
114 | Requires: python-vte0 = %{version}-%{release} | |
bb2f028e | 115 | Provides: python-vte-devel |
1e06c4b3 | 116 | Obsoletes: python-vte-devel < 0.30 |
d3a7e9a1 JR |
117 | |
118 | %description -n python-vte0-devel | |
119 | Development files for VTE Python bindings. | |
120 | ||
121 | %description -n python-vte0-devel -l pl.UTF-8 | |
122 | Pliki programistyczne wiązań Pythona do VTE. | |
73261104 | 123 | |
e8267128 | 124 | %prep |
d3a7e9a1 | 125 | %setup -q -n vte-%{version} |
c0fac737 | 126 | %patch0 -p1 |
1e8dce16 | 127 | %patch1 -p1 |
0d173647 JR |
128 | %patch2 -p1 |
129 | %patch3 -p1 | |
130 | %patch4 -p1 | |
131 | %patch5 -p1 | |
e8267128 AF |
132 | |
133 | %build | |
1703b6fa | 134 | %configure \ |
1e06c4b3 | 135 | --libexecdir=%{_libexecdir}/vte-0.0 \ |
d3a7e9a1 | 136 | --with-gtk=2.0 \ |
1703b6fa | 137 | --disable-silent-rules \ |
c97b79a6 | 138 | --enable-gtk-doc \ |
7a680fca | 139 | --enable-introspection \ |
935df165 | 140 | --with-default-emulation=xterm \ |
315fbd5f | 141 | --with-html-dir=%{_gtkdocdir} |
d3a7e9a1 | 142 | |
82049e23 | 143 | %{__make} |
e8267128 AF |
144 | |
145 | %install | |
146 | rm -rf $RPM_BUILD_ROOT | |
147 | ||
1703b6fa | 148 | %{__make} install \ |
dee441fe | 149 | DESTDIR=$RPM_BUILD_ROOT |
c94b6bd6 | 150 | |
82049e23 | 151 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \ |
d3a7e9a1 | 152 | $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a} |
17cb21a5 | 153 | |
d3a7e9a1 | 154 | %find_lang vte-0.0 |
e8267128 AF |
155 | |
156 | %clean | |
157 | rm -rf $RPM_BUILD_ROOT | |
158 | ||
159 | %post -p /sbin/ldconfig | |
160 | %postun -p /sbin/ldconfig | |
161 | ||
d3a7e9a1 | 162 | %files -f vte-0.0.lang |
82049e23 AF |
163 | %defattr(644,root,root,755) |
164 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
d3a7e9a1 JR |
165 | %attr(755,root,root) %{_bindir}/vte |
166 | %attr(755,root,root) %{_libdir}/libvte.so.*.*.* | |
167 | %attr(755,root,root) %ghost %{_libdir}/libvte.so.9 | |
d3a7e9a1 | 168 | %{_libdir}/girepository-1.0/Vte-0.0.typelib |
1e06c4b3 JB |
169 | %dir %{_libexecdir}/vte-0.0 |
170 | %attr(2755,root,utmp) %{_libexecdir}/vte-0.0/gnome-pty-helper | |
101853b1 | 171 | %{_datadir}/vte |
e8267128 AF |
172 | |
173 | %files devel | |
174 | %defattr(644,root,root,755) | |
d3a7e9a1 JR |
175 | %attr(755,root,root) %{_libdir}/libvte.so |
176 | %{_includedir}/vte-0.0 | |
177 | %{_pkgconfigdir}/vte.pc | |
178 | %{_datadir}/gir-1.0/Vte-0.0.gir | |
e8267128 | 179 | |
73261104 JB |
180 | %files static |
181 | %defattr(644,root,root,755) | |
d3a7e9a1 | 182 | %{_libdir}/libvte.a |
73261104 JB |
183 | |
184 | %files apidocs | |
185 | %defattr(644,root,root,755) | |
d3a7e9a1 JR |
186 | %{_gtkdocdir}/vte-0.0 |
187 | ||
188 | %files -n python-vte0 | |
189 | %defattr(644,root,root,755) | |
190 | %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so | |
191 | ||
192 | %files -n python-vte0-devel | |
193 | %defattr(644,root,root,755) | |
194 | %{_datadir}/pygtk/2.0/defs/vte.defs | |
195 | %{_pkgconfigdir}/pyvte.pc |