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