]>
Commit | Line | Data |
---|---|---|
e8267128 | 1 | Summary: VTE terminal widget library |
81d2c6d7 | 2 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE |
e8267128 | 3 | Name: vte |
7be9c8ef ŁK |
4 | Version: 0.28.2 |
5 | Release: 1 | |
0dba45ff | 6 | License: LGPL v2+ |
e8267128 | 7 | Group: X11/Libraries |
7a680fca | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/%{name}-%{version}.tar.bz2 |
7be9c8ef | 9 | # Source0-md5: f07a4bf943194f94b7f142db8f7f36dc |
7a680fca | 10 | BuildRequires: autoconf >= 2.63 |
6edcfe02 | 11 | BuildRequires: automake >= 1:1.9 |
4b8a5265 | 12 | BuildRequires: docbook-dtd412-xml |
fab84d2b | 13 | BuildRequires: gettext-devel |
7a680fca | 14 | BuildRequires: glib2-devel >= 1:2.28.0 |
7a680fca | 15 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
82049e23 | 16 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
7a680fca | 17 | BuildRequires: gtk+3-devel >= 3.0.0 |
0b8514c4 | 18 | BuildRequires: gtk-doc >= 1.13 |
d759b5c6 | 19 | BuildRequires: gtk-doc-automake |
6edcfe02 | 20 | BuildRequires: intltool >= 0.40.0 |
e8267128 | 21 | BuildRequires: libtool |
fab84d2b KK |
22 | BuildRequires: ncurses-devel |
23 | BuildRequires: pkgconfig | |
82049e23 | 24 | BuildRequires: python-pygtk-devel >= 2:2.12.0 |
e3046928 | 25 | BuildRequires: rpm-pythonprov |
7a680fca | 26 | BuildRequires: rpmbuild(macros) >= 1.592 |
82049e23 | 27 | Requires: %{name}-common = %{version}-%{release} |
8f963d26 MB |
28 | # sr@Latn vs. sr@latin |
29 | Conflicts: glibc-misc < 6:2.7 | |
e8267128 AF |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
e8267128 | 32 | %description |
82049e23 | 33 | The vte package contains a terminal widget for GTK+ 3.x. It's used by |
e8267128 AF |
34 | gnome-terminal among other programs. |
35 | ||
3e245f43 | 36 | %description -l pl.UTF-8 |
73261104 JB |
37 | Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany |
38 | przez gnome-terminal oraz inne programy. | |
82049e23 AF |
39 | |
40 | %package common | |
41 | Summary: Common files for vte and vte0 | |
73261104 | 42 | Summary(pl.UTF-8): Pliki wspólne dla vte i vte0 |
82049e23 | 43 | Group: X11/Libraries |
73261104 | 44 | Requires(pre): utempter |
82049e23 AF |
45 | |
46 | %description common | |
73261104 JB |
47 | Common files for GTK+ 3 based vte and GTK+ 2 based vte0. |
48 | ||
49 | %description common -l pl.UTF-8 | |
50 | Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2. | |
82049e23 | 51 | |
e8267128 | 52 | %package devel |
73261104 JB |
53 | Summary: Header files for VTE for GTK+ 3 |
54 | Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 3 | |
e8267128 | 55 | Group: X11/Development/Libraries |
26e85033 | 56 | Requires: %{name} = %{version}-%{release} |
7a680fca MB |
57 | Requires: glib2-devel >= 1:2.28.0 |
58 | Requires: gtk+3-devel >= 3.0.0 | |
132b7410 | 59 | Requires: ncurses-devel |
e8267128 AF |
60 | Conflicts: gnome-libs-devel < 1.4.1.2 |
61 | ||
62 | %description devel | |
73261104 | 63 | This package contains header files for GTK+ 3 based vte library. |
e8267128 | 64 | |
3e245f43 | 65 | %description devel -l pl.UTF-8 |
73261104 JB |
66 | Pliki nagłówkowe potrzebne do kompilowania programów używających |
67 | biblioteki vte opartej na GTK+ 3. | |
68 | ||
69 | %package static | |
70 | Summary: Static VTE library for GTK+ 3 | |
71 | Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 3 | |
72 | Group: X11/Development/Libraries | |
73 | Requires: %{name}-devel = %{version}-%{release} | |
74 | Conflicts: gnome-libs-static < 1.4.1.2 | |
75 | ||
76 | %description static | |
77 | Static version of VTE library for GTK+ 3. | |
78 | ||
79 | %description static -l pl.UTF-8 | |
80 | Statyczna wersja biblioteki VTE dla GTK+ 3. | |
81 | ||
82 | %package apidocs | |
83 | Summary: VTE API documentation (GTK+ 3 version) | |
84 | Summary(pl.UTF-8): Dokumentacja API VTE (wersja dla GTK+ 3) | |
85 | Group: Documentation | |
86 | Requires: gtk-doc-common | |
87 | ||
88 | %description apidocs | |
89 | VTE API documentation (GTK+ 3 version). | |
90 | ||
91 | %description apidocs -l pl.UTF-8 | |
92 | Dokumentacja API VTE (wersja dla GTK+ 3). | |
93 | ||
94 | %package -n vte0 | |
95 | Summary: VTE terminal widget library for GTK+ 2 | |
96 | Summary(pl.UTF-8): Biblioteka z kontrolką terminala VTE dla GTK+ 2 | |
97 | Group: X11/Libraries | |
98 | Requires: %{name}-common = %{version}-%{release} | |
99 | ||
100 | %description -n vte0 | |
101 | The vte package contains a terminal widget for GTK+ 2.x. It's used by | |
102 | gnome-terminal among other programs. | |
103 | ||
104 | %description -n vte0 -l pl.UTF-8 | |
105 | Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany | |
106 | przez gnome-terminal oraz inne programy. | |
e8267128 | 107 | |
82049e23 | 108 | %package -n vte0-devel |
73261104 JB |
109 | Summary: Header files for VTE for GTK+ 2 |
110 | Summary(pl.UTF-8): Pliki nagłówkowe VTE dla GTK+ 2 | |
82049e23 AF |
111 | Group: X11/Development/Libraries |
112 | Requires: vte0 = %{version}-%{release} | |
113 | Requires: glib2-devel >= 1:2.28.0 | |
114 | Requires: gtk+2-devel >= 2:2.14.0 | |
115 | Requires: ncurses-devel | |
116 | Conflicts: gnome-libs-devel < 1.4.1.2 | |
117 | ||
118 | %description -n vte0-devel | |
73261104 | 119 | This package contains header files for GTK+ 2 based vte library. |
82049e23 AF |
120 | |
121 | %description -n vte0-devel -l pl.UTF-8 | |
73261104 JB |
122 | Pliki nagłówkowe potrzebne do kompilowania programów używających |
123 | biblioteki vte opartej na GTK+ 2. | |
e8267128 | 124 | |
82049e23 | 125 | %package -n vte0-static |
73261104 JB |
126 | Summary: Static VTE library for GTK+ 2 |
127 | Summary(pl.UTF-8): Statyczna biblioteka VTE dla GTK+ 2 | |
82049e23 AF |
128 | Group: X11/Development/Libraries |
129 | Requires: vte0-devel = %{version}-%{release} | |
130 | Conflicts: gnome-libs-static < 1.4.1.2 | |
131 | ||
132 | %description -n vte0-static | |
73261104 | 133 | Static version of VTE library for GTK+ 2. |
82049e23 AF |
134 | |
135 | %description -n vte0-static -l pl.UTF-8 | |
73261104 JB |
136 | Statyczna wersja biblioteki VTE dla GTK+ 2. |
137 | ||
138 | %package -n vte0-apidocs | |
139 | Summary: VTE API documentation - GTK+ 2.x version | |
140 | Summary(pl.UTF-8): Dokumentacja API VTE - wersja dla GTK+ 2.x | |
141 | Group: Documentation | |
142 | Requires: gtk-doc-common | |
143 | ||
144 | %description -n vte0-apidocs | |
145 | VTE API documentation - GTK+ 2.x version. | |
146 | ||
147 | %description -n vte0-apidocs -l pl.UTF-8 | |
148 | Dokumentacja API VTE - wersja dla GTK+ 2.x. | |
82049e23 AF |
149 | |
150 | %package -n python-vte | |
151 | Summary: Python VTE module | |
152 | Summary(pl.UTF-8): Moduł VTE dla pythona | |
153 | Group: Libraries/Python | |
154 | %pyrequires_eq python-libs | |
155 | Requires: vte0 = %{version}-%{release} | |
156 | Requires: python-pygtk-gtk >= 2:2.12.0 | |
157 | ||
158 | %description -n python-vte | |
159 | Python VTE library. | |
160 | ||
161 | %description -n python-vte -l pl.UTF-8 | |
162 | Biblioteka VTE dla pythona. | |
163 | ||
164 | %package -n python-vte-devel | |
165 | Summary: Development files for VTE Python bindings | |
166 | Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do VTE | |
167 | Group: Development/Languages/Python | |
168 | Requires: vte0-devel = %{version}-%{release} | |
169 | Requires: python-vte = %{version}-%{release} | |
170 | ||
171 | %description -n python-vte-devel | |
172 | Development files for VTE Python bindings. | |
173 | ||
174 | %description -n python-vte-devel -l pl.UTF-8 | |
175 | Pliki programistyczne wiązań Pythona do VTE. | |
176 | ||
e8267128 | 177 | %prep |
302939c7 | 178 | %setup -q |
e8267128 AF |
179 | |
180 | %build | |
315fbd5f | 181 | %{__gtkdocize} |
7535a758 | 182 | %{__glib_gettextize} |
f7f6359f | 183 | %{__intltoolize} |
75acc4b3 | 184 | %{__libtoolize} |
185 | %{__aclocal} | |
186 | %{__autoheader} | |
187 | %{__automake} | |
188 | %{__autoconf} | |
094ec31e | 189 | cd gnome-pty-helper |
190 | %{__libtoolize} | |
191 | %{__aclocal} | |
192 | %{__autoheader} | |
193 | %{__automake} | |
194 | %{__autoconf} | |
195 | cd .. | |
82049e23 | 196 | COMMON_OPTIONS="--disable-silent-rules \ |
c97b79a6 | 197 | --enable-gtk-doc \ |
7a680fca | 198 | --enable-introspection \ |
935df165 | 199 | --with-default-emulation=xterm \ |
315fbd5f | 200 | --with-html-dir=%{_gtkdocdir} |
82049e23 AF |
201 | " |
202 | mkdir gtk{2,3} | |
203 | cd gtk2 | |
204 | ../%configure \ | |
205 | --with-gtk=2.0 \ | |
206 | $COMMON_OPTIONS | |
207 | %{__make} | |
208 | cd ../gtk3 | |
209 | ../%configure \ | |
210 | --with-gtk=3.0 \ | |
211 | $COMMON_OPTIONS | |
dee441fe | 212 | %{__make} |
82049e23 | 213 | cd .. |
e8267128 AF |
214 | |
215 | %install | |
216 | rm -rf $RPM_BUILD_ROOT | |
217 | ||
73261104 | 218 | %{__make} -C gtk2 install \ |
82049e23 | 219 | DESTDIR=$RPM_BUILD_ROOT |
73261104 | 220 | %{__make} -C gtk3 install \ |
dee441fe | 221 | DESTDIR=$RPM_BUILD_ROOT |
c94b6bd6 | 222 | |
82049e23 AF |
223 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \ |
224 | $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a} | |
17cb21a5 | 225 | |
7a680fca | 226 | %find_lang %{name}-2.90 |
82049e23 | 227 | %find_lang %{name}-0.0 |
e8267128 AF |
228 | |
229 | %clean | |
230 | rm -rf $RPM_BUILD_ROOT | |
231 | ||
232 | %post -p /sbin/ldconfig | |
233 | %postun -p /sbin/ldconfig | |
234 | ||
73261104 | 235 | %post -n vte0 -p /sbin/ldconfig |
7438f09c MB |
236 | %postun -n vte0 -p /sbin/ldconfig |
237 | ||
7a680fca | 238 | %files -f vte-2.90.lang |
e8267128 | 239 | %defattr(644,root,root,755) |
7a680fca MB |
240 | %attr(755,root,root) %{_bindir}/vte2_90 |
241 | %attr(755,root,root) %{_libdir}/libvte2_90.so.*.*.* | |
242 | %attr(755,root,root) %ghost %{_libdir}/libvte2_90.so.9 | |
243 | %{_libdir}/girepository-1.0/Vte-2.90.typelib | |
82049e23 | 244 | |
82049e23 AF |
245 | %files common |
246 | %defattr(644,root,root,755) | |
247 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
e8267128 | 248 | %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper |
101853b1 | 249 | %{_datadir}/vte |
e8267128 AF |
250 | |
251 | %files devel | |
252 | %defattr(644,root,root,755) | |
7a680fca MB |
253 | %attr(755,root,root) %{_libdir}/libvte2_90.so |
254 | %{_includedir}/vte-2.90 | |
255 | %{_pkgconfigdir}/vte-2.90.pc | |
256 | %{_datadir}/gir-1.0/Vte-2.90.gir | |
e8267128 | 257 | |
73261104 JB |
258 | %files static |
259 | %defattr(644,root,root,755) | |
260 | %{_libdir}/libvte2_90.a | |
261 | ||
262 | %files apidocs | |
263 | %defattr(644,root,root,755) | |
264 | %{_gtkdocdir}/vte-2.90 | |
265 | ||
266 | %files -n vte0 -f vte-0.0.lang | |
267 | %defattr(644,root,root,755) | |
268 | %attr(755,root,root) %{_bindir}/vte | |
269 | %attr(755,root,root) %{_libdir}/libvte.so.*.*.* | |
270 | %attr(755,root,root) %ghost %{_libdir}/libvte.so.9 | |
271 | %{_libdir}/girepository-1.0/Vte-0.0.typelib | |
272 | ||
82049e23 AF |
273 | %files -n vte0-devel |
274 | %defattr(644,root,root,755) | |
275 | %attr(755,root,root) %{_libdir}/libvte.so | |
276 | %{_includedir}/vte-0.0 | |
277 | %{_pkgconfigdir}/vte.pc | |
278 | %{_datadir}/gir-1.0/Vte-0.0.gir | |
279 | ||
82049e23 AF |
280 | %files -n vte0-static |
281 | %defattr(644,root,root,755) | |
282 | %{_libdir}/libvte.a | |
283 | ||
73261104 JB |
284 | %files -n vte0-apidocs |
285 | %defattr(644,root,root,755) | |
286 | %{_gtkdocdir}/vte-0.0 | |
287 | ||
82049e23 AF |
288 | %files -n python-vte |
289 | %defattr(644,root,root,755) | |
290 | %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so | |
291 | ||
292 | %files -n python-vte-devel | |
293 | %defattr(644,root,root,755) | |
73261104 | 294 | %{_datadir}/pygtk/2.0/defs/vte.defs |
82049e23 | 295 | %{_pkgconfigdir}/pyvte.pc |