3 %bcond_without ocaml_opt # skip building native optimized binaries (bytecode is always built)
5 # not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
6 %ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
7 %undefine with_ocaml_opt
10 %define apxs /usr/sbin/apxs
11 %define apache /usr/sbin/httpd
12 Summary: Modules for Internet programming in OCaml
13 Summary(pl.UTF-8): Moduły ułatwiające pisanie programów internetowych w OCamlu
17 License: GPL v2+ (nethttpd), LGPL v2+ (mod_caml), BSD-like (the rest)
19 Source0: http://download.camlcity.org/download/ocamlnet-%{version}.tar.gz
20 # Source0-md5: e15e0961d09057f0bbe4f69d6055506c
21 Patch0: %{name}-buildfix.patch
22 Patch1: %{name}-lablgtk2.patch
23 Patch2: %{name}-apache-link.patch
24 URL: http://projects.camlcity.org/projects/ocamlnet.html
25 BuildRequires: %{apache}
26 BuildRequires: %{apxs}
27 BuildRequires: apache-devel >= 2.0
28 BuildRequires: ncurses-devel
29 BuildRequires: ocaml >= 1:3.09.2
30 BuildRequires: ocaml-camlp4
31 BuildRequires: ocaml-cryptgps-devel
32 BuildRequires: ocaml-cryptokit-devel
33 BuildRequires: ocaml-findlib
34 BuildRequires: ocaml-findlib-devel
35 BuildRequires: ocaml-lablgtk2-devel >= 2.14.2
36 BuildRequires: ocaml-labltk-devel
37 BuildRequires: ocaml-pcre-devel
38 BuildRequires: ocaml-ssl-devel
39 BuildRequires: ocaml-zip-devel
40 BuildRequires: tcl-devel
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 %define _apachepkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
44 %define _apachesysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
47 Modules for Internet programming in OCaml.
49 %description -l pl.UTF-8
50 Moduły ułatwiające pisanie programów internetowych w OCamlu.
53 Summary: ocaml-net documentation
54 Summary(pl.UTF-8): Dokumentacja dla pakietów ocaml-net
56 Group: Development/Libraries
59 ocaml-net documentation.
61 %description doc -l pl.UTF-8
62 Dokumentacja dla pakietów ocaml-net.
65 Summary: Common Gateway Interface library
66 Summary(pl.UTF-8): Biblioteka do tworzenia skryptów CGI
67 License: LGPL v2+ (mod_caml), BSD-like (the rest)
68 Group: Development/Libraries
69 Requires: %{name}-netplex-devel = %{version}-%{release}
70 Requires: %{name}-netstring-devel = %{version}-%{release}
71 Requires: %{name}-netsys-devel = %{version}-%{release}
72 Obsoletes: ocaml-net-cgi-devel
75 %description netcgi-devel
76 Common Gateway Interface library, part of Ocamlnet. This package
77 contains files needed to develop OCaml programs using netcgi library.
79 %description netcgi-devel -l pl.UTF-8
80 Biblioteka do tworzenia skryptów CGI, część pakietu Ocamlnet. Ten
81 pakiet zawiera pliki niezbędne do tworzenia programów używających
84 %package -n apache-mod_netcgi
85 Summary: Apache module:
86 Summary(pl.UTF-8): Moduł Apache'a:
87 Group: Networking/Daemons/HTTP
88 Requires: apache(modules-api) = %apache_modules_api
90 %description -n apache-mod_netcgi
92 %description -n apache-mod_netcgi -l pl.UTF-8
95 Summary: Event queue library for OCaml
96 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla
98 Group: Development/Libraries
99 Requires: %{name}-netsys-devel = %{version}-%{release}
101 Obsoletes: ocaml-equeue-devel
103 %description equeue-devel
104 Equeue provides a generic event queue module, and a specific module
105 for file descriptor events.
107 This package contains files needed to develop OCaml programs using
110 %description equeue-devel -l pl.UTF-8
111 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
112 modułu obsługi zdarzeń na deskryptorach plików.
114 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
117 %package equeue-gtk2-devel
118 Summary: GTK2 event queue library for OCaml
119 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń GTK2 dla OCamla
121 Group: Development/Libraries
122 Requires: %{name}-equeue-devel = %{version}-%{release}
123 Requires: ocaml-lablgtk2-devel
126 %description equeue-gtk2-devel
127 Equeue provides a generic event queue module, and a specific module
128 for file descriptor events.
130 This package contains files needed to develop OCaml programs using
133 %description equeue-gtk2-devel -l pl.UTF-8
134 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
135 modułu obsługi zdarzeń na deskryptorach plików.
137 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
138 biblioteki equeue GTK2.
141 Summary: Event queue library for OCaml, SSL support
142 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla, wsparcie dla SSL
145 %requires_eq ocaml-runtime
147 %description equeue-ssl
148 This package makes it possible to let Equeue cooperate with the event
149 queue implementation of SSL.
151 This package contains files needed to run bytecode executables using
154 %description equeue-ssl -l pl.UTF-8
155 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
158 Ten pakiet zawiera moduł potrzebny do uruchamiania programów
159 używających biblioteki equeue-ssl.
161 %package equeue-ssl-devel
162 Summary: Equeue SSL support - development part
163 Summary(pl.UTF-8): Wsparcie dla SSL-a w equeue - cześć programistyczna
165 Group: Development/Libraries
166 Requires: %{name}-equeue-devel = %{version}-%{release}
167 Requires: %{name}-equeue-ssl = %{version}-%{release}
168 %requires_eq ocaml-ssl-devel
171 %description equeue-ssl-devel
172 This package makes it possible to let Equeue cooperate with the event
173 queue implementation of SSL.
175 This package contains files needed to develop OCaml programs using
178 %description equeue-ssl-devel -l pl.UTF-8
179 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
182 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
183 biblioteki equeue-ssl.
186 Summary: Event queue library for OCaml, Tcl support
187 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla, wsparcie dla Tcl
190 %requires_eq ocaml-runtime
191 %requires_eq ocaml-labltk
192 Obsoletes: ocaml-equeue-tcl
194 %description equeue-tcl
195 This package makes it possible to let Equeue cooperate with the event
196 queue implementation of Tcl.
198 This package contains files needed to run bytecode executables using
201 %description equeue-tcl -l pl.UTF-8
202 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
205 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
206 używających biblioteki equeue-tcl.
208 %package equeue-tcl-devel
209 Summary: Equeue Tcl support - development part
210 Summary(pl.UTF-8): Wsparcie dla Tcl-a w equeue - cześć programistyczna
212 Group: Development/Libraries
213 Requires: %{name}-equeue-devel = %{version}-%{release}
214 Requires: %{name}-equeue-tcl = %{version}-%{release}
215 %requires_eq ocaml-labltk-devel
217 Obsoletes: ocaml-equeue-tcl-devel
219 %description equeue-tcl-devel
220 This package makes it possible to let Equeue cooperate with the event
221 queue implementation of Tcl.
223 This package contains files needed to develop OCaml programs using
226 %description equeue-tcl-devel -l pl.UTF-8
227 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
230 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
231 biblioteki equeue-tcl.
233 %package netcamlbox-devel
234 Summary: Fast IPC mechanism for OCaml
235 Summary(pl.UTF-8): Szybki mechanizm IPC dla OCamla
237 Group: Development/Libraries
238 Requires: %{name}-netsys-devel = %{version}-%{release}
241 %description netcamlbox-devel
242 Camlboxes are a fast IPC mechanism to send Ocaml values from one
243 process to another. Source and destination processes must run on the
244 same machine (no network). The Ocaml value is copied to a shared
245 memory object where it can be directly accessed by the receiver
246 without unmarshalling step. This means the sender writes the value
247 into the shared memory in a format that can immediately interpreted by
250 This package contains files needed to develop OCaml programs using
253 %description netcamlbox-devel -l pl.UTF-8
254 Camlboxy są szybkim mechanizmem IPC do przesyłania danych Ocamla
255 pomiędzy procesami. Nadawca i odbiorca muszą być uruchomione na tej
256 samej maszynie. Dane Ocamla są kopiowane do segmentu pamięci
257 dzielonej, gdzie mogą byc bezpośrednio odczytywane przez odbiorcę.
259 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
260 biblioteki netcamlbox.
262 %package netclient-devel
263 Summary: HTTP 1.1 client for OCaml
264 Summary(pl.UTF-8): Klient HTTP 1.1 dla OCamla
266 Group: Development/Libraries
267 Requires: %{name}-equeue-devel = %{version}-%{release}
268 Requires: %{name}-netstring-devel = %{version}-%{release}
270 Obsoletes: ocaml-netclient-devel
272 %description netclient-devel
273 Implements much of HTTP/1.1. Implements the following advanced
274 features: chunked messages; persistent connections; connections in
275 pipelining mode ("full duplex" connections); modular authentication
276 methods, currently Basic and Digest; event-driven implementation;
277 allows concurrent service for several network connections.
279 This package contains files needed to develop OCaml programs using
282 %description netclient-devel -l pl.UTF-8
283 Biblioteka netclient implementuje większość HTTP/1.1, a także
284 następujące zaawansowane właściwości: komunikaty w kawałkach;
285 połączenia stałe; połączenia w trybie "full duplex"; modularne metody
286 uwierzytelniania, obecnie Basic i Digest; implementacja oparta na
287 zdarzeniach; umożliwia jednoczesną obsługę kilku połączeń.
289 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
290 biblioteki netclient.
292 %package netgssapi-devel
293 Summary: GSS-API generic definition
294 Summary(pl.UTF-8): Biblioteka do obsługi protokołu GSSAPI
296 Group: Development/Libraries
297 Requires: %{name}-netstring-devel = %{version}-%{release}
298 Requires: %{name}-netsys-devel = %{version}-%{release}
301 %description netgssapi-devel
302 GSSAPI library, part of Ocamlnet. This package contains the files
303 needed to develop OCaml programs using netgssapi library.
305 %description netgssapi-devel -l pl.UTF-8
306 Biblioteka do obsługi protokołu GSSAPI, część pakietu Ocamlnet. Ten
307 pakiet zawiera pliki niezbędne do tworzenia programów używających
308 biblioteki netgssapi.
310 %package nethttpd-devel
311 Summary: HTTPd library
312 Summary(pl.UTF-8): Biblioteka do obsługi protokołu HTTP
314 Group: Development/Libraries
315 Requires: %{name}-equeue-devel = %{version}-%{release}
316 Requires: %{name}-netcgi-devel = %{version}-%{release}
317 Requires: %{name}-netplex-devel = %{version}-%{release}
318 %requires_eq ocaml-pcre-devel
321 %description nethttpd-devel
322 HTTPd library, part of Ocamlnet. This package contains the files
323 needed to develop OCaml programs using nethttpd library.
325 %description nethttpd-devel -l pl.UTF-8
326 Biblioteka do obsługi protokołu HTTP, część pakietu Ocamlnet. Ten
327 pakiet zawiera pliki niezbędne do tworzenia programów używających
330 %package netmech-scram-devel
331 Summary: SCRAM mechanism for authentication
332 Summary(pl.UTF-8): Mechanizm autentykacji SCRAM
334 Group: Development/Libraries
335 Requires: %{name}-netcamlbox-devel = %{version}-%{release}
336 Requires: %{name}-netplex-devel = %{version}-%{release}
339 %description netmech-scram-devel
340 Netmech-scram library, part of Ocamlnet. This package contains the
341 files needed to develop OCaml programs using netmech-scram library.
343 %description netmech-scram-devel -l pl.UTF-8
344 Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu
345 Ocamlnet. Ten pakiet zawiera pliki niezbędne do tworzenia programów
346 używających biblioteki netmech-scram.
348 %package netmulticore-devel
349 Summary: Multi-processing for compute jobs
350 Summary(pl.UTF-8): Obsługa wieloprocesorowych obliczeń
352 Group: Development/Libraries
353 Requires: %{name}-netcamlbox-devel = %{version}-%{release}
354 Requires: %{name}-netplex-devel = %{version}-%{release}
357 %description netmulticore-devel
358 Netmcore library, part of Ocamlnet. This package contains the files
359 needed to develop OCaml programs using netmulticore library.
361 %description netmulticore-devel -l pl.UTF-8
362 Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu
363 Ocamlnet. Ten pakiet zawiera pliki niezbędne do tworzenia programów
364 używających biblioteki netmulticore.
367 Summary: Server framework
368 Summary(pl.UTF-8): Szkielet serwerowy
371 %requires_eq ocaml-runtime
372 %requires_eq ocaml-labltk
377 This package contains files needed to run bytecode executables using
380 %description netplex -l pl.UTF-8
383 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
384 używających biblioteki netplex.
386 %package netplex-devel
387 Summary: Server framework - development part
388 Summary(pl.UTF-8): Szkielet serwerowy - cześć programistyczna
390 Group: Development/Libraries
391 Requires: %{name}-equeue-devel = %{version}-%{release}
392 Requires: %{name}-netplex = %{version}-%{release}
393 Requires: %{name}-netstring-devel = %{version}-%{release}
394 Requires: %{name}-netsys-devel = %{version}-%{release}
395 Requires: %{name}-rpc-devel = %{version}-%{release}
398 %description netplex-devel
401 This package contains files needed to develop OCaml programs using
404 %description netplex-devel -l pl.UTF-8
407 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
410 %package netshm-devel
411 Summary: Shared memory support - development package
412 Summary(pl.UTF-8): Obsługa pamięci dzielonej - pakiet programistyczny
414 Group: Development/Libraries
415 Requires: %{name}-netsys-devel = %{version}-%{release}
418 %description netshm-devel
419 Shared memory support.
421 This package contains files needed to develop OCaml programs using
424 %description netshm-devel -l pl.UTF-8
425 Obsługa pamięci dzielonej.
427 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
431 Summary: String processing library
432 Summary(pl.UTF-8): Biblioteka do przetwarzania napisów
435 Requires: %{name}-netsys-devel = %{version}-%{release}
436 %requires_eq ocaml-pcre-devel
439 %description netstring
440 String processing library, part of Ocamlnet.
442 %description netstring -l pl.UTF-8
443 Biblioteka do przetwarzania napisów, część pakietu Ocamlnet.
445 %package netstring-devel
446 Summary: String processing library
447 Summary(pl.UTF-8): Biblioteka do przetwarzania napisów
449 Group: Development/Libraries
450 Requires: %{name}-netstring = %{version}-%{release}
451 Requires: %{name}-netsys-devel = %{version}-%{release}
452 %requires_eq ocaml-pcre-devel
455 %description netstring-devel
456 String processing library, part of Ocamlnet. This package contains
457 files needed to develop OCaml programs using netstring library.
459 %description netstring-devel -l pl.UTF-8
460 Biblioteka do przetwarzania napisów, część pakietu Ocamlnet. Ten
461 pakiet zawiera pliki niezbędne do tworzenia programów używających
462 biblioteki netstring.
465 Summary: OS-specific functions
466 Summary(pl.UTF-8): Funkcje specyficzne dla systemu operacyjnego
469 %requires_eq ocaml-runtime
472 OS-specific functions.
474 This package contains files needed to run bytecode executables using
477 %description netsys -l pl.UTF-8
478 Funkcje specyficzne dla systemu operacyjnego.
480 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
481 używających biblioteki netsys.
483 %package netsys-devel
484 Summary: OS-specific functions - development part
485 Summary(pl.UTF-8): Funkcje specyficzne dla systemu operacyjnego - cześć programistyczna
487 Group: Development/Libraries
488 Requires: %{name}-netsys = %{version}-%{release}
491 %description netsys-devel
492 OS-specific functions.
494 This package contains files needed to develop OCaml programs using
497 %description netsys-devel -l pl.UTF-8
498 Funkcje specyficzne dla systemu operacyjnego.
500 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
503 %package netzip-devel
504 Summary: Gzip channels - development part
505 Summary(pl.UTF-8): Funkcje do kompresji kanałow - cześć programistyczna
507 Group: Development/Libraries
508 Requires: %{name}-netstring-devel = %{version}-%{release}
511 %description netzip-devel
512 Gzip channels functions.
514 This package contains files needed to develop OCaml programs using
517 %description netzip-devel -l pl.UTF-8
518 Funkcje do kompresji kanałow.
520 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
524 Summary: Post Office Protocol (POP3) library
525 Summary(pl.UTF-8): Biblioteka do obsługi POP3
527 Group: Development/Libraries
528 Requires: %{name}-netstring-devel = %{version}-%{release}
531 %description pop3-devel
532 Post Office Protocol (POP3) library, part of Ocamlnet. This package
533 contains files needed to develop OCaml programs using pop library.
535 %description pop3-devel -l pl.UTF-8
536 Biblioteka do obsługi POP3, część pakietu Ocamlnet. Ten pakiet zawiera
537 pliki niezbędne do tworzenia programów używających biblioteki pop.
540 Summary: Remote Procedure Call (RPC) libraries
541 Summary(pl.UTF-8): Biblioteki do obsługi RPC
543 Group: Development/Libraries
544 Requires: %{name}-equeue-ssl = %{version}-%{release}
548 Remote Procedure Call (RPC) libraries.
550 %description rpc -l pl.UTF-8
551 Biblioteki do obsługi RPC.
554 Summary: Remote Procedure Call (RPC) libraries - development part
555 Summary(pl.UTF-8): Biblioteki do obsługi RPC - część programistyczna
557 Group: Development/Libraries
558 Requires: %{name}-equeue-ssl-devel = %{version}-%{release}
559 Requires: %{name}-rpc = %{version}-%{release}
562 %description rpc-devel
563 Remote Procedure Call (RPC) libraries - development part.
565 %description rpc-devel -l pl.UTF-8
566 Biblioteki do obsługi RPC - część programistyczna.
569 Summary: Unix shell functions
570 Summary(pl.UTF-8): Funkcje powłoki uniksowej
572 Group: Development/Libraries
573 Requires: %{name}-equeue-devel = %{version}-%{release}
574 Requires: %{name}-netsys-devel = %{version}-%{release}
577 %description shell-devel
578 Unix shell functions.
580 %description shell-devel -l pl.UTF-8
581 Funkcje powłoki uniksowej.
584 Summary: Simple Mail Transfer Protocol (SMTP) library
585 Summary(pl.UTF-8): Biblioteka do obsługi SMTP
587 Group: Development/Libraries
588 Requires: %{name}-netstring-devel = %{version}-%{release}
591 %description smtp-devel
592 Interface for the Simple Mail Tranfer Protocol (SMTP) as specified by
595 %description smtp-devel -l pl.UTF-8
596 Interfejs dla protokołu SMTP opisanego w RFC 2821.
599 %setup -q -n ocamlnet-%{version}
605 # no %%configure, please
615 -equeue-tcl-libs "-ltcl" \
620 %{__make} -j1 all %{?with_ocaml_opt:opt}
623 rm -rf $RPM_BUILD_ROOT
624 install -d $RPM_BUILD_ROOT{%{_libdir}/ocaml/stublibs,%{_apachepkglibdir},%{_apachesysconfdir}}
626 %{__make} -j1 install \
627 OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
628 DESTDIR=$RPM_BUILD_ROOT
631 for f in e* n* p* r* shell smtp ; do
632 [ -d $RPM_BUILD_ROOT%{_libdir}/ocaml/$f ] || continue
633 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f
634 mv $RPM_BUILD_ROOT%{_libdir}/ocaml/$f/META \
635 $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f/
636 echo "directory = \"+$f\"" \
637 >> $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f/META
641 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/netcgi2-apache/500netcgi_apache.info
642 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/mod_netcgi_apache.so*
644 install -p src/netcgi2-apache/mod_netcgi_apache.so $RPM_BUILD_ROOT%{_apachepkglibdir}/mod_netcgi.so
645 cat <<EOF >$RPM_BUILD_ROOT%{_apachesysconfdir}/90_mod_netcgi.conf
646 LoadModule netcgi_module modules/mod_netcgi.so
648 <IfModule netcgi_module>
649 NetcgiLoad pcre/pcre.cma
650 NetcgiLoad netsys/netsys.cma
651 NetcgiLoad netstring/netstring.cma
653 NetcgiLoad netcgi2/netcgi.cma
654 NetcgiLoad netcgi2-apache/netcgi_apache.cma
656 NetcgiHandler Netcgi_apache.bytecode
657 AddHandler ocaml-bytecode .cma
659 # Alias /caml-bin/ /path/to/your/scripts/
660 # <Location /caml-bin>
661 # SetHandler ocaml-bytecode
662 # NetcgiHandler Netcgi_apache.bytecode
670 rm $RPM_BUILD_ROOT%{_libdir}/ocaml/*/*.mli
672 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-{netcgi,equeue,netcamlbox,netmulticore,netclient,nethttpd,pop3,rpc}-%{version}
673 cp -r examples/camlbox/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netcamlbox-%{version}
674 cp -r examples/cgi/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netcgi-%{version}
675 cp -r examples/equeue/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-equeue-%{version}
676 cp -r examples/multicore/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netmulticore-%{version}
677 cp -r examples/netclient/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netclient-%{version}
678 cp -r examples/nethttpd/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-nethttpd-%{version}
679 cp -r examples/pop/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-pop3-%{version}
680 cp -r examples/rpc/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-rpc-%{version}
683 rm -rf $RPM_BUILD_ROOT
686 %defattr(644,root,root,755)
687 %doc LICENSE* ChangeLog RELNOTES doc/html-main
690 %defattr(644,root,root,755)
691 %dir %{_libdir}/ocaml/netcgi*
692 %{_libdir}/ocaml/netcgi*/*.cm[ixao]*
693 %{_libdir}/ocaml/netcgi*/*.a
694 %{_libdir}/ocaml/site-lib/*cgi*
695 %{_examplesdir}/%{name}-netcgi-%{version}
697 %files -n apache-mod_netcgi
698 %defattr(644,root,root,755)
699 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_apachesysconfdir}/*_mod_netcgi.conf
700 %attr(755,root,root) %{_apachepkglibdir}/mod_netcgi.so
703 %defattr(644,root,root,755)
704 %dir %{_libdir}/ocaml/equeue
705 %{_libdir}/ocaml/equeue/*.cm[ixao]*
706 %{_libdir}/ocaml/equeue/*.a
707 %{_libdir}/ocaml/site-lib/equeue
708 %{_examplesdir}/%{name}-equeue-%{version}
710 %files equeue-gtk2-devel
711 %defattr(644,root,root,755)
712 %dir %{_libdir}/ocaml/equeue-gtk2
713 %{_libdir}/ocaml/equeue-gtk2/*.cm[ixao]*
714 %{_libdir}/ocaml/equeue-gtk2/*.a
715 %{_libdir}/ocaml/site-lib/equeue-gtk2
718 %defattr(644,root,root,755)
719 %dir %{_libdir}/ocaml/equeue-ssl
720 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllequeue_ssl.so
721 %{_libdir}/ocaml/stublibs/dllequeue_ssl.so.owner
723 %files equeue-ssl-devel
724 %defattr(644,root,root,755)
725 %{_libdir}/ocaml/equeue-ssl/*.cm[ixao]*
726 %{_libdir}/ocaml/equeue-ssl/*.a
727 %{_libdir}/ocaml/site-lib/equeue-ssl
730 %defattr(644,root,root,755)
731 %dir %{_libdir}/ocaml/equeue-tcl
732 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllequeue_tcl.so
733 %{_libdir}/ocaml/stublibs/dllequeue_tcl.so.owner
735 %files equeue-tcl-devel
736 %defattr(644,root,root,755)
737 %{_libdir}/ocaml/equeue-tcl/*.cm[ixao]*
738 %{_libdir}/ocaml/equeue-tcl/*.a
739 %{_libdir}/ocaml/site-lib/equeue-tcl
741 %files netcamlbox-devel
742 %defattr(644,root,root,755)
743 %dir %{_libdir}/ocaml/netcamlbox
744 %{_libdir}/ocaml/netcamlbox/*.cm[ixao]*
745 %{_libdir}/ocaml/netcamlbox/*.a
746 %{_libdir}/ocaml/site-lib/netcamlbox
747 %{_examplesdir}/%{name}-netcamlbox-%{version}
749 %files netclient-devel
750 %defattr(644,root,root,755)
751 %dir %{_libdir}/ocaml/netclient
752 %{_libdir}/ocaml/netclient/*.cm[ixao]*
753 %{_libdir}/ocaml/netclient/*.a
754 %{_libdir}/ocaml/site-lib/netclient
755 %{_examplesdir}/%{name}-netclient-%{version}
757 %files netgssapi-devel
758 %defattr(644,root,root,755)
759 %dir %{_libdir}/ocaml/netgssapi
760 %{_libdir}/ocaml/netgssapi/*.cm[ixao]*
761 %{_libdir}/ocaml/netgssapi/*.a
762 %{_libdir}/ocaml/site-lib/netgssapi
764 %files nethttpd-devel
765 %defattr(644,root,root,755)
766 %dir %{_libdir}/ocaml/nethttpd
767 %{_libdir}/ocaml/nethttpd/*.cm[ixa]*
768 %{_libdir}/ocaml/nethttpd/*.a
769 %{_libdir}/ocaml/site-lib/nethttpd
770 %{_examplesdir}/%{name}-nethttpd-%{version}
772 %files netmech-scram-devel
773 %defattr(644,root,root,755)
774 %dir %{_libdir}/ocaml/netmech-scram
775 %{_libdir}/ocaml/netmech-scram/*.cm[ixa]*
776 %{_libdir}/ocaml/netmech-scram/*.a
777 %{_libdir}/ocaml/site-lib/netmech-scram
779 %files netmulticore-devel
780 %defattr(644,root,root,755)
781 %dir %{_libdir}/ocaml/netmulticore
782 %{_libdir}/ocaml/netmulticore/*.cm[ixa]*
783 %{_libdir}/ocaml/netmulticore/*.a
784 %{_libdir}/ocaml/site-lib/netmulticore
785 %{_examplesdir}/%{name}-netmulticore-%{version}
788 %defattr(644,root,root,755)
789 %attr(755,root,root) %{_bindir}/netplex-admin
790 %dir %{_libdir}/ocaml/netplex
791 %{_libdir}/ocaml/netplex/*.o
794 %defattr(644,root,root,755)
795 %{_libdir}/ocaml/netplex/netplex-packlist
796 %{_libdir}/ocaml/netplex/*.cm[ixao]*
797 %{_libdir}/ocaml/netplex/*.a
798 %{_libdir}/ocaml/site-lib/netplex
801 %defattr(644,root,root,755)
802 %dir %{_libdir}/ocaml/netshm
803 %{_libdir}/ocaml/netshm/*.cm[ixao]*
804 %{_libdir}/ocaml/netshm/*.a
805 %{_libdir}/ocaml/site-lib/netshm
808 %defattr(644,root,root,755)
809 %dir %{_libdir}/ocaml/netstring
810 %{_libdir}/ocaml/netstring/*.o
811 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllnetaccel_c.so
812 %{_libdir}/ocaml/stublibs/dllnetaccel_c.so.owner
814 %files netstring-devel
815 %defattr(644,root,root,755)
816 %{_libdir}/ocaml/netstring/netdb-packlist
817 %{_libdir}/ocaml/netstring/*.cm[ixao]*
818 %{_libdir}/ocaml/netstring/*.a
819 %{_libdir}/ocaml/site-lib/netstring
822 %defattr(644,root,root,755)
823 %dir %{_libdir}/ocaml/netsys
824 %{_libdir}/ocaml/netsys/*.o
825 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllnetsys.so
826 %{_libdir}/ocaml/stublibs/dllnetsys.so.owner
829 %defattr(644,root,root,755)
830 %{_libdir}/ocaml/netsys/*.cm[ixao]*
831 %{_libdir}/ocaml/netsys/*.a
832 %{_libdir}/ocaml/netsys/netsys_c_event.h
833 %{_libdir}/ocaml/site-lib/netsys
836 %defattr(644,root,root,755)
837 %dir %{_libdir}/ocaml/netzip
838 %{_libdir}/ocaml/netzip/*.cm[ixao]*
839 %{_libdir}/ocaml/netzip/*.a
840 %{_libdir}/ocaml/site-lib/netzip
843 %defattr(644,root,root,755)
844 %dir %{_libdir}/ocaml/pop
845 %{_libdir}/ocaml/pop/*.cm[ixao]*
846 %{_libdir}/ocaml/pop/*.a
847 %{_libdir}/ocaml/site-lib/pop
848 %{_examplesdir}/%{name}-pop3-%{version}
851 %defattr(644,root,root,755)
852 %attr(755,root,root) %{_bindir}/ocamlrpcgen
853 %dir %{_libdir}/ocaml/rpc-auth-local
854 %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllrpc_auth_local.so
855 %{_libdir}/ocaml/stublibs/dllrpc_auth_local.so.owner
858 %defattr(644,root,root,755)
859 %dir %{_libdir}/ocaml/rpc
860 %dir %{_libdir}/ocaml/rpc-auth-dh
861 %dir %{_libdir}/ocaml/rpc-generator
862 %dir %{_libdir}/ocaml/rpc-ssl
863 %{_libdir}/ocaml/rpc-generator/rpcgen-packlist
864 %{_libdir}/ocaml/rpc*/*.cm[ixao]*
865 %{_libdir}/ocaml/rpc*/*.a
866 %{_libdir}/ocaml/site-lib/rpc*
867 %{_examplesdir}/%{name}-rpc-%{version}
870 %defattr(644,root,root,755)
871 %dir %{_libdir}/ocaml/shell
872 %{_libdir}/ocaml/shell/*.cm[ixao]*
873 %{_libdir}/ocaml/shell/*.a
874 %{_libdir}/ocaml/site-lib/shell
877 %defattr(644,root,root,755)
878 %dir %{_libdir}/ocaml/smtp
879 %{_libdir}/ocaml/smtp/*.cm[ixao]*
880 %{_libdir}/ocaml/smtp/*.a
881 %{_libdir}/ocaml/site-lib/smtp