]>
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 |
a1363de7 ŁK |
4 | Version: 0.28.1 |
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 |
a1363de7 | 9 | # Source0-md5: 771ff368d4e5ac8e91be4f525b676292 |
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 |
65f8a03f | 15 | BuildRequires: gnome-common |
89ff5c97 | 16 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
81a45b35 | 17 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
89ff5c97 | 18 | BuildRequires: gtk+3-devel >= 3.0.0 |
0471d6bf | 19 | BuildRequires: gtk-doc >= 1.13 |
864b9f3d | 20 | BuildRequires: gtk-doc-automake |
caeedbd5 | 21 | BuildRequires: intltool >= 0.40.0 |
cfe79c9b | 22 | BuildRequires: libtool |
049c0677 KK |
23 | BuildRequires: ncurses-devel |
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 |
cfe79c9b | 28 | Requires(pre): utempter |
81a45b35 | 29 | Requires: %{name}-common = %{version}-%{release} |
ee7305dd MB |
30 | # sr@Latn vs. sr@latin |
31 | Conflicts: glibc-misc < 6:2.7 | |
cfe79c9b AF |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
cfe79c9b | 34 | %description |
81a45b35 | 35 | The vte package contains a terminal widget for GTK+ 3.x. It's used by |
cfe79c9b AF |
36 | gnome-terminal among other programs. |
37 | ||
6c917d2d | 38 | %description -l pl.UTF-8 |
81a45b35 | 39 | Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany przez |
cfe79c9b AF |
40 | gnome-terminal oraz inne programy. |
41 | ||
81a45b35 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 | ||
cfe79c9b | 63 | %package devel |
c98f6e1e | 64 | Summary: Headers for VTE |
d2828306 | 65 | Summary(pl.UTF-8): Pliki nagłówkowe VTE |
cfe79c9b | 66 | Group: X11/Development/Libraries |
efc3b9e1 | 67 | Requires: %{name} = %{version}-%{release} |
89ff5c97 MB |
68 | Requires: glib2-devel >= 1:2.28.0 |
69 | Requires: gtk+3-devel >= 3.0.0 | |
f41aff32 | 70 | Requires: ncurses-devel |
cfe79c9b AF |
71 | Conflicts: gnome-libs-devel < 1.4.1.2 |
72 | ||
73 | %description devel | |
81a45b35 | 74 | The vte package contains a terminal widget for GTK+ 3.x. It's used by |
cfe79c9b AF |
75 | gnome-terminal among other programs. |
76 | ||
d74d41f0 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. | |
cfe79c9b | 80 | |
6c917d2d JR |
81 | %description devel -l pl.UTF-8 |
82 | Pliki nagłówkowe potrzebne do kompilowania programów używających vte. | |
cfe79c9b | 83 | |
81a45b35 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 | ||
cfe79c9b | 105 | %package static |
c98f6e1e | 106 | Summary: Static VTE library |
d2828306 | 107 | Summary(pl.UTF-8): Statyczna biblioteka VTE |
cfe79c9b | 108 | Group: X11/Development/Libraries |
efc3b9e1 | 109 | Requires: %{name}-devel = %{version}-%{release} |
cfe79c9b AF |
110 | Conflicts: gnome-libs-static < 1.4.1.2 |
111 | ||
112 | %description static | |
c98f6e1e | 113 | Static version of VTE libraries. |
cfe79c9b | 114 | |
6c917d2d | 115 | %description static -l pl.UTF-8 |
c98f6e1e | 116 | Statyczna wersja bibliotek VTE. |
cfe79c9b | 117 | |
81a45b35 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 | ||
895c278e | 158 | %package apidocs |
159 | Summary: VTE API documentation | |
d2828306 | 160 | Summary(pl.UTF-8): Dokumentacja API VTE |
895c278e | 161 | Group: Documentation |
162 | Requires: gtk-doc-common | |
163 | ||
164 | %description apidocs | |
165 | VTE API documentation. | |
166 | ||
6c917d2d | 167 | %description apidocs -l pl.UTF-8 |
895c278e | 168 | Dokumentacja API VTE. |
169 | ||
81a45b35 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 | ||
cfe79c9b | 182 | %prep |
28fdb696 | 183 | %setup -q |
cfe79c9b AF |
184 | |
185 | %build | |
65f8a03f | 186 | %{__gtkdocize} |
62df6718 | 187 | %{__glib_gettextize} |
a3456d5d | 188 | %{__intltoolize} |
dcd5996b | 189 | %{__libtoolize} |
190 | %{__aclocal} | |
191 | %{__autoheader} | |
192 | %{__automake} | |
193 | %{__autoconf} | |
6c8a1130 | 194 | cd gnome-pty-helper |
195 | %{__libtoolize} | |
196 | %{__aclocal} | |
197 | %{__autoheader} | |
198 | %{__automake} | |
199 | %{__autoconf} | |
200 | cd .. | |
81a45b35 | 201 | COMMON_OPTIONS="--disable-silent-rules \ |
d146662f | 202 | --enable-gtk-doc \ |
89ff5c97 | 203 | --enable-introspection \ |
f1c2e26c | 204 | --with-default-emulation=xterm \ |
65f8a03f | 205 | --with-html-dir=%{_gtkdocdir} |
81a45b35 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 | |
7c0544b4 | 217 | %{__make} |
81a45b35 | 218 | cd .. |
cfe79c9b AF |
219 | |
220 | %install | |
221 | rm -rf $RPM_BUILD_ROOT | |
222 | ||
81a45b35 AF |
223 | cd gtk2 |
224 | %{__make} install \ | |
225 | DESTDIR=$RPM_BUILD_ROOT | |
226 | cd ../gtk3 | |
cfe79c9b | 227 | %{__make} install \ |
7c0544b4 | 228 | DESTDIR=$RPM_BUILD_ROOT |
81a45b35 | 229 | cd .. |
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 | ||
8a6a29c0 MB |
243 | %post -n vte0 -p /sbin/ldconfig |
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 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 | |
cfe79c9b | 263 | %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper |
90bd3967 | 264 | %{_datadir}/vte |
cfe79c9b AF |
265 | |
266 | %files devel | |
267 | %defattr(644,root,root,755) | |
89ff5c97 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 | |
cfe79c9b | 272 | |
81a45b35 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 | ||
cfe79c9b AF |
280 | %files static |
281 | %defattr(644,root,root,755) | |
89ff5c97 | 282 | %{_libdir}/libvte2_90.a |
bc58e180 | 283 | |
81a45b35 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 | ||
895c278e | 297 | %files apidocs |
298 | %defattr(644,root,root,755) | |
89ff5c97 | 299 | %{_gtkdocdir}/vte-2.90 |
81a45b35 AF |
300 | |
301 | %files -n vte0-apidocs | |
302 | %defattr(644,root,root,755) | |
303 | %{_gtkdocdir}/vte-0.0 |