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