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