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