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