1 %define apxs /usr/sbin/apxs
2 %define apache /usr/sbin/httpd
3 Summary: Modules for Internet programming in OCaml
4 Summary(pl.UTF-8): Moduły ułatwiające pisanie programów internetowych w OCamlu
8 License: GPL v2+ (nethttpd), LGPL v2+ (mod_caml), BSD-like (the rest)
10 Source0: http://download.camlcity.org/download/ocamlnet-%{version}.tar.gz
11 # Source0-md5: 2fb725528725d6fb839ba4fdd5e8ac1c
12 Patch0: %{name}-buildfix.patch
13 Patch1: %{name}-lablgtk2.patch
14 Patch2: %{name}-zip.patch
15 Patch3: %{name}-apache-link.patch
16 URL: http://projects.camlcity.org/projects/ocamlnet.html
17 BuildRequires: %{apache}
18 BuildRequires: %{apxs}
19 BuildRequires: apache-devel >= 2.0
20 BuildRequires: ncurses-devel
21 BuildRequires: ocaml >= 1:3.09.2
22 BuildRequires: ocaml-cryptgps-devel
23 BuildRequires: ocaml-cryptokit-devel
24 BuildRequires: ocaml-findlib
25 BuildRequires: ocaml-lablgtk-devel
26 BuildRequires: ocaml-lablgtk2-devel >= 2.14.2
27 BuildRequires: ocaml-labltk-devel
28 BuildRequires: ocaml-pcre-devel
29 BuildRequires: ocaml-ssl-devel
30 BuildRequires: ocaml-zip-devel
31 BuildRequires: tcl-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _apachepkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
35 %define _apachesysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
38 Modules for Internet programming in OCaml.
40 %description -l pl.UTF-8
41 Moduły ułatwiające pisanie programów internetowych w OCamlu.
44 Summary: ocaml-net documentation
45 Summary(pl.UTF-8): Dokumentacja dla pakietów ocaml-net
47 Group: Development/Libraries
50 ocaml-net documentation.
52 %description doc -l pl.UTF-8
53 Dokumentacja dla pakietów ocaml-net.
56 Summary: Common Gateway Interface library
57 Summary(pl.UTF-8): Biblioteka do tworzenia skryptów CGI
58 License: LGPL v2+ (mod_caml), BSD-like (the rest)
59 Group: Development/Libraries
60 Requires: %{name}-netplex-devel = %{version}-%{release}
61 Requires: %{name}-netstring-devel = %{version}-%{release}
62 Requires: %{name}-netsys-devel = %{version}-%{release}
63 Obsoletes: ocaml-net-cgi-devel
66 %description netcgi-devel
67 Common Gateway Interface library, part of Ocamlnet. This package
68 contains files needed to develop OCaml programs using netcgi library.
70 %description netcgi-devel -l pl.UTF-8
71 Biblioteka do tworzenia skryptów CGI, część pakietu Ocamlnet. Ten
72 pakiet zawiera pliki niezbędne do tworzenia programów używających
75 %package -n apache-mod_netcgi
76 Summary: Apache module:
77 Summary(pl.UTF-8): Moduł Apache'a:
78 Group: Networking/Daemons/HTTP
79 Requires: apache(modules-api) = %apache_modules_api
81 %description -n apache-mod_netcgi
83 %description -n apache-mod_netcgi -l pl.UTF-8
86 Summary: Event queue library for OCaml
87 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla
89 Group: Development/Libraries
90 Requires: %{name}-netsys-devel = %{version}-%{release}
92 Obsoletes: ocaml-equeue-devel
94 %description equeue-devel
95 Equeue provides a generic event queue module, and a specific module
96 for file descriptor events.
98 This package contains files needed to develop OCaml programs using
101 %description equeue-devel -l pl.UTF-8
102 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
103 modułu obsługi zdarzeń na deskryptorach plików.
105 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
108 %package equeue-gtk-devel
109 Summary: GTK event queue library for OCaml
110 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń GTK dla OCamla
112 Group: Development/Libraries
113 Requires: %{name}-equeue-devel = %{version}-%{release}
114 Requires: ocaml-lablgtk-devel
117 %description equeue-gtk-devel
118 Equeue provides a generic event queue module, and a specific module
119 for file descriptor events.
121 This package contains files needed to develop OCaml programs using GTK
124 %description equeue-gtk-devel -l pl.UTF-8
125 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
126 modułu obsługi zdarzeń na deskryptorach plików.
128 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
129 biblioteki equeue GTK.
131 %package equeue-gtk2-devel
132 Summary: GTK2 event queue library for OCaml
133 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń GTK2 dla OCamla
135 Group: Development/Libraries
136 Requires: %{name}-equeue-devel = %{version}-%{release}
137 Requires: ocaml-lablgtk2-devel
140 %description equeue-gtk2-devel
141 Equeue provides a generic event queue module, and a specific module
142 for file descriptor events.
144 This package contains files needed to develop OCaml programs using
147 %description equeue-gtk2-devel -l pl.UTF-8
148 Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również
149 modułu obsługi zdarzeń na deskryptorach plików.
151 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
152 biblioteki equeue GTK2.
155 Summary: Event queue library for OCaml, SSL support
156 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla, wsparcie dla SSL
159 %requires_eq ocaml-runtime
161 %description equeue-ssl
162 This package makes it possible to let Equeue cooperate with the event
163 queue implementation of SSL.
165 This package contains files needed to run bytecode executables using
168 %description equeue-ssl -l pl.UTF-8
169 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
172 Ten pakiet zawiera moduł potrzebny do uruchamiania programów
173 używających biblioteki equeue-ssl.
175 %package equeue-ssl-devel
176 Summary: Equeue SSL support - development part
177 Summary(pl.UTF-8): Wsparcie dla SSL-a w equeue - cześć programistyczna
179 Group: Development/Libraries
180 Requires: %{name}-equeue-devel = %{version}-%{release}
181 Requires: %{name}-equeue-ssl = %{version}-%{release}
182 %requires_eq ocaml-ssl-devel
185 %description equeue-ssl-devel
186 This package makes it possible to let Equeue cooperate with the event
187 queue implementation of SSL.
189 This package contains files needed to develop OCaml programs using
192 %description equeue-ssl-devel -l pl.UTF-8
193 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
196 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
197 biblioteki equeue-ssl.
200 Summary: Event queue library for OCaml, Tcl support
201 Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla, wsparcie dla Tcl
204 %requires_eq ocaml-runtime
205 %requires_eq ocaml-labltk
206 Obsoletes: ocaml-equeue-tcl
208 %description equeue-tcl
209 This package makes it possible to let Equeue cooperate with the event
210 queue implementation of Tcl.
212 This package contains files needed to run bytecode executables using
215 %description equeue-tcl -l pl.UTF-8
216 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
219 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
220 używających biblioteki equeue-tcl.
222 %package equeue-tcl-devel
223 Summary: Equeue Tcl support - development part
224 Summary(pl.UTF-8): Wsparcie dla Tcl-a w equeue - cześć programistyczna
226 Group: Development/Libraries
227 Requires: %{name}-equeue-devel = %{version}-%{release}
228 Requires: %{name}-equeue-tcl = %{version}-%{release}
229 %requires_eq ocaml-labltk-devel
231 Obsoletes: ocaml-equeue-tcl-devel
233 %description equeue-tcl-devel
234 This package makes it possible to let Equeue cooperate with the event
235 queue implementation of Tcl.
237 This package contains files needed to develop OCaml programs using
240 %description equeue-tcl-devel -l pl.UTF-8
241 Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń
244 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
245 biblioteki equeue-tcl.
247 %package netcamlbox-devel
248 Summary: Fast IPC mechanism for OCaml
249 Summary(pl.UTF-8): Szybki mechanizm IPC dla OCamla
251 Group: Development/Libraries
252 Requires: %{name}-netsys-devel = %{version}-%{release}
255 %description netcamlbox-devel
256 Camlboxes are a fast IPC mechanism to send Ocaml values from one
257 process to another. Source and destination processes must run on the
258 same machine (no network). The Ocaml value is copied to a shared
259 memory object where it can be directly accessed by the receiver
260 without unmarshalling step. This means the sender writes the value
261 into the shared memory in a format that can immediately interpreted by
264 This package contains files needed to develop OCaml programs using
267 %description netcamlbox-devel -l pl.UTF-8
268 Camlboxy są szybkim mechanizmem IPC do przesyłania danych Ocamla
269 pomiędzy procesami. Nadawca i odbiorca muszą być uruchomione na tej
270 samej maszynie. Dane Ocamla są kopiowane do segmentu pamięci
271 dzielonej, gdzie mogą byc bezpośrednio odczytywane przez odbiorcę.
273 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
274 biblioteki netcamlbox.
276 %package netclient-devel
277 Summary: HTTP 1.1 client for OCaml
278 Summary(pl.UTF-8): Klient HTTP 1.1 dla OCamla
280 Group: Development/Libraries
281 Requires: %{name}-equeue-devel = %{version}-%{release}
282 Requires: %{name}-netstring-devel = %{version}-%{release}
284 Obsoletes: ocaml-netclient-devel
286 %description netclient-devel
287 Implements much of HTTP/1.1. Implements the following advanced
288 features: chunked messages; persistent connections; connections in
289 pipelining mode ("full duplex" connections); modular authentication
290 methods, currently Basic and Digest; event-driven implementation;
291 allows concurrent service for several network connections.
293 This package contains files needed to develop OCaml programs using
296 %description netclient-devel -l pl.UTF-8
297 Biblioteka netclient implementuje większość HTTP/1.1, a także
298 następujące zaawansowane właściwości: komunikaty w kawałkach;
299 połączenia stałe; połączenia w trybie "full duplex"; modularne metody
300 uwierzytelniania, obecnie Basic i Digest; implementacja oparta na
301 zdarzeniach; umożliwia jednoczesną obsługę kilku połączeń.
303 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
304 biblioteki netclient.
306 %package netgssapi-devel
307 Summary: GSS-API generic definition
308 Summary(pl.UTF-8): Biblioteka do obsługi protokołu GSSAPI
310 Group: Development/Libraries
311 Requires: %{name}-netstring-devel = %{version}-%{release}
312 Requires: %{name}-netsys-devel = %{version}-%{release}
315 %description netgssapi-devel
316 GSSAPI library, part of Ocamlnet. This package contains the files
317 needed to develop OCaml programs using netgssapi library.
319 %description netgssapi-devel -l pl.UTF-8
320 Biblioteka do obsługi protokołu GSSAPI, część pakietu Ocamlnet. Ten
321 pakiet zawiera pliki niezbędne do tworzenia programów używających
322 biblioteki netgssapi.
324 %package nethttpd-devel
325 Summary: HTTPd library
326 Summary(pl.UTF-8): Biblioteka do obsługi protokołu HTTP
328 Group: Development/Libraries
329 Requires: %{name}-equeue-devel = %{version}-%{release}
330 Requires: %{name}-netcgi-devel = %{version}-%{release}
331 Requires: %{name}-netplex-devel = %{version}-%{release}
332 %requires_eq ocaml-pcre-devel
335 %description nethttpd-devel
336 HTTPd library, part of Ocamlnet. This package contains the files
337 needed to develop OCaml programs using nethttpd library.
339 %description nethttpd-devel -l pl.UTF-8
340 Biblioteka do obsługi protokołu HTTP, część pakietu Ocamlnet. Ten
341 pakiet zawiera pliki niezbędne do tworzenia programów używających
344 %package netmech-scram-devel
345 Summary: SCRAM mechanism for authentication
346 Summary(pl.UTF-8): Mechanizm autentykacji SCRAM
348 Group: Development/Libraries
349 Requires: %{name}-netcamlbox-devel = %{version}-%{release}
350 Requires: %{name}-netplex-devel = %{version}-%{release}
353 %description netmech-scram-devel
354 Netmech-scram library, part of Ocamlnet. This package contains the
355 files needed to develop OCaml programs using netmech-scram library.
357 %description netmech-scram-devel -l pl.UTF-8
358 Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu
359 Ocamlnet. Ten pakiet zawiera pliki niezbędne do tworzenia programów
360 używających biblioteki netmech-scram.
362 %package netmulticore-devel
363 Summary: Multi-processing for compute jobs
364 Summary(pl.UTF-8): Obsługa wieloprocesorowych obliczeń
366 Group: Development/Libraries
367 Requires: %{name}-netcamlbox-devel = %{version}-%{release}
368 Requires: %{name}-netplex-devel = %{version}-%{release}
371 %description netmulticore-devel
372 Netmcore library, part of Ocamlnet. This package contains the files
373 needed to develop OCaml programs using netmulticore library.
375 %description netmulticore-devel -l pl.UTF-8
376 Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu
377 Ocamlnet. Ten pakiet zawiera pliki niezbędne do tworzenia programów
378 używających biblioteki netmulticore.
381 Summary: Server framework
382 Summary(pl.UTF-8): Szkielet serwerowy
385 %requires_eq ocaml-runtime
386 %requires_eq ocaml-labltk
391 This package contains files needed to run bytecode executables using
394 %description netplex -l pl.UTF-8
397 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
398 używających biblioteki netplex.
400 %package netplex-devel
401 Summary: Server framework - development part
402 Summary(pl.UTF-8): Szkielet serwerowy - cześć programistyczna
404 Group: Development/Libraries
405 Requires: %{name}-equeue-devel = %{version}-%{release}
406 Requires: %{name}-netplex = %{version}-%{release}
407 Requires: %{name}-netstring-devel = %{version}-%{release}
408 Requires: %{name}-netsys-devel = %{version}-%{release}
409 Requires: %{name}-rpc-devel = %{version}-%{release}
412 %description netplex-devel
415 This package contains files needed to develop OCaml programs using
418 %description netplex-devel -l pl.UTF-8
421 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
424 %package netshm-devel
425 Summary: Shared memory support - development package
426 Summary(pl.UTF-8): Obsługa pamięci dzielonej - pakiet programistyczny
428 Group: Development/Libraries
429 Requires: %{name}-netsys-devel = %{version}-%{release}
432 %description netshm-devel
433 Shared memory support.
435 This package contains files needed to develop OCaml programs using
438 %description netshm-devel -l pl.UTF-8
439 Obsługa pamięci dzielonej.
441 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
444 %package netstring-devel
445 Summary: String processing library
446 Summary(pl.UTF-8): Biblioteka do przetwarzania napisów
448 Group: Development/Libraries
449 Requires: %{name}-netsys-devel = %{version}-%{release}
450 %requires_eq ocaml-pcre-devel
453 %description netstring-devel
454 String processing library, part of Ocamlnet. This package contains
455 files needed to develop OCaml programs using netstring library.
457 %description netstring-devel -l pl.UTF-8
458 Biblioteka do przetwarzania napisów, część pakietu Ocamlnet. Ten
459 pakiet zawiera pliki niezbędne do tworzenia programów używających
460 biblioteki netstring.
463 Summary: OS-specific functions
464 Summary(pl.UTF-8): Funkcje specyficzne dla systemu operacyjnego
467 %requires_eq ocaml-runtime
470 OS-specific functions.
472 This package contains files needed to run bytecode executables using
475 %description netsys -l pl.UTF-8
476 Funkcje specyficzne dla systemu operacyjnego.
478 Ten pakiet zawiera moduły potrzebne do uruchamiania programów
479 używających biblioteki netsys.
481 %package netsys-devel
482 Summary: OS-specific functions - development part
483 Summary(pl.UTF-8): Funkcje specyficzne dla systemu operacyjnego - cześć programistyczna
485 Group: Development/Libraries
486 Requires: %{name}-netsys = %{version}-%{release}
489 %description netsys-devel
490 OS-specific functions.
492 This package contains files needed to develop OCaml programs using
495 %description netsys-devel -l pl.UTF-8
496 Funkcje specyficzne dla systemu operacyjnego.
498 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
501 %package netzip-devel
502 Summary: Gzip channels - development part
503 Summary(pl.UTF-8): Funkcje do kompresji kanałow - cześć programistyczna
505 Group: Development/Libraries
506 Requires: %{name}-netstring-devel = %{version}-%{release}
509 %description netzip-devel
510 Gzip channels functions.
512 This package contains files needed to develop OCaml programs using
515 %description netzip-devel -l pl.UTF-8
516 Funkcje do kompresji kanałow.
518 Ten pakiet zawiera pliki niezbędne do tworzenia programów używających
522 Summary: Post Office Protocol (POP3) library
523 Summary(pl.UTF-8): Biblioteka do obsługi POP3
525 Group: Development/Libraries
526 Requires: %{name}-netstring-devel = %{version}-%{release}
529 %description pop3-devel
530 Post Office Protocol (POP3) library, part of Ocamlnet. This package
531 contains files needed to develop OCaml programs using pop library.
533 %description pop3-devel -l pl.UTF-8
534 Biblioteka do obsługi POP3, część pakietu Ocamlnet. Ten pakiet zawiera
535 pliki niezbędne do tworzenia programów używających biblioteki pop.
538 Summary: Remote Procedure Call (RPC) libraries
539 Summary(pl.UTF-8): Biblioteki do obsługi RPC
541 Group: Development/Libraries
542 Requires: %{name}-equeue-ssl = %{version}-%{release}
546 Remote Procedure Call (RPC) libraries.
548 %description rpc -l pl.UTF-8
549 Biblioteki do obsługi RPC.
552 Summary: Remote Procedure Call (RPC) libraries - development part
553 Summary(pl.UTF-8): Biblioteki do obsługi RPC - część programistyczna
555 Group: Development/Libraries
556 Requires: %{name}-equeue-ssl-devel = %{version}-%{release}
557 Requires: %{name}-rpc = %{version}-%{release}
560 %description rpc-devel
561 Remote Procedure Call (RPC) libraries - development part.
563 %description rpc-devel -l pl.UTF-8
564 Biblioteki do obsługi RPC - część programistyczna.
567 Summary: Unix shell functions
568 Summary(pl.UTF-8): Funkcje powłoki uniksowej
570 Group: Development/Libraries
571 Requires: %{name}-equeue-devel = %{version}-%{release}
572 Requires: %{name}-netsys-devel = %{version}-%{release}
575 %description shell-devel
576 Unix shell functions.
578 %description shell-devel -l pl.UTF-8
579 Funkcje powłoki uniksowej.
582 Summary: Simple Mail Transfer Protocol (SMTP) library
583 Summary(pl.UTF-8): Biblioteka do obsługi SMTP
585 Group: Development/Libraries
586 Requires: %{name}-netstring-devel = %{version}-%{release}
589 %description smtp-devel
590 Interface for the Simple Mail Tranfer Protocol (SMTP) as specified by
593 %description smtp-devel -l pl.UTF-8
594 Interfejs dla protokołu SMTP opisanego w RFC 2821.
597 %setup -q -n ocamlnet-%{version}
604 # no %%configure, please
614 -equeue-tcl-libs "-ltcl" \
619 %{__make} -j1 all opt
622 rm -rf $RPM_BUILD_ROOT
623 install -d $RPM_BUILD_ROOT{%{_libdir}/ocaml,%{_apachepkglibdir},%{_apachesysconfdir}}
625 %{__make} -j1 install \
626 OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
627 DESTDIR=$RPM_BUILD_ROOT
630 for f in e* n* p* r* shell smtp ; do
631 [ -d $RPM_BUILD_ROOT%{_libdir}/ocaml/$f ] || continue
632 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f
633 mv $RPM_BUILD_ROOT%{_libdir}/ocaml/$f/META \
634 $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f/
635 echo "directory = \"+$f\"" \
636 >> $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f/META
640 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/netcgi_apache/500netcgi_apache.info
641 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/netcgi_apache/META
642 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/netcgi_apache/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-gtk-devel
711 %defattr(644,root,root,755)
712 %dir %{_libdir}/ocaml/equeue-gtk1
713 %{_libdir}/ocaml/equeue-gtk1/*.cm[ixao]*
714 %{_libdir}/ocaml/equeue-gtk1/*.a
715 %{_libdir}/ocaml/site-lib/equeue-gtk1
717 %files equeue-gtk2-devel
718 %defattr(644,root,root,755)
719 %dir %{_libdir}/ocaml/equeue-gtk2
720 %{_libdir}/ocaml/equeue-gtk2/*.cm[ixao]*
721 %{_libdir}/ocaml/equeue-gtk2/*.a
722 %{_libdir}/ocaml/site-lib/equeue-gtk2
725 %defattr(644,root,root,755)
726 %dir %{_libdir}/ocaml/equeue-ssl
727 %attr(755,root,root) %{_libdir}/ocaml/equeue-ssl/*.so
729 %files equeue-ssl-devel
730 %defattr(644,root,root,755)
731 %{_libdir}/ocaml/equeue-ssl/*.cm[ixao]*
732 %{_libdir}/ocaml/equeue-ssl/*.a
733 %{_libdir}/ocaml/site-lib/equeue-ssl
736 %defattr(644,root,root,755)
737 %dir %{_libdir}/ocaml/equeue-tcl
738 %attr(755,root,root) %{_libdir}/ocaml/equeue-tcl/*.so
740 %files equeue-tcl-devel
741 %defattr(644,root,root,755)
742 %{_libdir}/ocaml/equeue-tcl/*.cm[ixao]*
743 %{_libdir}/ocaml/equeue-tcl/*.a
744 %{_libdir}/ocaml/site-lib/equeue-tcl
746 %files netcamlbox-devel
747 %defattr(644,root,root,755)
748 %dir %{_libdir}/ocaml/netcamlbox
749 %{_libdir}/ocaml/netcamlbox/*.cm[ixao]*
750 %{_libdir}/ocaml/netcamlbox/*.a
751 %{_libdir}/ocaml/site-lib/netcamlbox
752 %{_examplesdir}/%{name}-netcamlbox-%{version}
754 %files netclient-devel
755 %defattr(644,root,root,755)
756 %dir %{_libdir}/ocaml/netclient
757 %{_libdir}/ocaml/netclient/*.cm[ixao]*
758 %{_libdir}/ocaml/netclient/*.a
759 %{_libdir}/ocaml/site-lib/netclient
760 %{_examplesdir}/%{name}-netclient-%{version}
762 %files netgssapi-devel
763 %defattr(644,root,root,755)
764 %dir %{_libdir}/ocaml/netgssapi
765 %{_libdir}/ocaml/netgssapi/*.cm[ixao]*
766 %{_libdir}/ocaml/netgssapi/*.a
767 %{_libdir}/ocaml/site-lib/netgssapi
769 %files nethttpd-devel
770 %defattr(644,root,root,755)
771 %dir %{_libdir}/ocaml/nethttpd
772 %{_libdir}/ocaml/nethttpd/*.cm[ixa]*
773 %{_libdir}/ocaml/nethttpd/*.a
774 %{_libdir}/ocaml/site-lib/nethttpd
775 %{_examplesdir}/%{name}-nethttpd-%{version}
777 %files netmech-scram-devel
778 %defattr(644,root,root,755)
779 %dir %{_libdir}/ocaml/netmech-scram
780 %{_libdir}/ocaml/netmech-scram/*.cm[ixa]*
781 %{_libdir}/ocaml/netmech-scram/*.a
782 %{_libdir}/ocaml/site-lib/netmech-scram
784 %files netmulticore-devel
785 %defattr(644,root,root,755)
786 %dir %{_libdir}/ocaml/netmulticore
787 %{_libdir}/ocaml/netmulticore/*.cm[ixa]*
788 %{_libdir}/ocaml/netmulticore/*.a
789 %{_libdir}/ocaml/site-lib/netmulticore
790 %{_examplesdir}/%{name}-netmulticore-%{version}
793 %defattr(644,root,root,755)
794 %attr(755,root,root) %{_bindir}/netplex-admin
797 %defattr(644,root,root,755)
798 %dir %{_libdir}/ocaml/netplex
799 %{_libdir}/ocaml/netplex/netplex-packlist
800 %{_libdir}/ocaml/netplex/*.cm[ixao]*
801 %{_libdir}/ocaml/netplex/*.a
802 %{_libdir}/ocaml/netplex/*.o
803 %{_libdir}/ocaml/site-lib/netplex
806 %defattr(644,root,root,755)
807 %dir %{_libdir}/ocaml/netshm
808 %{_libdir}/ocaml/netshm/*.cm[ixao]*
809 %{_libdir}/ocaml/netshm/*.a
810 %{_libdir}/ocaml/site-lib/netshm
812 %files netstring-devel
813 %defattr(644,root,root,755)
814 %dir %{_libdir}/ocaml/netstring
815 %{_libdir}/ocaml/netstring/netdb-packlist
816 %{_libdir}/ocaml/netstring/*.cm[ixao]*
817 %{_libdir}/ocaml/netstring/*.a
818 %{_libdir}/ocaml/netstring/*.o
819 %attr(755,root,root) %{_libdir}/ocaml/netstring/*.so
820 %{_libdir}/ocaml/site-lib/netstring
823 %defattr(644,root,root,755)
824 %dir %{_libdir}/ocaml/netsys
825 %attr(755,root,root) %{_libdir}/ocaml/netsys/*.so
826 %{_libdir}/ocaml/netsys/*.o
829 %defattr(644,root,root,755)
830 %{_libdir}/ocaml/netsys/*.cm[ixao]*
831 %{_libdir}/ocaml/netsys/*.a
832 %{_libdir}/ocaml/site-lib/netsys
835 %defattr(644,root,root,755)
836 %dir %{_libdir}/ocaml/netzip
837 %{_libdir}/ocaml/netzip/*.cm[ixao]*
838 %{_libdir}/ocaml/netzip/*.a
839 %{_libdir}/ocaml/site-lib/netzip
842 %defattr(644,root,root,755)
843 %dir %{_libdir}/ocaml/pop
844 %{_libdir}/ocaml/pop/*.cm[ixao]*
845 %{_libdir}/ocaml/pop/*.a
846 %{_libdir}/ocaml/site-lib/pop
847 %{_examplesdir}/%{name}-pop3-%{version}
850 %defattr(644,root,root,755)
851 %attr(755,root,root) %{_bindir}/ocamlrpcgen
852 %dir %{_libdir}/ocaml/rpc-auth-local
853 %attr(755,root,root) %{_libdir}/ocaml/rpc-auth-local/dllrpc_auth_local.so
856 %defattr(644,root,root,755)
857 %dir %{_libdir}/ocaml/rpc
858 %dir %{_libdir}/ocaml/rpc-auth-dh
859 %dir %{_libdir}/ocaml/rpc-generator
860 %dir %{_libdir}/ocaml/rpc-ssl
861 %{_libdir}/ocaml/rpc-generator/rpcgen-packlist
862 %{_libdir}/ocaml/rpc*/*.cm[ixao]*
863 %{_libdir}/ocaml/rpc*/*.a
864 %{_libdir}/ocaml/site-lib/rpc*
865 %{_examplesdir}/%{name}-rpc-%{version}
868 %defattr(644,root,root,755)
869 %dir %{_libdir}/ocaml/shell
870 %{_libdir}/ocaml/shell/*.cm[ixao]*
871 %{_libdir}/ocaml/shell/*.a
872 %{_libdir}/ocaml/site-lib/shell
875 %defattr(644,root,root,755)
876 %dir %{_libdir}/ocaml/smtp
877 %{_libdir}/ocaml/smtp/*.cm[ixao]*
878 %{_libdir}/ocaml/smtp/*.a
879 %{_libdir}/ocaml/site-lib/smtp