]>
Commit | Line | Data |
---|---|---|
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 | 13 | Summary: Modules for Internet programming in OCaml |
553e669b | 14 | Summary(pl.UTF-8): Moduły ułatwiające pisanie programów internetowych w OCamlu |
cfdcf47a | 15 | Name: ocaml-net |
7cbc2f58 JB |
16 | Version: 4.1.9 |
17 | Release: 1 | |
18 | License: GPL v2+ (nethttpd), LGPL v2+ (mod_netcgi), BSD-like (the rest) | |
cfdcf47a | 19 | Group: Libraries |
6a48f6e4 | 20 | Source0: http://download.camlcity.org/download/ocamlnet-%{version}.tar.gz |
7cbc2f58 | 21 | # Source0-md5: 3812d76b325903412bb27e5a656df689 |
6a48f6e4 | 22 | Patch0: %{name}-buildfix.patch |
84639fdc | 23 | Patch1: %{name}-lablgtk2.patch |
05dd1797 | 24 | Patch2: %{name}-apache-link.patch |
6a48f6e4 | 25 | URL: http://projects.camlcity.org/projects/ocamlnet.html |
11928791 | 26 | %if %{with apache} |
cb8bf70d | 27 | BuildRequires: %{apache} |
8448aa07 | 28 | BuildRequires: %{apxs} |
84639fdc | 29 | BuildRequires: apache-devel >= 2.0 |
11928791 | 30 | %endif |
91c26977 | 31 | BuildRequires: ncurses-devel |
84639fdc | 32 | BuildRequires: ocaml >= 1:3.09.2 |
a85e3ddf | 33 | BuildRequires: ocaml-camlp4 |
8448aa07 | 34 | BuildRequires: ocaml-cryptokit-devel |
2860521a | 35 | BuildRequires: ocaml-findlib |
a85e3ddf | 36 | BuildRequires: ocaml-findlib-devel |
84639fdc | 37 | BuildRequires: ocaml-lablgtk2-devel >= 2.14.2 |
8448aa07 JR |
38 | BuildRequires: ocaml-labltk-devel |
39 | BuildRequires: ocaml-pcre-devel | |
b92aa72c | 40 | BuildRequires: ocaml-ssl-devel |
84639fdc | 41 | BuildRequires: ocaml-zip-devel |
7cbc2f58 | 42 | BuildRequires: rpm-build >= 4.6 |
b92aa72c | 43 | BuildRequires: tcl-devel |
cfdcf47a MM |
44 | BuildRoot: %{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 |
50 | Modules for Internet programming in OCaml. |
51 | ||
a73a9323 JR |
52 | %description -l pl.UTF-8 |
53 | Moduły ułatwiające pisanie programów internetowych w OCamlu. | |
cfdcf47a | 54 | |
9de7b5fa JR |
55 | %package doc |
56 | Summary: ocaml-net documentation | |
553e669b | 57 | Summary(pl.UTF-8): Dokumentacja dla pakietów ocaml-net |
de448ef4 | 58 | License: BSD-like |
7cbc2f58 JB |
59 | Group: Documentation |
60 | BuildArch: noarch | |
9de7b5fa JR |
61 | |
62 | %description doc | |
9906ddba | 63 | ocaml-net documentation. |
9de7b5fa | 64 | |
a73a9323 JR |
65 | %description doc -l pl.UTF-8 |
66 | Dokumentacja dla pakietów ocaml-net. | |
9de7b5fa | 67 | |
7cbc2f58 | 68 | %package equeue |
b92aa72c JR |
69 | Summary: Event queue library for OCaml |
70 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla | |
7cbc2f58 JB |
71 | Group: Libraries |
72 | License: BSD-like | |
73 | %requires_eq ocaml-runtime | |
74 | Conflicts: ocaml-net-equeue-devel < 4.1.9-1 | |
ecdf5780 | 75 | Obsoletes: ocaml-net-equeue-ssl < 4 |
7cbc2f58 JB |
76 | |
77 | %description equeue | |
78 | Equeue provides a generic event queue module, and a specific module | |
79 | for file descriptor events. | |
80 | ||
81 | %description equeue -l pl.UTF-8 | |
82 | Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również | |
83 | modułu obsługi zdarzeń na deskryptorach plików. | |
84 | ||
85 | %package equeue-devel | |
86 | Summary: Event queue library for OCaml - development part | |
87 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla - część programistyczna | |
de448ef4 | 88 | License: BSD-like |
b92aa72c | 89 | Group: Development/Libraries |
da2ac219 | 90 | Requires: %{name}-equeue = %{version}-%{release} |
b92aa72c | 91 | Requires: %{name}-netsys-devel = %{version}-%{release} |
7cbc2f58 JB |
92 | %requires_eq ocaml |
93 | Obsoletes: ocaml-equeue-devel < 2.2 | |
ecdf5780 | 94 | Obsoletes: ocaml-net-equeue-ssl-devel < 4 |
b92aa72c JR |
95 | |
96 | %description equeue-devel | |
97 | Equeue provides a generic event queue module, and a specific module | |
98 | for file descriptor events. | |
99 | ||
100 | This package contains files needed to develop OCaml programs using | |
2832b715 | 101 | equeue library. |
b92aa72c JR |
102 | |
103 | %description equeue-devel -l pl.UTF-8 | |
104 | Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również | |
105 | modułu obsługi zdarzeń na deskryptorach plików. | |
106 | ||
2832b715 JB |
107 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających |
108 | biblioteki equeue. | |
b92aa72c | 109 | |
7cbc2f58 | 110 | %package equeue-gtk2 |
84639fdc JR |
111 | Summary: GTK2 event queue library for OCaml |
112 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń GTK2 dla OCamla | |
113 | License: BSD-like | |
7cbc2f58 JB |
114 | Group: Libraries |
115 | %requires_eq ocaml-runtime | |
116 | Conflicts: ocaml-net-equeue-gtk2-devel < 4.1.9-1 | |
117 | ||
118 | %description equeue-gtk2 | |
119 | Equeue provides a generic event queue module, and a specific module | |
120 | for file descriptor events. | |
121 | ||
122 | %description equeue-gtk2 -l pl.UTF-8 | |
123 | Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również | |
124 | modułu obsługi zdarzeń na deskryptorach plików. | |
125 | ||
126 | %package equeue-gtk2-devel | |
127 | Summary: GTK2 event queue library for OCaml - development part | |
128 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń GTK2 dla OCamla - część programistyczna | |
129 | License: BSD-like | |
84639fdc JR |
130 | Group: Development/Libraries |
131 | Requires: %{name}-equeue-devel = %{version}-%{release} | |
da2ac219 | 132 | Requires: %{name}-equeue-gtk2 = %{version}-%{release} |
7be49e88 | 133 | Requires: ocaml-lablgtk2-devel |
7cbc2f58 | 134 | %requires_eq ocaml |
ecdf5780 | 135 | Obsoletes: ocaml-net-equeue-gtk-devel < 3.7.7 |
84639fdc JR |
136 | |
137 | %description equeue-gtk2-devel | |
138 | Equeue provides a generic event queue module, and a specific module | |
139 | for file descriptor events. | |
140 | ||
141 | This package contains files needed to develop OCaml programs using | |
142 | GTK2 equeue library. | |
143 | ||
144 | %description equeue-gtk2-devel -l pl.UTF-8 | |
145 | Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również | |
146 | modułu obsługi zdarzeń na deskryptorach plików. | |
147 | ||
148 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
149 | biblioteki equeue GTK2. | |
150 | ||
b92aa72c JR |
151 | %package equeue-tcl |
152 | Summary: Event queue library for OCaml, Tcl support | |
153 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla, wsparcie dla Tcl | |
de448ef4 | 154 | License: BSD-like |
b92aa72c | 155 | Group: Libraries |
7cbc2f58 JB |
156 | %requires_eq ocaml-runtime |
157 | %requires_eq ocaml-labltk | |
158 | Obsoletes: ocaml-equeue-tcl < 2.2 | |
b92aa72c JR |
159 | |
160 | %description equeue-tcl | |
161 | This package makes it possible to let Equeue cooperate with the event | |
162 | queue implementation of Tcl. | |
163 | ||
164 | This package contains files needed to run bytecode executables using | |
2832b715 | 165 | equeue-tcl library. |
b92aa72c JR |
166 | |
167 | %description equeue-tcl -l pl.UTF-8 | |
168 | Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń | |
169 | w Tcl. | |
170 | ||
2832b715 JB |
171 | Ten pakiet zawiera moduły potrzebne do uruchamiania programów |
172 | używających biblioteki equeue-tcl. | |
b92aa72c JR |
173 | |
174 | %package equeue-tcl-devel | |
175 | Summary: Equeue Tcl support - development part | |
12862bd6 | 176 | Summary(pl.UTF-8): Wsparcie dla Tcl-a w equeue - część programistyczna |
de448ef4 | 177 | License: BSD-like |
b92aa72c JR |
178 | Group: Development/Libraries |
179 | Requires: %{name}-equeue-devel = %{version}-%{release} | |
180 | Requires: %{name}-equeue-tcl = %{version}-%{release} | |
7cbc2f58 JB |
181 | %requires_eq ocaml |
182 | %requires_eq ocaml-labltk-devel | |
183 | Obsoletes: ocaml-equeue-tcl-devel < 2.2 | |
b92aa72c JR |
184 | |
185 | %description equeue-tcl-devel | |
186 | This package makes it possible to let Equeue cooperate with the event | |
187 | queue implementation of Tcl. | |
188 | ||
189 | This package contains files needed to develop OCaml programs using | |
190 | this library. | |
191 | ||
192 | %description equeue-tcl-devel -l pl.UTF-8 | |
193 | Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń | |
194 | w Tcl. | |
195 | ||
2832b715 JB |
196 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających |
197 | biblioteki equeue-tcl. | |
b92aa72c | 198 | |
7cbc2f58 | 199 | %package netcamlbox |
84639fdc JR |
200 | Summary: Fast IPC mechanism for OCaml |
201 | Summary(pl.UTF-8): Szybki mechanizm IPC dla OCamla | |
202 | License: BSD-like | |
7cbc2f58 JB |
203 | Group: Libraries |
204 | %requires_eq ocaml-runtime | |
205 | Conflicts: ocaml-net-netcamlbox-devel < 4.1.9-1 | |
206 | ||
207 | %description netcamlbox | |
208 | Camlboxes are a fast IPC mechanism to send Ocaml values from one | |
209 | process to another. Source and destination processes must run on the | |
210 | same machine (no network). The Ocaml value is copied to a shared | |
211 | memory object where it can be directly accessed by the receiver | |
212 | without unmarshalling step. This means the sender writes the value | |
213 | into the shared memory in a format that can immediately interpreted by | |
214 | the receiver. | |
215 | ||
216 | %description netcamlbox -l pl.UTF-8 | |
217 | Camlboksy są szybkim mechanizmem IPC do przesyłania danych Ocamla | |
218 | pomiędzy procesami. Nadawca i odbiorca muszą być uruchomione na tej | |
219 | samej maszynie. Dane Ocamla są kopiowane do segmentu pamięci | |
220 | dzielonej, gdzie mogą byc bezpośrednio odczytywane przez odbiorcę. | |
221 | ||
222 | %package netcamlbox-devel | |
223 | Summary: Fast IPC mechanism for OCaml - development part | |
224 | Summary(pl.UTF-8): Szybki mechanizm IPC dla OCamla - część programistyczna | |
225 | License: BSD-like | |
84639fdc | 226 | Group: Development/Libraries |
da2ac219 | 227 | Requires: %{name}-netcamlbox = %{version}-%{release} |
84639fdc | 228 | Requires: %{name}-netsys-devel = %{version}-%{release} |
7cbc2f58 | 229 | %requires_eq ocaml |
84639fdc JR |
230 | |
231 | %description netcamlbox-devel | |
8448aa07 JR |
232 | Camlboxes are a fast IPC mechanism to send Ocaml values from one |
233 | process to another. Source and destination processes must run on the | |
234 | same machine (no network). The Ocaml value is copied to a shared | |
235 | memory object where it can be directly accessed by the receiver | |
236 | without unmarshalling step. This means the sender writes the value | |
237 | into the shared memory in a format that can immediately interpreted by | |
238 | the receiver. | |
84639fdc JR |
239 | |
240 | This package contains files needed to develop OCaml programs using | |
241 | netcamlbox library. | |
242 | ||
243 | %description netcamlbox-devel -l pl.UTF-8 | |
7cbc2f58 | 244 | Camlboksy są szybkim mechanizmem IPC do przesyłania danych Ocamla |
8448aa07 JR |
245 | pomiędzy procesami. Nadawca i odbiorca muszą być uruchomione na tej |
246 | samej maszynie. Dane Ocamla są kopiowane do segmentu pamięci | |
247 | dzielonej, gdzie mogą byc bezpośrednio odczytywane przez odbiorcę. | |
84639fdc JR |
248 | |
249 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
250 | biblioteki netcamlbox. | |
251 | ||
05b69056 JB |
252 | %package netcgi |
253 | Summary: Common Gateway Interface library | |
254 | Summary(pl.UTF-8): Biblioteka do tworzenia skryptów CGI | |
255 | Group: Libraries | |
256 | License: BSD-like | |
257 | %requires_eq ocaml-runtime | |
258 | Conflicts: ocaml-net-netcgi-devel < 4.1.9-1 | |
259 | ||
260 | %description netcgi | |
261 | Common Gateway Interface library, part of Ocamlnet. | |
262 | ||
263 | %description netcgi -l pl.UTF-8 | |
264 | Biblioteka do tworzenia skryptów CGI, część pakietu Ocamlnet. | |
265 | ||
266 | %package netcgi-devel | |
267 | Summary: Common Gateway Interface library - development part | |
268 | Summary(pl.UTF-8): Biblioteka do tworzenia skryptów CGI - część programistyczna | |
269 | License: BSD-like | |
270 | Group: Development/Libraries | |
da2ac219 | 271 | Requires: %{name}-netcgi = %{version}-%{release} |
05b69056 JB |
272 | Requires: %{name}-netplex-devel = %{version}-%{release} |
273 | Requires: %{name}-netstring-devel = %{version}-%{release} | |
274 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
275 | %requires_eq ocaml | |
276 | Obsoletes: ocaml-net-cgi-devel < 3 | |
277 | ||
278 | %description netcgi-devel | |
279 | Common Gateway Interface library, part of Ocamlnet. This package | |
280 | contains files needed to develop OCaml programs using netcgi library. | |
281 | ||
282 | %description netcgi-devel -l pl.UTF-8 | |
283 | Biblioteka do tworzenia skryptów CGI, część pakietu Ocamlnet. Ten | |
284 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
285 | biblioteki netcgi. | |
286 | ||
287 | %package -n apache-mod_netcgi | |
288 | Summary: Apache mod_netcfg module | |
289 | Summary(pl.UTF-8): Moduł Apache'a mod_netcgi | |
290 | License: LGPL v2+ | |
291 | Group: Networking/Daemons/HTTP | |
292 | Requires: apache(modules-api) = %apache_modules_api | |
293 | ||
294 | %description -n apache-mod_netcgi | |
295 | Apache mod_netcfg module. | |
296 | ||
297 | %description -n apache-mod_netcgi -l pl.UTF-8 | |
298 | Moduł Apache'a mod_netcgi. | |
299 | ||
7cbc2f58 | 300 | %package netclient |
b92aa72c JR |
301 | Summary: HTTP 1.1 client for OCaml |
302 | Summary(pl.UTF-8): Klient HTTP 1.1 dla OCamla | |
de448ef4 | 303 | License: BSD-like |
7cbc2f58 JB |
304 | Group: Libraries |
305 | %requires_eq ocaml-runtime | |
306 | Conflicts: ocaml-net-netclient-devel < 4.1.9-1 | |
307 | ||
308 | %description netclient | |
309 | Implements much of HTTP/1.1. Implements the following advanced | |
310 | features: chunked messages; persistent connections; connections in | |
311 | pipelining mode ("full duplex" connections); modular authentication | |
312 | methods, currently Basic and Digest; event-driven implementation; | |
313 | allows concurrent service for several network connections. | |
314 | ||
315 | %description netclient -l pl.UTF-8 | |
316 | Biblioteka netclient implementuje większość HTTP/1.1, a także | |
317 | następujące zaawansowane właściwości: komunikaty w kawałkach; | |
318 | połączenia stałe; połączenia w trybie "full duplex"; modularne metody | |
319 | uwierzytelniania, obecnie Basic i Digest; implementacja oparta na | |
320 | zdarzeniach; umożliwia jednoczesną obsługę kilku połączeń. | |
321 | ||
322 | %package netclient-devel | |
323 | Summary: HTTP 1.1 client for OCaml - development part | |
324 | Summary(pl.UTF-8): Klient HTTP 1.1 dla OCamla - część programistyczna | |
325 | License: BSD-like | |
b92aa72c JR |
326 | Group: Development/Libraries |
327 | Requires: %{name}-equeue-devel = %{version}-%{release} | |
da2ac219 | 328 | Requires: %{name}-netclient = %{version}-%{release} |
b92aa72c | 329 | Requires: %{name}-netstring-devel = %{version}-%{release} |
7cbc2f58 | 330 | %requires_eq ocaml |
ecdf5780 JB |
331 | Obsoletes: ocaml-net-pop3-devel < 4 |
332 | Obsoletes: ocaml-net-smtp-devel < 4 | |
7cbc2f58 | 333 | Obsoletes: ocaml-netclient-devel < 1 |
b92aa72c JR |
334 | |
335 | %description netclient-devel | |
336 | Implements much of HTTP/1.1. Implements the following advanced | |
337 | features: chunked messages; persistent connections; connections in | |
338 | pipelining mode ("full duplex" connections); modular authentication | |
339 | methods, currently Basic and Digest; event-driven implementation; | |
340 | allows concurrent service for several network connections. | |
341 | ||
342 | This package contains files needed to develop OCaml programs using | |
2832b715 | 343 | netclient library. |
b92aa72c JR |
344 | |
345 | %description netclient-devel -l pl.UTF-8 | |
2832b715 JB |
346 | Biblioteka netclient implementuje większość HTTP/1.1, a także |
347 | następujące zaawansowane właściwości: komunikaty w kawałkach; | |
348 | połączenia stałe; połączenia w trybie "full duplex"; modularne metody | |
349 | uwierzytelniania, obecnie Basic i Digest; implementacja oparta na | |
350 | zdarzeniach; umożliwia jednoczesną obsługę kilku połączeń. | |
b92aa72c | 351 | |
2832b715 JB |
352 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających |
353 | biblioteki netclient. | |
b92aa72c | 354 | |
df358c15 JR |
355 | %package netgss-system |
356 | Summary: GSS-API generic definition | |
357 | Summary(pl.UTF-8): Biblioteka do obsługi protokołu GSSAPI | |
358 | License: GPL v2+ | |
359 | Group: Libraries | |
360 | Requires: %{name}-netstring = %{version}-%{release} | |
361 | Requires: %{name}-netsys = %{version}-%{release} | |
7cbc2f58 | 362 | %requires_eq ocaml-runtime |
df358c15 JR |
363 | |
364 | %description netgss-system | |
365 | GSSAPI library, part of Ocamlnet. This package contains the files | |
366 | needed to develop OCaml programs using netgss-system library. | |
367 | ||
368 | %description netgss-system -l pl.UTF-8 | |
369 | Biblioteka do obsługi protokołu GSSAPI, część pakietu Ocamlnet. Ten | |
370 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
371 | biblioteki netgss-system. | |
372 | ||
373 | %package netgss-system-devel | |
7cbc2f58 JB |
374 | Summary: GSS-API generic definition - development part |
375 | Summary(pl.UTF-8): Biblioteka do obsługi protokołu GSSAPI - część programistyczna | |
84639fdc JR |
376 | License: GPL v2+ |
377 | Group: Development/Libraries | |
da2ac219 | 378 | Requires: %{name}-netgss-system = %{version}-%{release} |
84639fdc JR |
379 | Requires: %{name}-netstring-devel = %{version}-%{release} |
380 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
7cbc2f58 | 381 | %requires_eq ocaml |
84639fdc | 382 | |
df358c15 | 383 | %description netgss-system-devel |
84639fdc | 384 | GSSAPI library, part of Ocamlnet. This package contains the files |
df358c15 | 385 | needed to develop OCaml programs using netgss-system library. |
84639fdc | 386 | |
df358c15 | 387 | %description netgss-system-devel -l pl.UTF-8 |
84639fdc JR |
388 | Biblioteka do obsługi protokołu GSSAPI, część pakietu Ocamlnet. Ten |
389 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
df358c15 | 390 | biblioteki netgss-system. |
84639fdc | 391 | |
7cbc2f58 | 392 | %package nethttpd |
9de7b5fa | 393 | Summary: HTTPd library |
553e669b | 394 | Summary(pl.UTF-8): Biblioteka do obsługi protokołu HTTP |
de448ef4 | 395 | License: GPL v2+ |
7cbc2f58 JB |
396 | Group: Libraries |
397 | %requires_eq ocaml-runtime | |
398 | Conflicts: ocaml-net-nethttpd-devel < 4.1.9-1 | |
399 | ||
400 | %description nethttpd | |
401 | HTTPd library, part of Ocamlnet. | |
402 | ||
403 | %description nethttpd -l pl.UTF-8 | |
404 | Biblioteka do obsługi protokołu HTTP, część pakietu Ocamlnet. | |
405 | ||
406 | %package nethttpd-devel | |
407 | Summary: HTTPd library - development part | |
408 | Summary(pl.UTF-8): Biblioteka do obsługi protokołu HTTP - część programistyczna | |
409 | License: GPL v2+ | |
9de7b5fa | 410 | Group: Development/Libraries |
b92aa72c | 411 | Requires: %{name}-equeue-devel = %{version}-%{release} |
8448aa07 | 412 | Requires: %{name}-netcgi-devel = %{version}-%{release} |
da2ac219 | 413 | Requires: %{name}-nethttpd = %{version}-%{release} |
b92aa72c | 414 | Requires: %{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 | 419 | HTTPd library, part of Ocamlnet. This package contains the files |
2832b715 | 420 | needed to develop OCaml programs using nethttpd library. |
9de7b5fa | 421 | |
a73a9323 | 422 | %description nethttpd-devel -l pl.UTF-8 |
2832b715 JB |
423 | Biblioteka do obsługi protokołu HTTP, część pakietu Ocamlnet. Ten |
424 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
425 | biblioteki nethttpd. | |
9de7b5fa | 426 | |
7cbc2f58 | 427 | %package netmulticore |
84639fdc JR |
428 | Summary: Multi-processing for compute jobs |
429 | Summary(pl.UTF-8): Obsługa wieloprocesorowych obliczeń | |
430 | License: GPL v2+ | |
7cbc2f58 JB |
431 | Group: Libraries |
432 | %requires_eq ocaml-runtime | |
433 | Conflicts: ocaml-net-netmulticore-devel < 4.1.9-1 | |
434 | ||
435 | %description netmulticore | |
436 | Netmcore library, part of Ocamlnet. | |
437 | ||
438 | %description netmulticore -l pl.UTF-8 | |
439 | Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu | |
440 | Ocamlnet. | |
441 | ||
442 | %package netmulticore-devel | |
443 | Summary: Multi-processing for compute jobs - development part | |
444 | Summary(pl.UTF-8): Obsługa wieloprocesorowych obliczeń - część programistyczna | |
445 | License: GPL v2+ | |
84639fdc JR |
446 | Group: Development/Libraries |
447 | Requires: %{name}-netcamlbox-devel = %{version}-%{release} | |
da2ac219 | 448 | Requires: %{name}-netmulticore = %{version}-%{release} |
84639fdc | 449 | Requires: %{name}-netplex-devel = %{version}-%{release} |
7cbc2f58 | 450 | %requires_eq ocaml |
84639fdc JR |
451 | |
452 | %description netmulticore-devel | |
453 | Netmcore library, part of Ocamlnet. This package contains the files | |
454 | needed to develop OCaml programs using netmulticore library. | |
455 | ||
456 | %description netmulticore-devel -l pl.UTF-8 | |
8448aa07 JR |
457 | Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu |
458 | Ocamlnet. Ten pakiet zawiera pliki niezbędne do tworzenia programów | |
459 | używających biblioteki netmulticore. | |
84639fdc | 460 | |
b92aa72c JR |
461 | %package netplex |
462 | Summary: Server framework | |
2832b715 | 463 | Summary(pl.UTF-8): Szkielet serwerowy |
de448ef4 | 464 | License: BSD-like |
b92aa72c | 465 | Group: Libraries |
7cbc2f58 JB |
466 | %requires_eq ocaml-labltk |
467 | %requires_eq ocaml-runtime | |
b92aa72c JR |
468 | |
469 | %description netplex | |
470 | Server framework. | |
471 | ||
472 | This package contains files needed to run bytecode executables using | |
2832b715 | 473 | netplex library. |
b92aa72c | 474 | |
2832b715 JB |
475 | %description netplex -l pl.UTF-8 |
476 | Szkielet serwerowy. | |
477 | ||
478 | Ten pakiet zawiera moduły potrzebne do uruchamiania programów | |
479 | używających biblioteki netplex. | |
b92aa72c JR |
480 | |
481 | %package netplex-devel | |
482 | Summary: Server framework - development part | |
12862bd6 | 483 | Summary(pl.UTF-8): Szkielet serwerowy - część programistyczna |
de448ef4 | 484 | License: BSD-like |
cfdcf47a | 485 | Group: Development/Libraries |
b92aa72c | 486 | Requires: %{name}-equeue-devel = %{version}-%{release} |
8448aa07 | 487 | Requires: %{name}-netplex = %{version}-%{release} |
cfdcf47a | 488 | Requires: %{name}-netstring-devel = %{version}-%{release} |
b92aa72c | 489 | Requires: %{name}-netsys-devel = %{version}-%{release} |
8448aa07 | 490 | Requires: %{name}-rpc-devel = %{version}-%{release} |
7cbc2f58 | 491 | %requires_eq ocaml |
cfdcf47a | 492 | |
b92aa72c JR |
493 | %description netplex-devel |
494 | Server framework. | |
cfdcf47a | 495 | |
b92aa72c | 496 | This package contains files needed to develop OCaml programs using |
2832b715 | 497 | netplex library. |
b92aa72c | 498 | |
2832b715 JB |
499 | %description netplex-devel -l pl.UTF-8 |
500 | Szkielet serwerowy. | |
501 | ||
502 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
503 | biblioteki netplex. | |
b92aa72c | 504 | |
7cbc2f58 JB |
505 | %package netshm |
506 | Summary: Shared memory support | |
507 | Summary(pl.UTF-8): Obsługa pamięci dzielonej | |
508 | License: BSD-like | |
509 | Group: Libraries | |
510 | %requires_eq ocaml-runtime | |
511 | Conflicts: ocaml-net-netshm-devel < 4.1.9-1 | |
512 | ||
513 | %description netshm | |
514 | Shared memory support. | |
515 | ||
516 | %description netshm -l pl.UTF-8 | |
517 | Obsługa pamięci dzielonej. | |
518 | ||
b92aa72c | 519 | %package netshm-devel |
2832b715 JB |
520 | Summary: Shared memory support - development package |
521 | Summary(pl.UTF-8): Obsługa pamięci dzielonej - pakiet programistyczny | |
de448ef4 | 522 | License: BSD-like |
b92aa72c | 523 | Group: Development/Libraries |
da2ac219 | 524 | Requires: %{name}-netshm = %{version}-%{release} |
b92aa72c | 525 | Requires: %{name}-netsys-devel = %{version}-%{release} |
7cbc2f58 | 526 | %requires_eq ocaml |
b92aa72c JR |
527 | |
528 | %description netshm-devel | |
529 | Shared memory support. | |
530 | ||
531 | This package contains files needed to develop OCaml programs using | |
2832b715 | 532 | netshm library. |
b92aa72c | 533 | |
2832b715 JB |
534 | %description netshm-devel -l pl.UTF-8 |
535 | Obsługa pamięci dzielonej. | |
536 | ||
537 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
538 | biblioteki netshm. | |
b92aa72c | 539 | |
a6bd7b81 JR |
540 | %package netstring |
541 | Summary: String processing library | |
542 | Summary(pl.UTF-8): Biblioteka do przetwarzania napisów | |
543 | License: BSD-like | |
544 | Group: Libraries | |
545 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
7cbc2f58 JB |
546 | %requires_eq ocaml-pcre |
547 | %requires_eq ocaml-runtime | |
a6bd7b81 JR |
548 | |
549 | %description netstring | |
550 | String processing library, part of Ocamlnet. | |
551 | ||
552 | %description netstring -l pl.UTF-8 | |
553 | Biblioteka do przetwarzania napisów, część pakietu Ocamlnet. | |
554 | ||
b92aa72c | 555 | %package netstring-devel |
7cbc2f58 JB |
556 | Summary: String processing library - development part |
557 | Summary(pl.UTF-8): Biblioteka do przetwarzania napisów - część programistyczna | |
de448ef4 | 558 | License: BSD-like |
b92aa72c | 559 | Group: Development/Libraries |
a6bd7b81 | 560 | Requires: %{name}-netstring = %{version}-%{release} |
b92aa72c | 561 | Requires: %{name}-netsys-devel = %{version}-%{release} |
7cbc2f58 JB |
562 | %requires_eq ocaml |
563 | %requires_eq ocaml-pcre-devel | |
ecdf5780 | 564 | Obsoletes: ocaml-net-netmech-scram-devel < 4.1 |
b92aa72c JR |
565 | |
566 | %description netstring-devel | |
567 | String processing library, part of Ocamlnet. This package contains | |
2832b715 | 568 | files needed to develop OCaml programs using netstring library. |
b92aa72c JR |
569 | |
570 | %description netstring-devel -l pl.UTF-8 | |
2832b715 JB |
571 | Biblioteka do przetwarzania napisów, część pakietu Ocamlnet. Ten |
572 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
573 | biblioteki netstring. | |
cfdcf47a | 574 | |
b92aa72c JR |
575 | %package netsys |
576 | Summary: OS-specific functions | |
2832b715 | 577 | Summary(pl.UTF-8): Funkcje specyficzne dla systemu operacyjnego |
de448ef4 | 578 | License: BSD-like |
b92aa72c | 579 | Group: Libraries |
7cbc2f58 | 580 | %requires_eq ocaml-runtime |
b92aa72c JR |
581 | |
582 | %description netsys | |
583 | OS-specific functions. | |
584 | ||
585 | This package contains files needed to run bytecode executables using | |
2832b715 | 586 | netsys library. |
b92aa72c | 587 | |
2832b715 JB |
588 | %description netsys -l pl.UTF-8 |
589 | Funkcje specyficzne dla systemu operacyjnego. | |
590 | ||
591 | Ten pakiet zawiera moduły potrzebne do uruchamiania programów | |
592 | używających biblioteki netsys. | |
b92aa72c JR |
593 | |
594 | %package netsys-devel | |
595 | Summary: OS-specific functions - development part | |
12862bd6 | 596 | Summary(pl.UTF-8): Funkcje specyficzne dla systemu operacyjnego - część programistyczna |
de448ef4 | 597 | License: BSD-like |
b92aa72c JR |
598 | Group: Development/Libraries |
599 | Requires: %{name}-netsys = %{version}-%{release} | |
7cbc2f58 | 600 | %requires_eq ocaml |
b92aa72c JR |
601 | |
602 | %description netsys-devel | |
603 | OS-specific functions. | |
604 | ||
605 | This package contains files needed to develop OCaml programs using | |
2832b715 | 606 | netsys library. |
b92aa72c | 607 | |
2832b715 JB |
608 | %description netsys-devel -l pl.UTF-8 |
609 | Funkcje specyficzne dla systemu operacyjnego. | |
610 | ||
611 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
612 | biblioteki netsys. | |
b92aa72c | 613 | |
7cbc2f58 JB |
614 | %package netunidata |
615 | Summary: Unicode lookup tables | |
616 | Summary(pl.UTF-8): Tablice wyszukiwania Unicode | |
617 | License: BSD-like | |
618 | Group: Libraries | |
619 | %requires_eq ocaml-runtime | |
620 | Conflicts: ocaml-net-netunidata-devel < 4.1.9-1 | |
621 | ||
622 | %description netunidata | |
623 | Unicode lookup tables. | |
624 | ||
625 | %description netunidata -l pl.UTF-8 | |
626 | Tablice wyszukiwania Unicode. | |
627 | ||
628 | %package netunidata-devel | |
629 | Summary: Unicode lookup tables - development part | |
630 | Summary(pl.UTF-8): Tablice wyszukiwania Unicode - część programistyczna | |
631 | License: BSD-like | |
632 | Group: Development/Libraries | |
633 | Requires: %{name}-netstring-devel = %{version}-%{release} | |
da2ac219 | 634 | Requires: %{name}-netunidata = %{version}-%{release} |
7cbc2f58 JB |
635 | %requires_eq ocaml |
636 | ||
637 | %description netunidata-devel | |
638 | Unicode lookup tables. | |
639 | ||
640 | This package contains files needed to develop OCaml programs using | |
641 | netunidata library. | |
642 | ||
643 | %description netunidata-devel -l pl.UTF-8 | |
644 | Tablice wyszukiwania Unicode. | |
645 | ||
646 | Ten pakiet zawiera pliki niezbędne do tworzenia programów w OCamlu | |
647 | używających biblioteki netunidata. | |
648 | ||
649 | %package netzip | |
650 | Summary: Gzip channels | |
651 | Summary(pl.UTF-8): Funkcje do kompresji kanałów | |
652 | License: BSD-like | |
653 | Group: Libraries | |
654 | %requires_eq ocaml-runtime | |
655 | Conflicts: ocaml-net-netzip-devel < 4.1.9-1 | |
656 | ||
657 | %description netzip | |
658 | Gzip channels functions. | |
659 | ||
660 | %description netzip -l pl.UTF-8 | |
661 | Funkcje do kompresji kanałów. | |
662 | ||
84639fdc JR |
663 | %package netzip-devel |
664 | Summary: Gzip channels - development part | |
12862bd6 | 665 | Summary(pl.UTF-8): Funkcje do kompresji kanałów - część programistyczna |
84639fdc JR |
666 | License: BSD-like |
667 | Group: Development/Libraries | |
7be49e88 | 668 | Requires: %{name}-netstring-devel = %{version}-%{release} |
da2ac219 | 669 | Requires: %{name}-netzip = %{version}-%{release} |
7cbc2f58 | 670 | %requires_eq ocaml |
84639fdc JR |
671 | |
672 | %description netzip-devel | |
673 | Gzip channels functions. | |
674 | ||
675 | This package contains files needed to develop OCaml programs using | |
676 | netzip library. | |
677 | ||
678 | %description netzip-devel -l pl.UTF-8 | |
7cbc2f58 | 679 | Funkcje do kompresji kanałów. |
84639fdc JR |
680 | |
681 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
682 | biblioteki netzip. | |
683 | ||
b92aa72c | 684 | %package rpc |
2832b715 JB |
685 | Summary: Remote Procedure Call (RPC) libraries |
686 | Summary(pl.UTF-8): Biblioteki do obsługi RPC | |
de448ef4 | 687 | License: BSD-like |
7cbc2f58 JB |
688 | Group: Libraries |
689 | %requires_eq ocaml-runtime | |
b92aa72c JR |
690 | |
691 | %description rpc | |
2832b715 | 692 | Remote Procedure Call (RPC) libraries. |
b92aa72c JR |
693 | |
694 | %description rpc -l pl.UTF-8 | |
2832b715 | 695 | Biblioteki do obsługi RPC. |
b92aa72c JR |
696 | |
697 | %package rpc-devel | |
2832b715 JB |
698 | Summary: Remote Procedure Call (RPC) libraries - development part |
699 | Summary(pl.UTF-8): Biblioteki do obsługi RPC - część programistyczna | |
de448ef4 | 700 | License: BSD-like |
b92aa72c | 701 | Group: Development/Libraries |
b92aa72c | 702 | Requires: %{name}-rpc = %{version}-%{release} |
7cbc2f58 | 703 | %requires_eq ocaml |
b92aa72c JR |
704 | |
705 | %description rpc-devel | |
7cbc2f58 JB |
706 | Remote Procedure Call (RPC) libraries. |
707 | ||
708 | This package contains files needed to develop OCaml programs using rpc | |
709 | library. | |
b92aa72c JR |
710 | |
711 | %description rpc-devel -l pl.UTF-8 | |
7cbc2f58 | 712 | Biblioteki do obsługi RPC. |
b92aa72c | 713 | |
7cbc2f58 JB |
714 | Ten pakiet zawiera pliki niezbędne do tworzenia programów w OCamlu |
715 | używających biblioteki rpc. | |
716 | ||
717 | %package shell | |
b92aa72c | 718 | Summary: Unix shell functions |
2832b715 | 719 | Summary(pl.UTF-8): Funkcje powłoki uniksowej |
de448ef4 | 720 | License: BSD-like |
7cbc2f58 JB |
721 | Group: Libraries |
722 | %requires_eq ocaml-runtime | |
723 | Conflicts: ocaml-net-shell-devel < 4.1.9-1 | |
724 | ||
725 | %description shell | |
726 | Unix shell functions. | |
727 | ||
728 | %description shell -l pl.UTF-8 | |
729 | Funkcje powłoki uniksowej. | |
730 | ||
731 | %package shell-devel | |
732 | Summary: Unix shell functions - development part | |
733 | Summary(pl.UTF-8): Funkcje powłoki uniksowej - część programistyczna | |
734 | License: BSD-like | |
b92aa72c | 735 | Group: Development/Libraries |
b92aa72c | 736 | Requires: %{name}-equeue-devel = %{version}-%{release} |
8448aa07 | 737 | Requires: %{name}-netsys-devel = %{version}-%{release} |
da2ac219 | 738 | Requires: %{name}-shell = %{version}-%{release} |
7cbc2f58 | 739 | %requires_eq ocaml |
b92aa72c JR |
740 | |
741 | %description shell-devel | |
742 | Unix shell functions. | |
743 | ||
7cbc2f58 JB |
744 | This package contains files needed to develop OCaml programs using |
745 | shell library. | |
746 | ||
2832b715 JB |
747 | %description shell-devel -l pl.UTF-8 |
748 | Funkcje powłoki uniksowej. | |
b92aa72c | 749 | |
7cbc2f58 JB |
750 | Ten pakiet zawiera pliki niezbędne do tworzenia programów w OCamlu |
751 | uż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 | |
781 | rm -rf $RPM_BUILD_ROOT | |
a6bd7b81 | 782 | install -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 |
792 | install -p src/netcgi2-apache/mod_netcgi_apache.so $RPM_BUILD_ROOT%{_apachepkglibdir}/mod_netcgi.so |
793 | cat <<EOF >$RPM_BUILD_ROOT%{_apachesysconfdir}/90_mod_netcgi.conf | |
794 | LoadModule netcgi_module modules/mod_netcgi.so | |
795 | ||
796 | <IfModule netcgi_module> | |
797 | NetcgiLoad pcre/pcre.cma | |
798 | NetcgiLoad netsys/netsys.cma | |
799 | NetcgiLoad netstring/netstring.cma | |
800 | NetcgiLoad str.cma | |
801 | NetcgiLoad netcgi2/netcgi.cma | |
802 | NetcgiLoad netcgi2-apache/netcgi_apache.cma | |
803 | ||
804 | NetcgiHandler Netcgi_apache.bytecode | |
805 | AddHandler ocaml-bytecode .cma | |
806 | ||
807 | # Alias /caml-bin/ /path/to/your/scripts/ | |
808 | # <Location /caml-bin> | |
809 | # SetHandler ocaml-bytecode | |
810 | # NetcgiHandler Netcgi_apache.bytecode | |
811 | # Options ExecCGI | |
812 | # Allow from all | |
813 | # </Location> | |
814 | </IfModule> | |
815 | EOF | |
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 | 823 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-{netcgi,equeue,netcamlbox,netmulticore,netclient,nethttpd,rpc}-%{version} |
7cbc2f58 JB |
824 | cp -pr examples/camlbox/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netcamlbox-%{version} |
825 | cp -pr examples/cgi/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netcgi-%{version} | |
826 | cp -pr examples/equeue/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-equeue-%{version} | |
827 | cp -pr examples/multicore/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netmulticore-%{version} | |
828 | cp -pr examples/netclient/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netclient-%{version} | |
829 | cp -pr examples/nethttpd/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-nethttpd-%{version} | |
830 | cp -pr examples/rpc/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-rpc-%{version} | |
cfdcf47a | 831 | |
cfdcf47a MM |
832 | %clean |
833 | rm -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 |