]> git.pld-linux.org Git - packages/ocaml-net.git/blob - ocaml-net.spec
Release 2 (by relup.sh)
[packages/ocaml-net.git] / ocaml-net.spec
1 #
2 # Conditional build:
3 %bcond_without  ocaml_opt       # native optimized binaries (bytecode is always built)
4 %bcond_with     apache          # build apache module
5
6 # not yet available on x32 (ocaml 4.02.1), update when upstream will support it
7 %ifnarch %{ix86} %{x8664} %{arm} aarch64 ppc sparc sparcv9
8 %undefine       with_ocaml_opt
9 %endif
10
11 %define         apxs    /usr/sbin/apxs
12 %define         apache  /usr/sbin/httpd
13 Summary:        Modules for Internet programming in OCaml
14 Summary(pl.UTF-8):      Moduły ułatwiające pisanie programów internetowych w OCamlu
15 Name:           ocaml-net
16 Version:        4.1.9
17 Release:        2
18 License:        GPL v2+ (nethttpd), LGPL v2+ (mod_netcgi), BSD-like (the rest)
19 Group:          Libraries
20 Source0:        http://download.camlcity.org/download/ocamlnet-%{version}.tar.gz
21 # Source0-md5:  3812d76b325903412bb27e5a656df689
22 Patch0:         %{name}-buildfix.patch
23 Patch1:         %{name}-lablgtk2.patch
24 Patch2:         %{name}-apache-link.patch
25 URL:            http://projects.camlcity.org/projects/ocamlnet.html
26 %if %{with apache}
27 BuildRequires:  %{apache}
28 BuildRequires:  %{apxs}
29 BuildRequires:  apache-devel >= 2.0
30 %endif
31 BuildRequires:  ncurses-devel
32 BuildRequires:  ocaml >= 1:3.09.2
33 BuildRequires:  ocaml-camlp4
34 BuildRequires:  ocaml-cryptokit-devel
35 BuildRequires:  ocaml-findlib
36 BuildRequires:  ocaml-findlib-devel
37 BuildRequires:  ocaml-lablgtk2-devel >= 2.14.2
38 BuildRequires:  ocaml-labltk-devel
39 BuildRequires:  ocaml-pcre-devel
40 BuildRequires:  ocaml-ssl-devel
41 BuildRequires:  ocaml-zip-devel
42 BuildRequires:  rpm-build >= 4.6
43 BuildRequires:  tcl-devel
44 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46 %define         _apachepkglibdir        %(%{apxs} -q LIBEXECDIR 2>/dev/null)
47 %define         _apachesysconfdir       %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
48
49 %description
50 Modules for Internet programming in OCaml.
51
52 %description -l pl.UTF-8
53 Moduły ułatwiające pisanie programów internetowych w OCamlu.
54
55 %package doc
56 Summary:        ocaml-net documentation
57 Summary(pl.UTF-8):      Dokumentacja dla pakietów ocaml-net
58 License:        BSD-like
59 Group:          Documentation
60 BuildArch:      noarch
61
62 %description doc
63 ocaml-net documentation.
64
65 %description doc -l pl.UTF-8
66 Dokumentacja dla pakietów ocaml-net.
67
68 %package equeue
69 Summary:        Event queue library for OCaml
70 Summary(pl.UTF-8):      Biblioteka obsługująca kolejkę zdarzeń dla OCamla
71 Group:          Libraries
72 License:        BSD-like
73 %requires_eq    ocaml-runtime
74 Conflicts:      ocaml-net-equeue-devel < 4.1.9-1
75 Obsoletes:      ocaml-net-equeue-ssl < 4
76
77 %description equeue
78 Equeue provides a generic event queue module, and a specific module
79 for file descriptor events.
80
81 %description equeue -l pl.UTF-8
82 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
83 modułu obsługi zdarzeń na deskryptorach plików.
84
85 %package equeue-devel
86 Summary:        Event queue library for OCaml - development part
87 Summary(pl.UTF-8):      Biblioteka obsługująca kolejkę zdarzeń dla OCamla - część programistyczna
88 License:        BSD-like
89 Group:          Development/Libraries
90 Requires:       %{name}-equeue = %{version}-%{release}
91 Requires:       %{name}-netsys-devel = %{version}-%{release}
92 %requires_eq    ocaml
93 Obsoletes:      ocaml-equeue-devel < 2.2
94 Obsoletes:      ocaml-net-equeue-ssl-devel < 4
95
96 %description equeue-devel
97 Equeue provides a generic event queue module, and a specific module
98 for file descriptor events.
99
100 This package contains files needed to develop OCaml programs using
101 equeue library.
102
103 %description equeue-devel -l pl.UTF-8
104 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
105 modułu obsługi zdarzeń na deskryptorach plików.
106
107 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
108 biblioteki equeue.
109
110 %package equeue-gtk2
111 Summary:        GTK2 event queue library for OCaml
112 Summary(pl.UTF-8):      Biblioteka obsługująca kolejkę zdarzeń GTK2 dla OCamla
113 License:        BSD-like
114 Group:          Libraries
115 %requires_eq    ocaml-runtime
116 Conflicts:      ocaml-net-equeue-gtk2-devel < 4.1.9-1
117
118 %description equeue-gtk2
119 Equeue provides a generic event queue module, and a specific module
120 for file descriptor events.
121
122 %description equeue-gtk2 -l pl.UTF-8
123 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
124 modułu obsługi zdarzeń na deskryptorach plików.
125
126 %package equeue-gtk2-devel
127 Summary:        GTK2 event queue library for OCaml - development part
128 Summary(pl.UTF-8):      Biblioteka obsługująca kolejkę zdarzeń GTK2 dla OCamla - część programistyczna
129 License:        BSD-like
130 Group:          Development/Libraries
131 Requires:       %{name}-equeue-devel = %{version}-%{release}
132 Requires:       %{name}-equeue-gtk2 = %{version}-%{release}
133 Requires:       ocaml-lablgtk2-devel
134 %requires_eq    ocaml
135 Obsoletes:      ocaml-net-equeue-gtk-devel < 3.7.7
136
137 %description equeue-gtk2-devel
138 Equeue provides a generic event queue module, and a specific module
139 for file descriptor events.
140
141 This package contains files needed to develop OCaml programs using
142 GTK2 equeue library.
143
144 %description equeue-gtk2-devel -l pl.UTF-8
145 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
146 modułu obsługi zdarzeń na deskryptorach plików.
147
148 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
149 biblioteki equeue GTK2.
150
151 %package equeue-tcl
152 Summary:        Event queue library for OCaml, Tcl support
153 Summary(pl.UTF-8):      Biblioteka obsługująca kolejkę zdarzeń dla OCamla, wsparcie dla Tcl
154 License:        BSD-like
155 Group:          Libraries
156 %requires_eq    ocaml-runtime
157 %requires_eq    ocaml-labltk
158 Obsoletes:      ocaml-equeue-tcl < 2.2
159
160 %description equeue-tcl
161 This package makes it possible to let Equeue cooperate with the event
162 queue implementation of Tcl.
163
164 This package contains files needed to run bytecode executables using
165 equeue-tcl library.
166
167 %description equeue-tcl -l pl.UTF-8
168 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
169 w Tcl.
170
171 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
172 używających biblioteki equeue-tcl.
173
174 %package equeue-tcl-devel
175 Summary:        Equeue Tcl support - development part
176 Summary(pl.UTF-8):      Wsparcie dla Tcl-a w equeue - część programistyczna
177 License:        BSD-like
178 Group:          Development/Libraries
179 Requires:       %{name}-equeue-devel = %{version}-%{release}
180 Requires:       %{name}-equeue-tcl = %{version}-%{release}
181 %requires_eq    ocaml
182 %requires_eq    ocaml-labltk-devel
183 Obsoletes:      ocaml-equeue-tcl-devel < 2.2
184
185 %description equeue-tcl-devel
186 This package makes it possible to let Equeue cooperate with the event
187 queue implementation of Tcl.
188
189 This package contains files needed to develop OCaml programs using
190 this library.
191
192 %description equeue-tcl-devel -l pl.UTF-8
193 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
194 w Tcl.
195
196 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
197 biblioteki equeue-tcl.
198
199 %package netcamlbox
200 Summary:        Fast IPC mechanism for OCaml
201 Summary(pl.UTF-8):      Szybki mechanizm IPC dla OCamla
202 License:        BSD-like
203 Group:          Libraries
204 %requires_eq    ocaml-runtime
205 Conflicts:      ocaml-net-netcamlbox-devel < 4.1.9-1
206
207 %description netcamlbox
208 Camlboxes are a fast IPC mechanism to send Ocaml values from one
209 process to another. Source and destination processes must run on the
210 same machine (no network). The Ocaml value is copied to a shared
211 memory object where it can be directly accessed by the receiver
212 without unmarshalling step. This means the sender writes the value
213 into the shared memory in a format that can immediately interpreted by
214 the receiver.
215
216 %description netcamlbox -l pl.UTF-8
217 Camlboksy są szybkim mechanizmem IPC do przesyłania danych Ocamla
218 pomiędzy procesami. Nadawca i odbiorca muszą być uruchomione na tej
219 samej maszynie. Dane Ocamla są kopiowane do segmentu pamięci
220 dzielonej, gdzie mogą byc bezpośrednio odczytywane przez odbiorcę.
221
222 %package netcamlbox-devel
223 Summary:        Fast IPC mechanism for OCaml - development part
224 Summary(pl.UTF-8):      Szybki mechanizm IPC dla OCamla - część programistyczna
225 License:        BSD-like
226 Group:          Development/Libraries
227 Requires:       %{name}-netcamlbox = %{version}-%{release}
228 Requires:       %{name}-netsys-devel = %{version}-%{release}
229 %requires_eq    ocaml
230
231 %description netcamlbox-devel
232 Camlboxes are a fast IPC mechanism to send Ocaml values from one
233 process to another. Source and destination processes must run on the
234 same machine (no network). The Ocaml value is copied to a shared
235 memory object where it can be directly accessed by the receiver
236 without unmarshalling step. This means the sender writes the value
237 into the shared memory in a format that can immediately interpreted by
238 the receiver.
239
240 This package contains files needed to develop OCaml programs using
241 netcamlbox library.
242
243 %description netcamlbox-devel -l pl.UTF-8
244 Camlboksy są szybkim mechanizmem IPC do przesyłania danych Ocamla
245 pomiędzy procesami. Nadawca i odbiorca muszą być uruchomione na tej
246 samej maszynie. Dane Ocamla są kopiowane do segmentu pamięci
247 dzielonej, gdzie mogą byc bezpośrednio odczytywane przez odbiorcę.
248
249 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
250 biblioteki netcamlbox.
251
252 %package netcgi
253 Summary:        Common Gateway Interface library
254 Summary(pl.UTF-8):      Biblioteka do tworzenia skryptów CGI
255 Group:          Libraries
256 License:        BSD-like
257 %requires_eq    ocaml-runtime
258 Conflicts:      ocaml-net-netcgi-devel < 4.1.9-1
259
260 %description netcgi
261 Common Gateway Interface library, part of Ocamlnet.
262
263 %description netcgi -l pl.UTF-8
264 Biblioteka do tworzenia skryptów CGI, część pakietu Ocamlnet.
265
266 %package netcgi-devel
267 Summary:        Common Gateway Interface library - development part
268 Summary(pl.UTF-8):      Biblioteka do tworzenia skryptów CGI - część programistyczna
269 License:        BSD-like
270 Group:          Development/Libraries
271 Requires:       %{name}-netcgi = %{version}-%{release}
272 Requires:       %{name}-netplex-devel = %{version}-%{release}
273 Requires:       %{name}-netstring-devel = %{version}-%{release}
274 Requires:       %{name}-netsys-devel = %{version}-%{release}
275 %requires_eq    ocaml
276 Obsoletes:      ocaml-net-cgi-devel < 3
277
278 %description netcgi-devel
279 Common Gateway Interface library, part of Ocamlnet. This package
280 contains files needed to develop OCaml programs using netcgi library.
281
282 %description netcgi-devel -l pl.UTF-8
283 Biblioteka do tworzenia skryptów CGI, część pakietu Ocamlnet. Ten
284 pakiet zawiera pliki niezbędne do tworzenia programów używających
285 biblioteki netcgi.
286
287 %package -n apache-mod_netcgi
288 Summary:        Apache mod_netcfg module
289 Summary(pl.UTF-8):      Moduł Apache'a mod_netcgi
290 License:        LGPL v2+
291 Group:          Networking/Daemons/HTTP
292 Requires:       apache(modules-api) = %apache_modules_api
293
294 %description -n apache-mod_netcgi
295 Apache mod_netcfg module.
296
297 %description -n apache-mod_netcgi -l pl.UTF-8
298 Moduł Apache'a mod_netcgi.
299
300 %package netclient
301 Summary:        HTTP 1.1 client for OCaml
302 Summary(pl.UTF-8):      Klient HTTP 1.1 dla OCamla
303 License:        BSD-like
304 Group:          Libraries
305 %requires_eq    ocaml-runtime
306 Conflicts:      ocaml-net-netclient-devel < 4.1.9-1
307
308 %description netclient
309 Implements much of HTTP/1.1. Implements the following advanced
310 features: chunked messages; persistent connections; connections in
311 pipelining mode ("full duplex" connections); modular authentication
312 methods, currently Basic and Digest; event-driven implementation;
313 allows concurrent service for several network connections.
314
315 %description netclient -l pl.UTF-8
316 Biblioteka netclient implementuje większość HTTP/1.1, a także
317 następujące zaawansowane właściwości: komunikaty w kawałkach;
318 połączenia stałe; połączenia w trybie "full duplex"; modularne metody
319 uwierzytelniania, obecnie Basic i Digest; implementacja oparta na
320 zdarzeniach; umożliwia jednoczesną obsługę kilku połączeń.
321
322 %package netclient-devel
323 Summary:        HTTP 1.1 client for OCaml - development part
324 Summary(pl.UTF-8):      Klient HTTP 1.1 dla OCamla - część programistyczna
325 License:        BSD-like
326 Group:          Development/Libraries
327 Requires:       %{name}-equeue-devel = %{version}-%{release}
328 Requires:       %{name}-netclient = %{version}-%{release}
329 Requires:       %{name}-netstring-devel = %{version}-%{release}
330 %requires_eq    ocaml
331 Obsoletes:      ocaml-net-pop3-devel < 4
332 Obsoletes:      ocaml-net-smtp-devel < 4
333 Obsoletes:      ocaml-netclient-devel < 1
334
335 %description netclient-devel
336 Implements much of HTTP/1.1. Implements the following advanced
337 features: chunked messages; persistent connections; connections in
338 pipelining mode ("full duplex" connections); modular authentication
339 methods, currently Basic and Digest; event-driven implementation;
340 allows concurrent service for several network connections.
341
342 This package contains files needed to develop OCaml programs using
343 netclient library.
344
345 %description netclient-devel -l pl.UTF-8
346 Biblioteka netclient implementuje większość HTTP/1.1, a także
347 następujące zaawansowane właściwości: komunikaty w kawałkach;
348 połączenia stałe; połączenia w trybie "full duplex"; modularne metody
349 uwierzytelniania, obecnie Basic i Digest; implementacja oparta na
350 zdarzeniach; umożliwia jednoczesną obsługę kilku połączeń.
351
352 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
353 biblioteki netclient.
354
355 %package netgss-system
356 Summary:        GSS-API generic definition
357 Summary(pl.UTF-8):      Biblioteka do obsługi protokołu GSSAPI
358 License:        GPL v2+
359 Group:          Libraries
360 Requires:       %{name}-netstring = %{version}-%{release}
361 Requires:       %{name}-netsys = %{version}-%{release}
362 %requires_eq    ocaml-runtime
363
364 %description netgss-system
365 GSSAPI library, part of Ocamlnet. This package contains the files
366 needed to develop OCaml programs using netgss-system library.
367
368 %description netgss-system -l pl.UTF-8
369 Biblioteka do obsługi protokołu GSSAPI, część pakietu Ocamlnet. Ten
370 pakiet zawiera pliki niezbędne do tworzenia programów używających
371 biblioteki netgss-system.
372
373 %package netgss-system-devel
374 Summary:        GSS-API generic definition - development part
375 Summary(pl.UTF-8):      Biblioteka do obsługi protokołu GSSAPI - część programistyczna
376 License:        GPL v2+
377 Group:          Development/Libraries
378 Requires:       %{name}-netgss-system = %{version}-%{release}
379 Requires:       %{name}-netstring-devel = %{version}-%{release}
380 Requires:       %{name}-netsys-devel = %{version}-%{release}
381 %requires_eq    ocaml
382
383 %description netgss-system-devel
384 GSSAPI library, part of Ocamlnet. This package contains the files
385 needed to develop OCaml programs using netgss-system library.
386
387 %description netgss-system-devel -l pl.UTF-8
388 Biblioteka do obsługi protokołu GSSAPI, część pakietu Ocamlnet. Ten
389 pakiet zawiera pliki niezbędne do tworzenia programów używających
390 biblioteki netgss-system.
391
392 %package nethttpd
393 Summary:        HTTPd library
394 Summary(pl.UTF-8):      Biblioteka do obsługi protokołu HTTP
395 License:        GPL v2+
396 Group:          Libraries
397 %requires_eq    ocaml-runtime
398 Conflicts:      ocaml-net-nethttpd-devel < 4.1.9-1
399
400 %description nethttpd
401 HTTPd library, part of Ocamlnet.
402
403 %description nethttpd -l pl.UTF-8
404 Biblioteka do obsługi protokołu HTTP, część pakietu Ocamlnet.
405
406 %package nethttpd-devel
407 Summary:        HTTPd library - development part
408 Summary(pl.UTF-8):      Biblioteka do obsługi protokołu HTTP - część programistyczna
409 License:        GPL v2+
410 Group:          Development/Libraries
411 Requires:       %{name}-equeue-devel = %{version}-%{release}
412 Requires:       %{name}-netcgi-devel = %{version}-%{release}
413 Requires:       %{name}-nethttpd = %{version}-%{release}
414 Requires:       %{name}-netplex-devel = %{version}-%{release}
415 %requires_eq    ocaml-pcre-devel
416 %requires_eq    ocaml
417
418 %description nethttpd-devel
419 HTTPd library, part of Ocamlnet. This package contains the files
420 needed to develop OCaml programs using nethttpd library.
421
422 %description nethttpd-devel -l pl.UTF-8
423 Biblioteka do obsługi protokołu HTTP, część pakietu Ocamlnet. Ten
424 pakiet zawiera pliki niezbędne do tworzenia programów używających
425 biblioteki nethttpd.
426
427 %package netmulticore
428 Summary:        Multi-processing for compute jobs
429 Summary(pl.UTF-8):      Obsługa wieloprocesorowych obliczeń
430 License:        GPL v2+
431 Group:          Libraries
432 %requires_eq    ocaml-runtime
433 Conflicts:      ocaml-net-netmulticore-devel < 4.1.9-1
434
435 %description netmulticore
436 Netmcore library, part of Ocamlnet.
437
438 %description netmulticore -l pl.UTF-8
439 Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu
440 Ocamlnet.
441
442 %package netmulticore-devel
443 Summary:        Multi-processing for compute jobs - development part
444 Summary(pl.UTF-8):      Obsługa wieloprocesorowych obliczeń - część programistyczna
445 License:        GPL v2+
446 Group:          Development/Libraries
447 Requires:       %{name}-netcamlbox-devel = %{version}-%{release}
448 Requires:       %{name}-netmulticore = %{version}-%{release}
449 Requires:       %{name}-netplex-devel = %{version}-%{release}
450 %requires_eq    ocaml
451
452 %description netmulticore-devel
453 Netmcore library, part of Ocamlnet. This package contains the files
454 needed to develop OCaml programs using netmulticore library.
455
456 %description netmulticore-devel -l pl.UTF-8
457 Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu
458 Ocamlnet. Ten pakiet zawiera pliki niezbędne do tworzenia programów
459 używających biblioteki netmulticore.
460
461 %package netplex
462 Summary:        Server framework
463 Summary(pl.UTF-8):      Szkielet serwerowy
464 License:        BSD-like
465 Group:          Libraries
466 %requires_eq    ocaml-labltk
467 %requires_eq    ocaml-runtime
468
469 %description netplex
470 Server framework.
471
472 This package contains files needed to run bytecode executables using
473 netplex library.
474
475 %description netplex -l pl.UTF-8
476 Szkielet serwerowy.
477
478 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
479 używających biblioteki netplex.
480
481 %package netplex-devel
482 Summary:        Server framework - development part
483 Summary(pl.UTF-8):      Szkielet serwerowy - część programistyczna
484 License:        BSD-like
485 Group:          Development/Libraries
486 Requires:       %{name}-equeue-devel = %{version}-%{release}
487 Requires:       %{name}-netplex = %{version}-%{release}
488 Requires:       %{name}-netstring-devel = %{version}-%{release}
489 Requires:       %{name}-netsys-devel = %{version}-%{release}
490 Requires:       %{name}-rpc-devel = %{version}-%{release}
491 %requires_eq    ocaml
492
493 %description netplex-devel
494 Server framework.
495
496 This package contains files needed to develop OCaml programs using
497 netplex library.
498
499 %description netplex-devel -l pl.UTF-8
500 Szkielet serwerowy.
501
502 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
503 biblioteki netplex.
504
505 %package netshm
506 Summary:        Shared memory support
507 Summary(pl.UTF-8):      Obsługa pamięci dzielonej
508 License:        BSD-like
509 Group:          Libraries
510 %requires_eq    ocaml-runtime
511 Conflicts:      ocaml-net-netshm-devel < 4.1.9-1
512
513 %description netshm
514 Shared memory support.
515
516 %description netshm -l pl.UTF-8
517 Obsługa pamięci dzielonej.
518
519 %package netshm-devel
520 Summary:        Shared memory support - development package
521 Summary(pl.UTF-8):      Obsługa pamięci dzielonej - pakiet programistyczny
522 License:        BSD-like
523 Group:          Development/Libraries
524 Requires:       %{name}-netshm = %{version}-%{release}
525 Requires:       %{name}-netsys-devel = %{version}-%{release}
526 %requires_eq    ocaml
527
528 %description netshm-devel
529 Shared memory support.
530
531 This package contains files needed to develop OCaml programs using
532 netshm library.
533
534 %description netshm-devel -l pl.UTF-8
535 Obsługa pamięci dzielonej.
536
537 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
538 biblioteki netshm.
539
540 %package netstring
541 Summary:        String processing library
542 Summary(pl.UTF-8):      Biblioteka do przetwarzania napisów
543 License:        BSD-like
544 Group:          Libraries
545 Requires:       %{name}-netsys-devel = %{version}-%{release}
546 %requires_eq    ocaml-pcre
547 %requires_eq    ocaml-runtime
548
549 %description netstring
550 String processing library, part of Ocamlnet.
551
552 %description netstring -l pl.UTF-8
553 Biblioteka do przetwarzania napisów, część pakietu Ocamlnet.
554
555 %package netstring-devel
556 Summary:        String processing library - development part
557 Summary(pl.UTF-8):      Biblioteka do przetwarzania napisów - część programistyczna
558 License:        BSD-like
559 Group:          Development/Libraries
560 Requires:       %{name}-netstring = %{version}-%{release}
561 Requires:       %{name}-netsys-devel = %{version}-%{release}
562 %requires_eq    ocaml
563 %requires_eq    ocaml-pcre-devel
564 Obsoletes:      ocaml-net-netmech-scram-devel < 4.1
565
566 %description netstring-devel
567 String processing library, part of Ocamlnet. This package contains
568 files needed to develop OCaml programs using netstring library.
569
570 %description netstring-devel -l pl.UTF-8
571 Biblioteka do przetwarzania napisów, część pakietu Ocamlnet. Ten
572 pakiet zawiera pliki niezbędne do tworzenia programów używających
573 biblioteki netstring.
574
575 %package netsys
576 Summary:        OS-specific functions
577 Summary(pl.UTF-8):      Funkcje specyficzne dla systemu operacyjnego
578 License:        BSD-like
579 Group:          Libraries
580 %requires_eq    ocaml-runtime
581
582 %description netsys
583 OS-specific functions.
584
585 This package contains files needed to run bytecode executables using
586 netsys library.
587
588 %description netsys -l pl.UTF-8
589 Funkcje specyficzne dla systemu operacyjnego.
590
591 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
592 używających biblioteki netsys.
593
594 %package netsys-devel
595 Summary:        OS-specific functions - development part
596 Summary(pl.UTF-8):      Funkcje specyficzne dla systemu operacyjnego - część programistyczna
597 License:        BSD-like
598 Group:          Development/Libraries
599 Requires:       %{name}-netsys = %{version}-%{release}
600 %requires_eq    ocaml
601
602 %description netsys-devel
603 OS-specific functions.
604
605 This package contains files needed to develop OCaml programs using
606 netsys library.
607
608 %description netsys-devel -l pl.UTF-8
609 Funkcje specyficzne dla systemu operacyjnego.
610
611 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
612 biblioteki netsys.
613
614 %package netunidata
615 Summary:        Unicode lookup tables
616 Summary(pl.UTF-8):      Tablice wyszukiwania Unicode
617 License:        BSD-like
618 Group:          Libraries
619 %requires_eq    ocaml-runtime
620 Conflicts:      ocaml-net-netunidata-devel < 4.1.9-1
621
622 %description netunidata
623 Unicode lookup tables.
624
625 %description netunidata -l pl.UTF-8
626 Tablice wyszukiwania Unicode.
627
628 %package netunidata-devel
629 Summary:        Unicode lookup tables - development part
630 Summary(pl.UTF-8):      Tablice wyszukiwania Unicode - część programistyczna
631 License:        BSD-like
632 Group:          Development/Libraries
633 Requires:       %{name}-netstring-devel = %{version}-%{release}
634 Requires:       %{name}-netunidata = %{version}-%{release}
635 %requires_eq    ocaml
636
637 %description netunidata-devel
638 Unicode lookup tables.
639
640 This package contains files needed to develop OCaml programs using
641 netunidata library.
642
643 %description netunidata-devel -l pl.UTF-8
644 Tablice wyszukiwania Unicode.
645
646 Ten pakiet zawiera pliki niezbędne do tworzenia programów w OCamlu
647 używających biblioteki netunidata.
648
649 %package netzip
650 Summary:        Gzip channels
651 Summary(pl.UTF-8):      Funkcje do kompresji kanałów
652 License:        BSD-like
653 Group:          Libraries
654 %requires_eq    ocaml-runtime
655 Conflicts:      ocaml-net-netzip-devel < 4.1.9-1
656
657 %description netzip
658 Gzip channels functions.
659
660 %description netzip -l pl.UTF-8
661 Funkcje do kompresji kanałów.
662
663 %package netzip-devel
664 Summary:        Gzip channels - development part
665 Summary(pl.UTF-8):      Funkcje do kompresji kanałów - część programistyczna
666 License:        BSD-like
667 Group:          Development/Libraries
668 Requires:       %{name}-netstring-devel = %{version}-%{release}
669 Requires:       %{name}-netzip = %{version}-%{release}
670 %requires_eq    ocaml
671
672 %description netzip-devel
673 Gzip channels functions.
674
675 This package contains files needed to develop OCaml programs using
676 netzip library.
677
678 %description netzip-devel -l pl.UTF-8
679 Funkcje do kompresji kanałów.
680
681 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
682 biblioteki netzip.
683
684 %package rpc
685 Summary:        Remote Procedure Call (RPC) libraries
686 Summary(pl.UTF-8):      Biblioteki do obsługi RPC
687 License:        BSD-like
688 Group:          Libraries
689 %requires_eq    ocaml-runtime
690
691 %description rpc
692 Remote Procedure Call (RPC) libraries.
693
694 %description rpc -l pl.UTF-8
695 Biblioteki do obsługi RPC.
696
697 %package rpc-devel
698 Summary:        Remote Procedure Call (RPC) libraries - development part
699 Summary(pl.UTF-8):      Biblioteki do obsługi RPC - część programistyczna
700 License:        BSD-like
701 Group:          Development/Libraries
702 Requires:       %{name}-rpc = %{version}-%{release}
703 %requires_eq    ocaml
704
705 %description rpc-devel
706 Remote Procedure Call (RPC) libraries.
707
708 This package contains files needed to develop OCaml programs using rpc
709 library.
710
711 %description rpc-devel -l pl.UTF-8
712 Biblioteki do obsługi RPC.
713
714 Ten pakiet zawiera pliki niezbędne do tworzenia programów w OCamlu
715 używających biblioteki rpc.
716
717 %package shell
718 Summary:        Unix shell functions
719 Summary(pl.UTF-8):      Funkcje powłoki uniksowej
720 License:        BSD-like
721 Group:          Libraries
722 %requires_eq    ocaml-runtime
723 Conflicts:      ocaml-net-shell-devel < 4.1.9-1
724
725 %description shell
726 Unix shell functions.
727
728 %description shell -l pl.UTF-8
729 Funkcje powłoki uniksowej.
730
731 %package shell-devel
732 Summary:        Unix shell functions - development part
733 Summary(pl.UTF-8):      Funkcje powłoki uniksowej - część programistyczna
734 License:        BSD-like
735 Group:          Development/Libraries
736 Requires:       %{name}-equeue-devel = %{version}-%{release}
737 Requires:       %{name}-netsys-devel = %{version}-%{release}
738 Requires:       %{name}-shell = %{version}-%{release}
739 %requires_eq    ocaml
740
741 %description shell-devel
742 Unix shell functions.
743
744 This package contains files needed to develop OCaml programs using
745 shell library.
746
747 %description shell-devel -l pl.UTF-8
748 Funkcje powłoki uniksowej.
749
750 Ten pakiet zawiera pliki niezbędne do tworzenia programów w OCamlu
751 używających biblioteki shell.
752
753 %prep
754 %setup -q -n ocamlnet-%{version}
755 %patch0 -p1
756 %patch1 -p1
757 %patch2 -p1
758
759 %build
760 # no %%configure, please
761 ./configure \
762         -datadir %{_datadir}/%{name} \
763         -disable-gtk \
764         -enable-gtk2 \
765         -enable-zip \
766         -enable-gssapi \
767 %if %{with apache}
768         -enable-apache \
769 %else
770         -disable-apache \
771 %endif
772         -enable-tcl \
773         -equeue-tcl-libs "-ltcl" \
774         -with-nethttpd \
775         -apxs %{apxs} \
776         -apache %{apache}
777
778 %{__make} -j1 all %{?with_ocaml_opt:opt}
779
780 %install
781 rm -rf $RPM_BUILD_ROOT
782 install -d $RPM_BUILD_ROOT{%{_libdir}/ocaml/stublibs,%{_apachepkglibdir},%{_apachesysconfdir}}
783
784 %{__make} -j1 install \
785         OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
786         DESTDIR=$RPM_BUILD_ROOT
787
788 %if %{with apache}
789 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/netcgi2-apache/500netcgi_apache.info
790 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/mod_netcgi_apache.so*
791
792 install -p src/netcgi2-apache/mod_netcgi_apache.so $RPM_BUILD_ROOT%{_apachepkglibdir}/mod_netcgi.so
793 cat <<EOF >$RPM_BUILD_ROOT%{_apachesysconfdir}/90_mod_netcgi.conf
794 LoadModule netcgi_module     modules/mod_netcgi.so
795
796 <IfModule netcgi_module>
797         NetcgiLoad pcre/pcre.cma
798         NetcgiLoad netsys/netsys.cma
799         NetcgiLoad netstring/netstring.cma
800         NetcgiLoad str.cma
801         NetcgiLoad netcgi2/netcgi.cma
802         NetcgiLoad netcgi2-apache/netcgi_apache.cma
803
804         NetcgiHandler Netcgi_apache.bytecode
805         AddHandler ocaml-bytecode .cma
806
807 #       Alias /caml-bin/ /path/to/your/scripts/
808 #       <Location /caml-bin>
809 #               SetHandler ocaml-bytecode
810 #               NetcgiHandler Netcgi_apache.bytecode
811 #               Options ExecCGI
812 #               Allow from all
813 #       </Location>
814 </IfModule>
815 EOF
816 %endif
817
818 # GPL
819 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/nethttpd/LICENSE
820 # useless in rpm
821 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/*.so.owner
822
823 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-{netcgi,equeue,netcamlbox,netmulticore,netclient,nethttpd,rpc}-%{version}
824 cp -pr examples/camlbox/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netcamlbox-%{version}
825 cp -pr examples/cgi/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netcgi-%{version}
826 cp -pr examples/equeue/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-equeue-%{version}
827 cp -pr examples/multicore/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netmulticore-%{version}
828 cp -pr examples/netclient/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netclient-%{version}
829 cp -pr examples/nethttpd/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-nethttpd-%{version}
830 cp -pr examples/rpc/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-rpc-%{version}
831
832 %clean
833 rm -rf $RPM_BUILD_ROOT
834
835 %files doc
836 %defattr(644,root,root,755)
837 %doc LICENSE* ChangeLog RELNOTES doc/html-main
838
839 %files equeue
840 %defattr(644,root,root,755)
841 %dir %{_libdir}/ocaml/equeue
842 %{_libdir}/ocaml/equeue/META
843 %{_libdir}/ocaml/equeue/*.cma
844 %if %{with ocaml_opt}
845 %attr(755,root,root) %{_libdir}/ocaml/equeue/*.cmxs
846 %endif
847
848 %files equeue-devel
849 %defattr(644,root,root,755)
850 %{_libdir}/ocaml/equeue/*.cmi
851 %{_libdir}/ocaml/equeue/*.mli
852 %if %{with ocaml_opt}
853 %{_libdir}/ocaml/equeue/*.a
854 %{_libdir}/ocaml/equeue/*.cmxa
855 %endif
856 %{_examplesdir}/%{name}-equeue-%{version}
857
858 %files equeue-gtk2
859 %defattr(644,root,root,755)
860 %dir %{_libdir}/ocaml/equeue-gtk2
861 %{_libdir}/ocaml/equeue-gtk2/META
862 %{_libdir}/ocaml/equeue-gtk2/*.cma
863 %if %{with ocaml_opt}
864 %attr(755,root,root) %{_libdir}/ocaml/equeue-gtk2/*.cmxs
865 %endif
866
867 %files equeue-gtk2-devel
868 %defattr(644,root,root,755)
869 %{_libdir}/ocaml/equeue-gtk2/*.cmi
870 %{_libdir}/ocaml/equeue-gtk2/*.mli
871 %if %{with ocaml_opt}
872 %{_libdir}/ocaml/equeue-gtk2/*.a
873 %{_libdir}/ocaml/equeue-gtk2/*.cmxa
874 %endif
875
876 %files equeue-tcl
877 %defattr(644,root,root,755)
878 %dir %{_libdir}/ocaml/equeue-tcl
879 %{_libdir}/ocaml/equeue-tcl/META
880 %{_libdir}/ocaml/equeue-tcl/*.cma
881 %if %{with ocaml_opt}
882 %attr(755,root,root) %{_libdir}/ocaml/equeue-tcl/*.cmxs
883 %endif
884 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllequeue_tcl.so
885
886 %files equeue-tcl-devel
887 %defattr(644,root,root,755)
888 %{_libdir}/ocaml/equeue-tcl/*.cmi
889 %{_libdir}/ocaml/equeue-tcl/*.mli
890 %{_libdir}/ocaml/equeue-tcl/libequeue_tcl*.a
891 %if %{with ocaml_opt}
892 %{_libdir}/ocaml/equeue-tcl/*.cmxa
893 %{_libdir}/ocaml/equeue-tcl/equeue_tcl*.a
894 %endif
895
896 %files netcamlbox
897 %defattr(644,root,root,755)
898 %dir %{_libdir}/ocaml/netcamlbox
899 %{_libdir}/ocaml/netcamlbox/META
900 %{_libdir}/ocaml/netcamlbox/*.cma
901 %if %{with ocaml_opt}
902 %attr(755,root,root) %{_libdir}/ocaml/netcamlbox/*.cmxs
903 %endif
904
905 %files netcamlbox-devel
906 %defattr(644,root,root,755)
907 %{_libdir}/ocaml/netcamlbox/*.cmi
908 %{_libdir}/ocaml/netcamlbox/*.mli
909 %if %{with ocaml_opt}
910 %{_libdir}/ocaml/netcamlbox/*.a
911 %{_libdir}/ocaml/netcamlbox/*.cmxa
912 %endif
913 %{_examplesdir}/%{name}-netcamlbox-%{version}
914
915 %files netcgi
916 %defattr(644,root,root,755)
917 %dir %{_libdir}/ocaml/netcgi2
918 %{_libdir}/ocaml/netcgi2/META
919 %{_libdir}/ocaml/netcgi2/*.cma
920 %dir %{_libdir}/ocaml/netcgi2-plex
921 %{_libdir}/ocaml/netcgi2-plex/META
922 %{_libdir}/ocaml/netcgi2-plex/*.cma
923 %if %{with ocaml_opt}
924 %attr(755,root,root) %{_libdir}/ocaml/netcgi2/*.cmxs
925 %attr(755,root,root) %{_libdir}/ocaml/netcgi2-plex/*.cmxs
926 %endif
927
928 %files netcgi-devel
929 %defattr(644,root,root,755)
930 %{_libdir}/ocaml/netcgi2/*.cmi
931 %{_libdir}/ocaml/netcgi2/*.mli
932 %{_libdir}/ocaml/netcgi2-plex/*.cmi
933 %{_libdir}/ocaml/netcgi2-plex/*.mli
934 %if %{with ocaml_opt}
935 %{_libdir}/ocaml/netcgi2/*.a
936 %{_libdir}/ocaml/netcgi2/*.cmxa
937 %{_libdir}/ocaml/netcgi2-plex/*.a
938 %{_libdir}/ocaml/netcgi2-plex/*.cmxa
939 %endif
940 %{_examplesdir}/%{name}-netcgi-%{version}
941
942 %if %{with apache}
943 %files -n apache-mod_netcgi
944 %defattr(644,root,root,755)
945 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_apachesysconfdir}/*_mod_netcgi.conf
946 %attr(755,root,root) %{_apachepkglibdir}/mod_netcgi.so
947 %endif
948
949 %files netclient
950 %defattr(644,root,root,755)
951 %dir %{_libdir}/ocaml/netclient
952 %{_libdir}/ocaml/netclient/META
953 %{_libdir}/ocaml/netclient/*.cma
954 %if %{with ocaml_opt}
955 %attr(755,root,root) %{_libdir}/ocaml/netclient/*.cmxs
956 %endif
957
958 %files netclient-devel
959 %defattr(644,root,root,755)
960 %{_libdir}/ocaml/netclient/*.cmi
961 %{_libdir}/ocaml/netclient/*.mli
962 %if %{with ocaml_opt}
963 %{_libdir}/ocaml/netclient/*.a
964 %{_libdir}/ocaml/netclient/*.cmxa
965 %endif
966 %{_examplesdir}/%{name}-netclient-%{version}
967
968 %files netgss-system
969 %defattr(644,root,root,755)
970 %dir %{_libdir}/ocaml/netgss-system
971 %{_libdir}/ocaml/netgss-system/META
972 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllnetgss-system.so
973 %{_libdir}/ocaml/netgss-system/*.cma
974 %if %{with ocaml_opt}
975 %attr(755,root,root) %{_libdir}/ocaml/netgss-system/*.cmxs
976 %endif
977
978 %files netgss-system-devel
979 %defattr(644,root,root,755)
980 %{_libdir}/ocaml/netgss-system/*.cmi
981 %{_libdir}/ocaml/netgss-system/*.mli
982 %if %{with ocaml_opt}
983 %{_libdir}/ocaml/netgss-system/*.cmxa
984 %{_libdir}/ocaml/netgss-system/netgss-system*.a
985 %endif
986 %{_libdir}/ocaml/netgss-system/libnetgss-system*.a
987
988 %files nethttpd
989 %defattr(644,root,root,755)
990 %dir %{_libdir}/ocaml/nethttpd
991 %{_libdir}/ocaml/nethttpd/META
992 %{_libdir}/ocaml/nethttpd/*.cma
993 %if %{with ocaml_opt}
994 %attr(755,root,root) %{_libdir}/ocaml/nethttpd/*.cmxs
995 %endif
996
997 %files nethttpd-devel
998 %defattr(644,root,root,755)
999 %{_libdir}/ocaml/nethttpd/*.cmi
1000 %{_libdir}/ocaml/nethttpd/*.mli
1001 %if %{with ocaml_opt}
1002 %{_libdir}/ocaml/nethttpd/*.a
1003 %{_libdir}/ocaml/nethttpd/*.cmxa
1004 %endif
1005 %{_examplesdir}/%{name}-nethttpd-%{version}
1006
1007 %files netmulticore
1008 %defattr(644,root,root,755)
1009 %dir %{_libdir}/ocaml/netmulticore
1010 %{_libdir}/ocaml/netmulticore/META
1011 %{_libdir}/ocaml/netmulticore/*.cma
1012 %if %{with ocaml_opt}
1013 %attr(755,root,root) %{_libdir}/ocaml/netmulticore/*.cmxs
1014 %endif
1015
1016 %files netmulticore-devel
1017 %defattr(644,root,root,755)
1018 %{_libdir}/ocaml/netmulticore/*.cmi
1019 %{_libdir}/ocaml/netmulticore/*.mli
1020 %if %{with ocaml_opt}
1021 %{_libdir}/ocaml/netmulticore/*.a
1022 %{_libdir}/ocaml/netmulticore/*.cmxa
1023 %endif
1024 %{_examplesdir}/%{name}-netmulticore-%{version}
1025
1026 %files netplex
1027 %defattr(644,root,root,755)
1028 %attr(755,root,root) %{_bindir}/netplex-admin
1029 %dir %{_libdir}/ocaml/netplex
1030 %{_libdir}/ocaml/netplex/META
1031 %{_libdir}/ocaml/netplex/*.cma
1032 %if %{with ocaml_opt}
1033 %attr(755,root,root) %{_libdir}/ocaml/netplex/*.cmxs
1034 %endif
1035
1036 %files netplex-devel
1037 %defattr(644,root,root,755)
1038 %{_libdir}/ocaml/netplex/netplex-packlist
1039 %{_libdir}/ocaml/netplex/*.cmi
1040 %{_libdir}/ocaml/netplex/*.cmo
1041 %{_libdir}/ocaml/netplex/*.mli
1042 %if %{with ocaml_opt}
1043 %{_libdir}/ocaml/netplex/*.a
1044 %{_libdir}/ocaml/netplex/*.cmx
1045 %{_libdir}/ocaml/netplex/*.cmxa
1046 %{_libdir}/ocaml/netplex/*.o
1047 %endif
1048
1049 %files netshm
1050 %defattr(644,root,root,755)
1051 %dir %{_libdir}/ocaml/netshm
1052 %{_libdir}/ocaml/netshm/META
1053 %{_libdir}/ocaml/netshm/*.cma
1054 %if %{with ocaml_opt}
1055 %attr(755,root,root) %{_libdir}/ocaml/netshm/*.cmxs
1056 %endif
1057
1058 %files netshm-devel
1059 %defattr(644,root,root,755)
1060 %{_libdir}/ocaml/netshm/*.cmi
1061 %{_libdir}/ocaml/netshm/*.mli
1062 %if %{with ocaml_opt}
1063 %{_libdir}/ocaml/netshm/*.a
1064 %{_libdir}/ocaml/netshm/*.cmxa
1065 %endif
1066
1067 %files netstring
1068 %defattr(644,root,root,755)
1069 %dir %{_libdir}/ocaml/netstring
1070 %{_libdir}/ocaml/netstring/META
1071 %{_libdir}/ocaml/netstring/*.cma
1072 %if %{with ocaml_opt}
1073 %attr(755,root,root) %{_libdir}/ocaml/netstring/*.cmxs
1074 %endif
1075 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllnetaccel_c.so
1076
1077 %files netstring-devel
1078 %defattr(644,root,root,755)
1079 %{_libdir}/ocaml/netstring/*.cmi
1080 %{_libdir}/ocaml/netstring/*.cmo
1081 %{_libdir}/ocaml/netstring/*.mli
1082 %{_libdir}/ocaml/netstring/libnetaccel_c.a
1083 %if %{with ocaml_opt}
1084 %{_libdir}/ocaml/netstring/*.cmx
1085 %{_libdir}/ocaml/netstring/*.cmxa
1086 %{_libdir}/ocaml/netstring/*.o
1087 %{_libdir}/ocaml/netstring/netstring*.a
1088 %endif
1089
1090 %files netsys
1091 %defattr(644,root,root,755)
1092 %dir %{_libdir}/ocaml/netsys
1093 %{_libdir}/ocaml/netsys/META
1094 %{_libdir}/ocaml/netsys/*.cma
1095 %if %{with ocaml_opt}
1096 %attr(755,root,root) %{_libdir}/ocaml/netsys/*.cmxs
1097 %endif
1098 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllnetsys.so
1099
1100 %files netsys-devel
1101 %defattr(644,root,root,755)
1102 %{_libdir}/ocaml/netsys/*.cmi
1103 %{_libdir}/ocaml/netsys/*.cmo
1104 %{_libdir}/ocaml/netsys/*.mli
1105 %{_libdir}/ocaml/netsys/libnetsys*.a
1106 %if %{with ocaml_opt}
1107 %{_libdir}/ocaml/netsys/*.cmx
1108 %{_libdir}/ocaml/netsys/*.cmxa
1109 %{_libdir}/ocaml/netsys/*.o
1110 %{_libdir}/ocaml/netsys/netsys*.a
1111 %endif
1112 %{_libdir}/ocaml/netsys/netsys_c_event.h
1113
1114 %files netunidata
1115 %defattr(644,root,root,755)
1116 %dir %{_libdir}/ocaml/netunidata
1117 %{_libdir}/ocaml/netunidata/META
1118 %{_libdir}/ocaml/netunidata/*.cma
1119 %if %{with ocaml_opt}
1120 %attr(755,root,root) %{_libdir}/ocaml/netunidata/*.cmxs
1121 %endif
1122 %dir %{_datadir}/ocaml-net
1123 %{_datadir}/ocaml-net/cmap*.*.netdb
1124
1125 %files netunidata-devel
1126 %defattr(644,root,root,755)
1127 %{_libdir}/ocaml/netunidata/*.cmi
1128 %{_libdir}/ocaml/netunidata/*.cmo
1129 %{_libdir}/ocaml/netunidata/*.mli
1130 %if %{with ocaml_opt}
1131 %{_libdir}/ocaml/netunidata/*.a
1132 %{_libdir}/ocaml/netunidata/*.cmx
1133 %{_libdir}/ocaml/netunidata/*.cmxa
1134 %{_libdir}/ocaml/netunidata/*.o
1135 %endif
1136
1137 %files netzip
1138 %defattr(644,root,root,755)
1139 %dir %{_libdir}/ocaml/netzip
1140 %{_libdir}/ocaml/netzip/META
1141 %{_libdir}/ocaml/netzip/*.cma
1142 %if %{with ocaml_opt}
1143 %attr(755,root,root) %{_libdir}/ocaml/netzip/*.cmxs
1144 %endif
1145
1146 %files netzip-devel
1147 %defattr(644,root,root,755)
1148 %{_libdir}/ocaml/netzip/*.cmi
1149 %{_libdir}/ocaml/netzip/*.mli
1150 %if %{with ocaml_opt}
1151 %{_libdir}/ocaml/netzip/*.a
1152 %{_libdir}/ocaml/netzip/*.cmxa
1153 %endif
1154
1155 %files rpc
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_bindir}/ocamlrpcgen
1158 %dir %{_libdir}/ocaml/rpc
1159 %{_libdir}/ocaml/rpc/META
1160 %{_libdir}/ocaml/rpc/*.cma
1161 %dir %{_libdir}/ocaml/rpc-auth-local
1162 %{_libdir}/ocaml/rpc-auth-local/META
1163 %{_libdir}/ocaml/rpc-auth-local/*.cma
1164 %dir %{_libdir}/ocaml/rpc-generator
1165 %{_libdir}/ocaml/rpc-generator/META
1166 %{_libdir}/ocaml/rpc-generator/*.cma
1167 %if %{with ocaml_opt}
1168 %attr(755,root,root) %{_libdir}/ocaml/rpc/*.cmxs
1169 %attr(755,root,root) %{_libdir}/ocaml/rpc-auth-local/*.cmxs
1170 %attr(755,root,root) %{_libdir}/ocaml/rpc-generator/*.cmxs
1171 %endif
1172 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllrpc_auth_local.so
1173
1174 %files rpc-devel
1175 %defattr(644,root,root,755)
1176 %{_libdir}/ocaml/rpc/*.cmi
1177 %{_libdir}/ocaml/rpc/*.mli
1178 %{_libdir}/ocaml/rpc-auth-local/librpc_auth_local*.a
1179 %{_libdir}/ocaml/rpc-auth-local/*.cmi
1180 %{_libdir}/ocaml/rpc-auth-local/*.mli
1181 %{_libdir}/ocaml/rpc-generator/rpcgen-packlist
1182 %{_libdir}/ocaml/rpc-generator/*.cmi
1183 %{_libdir}/ocaml/rpc-generator/*.mli
1184 %if %{with ocaml_opt}
1185 %{_libdir}/ocaml/rpc/rpc*.a
1186 %{_libdir}/ocaml/rpc/rpc*.cmxa
1187 %{_libdir}/ocaml/rpc-auth-local/rpc*.a
1188 %{_libdir}/ocaml/rpc-auth-local/rpc*.cmxa
1189 %{_libdir}/ocaml/rpc-generator/rpc*.a
1190 %{_libdir}/ocaml/rpc-generator/rpc*.cmxa
1191 %endif
1192 %{_examplesdir}/%{name}-rpc-%{version}
1193
1194 %files shell
1195 %defattr(644,root,root,755)
1196 %dir %{_libdir}/ocaml/shell
1197 %{_libdir}/ocaml/shell/META
1198 %{_libdir}/ocaml/shell/*.cma
1199 %if %{with ocaml_opt}
1200 %attr(755,root,root) %{_libdir}/ocaml/shell/*.cmxs
1201 %endif
1202
1203 %files shell-devel
1204 %defattr(644,root,root,755)
1205 %{_libdir}/ocaml/shell/*.cmi
1206 %{_libdir}/ocaml/shell/*.mli
1207 %if %{with ocaml_opt}
1208 %{_libdir}/ocaml/shell/*.a
1209 %{_libdir}/ocaml/shell/*.cmxa
1210 %endif
This page took 0.160487 seconds and 4 git commands to generate.