]>
Commit | Line | Data |
---|---|---|
d675728c JR |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without ocaml_opt # skip building native optimized binaries (bytecode is always built) | |
11928791 | 4 | %bcond_with apache # build apache module |
d675728c JR |
5 | |
6 | # not yet available on x32 (ocaml 4.02.1), remove when upstream will support it | |
7 | %ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9 | |
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 |
05dd1797 | 16 | Version: 3.7.7 |
8cd4911c | 17 | Release: 3 |
de448ef4 | 18 | License: GPL v2+ (nethttpd), LGPL v2+ (mod_caml), BSD-like (the rest) |
cfdcf47a | 19 | Group: Libraries |
6a48f6e4 | 20 | Source0: http://download.camlcity.org/download/ocamlnet-%{version}.tar.gz |
05dd1797 | 21 | # Source0-md5: e15e0961d09057f0bbe4f69d6055506c |
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 JR |
34 | BuildRequires: ocaml-cryptgps-devel |
35 | BuildRequires: ocaml-cryptokit-devel | |
2860521a | 36 | BuildRequires: ocaml-findlib |
a85e3ddf | 37 | BuildRequires: ocaml-findlib-devel |
84639fdc | 38 | BuildRequires: ocaml-lablgtk2-devel >= 2.14.2 |
8448aa07 JR |
39 | BuildRequires: ocaml-labltk-devel |
40 | BuildRequires: ocaml-pcre-devel | |
b92aa72c | 41 | BuildRequires: ocaml-ssl-devel |
84639fdc | 42 | BuildRequires: ocaml-zip-devel |
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 |
9de7b5fa JR |
59 | Group: Development/Libraries |
60 | ||
61 | %description doc | |
9906ddba | 62 | ocaml-net documentation. |
9de7b5fa | 63 | |
a73a9323 JR |
64 | %description doc -l pl.UTF-8 |
65 | Dokumentacja dla pakietów ocaml-net. | |
9de7b5fa | 66 | |
84639fdc | 67 | %package netcgi-devel |
b92aa72c JR |
68 | Summary: Common Gateway Interface library |
69 | Summary(pl.UTF-8): Biblioteka do tworzenia skryptów CGI | |
de448ef4 | 70 | License: LGPL v2+ (mod_caml), BSD-like (the rest) |
cfdcf47a | 71 | Group: Development/Libraries |
b92aa72c JR |
72 | Requires: %{name}-netplex-devel = %{version}-%{release} |
73 | Requires: %{name}-netstring-devel = %{version}-%{release} | |
74 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
8448aa07 | 75 | Obsoletes: ocaml-net-cgi-devel |
cfdcf47a MM |
76 | %requires_eq ocaml |
77 | ||
84639fdc | 78 | %description netcgi-devel |
b92aa72c | 79 | Common Gateway Interface library, part of Ocamlnet. This package |
2832b715 | 80 | contains files needed to develop OCaml programs using netcgi library. |
cfdcf47a | 81 | |
84639fdc | 82 | %description netcgi-devel -l pl.UTF-8 |
2832b715 JB |
83 | Biblioteka do tworzenia skryptów CGI, część pakietu Ocamlnet. Ten |
84 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
85 | biblioteki netcgi. | |
cfdcf47a | 86 | |
84639fdc | 87 | %package -n apache-mod_netcgi |
11928791 JR |
88 | Summary: Apache module |
89 | Summary(pl.UTF-8): Moduł Apache'a | |
84639fdc JR |
90 | Group: Networking/Daemons/HTTP |
91 | Requires: apache(modules-api) = %apache_modules_api | |
92 | ||
93 | %description -n apache-mod_netcgi | |
94 | ||
95 | %description -n apache-mod_netcgi -l pl.UTF-8 | |
96 | ||
b92aa72c JR |
97 | %package equeue-devel |
98 | Summary: Event queue library for OCaml | |
99 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla | |
de448ef4 | 100 | License: BSD-like |
b92aa72c JR |
101 | Group: Development/Libraries |
102 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
103 | %requires_eq ocaml | |
104 | Obsoletes: ocaml-equeue-devel | |
b92aa72c JR |
105 | |
106 | %description equeue-devel | |
107 | Equeue provides a generic event queue module, and a specific module | |
108 | for file descriptor events. | |
109 | ||
110 | This package contains files needed to develop OCaml programs using | |
2832b715 | 111 | equeue library. |
b92aa72c JR |
112 | |
113 | %description equeue-devel -l pl.UTF-8 | |
114 | Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również | |
115 | modułu obsługi zdarzeń na deskryptorach plików. | |
116 | ||
2832b715 JB |
117 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających |
118 | biblioteki equeue. | |
b92aa72c | 119 | |
84639fdc JR |
120 | %package equeue-gtk2-devel |
121 | Summary: GTK2 event queue library for OCaml | |
122 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń GTK2 dla OCamla | |
123 | License: BSD-like | |
124 | Group: Development/Libraries | |
125 | Requires: %{name}-equeue-devel = %{version}-%{release} | |
7be49e88 | 126 | Requires: ocaml-lablgtk2-devel |
84639fdc JR |
127 | %requires_eq ocaml |
128 | ||
129 | %description equeue-gtk2-devel | |
130 | Equeue provides a generic event queue module, and a specific module | |
131 | for file descriptor events. | |
132 | ||
133 | This package contains files needed to develop OCaml programs using | |
134 | GTK2 equeue library. | |
135 | ||
136 | %description equeue-gtk2-devel -l pl.UTF-8 | |
137 | Equeue dostarcza ogólnego modułu obsługi kolejki zdarzeń jak również | |
138 | modułu obsługi zdarzeń na deskryptorach plików. | |
139 | ||
140 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
141 | biblioteki equeue GTK2. | |
142 | ||
b92aa72c JR |
143 | %package equeue-ssl |
144 | Summary: Event queue library for OCaml, SSL support | |
145 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla, wsparcie dla SSL | |
de448ef4 | 146 | License: BSD-like |
b92aa72c JR |
147 | Group: Libraries |
148 | %requires_eq ocaml-runtime | |
149 | ||
150 | %description equeue-ssl | |
151 | This package makes it possible to let Equeue cooperate with the event | |
152 | queue implementation of SSL. | |
153 | ||
154 | This package contains files needed to run bytecode executables using | |
2832b715 | 155 | equeue-ssl library. |
b92aa72c JR |
156 | |
157 | %description equeue-ssl -l pl.UTF-8 | |
158 | Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń | |
159 | w SSL. | |
160 | ||
2832b715 JB |
161 | Ten pakiet zawiera moduł potrzebny do uruchamiania programów |
162 | używających biblioteki equeue-ssl. | |
b92aa72c JR |
163 | |
164 | %package equeue-ssl-devel | |
165 | Summary: Equeue SSL support - development part | |
166 | Summary(pl.UTF-8): Wsparcie dla SSL-a w equeue - cześć programistyczna | |
de448ef4 | 167 | License: BSD-like |
b92aa72c JR |
168 | Group: Development/Libraries |
169 | Requires: %{name}-equeue-devel = %{version}-%{release} | |
9a761410 | 170 | Requires: %{name}-equeue-ssl = %{version}-%{release} |
b92aa72c JR |
171 | %requires_eq ocaml-ssl-devel |
172 | %requires_eq ocaml | |
173 | ||
174 | %description equeue-ssl-devel | |
175 | This package makes it possible to let Equeue cooperate with the event | |
176 | queue implementation of SSL. | |
177 | ||
178 | This package contains files needed to develop OCaml programs using | |
2832b715 | 179 | equeue-ssl library. |
b92aa72c JR |
180 | |
181 | %description equeue-ssl-devel -l pl.UTF-8 | |
182 | Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń | |
183 | w SSL. | |
184 | ||
2832b715 JB |
185 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających |
186 | biblioteki equeue-ssl. | |
b92aa72c JR |
187 | |
188 | %package equeue-tcl | |
189 | Summary: Event queue library for OCaml, Tcl support | |
190 | Summary(pl.UTF-8): Biblioteka obsługująca kolejkę zdarzeń dla OCamla, wsparcie dla Tcl | |
de448ef4 | 191 | License: BSD-like |
b92aa72c JR |
192 | Group: Libraries |
193 | %requires_eq ocaml-runtime | |
194 | %requires_eq ocaml-labltk | |
2832b715 | 195 | Obsoletes: ocaml-equeue-tcl |
b92aa72c JR |
196 | |
197 | %description equeue-tcl | |
198 | This package makes it possible to let Equeue cooperate with the event | |
199 | queue implementation of Tcl. | |
200 | ||
201 | This package contains files needed to run bytecode executables using | |
2832b715 | 202 | equeue-tcl library. |
b92aa72c JR |
203 | |
204 | %description equeue-tcl -l pl.UTF-8 | |
205 | Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń | |
206 | w Tcl. | |
207 | ||
2832b715 JB |
208 | Ten pakiet zawiera moduły potrzebne do uruchamiania programów |
209 | używających biblioteki equeue-tcl. | |
b92aa72c JR |
210 | |
211 | %package equeue-tcl-devel | |
212 | Summary: Equeue Tcl support - development part | |
213 | Summary(pl.UTF-8): Wsparcie dla Tcl-a w equeue - cześć programistyczna | |
de448ef4 | 214 | License: BSD-like |
b92aa72c JR |
215 | Group: Development/Libraries |
216 | Requires: %{name}-equeue-devel = %{version}-%{release} | |
217 | Requires: %{name}-equeue-tcl = %{version}-%{release} | |
218 | %requires_eq ocaml-labltk-devel | |
219 | %requires_eq ocaml | |
2832b715 | 220 | Obsoletes: ocaml-equeue-tcl-devel |
b92aa72c JR |
221 | |
222 | %description equeue-tcl-devel | |
223 | This package makes it possible to let Equeue cooperate with the event | |
224 | queue implementation of Tcl. | |
225 | ||
226 | This package contains files needed to develop OCaml programs using | |
227 | this library. | |
228 | ||
229 | %description equeue-tcl-devel -l pl.UTF-8 | |
230 | Pakiet ten umożliwia współpracę Equeue z implementacją kolejki zdarzeń | |
231 | w Tcl. | |
232 | ||
2832b715 JB |
233 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających |
234 | biblioteki equeue-tcl. | |
b92aa72c | 235 | |
84639fdc JR |
236 | %package netcamlbox-devel |
237 | Summary: Fast IPC mechanism for OCaml | |
238 | Summary(pl.UTF-8): Szybki mechanizm IPC dla OCamla | |
239 | License: BSD-like | |
240 | Group: Development/Libraries | |
241 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
242 | %requires_eq ocaml | |
243 | ||
244 | %description netcamlbox-devel | |
8448aa07 JR |
245 | Camlboxes are a fast IPC mechanism to send Ocaml values from one |
246 | process to another. Source and destination processes must run on the | |
247 | same machine (no network). The Ocaml value is copied to a shared | |
248 | memory object where it can be directly accessed by the receiver | |
249 | without unmarshalling step. This means the sender writes the value | |
250 | into the shared memory in a format that can immediately interpreted by | |
251 | the receiver. | |
84639fdc JR |
252 | |
253 | This package contains files needed to develop OCaml programs using | |
254 | netcamlbox library. | |
255 | ||
256 | %description netcamlbox-devel -l pl.UTF-8 | |
8448aa07 JR |
257 | Camlboxy są szybkim mechanizmem IPC do przesyłania danych Ocamla |
258 | pomiędzy procesami. Nadawca i odbiorca muszą być uruchomione na tej | |
259 | samej maszynie. Dane Ocamla są kopiowane do segmentu pamięci | |
260 | dzielonej, gdzie mogą byc bezpośrednio odczytywane przez odbiorcę. | |
84639fdc JR |
261 | |
262 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
263 | biblioteki netcamlbox. | |
264 | ||
b92aa72c JR |
265 | %package netclient-devel |
266 | Summary: HTTP 1.1 client for OCaml | |
267 | Summary(pl.UTF-8): Klient HTTP 1.1 dla OCamla | |
de448ef4 | 268 | License: BSD-like |
b92aa72c JR |
269 | Group: Development/Libraries |
270 | Requires: %{name}-equeue-devel = %{version}-%{release} | |
271 | Requires: %{name}-netstring-devel = %{version}-%{release} | |
272 | %requires_eq ocaml | |
273 | Obsoletes: ocaml-netclient-devel | |
274 | ||
275 | %description netclient-devel | |
276 | Implements much of HTTP/1.1. Implements the following advanced | |
277 | features: chunked messages; persistent connections; connections in | |
278 | pipelining mode ("full duplex" connections); modular authentication | |
279 | methods, currently Basic and Digest; event-driven implementation; | |
280 | allows concurrent service for several network connections. | |
281 | ||
282 | This package contains files needed to develop OCaml programs using | |
2832b715 | 283 | netclient library. |
b92aa72c JR |
284 | |
285 | %description netclient-devel -l pl.UTF-8 | |
2832b715 JB |
286 | Biblioteka netclient implementuje większość HTTP/1.1, a także |
287 | następujące zaawansowane właściwości: komunikaty w kawałkach; | |
288 | połączenia stałe; połączenia w trybie "full duplex"; modularne metody | |
289 | uwierzytelniania, obecnie Basic i Digest; implementacja oparta na | |
290 | zdarzeniach; umożliwia jednoczesną obsługę kilku połączeń. | |
b92aa72c | 291 | |
2832b715 JB |
292 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających |
293 | biblioteki netclient. | |
b92aa72c | 294 | |
84639fdc JR |
295 | %package netgssapi-devel |
296 | Summary: GSS-API generic definition | |
297 | Summary(pl.UTF-8): Biblioteka do obsługi protokołu GSSAPI | |
298 | License: GPL v2+ | |
299 | Group: Development/Libraries | |
300 | Requires: %{name}-netstring-devel = %{version}-%{release} | |
301 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
302 | %requires_eq ocaml | |
303 | ||
304 | %description netgssapi-devel | |
305 | GSSAPI library, part of Ocamlnet. This package contains the files | |
306 | needed to develop OCaml programs using netgssapi library. | |
307 | ||
308 | %description netgssapi-devel -l pl.UTF-8 | |
309 | Biblioteka do obsługi protokołu GSSAPI, część pakietu Ocamlnet. Ten | |
310 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
311 | biblioteki netgssapi. | |
312 | ||
9de7b5fa JR |
313 | %package nethttpd-devel |
314 | Summary: HTTPd library | |
553e669b | 315 | Summary(pl.UTF-8): Biblioteka do obsługi protokołu HTTP |
de448ef4 | 316 | License: GPL v2+ |
9de7b5fa | 317 | Group: Development/Libraries |
b92aa72c | 318 | Requires: %{name}-equeue-devel = %{version}-%{release} |
8448aa07 | 319 | Requires: %{name}-netcgi-devel = %{version}-%{release} |
b92aa72c | 320 | Requires: %{name}-netplex-devel = %{version}-%{release} |
9de7b5fa JR |
321 | %requires_eq ocaml-pcre-devel |
322 | %requires_eq ocaml | |
323 | ||
324 | %description nethttpd-devel | |
9906ddba | 325 | HTTPd library, part of Ocamlnet. This package contains the files |
2832b715 | 326 | needed to develop OCaml programs using nethttpd library. |
9de7b5fa | 327 | |
a73a9323 | 328 | %description nethttpd-devel -l pl.UTF-8 |
2832b715 JB |
329 | Biblioteka do obsługi protokołu HTTP, część pakietu Ocamlnet. Ten |
330 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
331 | biblioteki nethttpd. | |
9de7b5fa | 332 | |
84639fdc JR |
333 | %package netmech-scram-devel |
334 | Summary: SCRAM mechanism for authentication | |
335 | Summary(pl.UTF-8): Mechanizm autentykacji SCRAM | |
336 | License: GPL v2+ | |
337 | Group: Development/Libraries | |
338 | Requires: %{name}-netcamlbox-devel = %{version}-%{release} | |
339 | Requires: %{name}-netplex-devel = %{version}-%{release} | |
340 | %requires_eq ocaml | |
341 | ||
342 | %description netmech-scram-devel | |
8448aa07 JR |
343 | Netmech-scram library, part of Ocamlnet. This package contains the |
344 | files needed to develop OCaml programs using netmech-scram library. | |
84639fdc JR |
345 | |
346 | %description netmech-scram-devel -l pl.UTF-8 | |
8448aa07 JR |
347 | Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu |
348 | Ocamlnet. Ten pakiet zawiera pliki niezbędne do tworzenia programów | |
349 | używających biblioteki netmech-scram. | |
84639fdc JR |
350 | |
351 | %package netmulticore-devel | |
352 | Summary: Multi-processing for compute jobs | |
353 | Summary(pl.UTF-8): Obsługa wieloprocesorowych obliczeń | |
354 | License: GPL v2+ | |
355 | Group: Development/Libraries | |
356 | Requires: %{name}-netcamlbox-devel = %{version}-%{release} | |
357 | Requires: %{name}-netplex-devel = %{version}-%{release} | |
358 | %requires_eq ocaml | |
359 | ||
360 | %description netmulticore-devel | |
361 | Netmcore library, part of Ocamlnet. This package contains the files | |
362 | needed to develop OCaml programs using netmulticore library. | |
363 | ||
364 | %description netmulticore-devel -l pl.UTF-8 | |
8448aa07 JR |
365 | Biblioteka do obsługi wieloprocesorowych obliczeń, część pakietu |
366 | Ocamlnet. Ten pakiet zawiera pliki niezbędne do tworzenia programów | |
367 | używających biblioteki netmulticore. | |
84639fdc | 368 | |
b92aa72c JR |
369 | %package netplex |
370 | Summary: Server framework | |
2832b715 | 371 | Summary(pl.UTF-8): Szkielet serwerowy |
de448ef4 | 372 | License: BSD-like |
b92aa72c JR |
373 | Group: Libraries |
374 | %requires_eq ocaml-runtime | |
375 | %requires_eq ocaml-labltk | |
376 | ||
377 | %description netplex | |
378 | Server framework. | |
379 | ||
380 | This package contains files needed to run bytecode executables using | |
2832b715 | 381 | netplex library. |
b92aa72c | 382 | |
2832b715 JB |
383 | %description netplex -l pl.UTF-8 |
384 | Szkielet serwerowy. | |
385 | ||
386 | Ten pakiet zawiera moduły potrzebne do uruchamiania programów | |
387 | używających biblioteki netplex. | |
b92aa72c JR |
388 | |
389 | %package netplex-devel | |
390 | Summary: Server framework - development part | |
2832b715 | 391 | Summary(pl.UTF-8): Szkielet serwerowy - cześć programistyczna |
de448ef4 | 392 | License: BSD-like |
cfdcf47a | 393 | Group: Development/Libraries |
b92aa72c | 394 | Requires: %{name}-equeue-devel = %{version}-%{release} |
8448aa07 | 395 | Requires: %{name}-netplex = %{version}-%{release} |
cfdcf47a | 396 | Requires: %{name}-netstring-devel = %{version}-%{release} |
b92aa72c | 397 | Requires: %{name}-netsys-devel = %{version}-%{release} |
8448aa07 | 398 | Requires: %{name}-rpc-devel = %{version}-%{release} |
cfdcf47a MM |
399 | %requires_eq ocaml |
400 | ||
b92aa72c JR |
401 | %description netplex-devel |
402 | Server framework. | |
cfdcf47a | 403 | |
b92aa72c | 404 | This package contains files needed to develop OCaml programs using |
2832b715 | 405 | netplex library. |
b92aa72c | 406 | |
2832b715 JB |
407 | %description netplex-devel -l pl.UTF-8 |
408 | Szkielet serwerowy. | |
409 | ||
410 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
411 | biblioteki netplex. | |
b92aa72c JR |
412 | |
413 | %package netshm-devel | |
2832b715 JB |
414 | Summary: Shared memory support - development package |
415 | Summary(pl.UTF-8): Obsługa pamięci dzielonej - pakiet programistyczny | |
de448ef4 | 416 | License: BSD-like |
b92aa72c JR |
417 | Group: Development/Libraries |
418 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
419 | %requires_eq ocaml | |
420 | ||
421 | %description netshm-devel | |
422 | Shared memory support. | |
423 | ||
424 | This package contains files needed to develop OCaml programs using | |
2832b715 | 425 | netshm library. |
b92aa72c | 426 | |
2832b715 JB |
427 | %description netshm-devel -l pl.UTF-8 |
428 | Obsługa pamięci dzielonej. | |
429 | ||
430 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
431 | biblioteki netshm. | |
b92aa72c | 432 | |
a6bd7b81 JR |
433 | %package netstring |
434 | Summary: String processing library | |
435 | Summary(pl.UTF-8): Biblioteka do przetwarzania napisów | |
436 | License: BSD-like | |
437 | Group: Libraries | |
438 | Requires: %{name}-netsys-devel = %{version}-%{release} | |
439 | %requires_eq ocaml-pcre-devel | |
440 | %requires_eq ocaml | |
441 | ||
442 | %description netstring | |
443 | String processing library, part of Ocamlnet. | |
444 | ||
445 | %description netstring -l pl.UTF-8 | |
446 | Biblioteka do przetwarzania napisów, część pakietu Ocamlnet. | |
447 | ||
b92aa72c JR |
448 | %package netstring-devel |
449 | Summary: String processing library | |
450 | Summary(pl.UTF-8): Biblioteka do przetwarzania napisów | |
de448ef4 | 451 | License: BSD-like |
b92aa72c | 452 | Group: Development/Libraries |
a6bd7b81 | 453 | Requires: %{name}-netstring = %{version}-%{release} |
b92aa72c JR |
454 | Requires: %{name}-netsys-devel = %{version}-%{release} |
455 | %requires_eq ocaml-pcre-devel | |
456 | %requires_eq ocaml | |
457 | ||
458 | %description netstring-devel | |
459 | String processing library, part of Ocamlnet. This package contains | |
2832b715 | 460 | files needed to develop OCaml programs using netstring library. |
b92aa72c JR |
461 | |
462 | %description netstring-devel -l pl.UTF-8 | |
2832b715 JB |
463 | Biblioteka do przetwarzania napisów, część pakietu Ocamlnet. Ten |
464 | pakiet zawiera pliki niezbędne do tworzenia programów używających | |
465 | biblioteki netstring. | |
cfdcf47a | 466 | |
b92aa72c JR |
467 | %package netsys |
468 | Summary: OS-specific functions | |
2832b715 | 469 | Summary(pl.UTF-8): Funkcje specyficzne dla systemu operacyjnego |
de448ef4 | 470 | License: BSD-like |
b92aa72c JR |
471 | Group: Libraries |
472 | %requires_eq ocaml-runtime | |
473 | ||
474 | %description netsys | |
475 | OS-specific functions. | |
476 | ||
477 | This package contains files needed to run bytecode executables using | |
2832b715 | 478 | netsys library. |
b92aa72c | 479 | |
2832b715 JB |
480 | %description netsys -l pl.UTF-8 |
481 | Funkcje specyficzne dla systemu operacyjnego. | |
482 | ||
483 | Ten pakiet zawiera moduły potrzebne do uruchamiania programów | |
484 | używających biblioteki netsys. | |
b92aa72c JR |
485 | |
486 | %package netsys-devel | |
487 | Summary: OS-specific functions - development part | |
2832b715 | 488 | Summary(pl.UTF-8): Funkcje specyficzne dla systemu operacyjnego - cześć programistyczna |
de448ef4 | 489 | License: BSD-like |
b92aa72c JR |
490 | Group: Development/Libraries |
491 | Requires: %{name}-netsys = %{version}-%{release} | |
492 | %requires_eq ocaml | |
493 | ||
494 | %description netsys-devel | |
495 | OS-specific functions. | |
496 | ||
497 | This package contains files needed to develop OCaml programs using | |
2832b715 | 498 | netsys library. |
b92aa72c | 499 | |
2832b715 JB |
500 | %description netsys-devel -l pl.UTF-8 |
501 | Funkcje specyficzne dla systemu operacyjnego. | |
502 | ||
503 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
504 | biblioteki netsys. | |
b92aa72c | 505 | |
84639fdc JR |
506 | %package netzip-devel |
507 | Summary: Gzip channels - development part | |
508 | Summary(pl.UTF-8): Funkcje do kompresji kanałow - cześć programistyczna | |
509 | License: BSD-like | |
510 | Group: Development/Libraries | |
7be49e88 | 511 | Requires: %{name}-netstring-devel = %{version}-%{release} |
84639fdc JR |
512 | %requires_eq ocaml |
513 | ||
514 | %description netzip-devel | |
515 | Gzip channels functions. | |
516 | ||
517 | This package contains files needed to develop OCaml programs using | |
518 | netzip library. | |
519 | ||
520 | %description netzip-devel -l pl.UTF-8 | |
521 | Funkcje do kompresji kanałow. | |
522 | ||
523 | Ten pakiet zawiera pliki niezbędne do tworzenia programów używających | |
524 | biblioteki netzip. | |
525 | ||
cfdcf47a MM |
526 | %package pop3-devel |
527 | Summary: Post Office Protocol (POP3) library | |
553e669b | 528 | Summary(pl.UTF-8): Biblioteka do obsługi POP3 |
de448ef4 | 529 | License: BSD-like |
cfdcf47a MM |
530 | Group: Development/Libraries |
531 | Requires: %{name}-netstring-devel = %{version}-%{release} | |
532 | %requires_eq ocaml | |
533 | ||
534 | %description pop3-devel | |
535 | Post Office Protocol (POP3) library, part of Ocamlnet. This package | |
2832b715 | 536 | contains files needed to develop OCaml programs using pop library. |
cfdcf47a | 537 | |
a73a9323 | 538 | %description pop3-devel -l pl.UTF-8 |
2832b715 JB |
539 | Biblioteka do obsługi POP3, część pakietu Ocamlnet. Ten pakiet zawiera |
540 | pliki niezbędne do tworzenia programów używających biblioteki pop. | |
cfdcf47a | 541 | |
b92aa72c | 542 | %package rpc |
2832b715 JB |
543 | Summary: Remote Procedure Call (RPC) libraries |
544 | Summary(pl.UTF-8): Biblioteki do obsługi RPC | |
de448ef4 | 545 | License: BSD-like |
b92aa72c JR |
546 | Group: Development/Libraries |
547 | Requires: %{name}-equeue-ssl = %{version}-%{release} | |
548 | %requires_eq ocaml | |
549 | ||
550 | %description rpc | |
2832b715 | 551 | Remote Procedure Call (RPC) libraries. |
b92aa72c JR |
552 | |
553 | %description rpc -l pl.UTF-8 | |
2832b715 | 554 | Biblioteki do obsługi RPC. |
b92aa72c JR |
555 | |
556 | %package rpc-devel | |
2832b715 JB |
557 | Summary: Remote Procedure Call (RPC) libraries - development part |
558 | Summary(pl.UTF-8): Biblioteki do obsługi RPC - część programistyczna | |
de448ef4 | 559 | License: BSD-like |
b92aa72c JR |
560 | Group: Development/Libraries |
561 | Requires: %{name}-equeue-ssl-devel = %{version}-%{release} | |
562 | Requires: %{name}-rpc = %{version}-%{release} | |
563 | %requires_eq ocaml | |
564 | ||
565 | %description rpc-devel | |
2832b715 | 566 | Remote Procedure Call (RPC) libraries - development part. |
b92aa72c JR |
567 | |
568 | %description rpc-devel -l pl.UTF-8 | |
2832b715 | 569 | Biblioteki do obsługi RPC - część programistyczna. |
b92aa72c JR |
570 | |
571 | %package shell-devel | |
572 | Summary: Unix shell functions | |
2832b715 | 573 | Summary(pl.UTF-8): Funkcje powłoki uniksowej |
de448ef4 | 574 | License: BSD-like |
b92aa72c | 575 | Group: Development/Libraries |
b92aa72c | 576 | Requires: %{name}-equeue-devel = %{version}-%{release} |
8448aa07 | 577 | Requires: %{name}-netsys-devel = %{version}-%{release} |
b92aa72c JR |
578 | %requires_eq ocaml |
579 | ||
580 | %description shell-devel | |
581 | Unix shell functions. | |
582 | ||
2832b715 JB |
583 | %description shell-devel -l pl.UTF-8 |
584 | Funkcje powłoki uniksowej. | |
b92aa72c | 585 | |
4067530e | 586 | %package smtp-devel |
034470d4 | 587 | Summary: Simple Mail Transfer Protocol (SMTP) library |
553e669b | 588 | Summary(pl.UTF-8): Biblioteka do obsługi SMTP |
de448ef4 | 589 | License: BSD-like |
034470d4 ER |
590 | Group: Development/Libraries |
591 | Requires: %{name}-netstring-devel = %{version}-%{release} | |
4067530e SP |
592 | %requires_eq ocaml |
593 | ||
594 | %description smtp-devel | |
034470d4 ER |
595 | Interface for the Simple Mail Tranfer Protocol (SMTP) as specified by |
596 | RFC 2821. | |
8735b5fe | 597 | |
a73a9323 | 598 | %description smtp-devel -l pl.UTF-8 |
2832b715 | 599 | Interfejs dla protokołu SMTP opisanego w RFC 2821. |
4067530e | 600 | |
cfdcf47a MM |
601 | %prep |
602 | %setup -q -n ocamlnet-%{version} | |
6a48f6e4 | 603 | %patch0 -p1 |
84639fdc JR |
604 | %patch1 -p1 |
605 | %patch2 -p1 | |
cfdcf47a MM |
606 | |
607 | %build | |
cfdcf47a MM |
608 | # no %%configure, please |
609 | ./configure \ | |
05dd1797 | 610 | -disable-gtk \ |
84639fdc | 611 | -enable-gtk2 \ |
b92aa72c | 612 | -enable-ssl \ |
84639fdc JR |
613 | -enable-zip \ |
614 | -enable-crypto \ | |
11928791 | 615 | %if %{with apache} |
84639fdc | 616 | -enable-apache \ |
11928791 JR |
617 | %else |
618 | -disable-apache \ | |
619 | %endif | |
84639fdc | 620 | -with-rpc-auth-dh \ |
b92aa72c JR |
621 | -enable-tcl \ |
622 | -equeue-tcl-libs "-ltcl" \ | |
84639fdc JR |
623 | -with-nethttpd \ |
624 | -apxs %{apxs} \ | |
cb8bf70d | 625 | -apache %{apache} |
b92aa72c | 626 | |
d675728c | 627 | %{__make} -j1 all %{?with_ocaml_opt:opt} |
cfdcf47a MM |
628 | |
629 | %install | |
630 | rm -rf $RPM_BUILD_ROOT | |
a6bd7b81 | 631 | install -d $RPM_BUILD_ROOT{%{_libdir}/ocaml/stublibs,%{_apachepkglibdir},%{_apachesysconfdir}} |
7b251678 | 632 | |
9de7b5fa JR |
633 | %{__make} -j1 install \ |
634 | OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \ | |
635 | DESTDIR=$RPM_BUILD_ROOT | |
7b251678 | 636 | |
b92aa72c JR |
637 | cd src |
638 | for f in e* n* p* r* shell smtp ; do | |
639 | [ -d $RPM_BUILD_ROOT%{_libdir}/ocaml/$f ] || continue | |
cfdcf47a MM |
640 | install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f |
641 | mv $RPM_BUILD_ROOT%{_libdir}/ocaml/$f/META \ | |
7b251678 | 642 | $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f/ |
cfdcf47a MM |
643 | echo "directory = \"+$f\"" \ |
644 | >> $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/$f/META | |
645 | done | |
646 | cd .. | |
b92aa72c | 647 | |
11928791 | 648 | %if %{with apache} |
05dd1797 | 649 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/netcgi2-apache/500netcgi_apache.info |
a6bd7b81 | 650 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/mod_netcgi_apache.so* |
8448aa07 | 651 | |
84639fdc JR |
652 | install -p src/netcgi2-apache/mod_netcgi_apache.so $RPM_BUILD_ROOT%{_apachepkglibdir}/mod_netcgi.so |
653 | cat <<EOF >$RPM_BUILD_ROOT%{_apachesysconfdir}/90_mod_netcgi.conf | |
654 | LoadModule netcgi_module modules/mod_netcgi.so | |
655 | ||
656 | <IfModule netcgi_module> | |
657 | NetcgiLoad pcre/pcre.cma | |
658 | NetcgiLoad netsys/netsys.cma | |
659 | NetcgiLoad netstring/netstring.cma | |
660 | NetcgiLoad str.cma | |
661 | NetcgiLoad netcgi2/netcgi.cma | |
662 | NetcgiLoad netcgi2-apache/netcgi_apache.cma | |
663 | ||
664 | NetcgiHandler Netcgi_apache.bytecode | |
665 | AddHandler ocaml-bytecode .cma | |
666 | ||
667 | # Alias /caml-bin/ /path/to/your/scripts/ | |
668 | # <Location /caml-bin> | |
669 | # SetHandler ocaml-bytecode | |
670 | # NetcgiHandler Netcgi_apache.bytecode | |
671 | # Options ExecCGI | |
672 | # Allow from all | |
673 | # </Location> | |
674 | </IfModule> | |
675 | EOF | |
11928791 | 676 | %endif |
84639fdc | 677 | |
7b251678 MM |
678 | # not sure about *.o |
679 | rm $RPM_BUILD_ROOT%{_libdir}/ocaml/*/*.mli | |
cfdcf47a | 680 | |
84639fdc JR |
681 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-{netcgi,equeue,netcamlbox,netmulticore,netclient,nethttpd,pop3,rpc}-%{version} |
682 | cp -r examples/camlbox/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netcamlbox-%{version} | |
683 | cp -r examples/cgi/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netcgi-%{version} | |
b92aa72c | 684 | cp -r examples/equeue/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-equeue-%{version} |
84639fdc | 685 | cp -r examples/multicore/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netmulticore-%{version} |
b92aa72c | 686 | cp -r examples/netclient/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-netclient-%{version} |
9de7b5fa | 687 | cp -r examples/nethttpd/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-nethttpd-%{version} |
b92aa72c JR |
688 | cp -r examples/pop/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-pop3-%{version} |
689 | cp -r examples/rpc/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-rpc-%{version} | |
cfdcf47a | 690 | |
cfdcf47a MM |
691 | %clean |
692 | rm -rf $RPM_BUILD_ROOT | |
693 | ||
9de7b5fa JR |
694 | %files doc |
695 | %defattr(644,root,root,755) | |
b92aa72c JR |
696 | %doc LICENSE* ChangeLog RELNOTES doc/html-main |
697 | ||
84639fdc | 698 | %files netcgi-devel |
b92aa72c JR |
699 | %defattr(644,root,root,755) |
700 | %dir %{_libdir}/ocaml/netcgi* | |
701 | %{_libdir}/ocaml/netcgi*/*.cm[ixao]* | |
11928791 | 702 | %if %{with ocaml_opt} |
b92aa72c | 703 | %{_libdir}/ocaml/netcgi*/*.a |
11928791 | 704 | %endif |
b92aa72c | 705 | %{_libdir}/ocaml/site-lib/*cgi* |
84639fdc JR |
706 | %{_examplesdir}/%{name}-netcgi-%{version} |
707 | ||
11928791 | 708 | %if %{with apache} |
84639fdc JR |
709 | %files -n apache-mod_netcgi |
710 | %defattr(644,root,root,755) | |
711 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_apachesysconfdir}/*_mod_netcgi.conf | |
712 | %attr(755,root,root) %{_apachepkglibdir}/mod_netcgi.so | |
11928791 | 713 | %endif |
b92aa72c JR |
714 | |
715 | %files equeue-devel | |
716 | %defattr(644,root,root,755) | |
717 | %dir %{_libdir}/ocaml/equeue | |
718 | %{_libdir}/ocaml/equeue/*.cm[ixao]* | |
11928791 | 719 | %if %{with ocaml_opt} |
b92aa72c | 720 | %{_libdir}/ocaml/equeue/*.a |
11928791 | 721 | %endif |
b92aa72c JR |
722 | %{_libdir}/ocaml/site-lib/equeue |
723 | %{_examplesdir}/%{name}-equeue-%{version} | |
724 | ||
84639fdc JR |
725 | %files equeue-gtk2-devel |
726 | %defattr(644,root,root,755) | |
727 | %dir %{_libdir}/ocaml/equeue-gtk2 | |
728 | %{_libdir}/ocaml/equeue-gtk2/*.cm[ixao]* | |
11928791 | 729 | %if %{with ocaml_opt} |
84639fdc | 730 | %{_libdir}/ocaml/equeue-gtk2/*.a |
11928791 | 731 | %endif |
84639fdc JR |
732 | %{_libdir}/ocaml/site-lib/equeue-gtk2 |
733 | ||
b92aa72c JR |
734 | %files equeue-ssl |
735 | %defattr(644,root,root,755) | |
736 | %dir %{_libdir}/ocaml/equeue-ssl | |
a6bd7b81 JR |
737 | %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllequeue_ssl.so |
738 | %{_libdir}/ocaml/stublibs/dllequeue_ssl.so.owner | |
b92aa72c JR |
739 | |
740 | %files equeue-ssl-devel | |
741 | %defattr(644,root,root,755) | |
742 | %{_libdir}/ocaml/equeue-ssl/*.cm[ixao]* | |
11928791 JR |
743 | %{_libdir}/ocaml/equeue-ssl/libequeue_ssl.a |
744 | %if %{with ocaml_opt} | |
745 | %{_libdir}/ocaml/equeue-ssl/equeue_ssl.a | |
746 | %endif | |
b92aa72c JR |
747 | %{_libdir}/ocaml/site-lib/equeue-ssl |
748 | ||
749 | %files equeue-tcl | |
750 | %defattr(644,root,root,755) | |
751 | %dir %{_libdir}/ocaml/equeue-tcl | |
a6bd7b81 JR |
752 | %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllequeue_tcl.so |
753 | %{_libdir}/ocaml/stublibs/dllequeue_tcl.so.owner | |
b92aa72c JR |
754 | |
755 | %files equeue-tcl-devel | |
756 | %defattr(644,root,root,755) | |
757 | %{_libdir}/ocaml/equeue-tcl/*.cm[ixao]* | |
11928791 JR |
758 | %{_libdir}/ocaml/equeue-tcl/libequeue_tcl.a |
759 | %if %{with ocaml_opt} | |
760 | %{_libdir}/ocaml/equeue-tcl/equeue_tcl.a | |
761 | %endif | |
b92aa72c JR |
762 | %{_libdir}/ocaml/site-lib/equeue-tcl |
763 | ||
84639fdc JR |
764 | %files netcamlbox-devel |
765 | %defattr(644,root,root,755) | |
766 | %dir %{_libdir}/ocaml/netcamlbox | |
767 | %{_libdir}/ocaml/netcamlbox/*.cm[ixao]* | |
11928791 | 768 | %if %{with ocaml_opt} |
84639fdc | 769 | %{_libdir}/ocaml/netcamlbox/*.a |
11928791 | 770 | %endif |
84639fdc JR |
771 | %{_libdir}/ocaml/site-lib/netcamlbox |
772 | %{_examplesdir}/%{name}-netcamlbox-%{version} | |
773 | ||
b92aa72c JR |
774 | %files netclient-devel |
775 | %defattr(644,root,root,755) | |
776 | %dir %{_libdir}/ocaml/netclient | |
777 | %{_libdir}/ocaml/netclient/*.cm[ixao]* | |
11928791 | 778 | %if %{with ocaml_opt} |
b92aa72c | 779 | %{_libdir}/ocaml/netclient/*.a |
11928791 | 780 | %endif |
b92aa72c JR |
781 | %{_libdir}/ocaml/site-lib/netclient |
782 | %{_examplesdir}/%{name}-netclient-%{version} | |
9de7b5fa | 783 | |
84639fdc JR |
784 | %files netgssapi-devel |
785 | %defattr(644,root,root,755) | |
786 | %dir %{_libdir}/ocaml/netgssapi | |
787 | %{_libdir}/ocaml/netgssapi/*.cm[ixao]* | |
11928791 | 788 | %if %{with ocaml_opt} |
84639fdc | 789 | %{_libdir}/ocaml/netgssapi/*.a |
11928791 | 790 | %endif |
84639fdc JR |
791 | %{_libdir}/ocaml/site-lib/netgssapi |
792 | ||
9de7b5fa JR |
793 | %files nethttpd-devel |
794 | %defattr(644,root,root,755) | |
84639fdc JR |
795 | %dir %{_libdir}/ocaml/nethttpd |
796 | %{_libdir}/ocaml/nethttpd/*.cm[ixa]* | |
11928791 | 797 | %if %{with ocaml_opt} |
84639fdc | 798 | %{_libdir}/ocaml/nethttpd/*.a |
11928791 | 799 | %endif |
84639fdc | 800 | %{_libdir}/ocaml/site-lib/nethttpd |
9de7b5fa | 801 | %{_examplesdir}/%{name}-nethttpd-%{version} |
4067530e | 802 | |
84639fdc JR |
803 | %files netmech-scram-devel |
804 | %defattr(644,root,root,755) | |
805 | %dir %{_libdir}/ocaml/netmech-scram | |
806 | %{_libdir}/ocaml/netmech-scram/*.cm[ixa]* | |
11928791 | 807 | %if %{with ocaml_opt} |
84639fdc | 808 | %{_libdir}/ocaml/netmech-scram/*.a |
11928791 | 809 | %endif |
84639fdc JR |
810 | %{_libdir}/ocaml/site-lib/netmech-scram |
811 | ||
812 | %files netmulticore-devel | |
813 | %defattr(644,root,root,755) | |
814 | %dir %{_libdir}/ocaml/netmulticore | |
815 | %{_libdir}/ocaml/netmulticore/*.cm[ixa]* | |
11928791 | 816 | %if %{with ocaml_opt} |
84639fdc | 817 | %{_libdir}/ocaml/netmulticore/*.a |
11928791 | 818 | %endif |
84639fdc JR |
819 | %{_libdir}/ocaml/site-lib/netmulticore |
820 | %{_examplesdir}/%{name}-netmulticore-%{version} | |
821 | ||
b92aa72c JR |
822 | %files netplex |
823 | %defattr(644,root,root,755) | |
824 | %attr(755,root,root) %{_bindir}/netplex-admin | |
a6bd7b81 | 825 | %dir %{_libdir}/ocaml/netplex |
11928791 | 826 | %if %{with ocaml_opt} |
a6bd7b81 | 827 | %{_libdir}/ocaml/netplex/*.o |
11928791 | 828 | %endif |
b92aa72c JR |
829 | |
830 | %files netplex-devel | |
831 | %defattr(644,root,root,755) | |
b92aa72c JR |
832 | %{_libdir}/ocaml/netplex/netplex-packlist |
833 | %{_libdir}/ocaml/netplex/*.cm[ixao]* | |
11928791 | 834 | %if %{with ocaml_opt} |
b92aa72c | 835 | %{_libdir}/ocaml/netplex/*.a |
11928791 | 836 | %endif |
b92aa72c JR |
837 | %{_libdir}/ocaml/site-lib/netplex |
838 | ||
839 | %files netshm-devel | |
840 | %defattr(644,root,root,755) | |
841 | %dir %{_libdir}/ocaml/netshm | |
842 | %{_libdir}/ocaml/netshm/*.cm[ixao]* | |
11928791 | 843 | %if %{with ocaml_opt} |
b92aa72c | 844 | %{_libdir}/ocaml/netshm/*.a |
11928791 | 845 | %endif |
b92aa72c JR |
846 | %{_libdir}/ocaml/site-lib/netshm |
847 | ||
a6bd7b81 | 848 | %files netstring |
cfdcf47a | 849 | %defattr(644,root,root,755) |
cfdcf47a | 850 | %dir %{_libdir}/ocaml/netstring |
11928791 | 851 | %if %{with ocaml_opt} |
a6bd7b81 | 852 | %{_libdir}/ocaml/netstring/*.o |
11928791 | 853 | %endif |
a6bd7b81 JR |
854 | %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllnetaccel_c.so |
855 | %{_libdir}/ocaml/stublibs/dllnetaccel_c.so.owner | |
856 | ||
857 | %files netstring-devel | |
858 | %defattr(644,root,root,755) | |
b92aa72c | 859 | %{_libdir}/ocaml/netstring/netdb-packlist |
4b20b465 | 860 | %{_libdir}/ocaml/netstring/*.cm[ixao]* |
11928791 JR |
861 | %{_libdir}/ocaml/netstring/libnetaccel_c.a |
862 | %if %{with ocaml_opt} | |
863 | %{_libdir}/ocaml/netstring/netstring*.a | |
864 | %endif | |
cfdcf47a MM |
865 | %{_libdir}/ocaml/site-lib/netstring |
866 | ||
b92aa72c | 867 | %files netsys |
cfdcf47a | 868 | %defattr(644,root,root,755) |
b92aa72c | 869 | %dir %{_libdir}/ocaml/netsys |
84639fdc | 870 | %{_libdir}/ocaml/netsys/*.o |
a6bd7b81 JR |
871 | %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllnetsys.so |
872 | %{_libdir}/ocaml/stublibs/dllnetsys.so.owner | |
b92aa72c JR |
873 | |
874 | %files netsys-devel | |
875 | %defattr(644,root,root,755) | |
876 | %{_libdir}/ocaml/netsys/*.cm[ixao]* | |
11928791 JR |
877 | %{_libdir}/ocaml/netsys/libnetsys.a |
878 | %if %{with ocaml_opt} | |
879 | %{_libdir}/ocaml/netsys/netsys.a | |
880 | %endif | |
05dd1797 | 881 | %{_libdir}/ocaml/netsys/netsys_c_event.h |
b92aa72c | 882 | %{_libdir}/ocaml/site-lib/netsys |
cfdcf47a | 883 | |
84639fdc JR |
884 | %files netzip-devel |
885 | %defattr(644,root,root,755) | |
dcdd07f0 | 886 | %dir %{_libdir}/ocaml/netzip |
84639fdc | 887 | %{_libdir}/ocaml/netzip/*.cm[ixao]* |
11928791 | 888 | %if %{with ocaml_opt} |
84639fdc | 889 | %{_libdir}/ocaml/netzip/*.a |
11928791 | 890 | %endif |
84639fdc JR |
891 | %{_libdir}/ocaml/site-lib/netzip |
892 | ||
cfdcf47a MM |
893 | %files pop3-devel |
894 | %defattr(644,root,root,755) | |
cfdcf47a | 895 | %dir %{_libdir}/ocaml/pop |
4b20b465 | 896 | %{_libdir}/ocaml/pop/*.cm[ixao]* |
11928791 | 897 | %if %{with ocaml_opt} |
cfdcf47a | 898 | %{_libdir}/ocaml/pop/*.a |
11928791 | 899 | %endif |
cfdcf47a MM |
900 | %{_libdir}/ocaml/site-lib/pop |
901 | %{_examplesdir}/%{name}-pop3-%{version} | |
4067530e | 902 | |
b92aa72c JR |
903 | %files rpc |
904 | %defattr(644,root,root,755) | |
905 | %attr(755,root,root) %{_bindir}/ocamlrpcgen | |
906 | %dir %{_libdir}/ocaml/rpc-auth-local | |
a6bd7b81 JR |
907 | %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllrpc_auth_local.so |
908 | %{_libdir}/ocaml/stublibs/dllrpc_auth_local.so.owner | |
b92aa72c JR |
909 | |
910 | %files rpc-devel | |
911 | %defattr(644,root,root,755) | |
912 | %dir %{_libdir}/ocaml/rpc | |
dcdd07f0 JR |
913 | %dir %{_libdir}/ocaml/rpc-auth-dh |
914 | %dir %{_libdir}/ocaml/rpc-generator | |
b92aa72c JR |
915 | %dir %{_libdir}/ocaml/rpc-ssl |
916 | %{_libdir}/ocaml/rpc-generator/rpcgen-packlist | |
917 | %{_libdir}/ocaml/rpc*/*.cm[ixao]* | |
11928791 JR |
918 | %{_libdir}/ocaml/rpc*/librpc_auth_local.a |
919 | %if %{with ocaml_opt} | |
920 | %{_libdir}/ocaml/rpc*/rpc_*.a | |
921 | %endif | |
b92aa72c JR |
922 | %{_libdir}/ocaml/site-lib/rpc* |
923 | %{_examplesdir}/%{name}-rpc-%{version} | |
924 | ||
925 | %files shell-devel | |
926 | %defattr(644,root,root,755) | |
927 | %dir %{_libdir}/ocaml/shell | |
928 | %{_libdir}/ocaml/shell/*.cm[ixao]* | |
11928791 | 929 | %if %{with ocaml_opt} |
b92aa72c | 930 | %{_libdir}/ocaml/shell/*.a |
11928791 | 931 | %endif |
b92aa72c JR |
932 | %{_libdir}/ocaml/site-lib/shell |
933 | ||
4067530e SP |
934 | %files smtp-devel |
935 | %defattr(644,root,root,755) | |
936 | %dir %{_libdir}/ocaml/smtp | |
937 | %{_libdir}/ocaml/smtp/*.cm[ixao]* | |
11928791 | 938 | %if %{with ocaml_opt} |
4067530e | 939 | %{_libdir}/ocaml/smtp/*.a |
11928791 | 940 | %endif |
9de7b5fa | 941 | %{_libdir}/ocaml/site-lib/smtp |