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