]>
Commit | Line | Data |
---|---|---|
4f16158f JB |
1 | # |
2 | # Condional build: | |
3 | %bcond_without libwww # W3C libwww binding | |
4 | # | |
efc0f1f2 | 5 | Summary: Libraries for low-level event loop management |
9ee236e7 | 6 | Summary(pl.UTF-8): Biblioteki do zarządzania niskopoziomowymi pętlami |
efc0f1f2 | 7 | Name: liboop |
4f16158f | 8 | Version: 1.0 |
d75f68a4 | 9 | Release: 6 |
4f16158f | 10 | License: LGPL v2.1+ |
efc0f1f2 | 11 | Group: Libraries |
4f16158f JB |
12 | Source0: http://download.ofb.net/liboop/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 88fc8decf99fd75d2af40e0a005fa0d3 | |
3f9af8ce | 14 | Patch0: %{name}-libwww-fix.patch |
4f16158f JB |
15 | Patch1: %{name}-link.patch |
16 | Patch2: %{name}-tcl.patch | |
17 | URL: http://liboop.ofb.net/ | |
18 | BuildRequires: adns-devel | |
19 | BuildRequires: autoconf >= 2.50 | |
20 | BuildRequires: automake >= 1:1.7 | |
efc0f1f2 | 21 | BuildRequires: glib-devel |
4f16158f JB |
22 | BuildRequires: glib2-devel |
23 | BuildRequires: libtool >= 1.4 | |
3f9af8ce | 24 | BuildRequires: ncurses-devel |
4f16158f | 25 | BuildRequires: pkgconfig |
efc0f1f2 | 26 | BuildRequires: readline-devel |
dfbb5f84 | 27 | BuildRequires: tcl-devel >= 8.3.4-10 |
4f16158f JB |
28 | %{?with_libwww:BuildRequires: w3c-libwww-devel} |
29 | Obsoletes: liboop-bindings | |
efc0f1f2 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | liboop is a low-level event loop management library for POSIX-based | |
34 | operating systems. It supports the development of modular, multiplexed | |
35 | applications which may respond to events from several sources. It | |
36 | replaces the "select() loop" and allows the registration of event | |
37 | handlers for file and network I/O, timers and signals. Since processes | |
38 | use these mechanisms for almost all external communication, liboop can | |
39 | be used as the basis for almost any application. | |
40 | ||
c3aa50fc JR |
41 | %description -l pl.UTF-8 |
42 | liboop jest biblioteką do zarządzania niskopoziomowymi pętlami w | |
43 | systemach opartych na POSIX. Zawiera ona wsparcie umożliwiające rozwój | |
44 | modularnych, zwielokrotnionych aplikacji, które mogą reagować na | |
45 | zdarzenia pochodzące z kilku źródeł. Zastępuje ona "pętlę select()" i | |
46 | umożliwia rejestrację funkcji obsługi zdarzeń dla plikowego i | |
47 | sieciowego we/wy, zegarów i sygnałów. Ze względu na to, że procesy | |
48 | korzystają z tych mechanizmów przy praktycznie każdej komunikacji z | |
49 | otoczeniem, można używać liboop jako podstawy dla prawie wszystkich | |
25906c44 | 50 | aplikacji. |
efc0f1f2 | 51 | |
4f16158f JB |
52 | %package devel |
53 | Summary: Header files for liboop | |
54 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki liboop | |
25edb2e4 | 55 | Group: Development/Libraries |
6d6a81e6 | 56 | Requires: %{name} = %{version}-%{release} |
4f16158f | 57 | Obsoletes: liboop-bindings-devel |
25edb2e4 | 58 | |
4f16158f JB |
59 | %description devel |
60 | liboop is a low-level event loop management library. | |
25edb2e4 | 61 | |
4f16158f JB |
62 | This package contains the header files needed to write or compile |
63 | programs that use liboop library. | |
3f9af8ce | 64 | |
4f16158f JB |
65 | %description devel -l pl.UTF-8 |
66 | liboop jest biblioteką do zarządzania niskopoziomowymi pętlami. | |
67 | ||
68 | Ten pakiet zawiera pliki nagłówkowe potrzebne do kompilowania | |
69 | programów używających biblioteki liboop. | |
70 | ||
71 | %package static | |
72 | Summary: Static liboop library | |
73 | Summary(pl.UTF-8): Statyczna biblioteka liboop | |
3f9af8ce | 74 | Group: Development/Libraries |
4f16158f JB |
75 | Requires: %{name}-devel = %{version}-%{release} |
76 | ||
77 | %description static | |
78 | Static liboop library. | |
79 | ||
80 | %description static -l pl.UTF-8 | |
81 | Statyczna biblioteka liboop. | |
82 | ||
83 | %package binding-adns | |
84 | Summary: liboop binding for adns library | |
85 | Summary(pl.UTF-8): Biblioteka wiążąca liboop z biblioteką adns | |
86 | Group: Libraries | |
6d6a81e6 | 87 | Requires: %{name} = %{version}-%{release} |
3f9af8ce | 88 | |
4f16158f JB |
89 | %description binding-adns |
90 | liboop binding for adns library. | |
3f9af8ce | 91 | |
4f16158f JB |
92 | %description binding-adns -l pl.UTF-8 |
93 | Biblioteka wiążąca liboop z biblioteką adns. | |
3f9af8ce | 94 | |
4f16158f JB |
95 | %package binding-adns-devel |
96 | Summary: Header file for liboop adns binding library | |
97 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki wiążącej liboop z biblioteką adns | |
98 | Group: Development/Libraries | |
99 | Requires: %{name}-binding-adns = %{version}-%{release} | |
100 | Requires: %{name}-devel = %{version}-%{release} | |
101 | Requires: adns-devel | |
102 | ||
103 | %description binding-adns-devel | |
104 | liboop is a low-level event loop management library. | |
105 | ||
106 | This package contains the header file needed to write or compile | |
107 | programs that use liboop adns binding library. | |
108 | ||
109 | %description binding-adns-devel -l pl.UTF-8 | |
110 | liboop jest biblioteką do zarządzania niskopoziomowymi pętlami. | |
111 | ||
112 | Ten pakiet zawiera plik nagłówkowy potrzebny do kompilowania | |
113 | programów używających biblioteki wiążącej liboop z adns. | |
114 | ||
115 | %package binding-adns-static | |
116 | Summary: Static liboop adns binding library | |
117 | Summary(pl.UTF-8): Statyczna biblioteka wiążąca liboop z adns | |
3f9af8ce | 118 | Group: Development/Libraries |
4f16158f JB |
119 | Requires: %{name}-binding-adns-devel = %{version}-%{release} |
120 | ||
121 | %description binding-adns-static | |
122 | Static liboop adns binding library. | |
123 | ||
124 | %description binding-adns-static -l pl.UTF-8 | |
125 | Statyczna biblioteka wiążąca liboop z adns. | |
126 | ||
30eefda8 JB |
127 | %package binding-glib-common-devel |
128 | Summary: Header file for liboop GLib bindings | |
129 | Summary(pl.UTF-8): Plik nagłówkowy wiązań liboop z bibliotekami GLib | |
130 | Group: Development/Librares | |
131 | Requires: %{name}-devel = %{version}-%{release} | |
132 | ||
133 | %description binding-glib-common-devel | |
134 | Header file for liboop GLib bindings. | |
135 | ||
136 | %description binding-glib-common-devel -l pl.UTF-8 | |
137 | Plik nagłówkowy wiązań liboop z bibliotekami GLib. | |
138 | ||
4f16158f JB |
139 | %package binding-glib |
140 | Summary: liboop binding for GLib 1.x library | |
141 | Summary(pl.UTF-8): Biblioteka wiążąca liboop z biblioteką GLib 1.x | |
142 | Group: Libraries | |
6d6a81e6 | 143 | Requires: %{name} = %{version}-%{release} |
3f9af8ce | 144 | |
4f16158f JB |
145 | %description binding-glib |
146 | liboop binding for GLib 1.x library. | |
3f9af8ce | 147 | |
4f16158f JB |
148 | %description binding-glib -l pl.UTF-8 |
149 | Biblioteka wiążąca liboop z biblioteką GLib 1.x. | |
25edb2e4 | 150 | |
4f16158f | 151 | %package binding-glib-devel |
30eefda8 JB |
152 | Summary: Development files for liboop GLib 1.x binding library |
153 | Summary(pl.UTF-8): Pliki programistyczne biblioteki wiążącej liboop z biblioteką GLib 1.x | |
4f16158f JB |
154 | Group: Development/Libraries |
155 | Requires: %{name}-binding-glib = %{version}-%{release} | |
30eefda8 | 156 | Requires: %{name}-binding-glib-common-devel = %{version}-%{release} |
4f16158f JB |
157 | Requires: glib-devel |
158 | ||
159 | %description binding-glib-devel | |
160 | liboop is a low-level event loop management library. | |
161 | ||
30eefda8 | 162 | This package contains development files needed to write or compile |
4f16158f JB |
163 | programs that use liboop GLib 1.x binding library. |
164 | ||
165 | %description binding-glib-devel -l pl.UTF-8 | |
166 | liboop jest biblioteką do zarządzania niskopoziomowymi pętlami. | |
167 | ||
30eefda8 | 168 | Ten pakiet zawiera pliki programistyczne potrzebne do kompilowania |
4f16158f JB |
169 | programów używających biblioteki wiążącej liboop z GLib 1.x. |
170 | ||
171 | %package binding-glib-static | |
172 | Summary: Static liboop GLib 1.x binding library | |
173 | Summary(pl.UTF-8): Statyczna biblioteka wiążąca liboop z GLib 1.x | |
efc0f1f2 | 174 | Group: Development/Libraries |
4f16158f JB |
175 | Requires: %{name}-binding-glib-devel = %{version}-%{release} |
176 | ||
177 | %description binding-glib-static | |
178 | Static liboop GLib 1.x binding library. | |
179 | ||
180 | %description binding-glib-static -l pl.UTF-8 | |
181 | Statyczna biblioteka wiążąca liboop z GLib 1.x. | |
182 | ||
183 | %package binding-glib2 | |
184 | Summary: liboop binding for GLib 2.x library | |
185 | Summary(pl.UTF-8): Biblioteka wiążąca liboop z biblioteką GLib 2.x | |
186 | Group: Libraries | |
6d6a81e6 | 187 | Requires: %{name} = %{version}-%{release} |
efc0f1f2 | 188 | |
4f16158f JB |
189 | %description binding-glib2 |
190 | liboop binding for GLib 2.x library. | |
191 | ||
192 | %description binding-glib2 -l pl.UTF-8 | |
193 | Biblioteka wiążąca liboop z biblioteką GLib 2.x. | |
194 | ||
195 | %package binding-glib2-devel | |
30eefda8 JB |
196 | Summary: Development files for liboop GLib 2.x binding library |
197 | Summary(pl.UTF-8): Pliki programistyczne biblioteki wiążącej liboop z biblioteką GLib 2.x | |
4f16158f JB |
198 | Group: Development/Libraries |
199 | Requires: %{name}-binding-glib2 = %{version}-%{release} | |
30eefda8 | 200 | Requires: %{name}-binding-glib-common-devel = %{version}-%{release} |
4f16158f JB |
201 | Requires: glib2-devel |
202 | ||
203 | %description binding-glib2-devel | |
efc0f1f2 | 204 | liboop is a low-level event loop management library. |
205 | ||
30eefda8 | 206 | This package contains development files needed to write or compile |
4f16158f | 207 | programs that use liboop GLib 2.x binding library. |
efc0f1f2 | 208 | |
4f16158f | 209 | %description binding-glib2-devel -l pl.UTF-8 |
c3aa50fc | 210 | liboop jest biblioteką do zarządzania niskopoziomowymi pętlami. |
efc0f1f2 | 211 | |
30eefda8 | 212 | Ten pakiet zawiera pliki programistyczne potrzebne do kompilowania |
4f16158f | 213 | programów używających biblioteki wiążącej liboop z GLib 2.x. |
efc0f1f2 | 214 | |
4f16158f JB |
215 | %package binding-glib2-static |
216 | Summary: Static liboop GLib 2.x binding library | |
217 | Summary(pl.UTF-8): Statyczna biblioteka wiążąca liboop z GLib 2.x | |
25edb2e4 | 218 | Group: Development/Libraries |
4f16158f JB |
219 | Requires: %{name}-binding-glib2-devel = %{version}-%{release} |
220 | ||
221 | %description binding-glib2-static | |
222 | Static liboop GLib 2.x binding library. | |
223 | ||
224 | %description binding-glib2-static -l pl.UTF-8 | |
225 | Statyczna biblioteka wiążąca liboop z GLib 2.x. | |
226 | ||
227 | %package binding-readline | |
228 | Summary: liboop binding for readline library | |
229 | Summary(pl.UTF-8): Biblioteka wiążąca liboop z biblioteką readline | |
230 | Group: Libraries | |
231 | Requires: %{name} = %{version}-%{release} | |
232 | ||
233 | %description binding-readline | |
234 | liboop binding for readline library. | |
235 | ||
236 | %description binding-readline -l pl.UTF-8 | |
237 | Biblioteka wiążąca liboop z biblioteką readline. | |
238 | ||
239 | %package binding-readline-devel | |
240 | Summary: Header file for liboop readline binding library | |
241 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki wiążącej liboop z biblioteką readline | |
242 | Group: Development/Libraries | |
243 | Requires: %{name}-binding-readline = %{version}-%{release} | |
6d6a81e6 | 244 | Requires: %{name}-devel = %{version}-%{release} |
4f16158f | 245 | Requires: readline-devel |
25edb2e4 | 246 | |
4f16158f | 247 | %description binding-readline-devel |
25edb2e4 | 248 | liboop is a low-level event loop management library. |
249 | ||
4f16158f JB |
250 | This package contains the header file needed to write or compile |
251 | programs that use liboop readline binding library. | |
25edb2e4 | 252 | |
4f16158f | 253 | %description binding-readline-devel -l pl.UTF-8 |
c3aa50fc | 254 | liboop jest biblioteką do zarządzania niskopoziomowymi pętlami. |
25edb2e4 | 255 | |
4f16158f JB |
256 | Ten pakiet zawiera plik nagłówkowy potrzebny do kompilowania |
257 | programów używających biblioteki wiążącej liboop z readline. | |
258 | ||
259 | %package binding-readline-static | |
260 | Summary: Static liboop readline binding library | |
261 | Summary(pl.UTF-8): Statyczna biblioteka wiążąca liboop z readline | |
262 | Group: Development/Libraries | |
263 | Requires: %{name}-binding-readline-devel = %{version}-%{release} | |
264 | ||
265 | %description binding-readline-static | |
266 | Static liboop readline binding library. | |
267 | ||
268 | %description binding-readline-static -l pl.UTF-8 | |
269 | Statyczna biblioteka wiążąca liboop z readline. | |
270 | ||
271 | %package binding-tcl | |
272 | Summary: liboop binding for tcl library | |
273 | Summary(pl.UTF-8): Biblioteka wiążąca liboop z biblioteką tcl | |
274 | Group: Libraries | |
275 | Requires: %{name} = %{version}-%{release} | |
276 | ||
277 | %description binding-tcl | |
278 | liboop binding for tcl library. | |
279 | ||
280 | %description binding-tcl -l pl.UTF-8 | |
281 | Biblioteka wiążąca liboop z biblioteką tcl. | |
25edb2e4 | 282 | |
3f9af8ce JB |
283 | %package binding-tcl-devel |
284 | Summary: Header file for liboop tcl binding library | |
9ee236e7 | 285 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki wiążącej liboop z tcl |
3f9af8ce | 286 | Group: Development/Libraries |
6d6a81e6 ER |
287 | Requires: %{name}-binding-tcl = %{version}-%{release} |
288 | Requires: %{name}-devel = %{version}-%{release} | |
3f9af8ce JB |
289 | Requires: tcl-devel |
290 | ||
291 | %description binding-tcl-devel | |
292 | This package contains the header file needed to write or compile | |
293 | programs that use liboop tcl binding library. | |
294 | ||
c3aa50fc JR |
295 | %description binding-tcl-devel -l pl.UTF-8 |
296 | Ten pakiet zawiera plik nagłówkowy potrzebny do kompilowania programów | |
297 | używających biblioteki wiążącej liboop z tcl. | |
3f9af8ce | 298 | |
4f16158f JB |
299 | %package binding-tcl-static |
300 | Summary: Static liboop readline tcl library | |
301 | Summary(pl.UTF-8): Statyczna biblioteka wiążąca liboop z tcl | |
302 | Group: Development/Libraries | |
303 | Requires: %{name}-binding-tcl-devel = %{version}-%{release} | |
304 | ||
305 | %description binding-tcl-static | |
306 | Static liboop tcl binding library. | |
307 | ||
308 | %description binding-tcl-static -l pl.UTF-8 | |
309 | Statyczna biblioteka wiążąca liboop z tcl. | |
310 | ||
311 | %package binding-www | |
312 | Summary: liboop binding for w3c-libwww library | |
313 | Summary(pl.UTF-8): Biblioteka wiążąca liboop z biblioteką w3c-libwww | |
314 | Group: Development/Libraries | |
315 | Requires: %{name} = %{version}-%{release} | |
316 | ||
317 | %description binding-www | |
318 | liboop binding for w3c-libwww library. | |
319 | ||
320 | %description binding-www -l pl.UTF-8 | |
321 | Biblioteka wiążąca liboop z biblioteką w3c-libwww. | |
322 | ||
3f9af8ce JB |
323 | %package binding-www-devel |
324 | Summary: Header file for liboop w3c-libwww binding libraries | |
9ee236e7 | 325 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki wiążącej liboop z w3c-libwww |
3f9af8ce | 326 | Group: Development/Libraries |
6d6a81e6 | 327 | Requires: %{name}-devel = %{version}-%{release} |
3f9af8ce JB |
328 | Requires: w3c-libwww-devel |
329 | ||
330 | %description binding-www-devel | |
331 | This package contains the header file needed to write or compile | |
332 | programs that use liboop w3c-libwww binding library. | |
333 | ||
c3aa50fc JR |
334 | %description binding-www-devel -l pl.UTF-8 |
335 | Ten pakiet zawiera plik nagłówkowy potrzebny do kompilowania programów | |
336 | używających biblioteki wiążącej liboop z w3c-libwww. | |
3f9af8ce | 337 | |
4f16158f JB |
338 | %package binding-www-static |
339 | Summary: Static liboop readline w3c-libwww library | |
340 | Summary(pl.UTF-8): Statyczna biblioteka wiążąca liboop z w3c-libwww | |
efc0f1f2 | 341 | Group: Development/Libraries |
4f16158f | 342 | Requires: %{name}-binding-tcl-devel = %{version}-%{release} |
efc0f1f2 | 343 | |
4f16158f JB |
344 | %description binding-www-static |
345 | Static liboop w3c-libwww binding library. | |
efc0f1f2 | 346 | |
4f16158f JB |
347 | %description binding-www-static -l pl.UTF-8 |
348 | Statyczna biblioteka wiążąca liboop z w3c-libwww. | |
efc0f1f2 | 349 | |
350 | %prep | |
351 | %setup -q | |
0533c89d JB |
352 | %patch0 -p1 |
353 | %patch1 -p1 | |
2b105618 | 354 | %patch2 -p1 |
efc0f1f2 | 355 | |
356 | %build | |
26079d48 | 357 | %{__libtoolize} |
cd34de36 | 358 | %{__aclocal} |
c18faed4 | 359 | %{__autoconf} |
360 | %{__automake} | |
2b105618 | 361 | %configure \ |
4f16158f JB |
362 | PROG_LDCONFIG=/bin/true \ |
363 | %{?with_libwww:--with-libwww} | |
2c97e6e7 JB |
364 | |
365 | %{__make} -j1 | |
efc0f1f2 | 366 | |
367 | %install | |
368 | rm -rf $RPM_BUILD_ROOT | |
dfbb5f84 PG |
369 | %{__make} install \ |
370 | DESTDIR=$RPM_BUILD_ROOT | |
efc0f1f2 | 371 | |
372 | %clean | |
373 | rm -rf $RPM_BUILD_ROOT | |
374 | ||
375 | %post -p /sbin/ldconfig | |
376 | %postun -p /sbin/ldconfig | |
377 | ||
4f16158f JB |
378 | %post binding-adns -p /sbin/ldconfig |
379 | %postun binding-adns -p /sbin/ldconfig | |
380 | ||
381 | %post binding-glib -p /sbin/ldconfig | |
382 | %postun binding-glib -p /sbin/ldconfig | |
383 | ||
384 | %post binding-glib2 -p /sbin/ldconfig | |
385 | %postun binding-glib2 -p /sbin/ldconfig | |
386 | ||
387 | %post binding-readline -p /sbin/ldconfig | |
388 | %postun binding-readline -p /sbin/ldconfig | |
3f9af8ce JB |
389 | |
390 | %post binding-tcl -p /sbin/ldconfig | |
391 | %postun binding-tcl -p /sbin/ldconfig | |
efc0f1f2 | 392 | |
3f9af8ce JB |
393 | %post binding-www -p /sbin/ldconfig |
394 | %postun binding-www -p /sbin/ldconfig | |
efc0f1f2 | 395 | |
396 | %files | |
397 | %defattr(644,root,root,755) | |
4f16158f JB |
398 | %attr(755,root,root) %{_libdir}/liboop.so.*.*.* |
399 | %attr(755,root,root) %ghost %{_libdir}/liboop.so.4 | |
efc0f1f2 | 400 | |
401 | %files devel | |
402 | %defattr(644,root,root,755) | |
25edb2e4 | 403 | %attr(755,root,root) %{_libdir}/liboop.so |
9d99bcae | 404 | %{_libdir}/liboop.la |
25edb2e4 | 405 | %{_includedir}/oop.h |
3f9af8ce | 406 | %{_includedir}/oop-read.h |
4f16158f | 407 | %{_pkgconfigdir}/liboop.pc |
25edb2e4 | 408 | |
4f16158f | 409 | %files static |
25edb2e4 | 410 | %defattr(644,root,root,755) |
4f16158f | 411 | %{_libdir}/liboop.a |
3f9af8ce | 412 | |
4f16158f | 413 | %files binding-adns |
3f9af8ce | 414 | %defattr(644,root,root,755) |
4f16158f JB |
415 | %attr(755,root,root) %{_libdir}/liboop-adns.so.*.*.* |
416 | %attr(755,root,root) %ghost %{_libdir}/liboop-adns.so.3 | |
3f9af8ce | 417 | |
4f16158f JB |
418 | %files binding-adns-devel |
419 | %attr(755,root,root) %{_libdir}/liboop-adns.so | |
420 | %{_libdir}/liboop-adns.la | |
421 | %{_includedir}/oop-adns.h | |
422 | ||
423 | %files binding-adns-static | |
3f9af8ce | 424 | %defattr(644,root,root,755) |
4f16158f | 425 | %{_libdir}/liboop-adns.a |
25edb2e4 | 426 | |
30eefda8 JB |
427 | %files binding-glib-common-devel |
428 | %defattr(644,root,root,755) | |
429 | %{_includedir}/oop-glib.h | |
430 | ||
4f16158f JB |
431 | %files binding-glib |
432 | %defattr(644,root,root,755) | |
433 | %attr(755,root,root) %{_libdir}/liboop-glib.so.*.*.* | |
434 | %attr(755,root,root) %ghost %{_libdir}/liboop-glib.so.0 | |
435 | ||
436 | %files binding-glib-devel | |
25edb2e4 | 437 | %defattr(644,root,root,755) |
3f9af8ce | 438 | %attr(755,root,root) %{_libdir}/liboop-glib.so |
9d99bcae | 439 | %{_libdir}/liboop-glib.la |
4f16158f JB |
440 | |
441 | %files binding-glib-static | |
442 | %defattr(644,root,root,755) | |
443 | %{_libdir}/liboop-glib.a | |
444 | ||
445 | %files binding-glib2 | |
446 | %defattr(644,root,root,755) | |
447 | %attr(755,root,root) %{_libdir}/liboop-glib2.so.*.*.* | |
448 | %attr(755,root,root) %ghost %{_libdir}/liboop-glib2.so.0 | |
449 | ||
450 | %files binding-glib2-devel | |
451 | %defattr(644,root,root,755) | |
452 | %attr(755,root,root) %{_libdir}/liboop-glib2.so | |
453 | %{_libdir}/liboop-glib2.la | |
4f16158f JB |
454 | %{_pkgconfigdir}/liboop-glib2.pc |
455 | ||
456 | %files binding-glib2-static | |
457 | %defattr(644,root,root,755) | |
458 | %{_libdir}/liboop-glib2.a | |
459 | ||
460 | %files binding-readline | |
461 | %defattr(644,root,root,755) | |
462 | %attr(755,root,root) %{_libdir}/liboop-rl.so.*.*.* | |
463 | %attr(755,root,root) %ghost %{_libdir}/liboop-rl.so.0 | |
464 | ||
465 | %files binding-readline-devel | |
466 | %defattr(644,root,root,755) | |
3f9af8ce | 467 | %attr(755,root,root) %{_libdir}/liboop-rl.so |
9d99bcae | 468 | %{_libdir}/liboop-rl.la |
3f9af8ce JB |
469 | %{_includedir}/oop-rl.h |
470 | ||
4f16158f JB |
471 | %files binding-readline-static |
472 | %defattr(644,root,root,755) | |
473 | %{_libdir}/liboop-rl.a | |
474 | ||
475 | %files binding-tcl | |
476 | %defattr(644,root,root,755) | |
477 | %attr(755,root,root) %{_libdir}/liboop-tcl.so.*.*.* | |
478 | %attr(755,root,root) %ghost %{_libdir}/liboop-tcl.so.0 | |
479 | ||
3f9af8ce JB |
480 | %files binding-tcl-devel |
481 | %defattr(644,root,root,755) | |
482 | %attr(755,root,root) %{_libdir}/liboop-tcl.so | |
9d99bcae | 483 | %{_libdir}/liboop-tcl.la |
3f9af8ce JB |
484 | %{_includedir}/oop-tcl.h |
485 | ||
4f16158f JB |
486 | %files binding-tcl-static |
487 | %defattr(644,root,root,755) | |
488 | %{_libdir}/liboop-tcl.a | |
489 | ||
490 | %if %{with libwww} | |
491 | %files binding-www | |
492 | %defattr(644,root,root,755) | |
493 | %attr(755,root,root) %{_libdir}/liboop-www.so.*.*.* | |
494 | %attr(755,root,root) %ghost %{_libdir}/liboop-www.so.0 | |
495 | ||
3f9af8ce JB |
496 | %files binding-www-devel |
497 | %defattr(644,root,root,755) | |
498 | %attr(755,root,root) %{_libdir}/liboop-www.so | |
9d99bcae | 499 | %{_libdir}/liboop-www.la |
3f9af8ce | 500 | %{_includedir}/oop-www.h |
efc0f1f2 | 501 | |
4f16158f | 502 | %files binding-www-static |
efc0f1f2 | 503 | %defattr(644,root,root,755) |
4f16158f JB |
504 | %{_libdir}/liboop-www.a |
505 | %endif |