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