2009-12-19 Michael Barker <mike@middlesoft.co.uk>
[mono.git] / mono-core.spec.in
1 %{!?ext_man: %define ext_man .gz}
2
3 Name:           mono-core
4 License:        LGPL v2.1 only
5 Group:          Development/Languages/Mono
6 Summary:        A .NET Runtime Environment
7 Url:            http://go-mono.org/
8 Version:        @VERSION@
9 Release:        0
10 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
11 Source0:        mono-%{version}.tar.bz2
12 ExclusiveArch:  %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x
13 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
14 Provides:       mono = %{version}-%{release}
15 Provides:       mono-ikvm = %{version}-%{release}
16 Obsoletes:      mono
17 Obsoletes:      mono-drawing
18 Obsoletes:      mono-cairo
19 Obsoletes:      mono-xml-relaxng
20 Obsoletes:      mono-posix
21 Obsoletes:      mono-ziplib
22 Obsoletes:      mono-ikvm
23 Provides:       mono-drawing
24 Provides:       mono-cairo
25 Provides:       mono-xml-relaxng
26 Provides:       mono-posix
27 Provides:       mono-ziplib
28 # This version of mono has issues with the following versions of apps:
29 #  (not because of regressions, but because bugfixes in mono uncover bugs in the apps)
30 Conflicts:      helix-banshee < 1.0
31 Conflicts:      banshee < 1.0
32 Conflicts:      f-spot < 0.4
33 Conflicts:      mono-addins < 0.3.1
34 # Only use recommends for 11.0 and up
35 %if 0%{?suse_version} >= 1100
36 Recommends:     libgdiplus0
37 %else
38 Requires:       libgdiplus0
39 %endif
40 BuildRequires:  gcc-c++
41 BuildRequires:  glib2-devel zlib-devel
42 #######  distro specific changes  ########
43 #####
44 #### suse options ####
45 %if 0%{?suse_version}
46 # For some reason these weren't required in 10.2 and before... ?
47 %if 0%{suse_version} >= 1030
48 BuildRequires:  bison
49 # Add valgrind support for 10.3 and above on archs that have it
50 %ifarch %ix86 x86_64 ppc ppc64
51 BuildRequires:  valgrind-devel
52 %endif
53 %endif
54 %if 0%{suse_version} >= 1020
55 BuildRequires:  xorg-x11-libX11
56 %endif
57 %if 0%{sles_version} == 10
58 BuildRequires:  xorg-x11-devel
59 %endif
60 %if 0%{suse_version} == 1010
61 BuildRequires:  xorg-x11-devel
62 %endif
63 %if 0%{sles_version} == 9
64 %define configure_options export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/%_lib/pkgconfig
65 BuildRequires:  XFree86-devel XFree86-libs pkgconfig
66 %endif
67 %endif
68 # Fedora x11
69 %if 0%{?fedora_version}
70 BuildRequires:  libX11
71 %endif
72 # rhel x11
73 %if 0%{?rhel_version}
74 BuildRequires:  libX11
75 %endif
76 #####
77 #######  End of distro specific changes  ########
78 # Why was this needed?
79 %ifarch s390 s390x
80 PreReq:         grep
81 %endif
82 # This lib only needed for ia64
83 %ifarch ia64
84 BuildRequires:  libunwind-devel
85 %endif
86 # TODO:
87 # This won't work until the rpm package passes .config files to mono-find-requires
88 #%define __find_provides env MONO_PREFIX=%{buildroot}/usr /usr/lib/rpm/find-provides
89 #%define __find_requires env MONO_PREFIX=%{buildroot}/usr /usr/lib/rpm/find-requires
90 %if 0%{?fedora_version} || 0%{?rhel_version}
91 # Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros)
92 %define _use_internal_dependency_generator 0
93 %endif
94 %define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}/usr %{buildroot}%{_bindir}/mono-find-provides ; } | sort | uniq'
95 %define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}/usr %{buildroot}%{_bindir}/mono-find-requires ; } | sort | uniq'
96
97 %description
98 The Mono Project is an open development initiative that is working to
99 develop an open source, Unix version of the .NET development platform.
100 Its objective is to enable Unix developers to build and deploy
101 cross-platform .NET applications. The project will implement various
102 technologies that have been submitted to the ECMA for standardization.
103
104
105
106 Authors:
107 --------
108     Miguel de Icaza <miguel@ximian.com>
109     Paolo Molaro <lupus@ximian.com>
110     Dietmar Maurer <dietmar@ximian.com>
111
112 %files -f mcs.lang
113 %defattr(-, root, root)
114 %doc AUTHORS COPYING.LIB ChangeLog NEWS README
115 %_bindir/mono
116 %_libdir/libmono.so.*
117 %_mandir/man1/mono.1%ext_man
118 # manpages
119 %_mandir/man5/mono-config.5%ext_man
120 %_mandir/man1/mcs.1%ext_man
121 %_mandir/man1/certmgr.1%ext_man
122 %_mandir/man1/chktrust.1%ext_man
123 %_mandir/man1/csharp.1%ext_man
124 %_mandir/man1/setreg.1%ext_man
125 %_mandir/man1/gacutil.1%ext_man
126 %_mandir/man1/sn.1%ext_man
127 %_mandir/man1/mozroots.1%ext_man
128 # wrappers
129 %_bindir/certmgr
130 %_bindir/chktrust
131 %_bindir/csharp
132 %_bindir/gacutil
133 %_bindir/gacutil2
134 %_bindir/gmcs
135 %_bindir/mono-test-install
136 %_bindir/mcs
137 %_bindir/mozroots
138 %_bindir/setreg
139 %_bindir/sn
140 # exes
141 %_prefix/lib/mono/2.0/certmgr.exe*
142 %_prefix/lib/mono/2.0/chktrust.exe*
143 %_prefix/lib/mono/2.0/gacutil.exe*
144 %_prefix/lib/mono/2.0/csharp.exe*
145 %_prefix/lib/mono/2.0/gmcs.exe*
146 %_prefix/lib/mono/2.0/mozroots.exe*
147 %_prefix/lib/mono/2.0/setreg.exe*
148 %_prefix/lib/mono/2.0/sn.exe*
149 %_prefix/lib/mono/gac/cscompmgd
150 %_prefix/lib/mono/2.0/cscompmgd.dll
151 %_prefix/lib/mono/gac/I18N.West
152 %_prefix/lib/mono/2.0/I18N.West.dll
153 %_prefix/lib/mono/gac/I18N
154 %_prefix/lib/mono/2.0/I18N.dll
155 %_prefix/lib/mono/gac/Mono.CompilerServices.SymbolWriter
156 %_prefix/lib/mono/2.0/Mono.CompilerServices.SymbolWriter.dll
157 %_prefix/lib/mono/gac/Mono.GetOptions
158 %_prefix/lib/mono/2.0/Mono.GetOptions.dll
159 %_prefix/lib/mono/gac/Mono.Simd
160 %_prefix/lib/mono/2.0/Mono.Simd.dll
161 %_prefix/lib/mono/gac/Mono.Management
162 %_prefix/lib/mono/2.0/Mono.Management.dll
163 %_prefix/lib/mono/gac/Mono.Tasklets
164 %_prefix/lib/mono/2.0/Mono.Tasklets.dll
165 %_prefix/lib/mono/gac/Mono.Security
166 %_prefix/lib/mono/2.0/Mono.Security.dll
167 %_prefix/lib/mono/gac/System.Security
168 %_prefix/lib/mono/2.0/System.Security.dll
169 %_prefix/lib/mono/gac/System.Xml
170 %_prefix/lib/mono/2.0/System.Xml.dll
171 %_prefix/lib/mono/gac/System.Xml.Linq
172 %_prefix/lib/mono/2.0/System.Xml.Linq.dll
173 %_prefix/lib/mono/gac/System
174 %_prefix/lib/mono/2.0/System.dll
175 %_prefix/lib/mono/gac/System.Configuration
176 %_prefix/lib/mono/2.0/System.Configuration.dll
177 %_prefix/lib/mono/2.0/mscorlib.dll*
178 %dir %_sysconfdir/mono
179 %dir %_sysconfdir/mono/2.0
180 %dir %_prefix/lib/mono
181 %dir %_prefix/lib/mono/2.0
182 %dir %_prefix/lib/mono/3.5
183 %dir %_prefix/lib/mono/gac
184 %config %_sysconfdir/mono/config
185 %config %_sysconfdir/mono/2.0/machine.config
186 %config %_sysconfdir/mono/2.0/settings.map
187 %_prefix/lib/mono/gac/Mono.C5
188 %_prefix/lib/mono/2.0/Mono.C5.dll
189 # ikvm helper
190 %_prefix/%_lib/libikvm-native.so
191 %_prefix/lib/mono/gac/System.Drawing
192 %_prefix/lib/mono/2.0/System.Drawing.dll
193 %_libdir/libMonoPosixHelper.so*
194 %_prefix/lib/mono/gac/Mono.Posix
195 %_prefix/lib/mono/2.0/Mono.Posix.dll
196 %_prefix/lib/mono/gac/Mono.Cairo
197 %_prefix/lib/mono/2.0/Mono.Cairo.dll
198 %_prefix/lib/mono/gac/ICSharpCode.SharpZipLib
199 %_prefix/lib/mono/2.0/ICSharpCode.SharpZipLib.dll
200 %_prefix/lib/mono/compat-2.0/ICSharpCode.SharpZipLib.dll
201 %_prefix/lib/mono/gac/Microsoft.VisualC
202 %_prefix/lib/mono/2.0/Microsoft.VisualC.dll
203 %_prefix/lib/mono/gac/Commons.Xml.Relaxng
204 %_prefix/lib/mono/2.0/Commons.Xml.Relaxng.dll
205 %_prefix/lib/mono/gac/CustomMarshalers
206 %_prefix/lib/mono/2.0/CustomMarshalers.dll
207 %_prefix/lib/mono/gac/OpenSystem.C
208 %_prefix/lib/mono/2.0/OpenSystem.C.dll
209 %_prefix/lib/mono/gac/System.Core
210 %_prefix/lib/mono/2.0/System.Core.dll
211 %_prefix/lib/mono/gac/Mono.CSharp
212 %_prefix/lib/mono/2.0/Mono.CSharp.dll
213 %_prefix/lib/mono/gac/Mono.Cecil
214 # localizations?
215 #%_datadir/locale/*/LC_MESSAGES/mcs.mo
216 # Not sure if autobuild allows this...
217
218 %post
219 /sbin/ldconfig
220 %ifarch s390 s390x
221 if grep -q "machine = 9672" /proc/cpuinfo 2>/dev/null ; then
222     # anchor for rebuild on failure
223     echo "mono may not work correctly on G5"
224 fi
225 %endif
226
227 %postun -p /sbin/ldconfig
228
229 %package -n mono-jscript
230 License:        LGPL v2.1 only
231 Summary:        JScript .NET support for Mono
232 Group:          Development/Languages/Mono
233 Requires:       mono-core == %version-%release
234
235 %description -n mono-jscript
236 This package contains the JScript .NET compiler and language runtime.
237 This allows you to compile and run JScript.NET application and
238 assemblies.
239
240
241
242 Authors:
243 --------
244     Miguel de Icaza <miguel@ximian.com>
245     Paolo Molaro <lupus@ximian.com>
246     Dietmar Maurer <dietmar@ximian.com>
247
248 %files -n mono-jscript
249 %defattr(-, root, root)
250 %_bindir/mjs
251 %_prefix/lib/mono/2.0/mjs.exe*
252 %_prefix/lib/mono/gac/Microsoft.JScript
253 %_prefix/lib/mono/2.0/Microsoft.JScript.dll
254
255 %package -n mono-locale-extras
256 License:        LGPL v2.1 only
257 Summary:        Extra locale information
258 Group:          Development/Languages/Mono
259 Requires:       mono-core == %version-%release
260
261 %description -n mono-locale-extras
262 The Mono Project is an open development initiative that is working to
263 develop an open source, Unix version of the .NET development platform.
264 Its objective is to enable Unix developers to build and deploy
265 cross-platform .NET applications. The project will implement various
266 technologies that have been submitted to the ECMA for standardization.
267
268 Extra locale information.
269
270
271
272 Authors:
273 --------
274     Miguel de Icaza <miguel@ximian.com>
275     Paolo Molaro <lupus@ximian.com>
276     Dietmar Maurer <dietmar@ximian.com>
277
278 %files -n mono-locale-extras
279 %defattr(-, root, root)
280 %_prefix/lib/mono/gac/I18N.MidEast
281 %_prefix/lib/mono/2.0/I18N.MidEast.dll
282 %_prefix/lib/mono/gac/I18N.Rare
283 %_prefix/lib/mono/2.0/I18N.Rare.dll
284 %_prefix/lib/mono/gac/I18N.CJK
285 %_prefix/lib/mono/2.0/I18N.CJK.dll
286 %_prefix/lib/mono/gac/I18N.Other
287 %_prefix/lib/mono/2.0/I18N.Other.dll
288
289 %package -n mono-data
290 License:        LGPL v2.1 only
291 Summary:        Database connectivity for Mono
292 Group:          Development/Languages/Mono
293 Requires:       mono-core == %version-%release
294 Obsoletes:      mono-ms-enterprise
295 Obsoletes:      mono-novell-directory
296 Obsoletes:      mono-directory
297 Provides:       mono-ms-enterprise
298 Provides:       mono-novell-directory
299 Provides:       mono-directory
300
301 %description -n mono-data
302 The Mono Project is an open development initiative that is working to
303 develop an open source, Unix version of the .NET development platform.
304 Its objective is to enable Unix developers to build and deploy
305 cross-platform .NET applications. The project will implement various
306 technologies that have been submitted to the ECMA for standardization.
307
308 Database connectivity for Mono.
309
310
311
312 Authors:
313 --------
314     Miguel de Icaza <miguel@ximian.com>
315     Paolo Molaro <lupus@ximian.com>
316     Dietmar Maurer <dietmar@ximian.com>
317
318 %files -n mono-data
319 %defattr(-, root, root)
320 %_prefix/lib/mono/2.0/sqlmetal.exe*
321 %_prefix/lib/mono/2.0/sqlsharp.exe*
322 %_bindir/sqlmetal
323 %_bindir/sqlsharp
324 %_mandir/man1/sqlsharp.1%ext_man
325 %_prefix/lib/mono/gac/System.Data
326 %_prefix/lib/mono/2.0/System.Data.dll
327 %_prefix/lib/mono/gac/System.Data.Linq
328 %_prefix/lib/mono/2.0/System.Data.Linq.dll
329 %_prefix/lib/mono/gac/System.Data.Services
330 %_prefix/lib/mono/gac/Mono.Data
331 %_prefix/lib/mono/2.0/Mono.Data.dll
332 %_prefix/lib/mono/gac/Mono.Data.Tds
333 %_prefix/lib/mono/2.0/Mono.Data.Tds.dll
334 %_prefix/lib/mono/gac/Mono.Data.TdsClient
335 %_prefix/lib/mono/2.0/Mono.Data.TdsClient.dll
336 %_prefix/lib/mono/gac/System.EnterpriseServices
337 %_prefix/lib/mono/2.0/System.EnterpriseServices.dll
338 %_prefix/lib/mono/gac/Novell.Directory.Ldap
339 %_prefix/lib/mono/2.0/Novell.Directory.Ldap.dll
340 %_prefix/lib/mono/gac/System.DirectoryServices
341 %_prefix/lib/mono/2.0/System.DirectoryServices.dll
342 %_prefix/lib/mono/gac/System.Transactions
343 %_prefix/lib/mono/2.0/System.Transactions.dll
344 %_prefix/lib/mono/gac/System.Data.DataSetExtensions
345 %_prefix/lib/mono/2.0/System.Data.DataSetExtensions.dll
346
347 %package -n mono-winforms
348 License:        LGPL v2.1 only
349 Summary:        Mono's Windows Forms implementation
350 Group:          Development/Languages/Mono
351 Requires:       mono-core == %version-%release
352 Provides:       mono-window-forms
353 Obsoletes:      mono-window-forms
354
355 %description -n mono-winforms
356 The Mono Project is an open development initiative that is working to
357 develop an open source, Unix version of the .NET development platform.
358 Its objective is to enable Unix developers to build and deploy
359 cross-platform .NET applications. The project will implement various
360 technologies that have been submitted to the ECMA for standardization.
361
362 Mono's Windows Forms implementation.
363
364
365
366 Authors:
367 --------
368     Miguel de Icaza <miguel@ximian.com>
369     Paolo Molaro <lupus@ximian.com>
370     Dietmar Maurer <dietmar@ximian.com>
371
372 %files -n mono-winforms
373 %defattr(-, root, root)
374 %_prefix/lib/mono/gac/System.Windows.Forms
375 %_prefix/lib/mono/2.0/System.Windows.Forms.dll
376 %_prefix/lib/mono/gac/Accessibility
377 %_prefix/lib/mono/2.0/Accessibility.dll
378 %_prefix/lib/mono/gac/System.Design
379 %_prefix/lib/mono/2.0/System.Design.dll
380 %_prefix/lib/mono/gac/System.Drawing.Design
381 %_prefix/lib/mono/2.0/System.Drawing.Design.dll
382 %_prefix/lib/mono/2.0/Mono.WebBrowser.dll
383 %_prefix/lib/mono/gac/Mono.WebBrowser
384
385 %package -n ibm-data-db2
386 License:        LGPL v2.1 only
387 Summary:        Database connectivity for DB2
388 Group:          Development/Languages/Mono
389 Requires:       mono-core == %version-%release
390
391 %description -n ibm-data-db2
392 The Mono Project is an open development initiative that is working to
393 develop an open source, Unix version of the .NET development platform.
394 Its objective is to enable Unix developers to build and deploy
395 cross-platform .NET applications. The project will implement various
396 technologies that have been submitted to the ECMA for standardization.
397
398 Database connectivity for DB2.
399
400
401
402 Authors:
403 --------
404     Miguel de Icaza <miguel@ximian.com>
405     Paolo Molaro <lupus@ximian.com>
406     Dietmar Maurer <dietmar@ximian.com>
407
408 %files -n ibm-data-db2
409 %defattr(-, root, root)
410 %_prefix/lib/mono/gac/IBM.Data.DB2
411 %_prefix/lib/mono/2.0/IBM.Data.DB2.dll
412
413 %package -n mono-extras
414 License:        LGPL v2.1 only
415 Summary:        Extra packages
416 Group:          Development/Languages/Mono
417 Requires:       mono-core == %version-%release
418 Obsoletes:      mono-ms-extras
419 Provides:       mono-ms-extras
420
421 %description -n mono-extras
422 The Mono Project is an open development initiative that is working to
423 develop an open source, Unix version of the .NET development platform.
424 Its objective is to enable Unix developers to build and deploy
425 cross-platform .NET applications. The project will implement various
426 technologies that have been submitted to the ECMA for standardization.
427
428 Extra packages.
429
430
431
432 Authors:
433 --------
434     Miguel de Icaza <miguel@ximian.com>
435     Paolo Molaro <lupus@ximian.com>
436     Dietmar Maurer <dietmar@ximian.com>
437
438 %files -n mono-extras
439 %defattr(-, root, root)
440 %_mandir/man1/mono-service.1%ext_man
441 %_bindir/mono-service
442 %_bindir/mono-service2
443 %_prefix/lib/mono/2.0/installutil.exe*
444 # These are errors because they should be symlinks, but they are copies, so rpmlint detects duplicate files
445 %_prefix/lib/mono/gac/mono-service
446 %_prefix/lib/mono/2.0/mono-service.exe*
447 %_prefix/lib/mono/gac/System.Management
448 %_prefix/lib/mono/2.0/System.Management.dll
449 %_prefix/lib/mono/gac/RabbitMQ.Client
450 %_prefix/lib/mono/2.0/RabbitMQ.Client.dll
451 %_prefix/lib/mono/gac/System.Messaging
452 %_prefix/lib/mono/2.0/System.Messaging.dll
453 %_prefix/lib/mono/gac/Mono.Messaging
454 %_prefix/lib/mono/2.0/Mono.Messaging.dll
455 %_prefix/lib/mono/gac/Mono.Messaging.RabbitMQ
456 %_prefix/lib/mono/2.0/Mono.Messaging.RabbitMQ.dll
457 %_prefix/lib/mono/gac/System.ServiceProcess
458 %_prefix/lib/mono/2.0/System.ServiceProcess.dll
459 %_prefix/lib/mono/gac/System.Configuration.Install
460 %_prefix/lib/mono/2.0/System.Configuration.Install.dll
461 %_prefix/lib/mono/gac/Microsoft.Vsa
462 %_prefix/lib/mono/2.0/Microsoft.Vsa.dll
463
464 %package -n mono-data-sqlite
465 License:        LGPL v2.1 only
466 Summary:        Database connectivity for Mono
467 Group:          Development/Languages/Mono
468 Requires:       mono-core == %version-%release
469 Requires:       mono-data == %version-%release
470 # TODO: Disable this, until a better solution is found
471 #Requires:       sqlite2
472
473 %description -n mono-data-sqlite
474 The Mono Project is an open development initiative that is working to
475 develop an open source, Unix version of the .NET development platform.
476 Its objective is to enable Unix developers to build and deploy
477 cross-platform .NET applications. The project will implement various
478 technologies that have been submitted to the ECMA for standardization.
479
480 Database connectivity for Mono.
481
482
483
484 Authors:
485 --------
486     Miguel de Icaza <miguel@ximian.com>
487     Paolo Molaro <lupus@ximian.com>
488     Dietmar Maurer <dietmar@ximian.com>
489
490 %files -n mono-data-sqlite
491 %defattr(-, root, root)
492 %_prefix/lib/mono/gac/Mono.Data.SqliteClient
493 %_prefix/lib/mono/2.0/Mono.Data.SqliteClient.dll
494 %_prefix/lib/mono/gac/Mono.Data.Sqlite
495 %_prefix/lib/mono/2.0/Mono.Data.Sqlite.dll
496
497 %package -n mono-data-sybase
498 License:        LGPL v2.1 only
499 Summary:        Database connectivity for Mono
500 Group:          Development/Languages/Mono
501 Requires:       mono-core == %version-%release
502 Requires:       mono-data == %version-%release
503
504 %description -n mono-data-sybase
505 The Mono Project is an open development initiative that is working to
506 develop an open source, Unix version of the .NET development platform.
507 Its objective is to enable Unix developers to build and deploy
508 cross-platform .NET applications. The project will implement various
509 technologies that have been submitted to the ECMA for standardization.
510
511 Database connectivity for Mono.
512
513
514
515 Authors:
516 --------
517     Miguel de Icaza <miguel@ximian.com>
518     Paolo Molaro <lupus@ximian.com>
519     Dietmar Maurer <dietmar@ximian.com>
520
521 %files -n mono-data-sybase
522 %defattr(-, root, root)
523 %_prefix/lib/mono/gac/Mono.Data.SybaseClient
524 %_prefix/lib/mono/2.0/Mono.Data.SybaseClient.dll
525
526 %package -n mono-wcf
527 Summary:        Mono implementation of WCF, Windows Communication Foundation
528 Group:          Development/Languages/Mono
529 Requires:       mono-core == %version-%release
530
531 %description -n mono-wcf
532 The Mono Project is an open development initiative that is working to
533 develop an open source, Unix version of the .NET development platform.
534 Its objective is to enable Unix developers to build and deploy
535 cross-platform .NET applications. The project will implement various
536 technologies that have been submitted to the ECMA for standardization.
537
538 Mono implementation of WCF, Windows Communication Foundation
539
540
541
542 Authors:
543 --------
544     Miguel de Icaza <miguel@ximian.com>
545     Paolo Molaro <lupus@ximian.com>
546     Dietmar Maurer <dietmar@ximian.com>
547
548
549 %files -n mono-wcf
550 %defattr(-, root, root)
551 %_bindir/svcutil
552 %_prefix/lib/mono/gac/System.IdentityModel
553 %_prefix/lib/mono/2.0/System.IdentityModel.dll
554 %_prefix/lib/mono/gac/System.IdentityModel.Selectors
555 %_prefix/lib/mono/2.0/System.IdentityModel.Selectors.dll
556 %_prefix/lib/mono/gac/System.Runtime.Serialization
557 %_prefix/lib/mono/2.0/System.Runtime.Serialization.dll
558 %_prefix/lib/mono/gac/System.ServiceModel
559 %_prefix/lib/mono/2.0/System.ServiceModel.dll
560 %_prefix/lib/mono/gac/System.ServiceModel.Web
561 %_prefix/lib/mono/2.0/System.ServiceModel.Web.dll
562 %_prefix/lib/mono/2.0/svcutil.exe*
563 %_libdir/pkgconfig/wcf.pc
564
565 %package -n mono-winfxcore
566 Summary: Mono implementation of core WinFX APIs
567 Group: Development/Languages/Mono
568 Requires: mono-core == %version-%release
569
570 %description -n mono-winfxcore
571 The Mono Project is an open development initiative that is working to
572 develop an open source, Unix version of the .NET development platform.
573 Its objective is to enable Unix developers to build and deploy
574 cross-platform .NET applications. The project will implement various
575 technologies that have been submitted to the ECMA for standardization.
576
577 Mono implementation of core WinFX APIs
578
579
580
581 Authors:
582 --------
583 Miguel de Icaza <miguel@ximian.com>
584 Paolo Molaro <lupus@ximian.com>
585 Dietmar Maurer <dietmar@ximian.com>
586
587
588 %files -n mono-winfxcore
589 %defattr(-, root, root)
590 %_prefix/lib/mono/gac/WindowsBase
591 %_prefix/lib/mono/2.0/WindowsBase.dll*
592
593 %package -n mono-web
594 License:        X11/MIT; Ms-Pl
595 Summary:        Mono implementation of ASP.NET, Remoting and Web Services
596 Group:          Development/Languages/Mono
597 Requires:       mono-core == %version-%release
598 Obsoletes:      mono-web-forms
599 Obsoletes:      mono-web-services
600 Obsoletes:      mono-remoting
601 Provides:       mono-web-forms
602 Provides:       mono-web-services
603 Provides:       mono-remoting
604
605 %description -n mono-web
606 The Mono Project is an open development initiative that is working to
607 develop an open source, Unix version of the .NET development platform.
608 Its objective is to enable Unix developers to build and deploy
609 cross-platform .NET applications. The project will implement various
610 technologies that have been submitted to the ECMA for standardization.
611
612 Mono implementation of ASP.NET, Remoting and Web Services.
613
614
615
616 Authors:
617 --------
618     Miguel de Icaza <miguel@ximian.com>
619     Paolo Molaro <lupus@ximian.com>
620     Dietmar Maurer <dietmar@ximian.com>
621
622 %files -n mono-web
623 %defattr(-, root, root)
624 %_prefix/lib/mono/gac/Mono.Http
625 %_prefix/lib/mono/2.0/Mono.Http.dll
626 %_prefix/lib/mono/gac/Mono.Web
627 %_prefix/lib/mono/2.0/Mono.Web.dll
628 %_prefix/lib/mono/gac/System.Runtime.Remoting
629 %_prefix/lib/mono/2.0/System.Runtime.Remoting.dll
630 %_prefix/lib/mono/gac/System.Web
631 %_prefix/lib/mono/2.0/System.Web.dll
632 %_prefix/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap
633 %_prefix/lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll
634 %_prefix/lib/mono/gac/System.Web.Services
635 %_prefix/lib/mono/2.0/System.Web.Services.dll
636 %_prefix/lib/mono/gac/System.Web.Abstractions
637 %_prefix/lib/mono/2.0/System.Web.Abstractions.dll
638 %_prefix/lib/mono/gac/System.Web.Routing
639 %_prefix/lib/mono/2.0/System.Web.Routing.dll
640 %_prefix/lib/mono/gac/System.Web.Extensions
641 %_prefix/lib/mono/2.0/System.Web.Extensions.dll
642 %_prefix/lib/mono/compat-2.0/System.Web.Extensions.dll
643 %_prefix/lib/mono/gac/System.Web.Extensions.Design
644 %_prefix/lib/mono/2.0/System.Web.Extensions.Design.dll
645 %_prefix/lib/mono/3.5/System.Web.Extensions.Design.dll
646 %_prefix/lib/mono/compat-2.0/System.Web.Extensions.Design.dll
647 %_prefix/lib/mono/gac/System.Web.DynamicData
648 %_prefix/lib/mono/2.0/System.Web.DynamicData.dll
649 %_prefix/lib/mono/gac/System.ComponentModel.DataAnnotations
650 %_prefix/lib/mono/2.0/System.ComponentModel.DataAnnotations.dll
651 %_prefix/lib/mono/gac/System.Web.Mvc
652 %_prefix/lib/mono/2.0/System.Web.Mvc.dll
653 # pkg-config files
654 %_libdir/pkgconfig/mono.web.pc
655 %_libdir/pkgconfig/system.web.extensions_1.0.pc
656 %_libdir/pkgconfig/system.web.extensions.design_1.0.pc
657 %_libdir/pkgconfig/system.web.mvc.pc
658 # exes
659 %_prefix/lib/mono/2.0/disco.exe*
660 %_prefix/lib/mono/2.0/soapsuds.exe*
661 %_prefix/lib/mono/2.0/wsdl.exe*
662 %_prefix/lib/mono/2.0/xsd.exe*
663 %_prefix/lib/mono/2.0/mconfig.exe*
664 # shell wrappers
665 %_bindir/disco
666 %_bindir/mconfig
667 %_bindir/soapsuds
668 %_bindir/wsdl
669 %_bindir/wsdl2
670 %_bindir/xsd
671 # man pages
672 %_mandir/man1/disco.1%ext_man
673 %_mandir/man1/soapsuds.1%ext_man
674 %_mandir/man1/wsdl.1%ext_man
675 %_mandir/man1/xsd.1%ext_man
676 %_mandir/man1/mconfig.1%ext_man
677 %config %_sysconfdir/mono/browscap.ini
678 %dir %_sysconfdir/mono/mconfig
679 %config %_sysconfdir/mono/mconfig/config.xml
680 %config %_sysconfdir/mono/2.0/DefaultWsdlHelpGenerator.aspx
681 %config %_sysconfdir/mono/2.0/web.config
682 %config %_sysconfdir/mono/2.0/Browsers
683
684 %package -n mono-data-oracle
685 License:        LGPL v2.1 only
686 Summary:        Database connectivity for Mono
687 Group:          Development/Languages/Mono
688 Requires:       mono-core == %version-%release
689 Requires:       mono-data == %version-%release
690
691 %description -n mono-data-oracle
692 The Mono Project is an open development initiative that is working to
693 develop an open source, Unix version of the .NET development platform.
694 Its objective is to enable Unix developers to build and deploy
695 cross-platform .NET applications. The project will implement various
696 technologies that have been submitted to the ECMA for standardization.
697
698 Database connectivity for Mono.
699
700
701
702 Authors:
703 --------
704     Miguel de Icaza <miguel@ximian.com>
705     Paolo Molaro <lupus@ximian.com>
706     Dietmar Maurer <dietmar@ximian.com>
707
708 %files -n mono-data-oracle
709 %defattr(-, root, root)
710 %_prefix/lib/mono/gac/System.Data.OracleClient
711 %_prefix/lib/mono/2.0/System.Data.OracleClient.dll
712
713 %package -n mono-data-postgresql
714 License:        LGPL v2.1 only
715 Summary:        Database connectivity for Mono
716 Group:          Development/Languages/Mono
717 Requires:       mono-core == %version-%release
718 Requires:       mono-data == %version-%release
719
720 %description -n mono-data-postgresql
721 The Mono Project is an open development initiative that is working to
722 develop an open source, Unix version of the .NET development platform.
723 Its objective is to enable Unix developers to build and deploy
724 cross-platform .NET applications. The project will implement various
725 technologies that have been submitted to the ECMA for standardization.
726
727 Database connectivity for Mono.
728
729
730
731 Authors:
732 --------
733     Miguel de Icaza <miguel@ximian.com>
734     Paolo Molaro <lupus@ximian.com>
735     Dietmar Maurer <dietmar@ximian.com>
736
737 %files -n mono-data-postgresql
738 %defattr(-, root, root)
739 %_prefix/lib/mono/gac/Npgsql
740 %_prefix/lib/mono/2.0/Npgsql.dll
741
742 %package -n bytefx-data-mysql
743 License:        LGPL v2.1 only
744 Summary:        Database connectivity for Mono
745 Group:          Development/Languages/Mono
746 Requires:       mono-core == %version-%release
747 Requires:       mono-data == %version-%release
748
749 %description -n bytefx-data-mysql
750 The Mono Project is an open development initiative that is working to
751 develop an open source, Unix version of the .NET development platform.
752 Its objective is to enable Unix developers to build and deploy
753 cross-platform .NET applications. The project will implement various
754 technologies that have been submitted to the ECMA for standardization.
755
756 Database connectivity for Mono.
757
758
759
760 Authors:
761 --------
762     Miguel de Icaza <miguel@ximian.com>
763     Paolo Molaro <lupus@ximian.com>
764     Dietmar Maurer <dietmar@ximian.com>
765
766 %files -n bytefx-data-mysql
767 %defattr(-, root, root)
768 %_prefix/lib/mono/gac/ByteFX.Data
769 %_prefix/lib/mono/2.0/ByteFX.Data.dll
770
771 %package -n mono-nunit
772 License:        LGPL v2.1 only
773 Summary:        NUnit Testing Framework
774 Group:          Development/Languages/Mono
775 Requires:       mono-core == %version-%release
776
777 %description -n mono-nunit
778 NUnit is a unit-testing framework for all .Net languages.  Initially
779 ported from JUnit, the current release, version 2.2,  is the fourth
780 major release of this  Unit based unit testing tool for Microsoft .NET.
781 It is written entirely in C# and  has been completely redesigned to
782 take advantage of many .NET language             features, for example
783 custom attributes and other reflection related capabilities. NUnit
784 brings xUnit to all .NET languages.
785
786
787
788 Authors:
789 --------
790     Miguel de Icaza <miguel@ximian.com>
791     Paolo Molaro <lupus@ximian.com>
792     Dietmar Maurer <dietmar@ximian.com>
793
794 %files -n mono-nunit
795 %defattr(-, root, root)
796 %_prefix/bin/nunit-console
797 %_prefix/bin/nunit-console2
798 %_prefix/lib/mono/2.0/nunit-console.exe*
799 %_prefix/lib/mono/gac/nunit.util
800 %_prefix/lib/mono/2.0/nunit.util.dll
801 %_prefix/lib/mono/gac/nunit.core
802 %_prefix/lib/mono/2.0/nunit.core.dll
803 %_prefix/lib/mono/gac/nunit.core.extensions
804 %_prefix/lib/mono/2.0/nunit.core.extensions.dll
805 %_prefix/lib/mono/gac/nunit.core.interfaces
806 %_prefix/lib/mono/2.0/nunit.core.interfaces.dll
807 %_prefix/lib/mono/gac/nunit.framework
808 %_prefix/lib/mono/2.0/nunit.framework.dll
809 %_prefix/lib/mono/gac/nunit.framework.extensions
810 %_prefix/lib/mono/2.0/nunit.framework.extensions.dll
811 %_prefix/lib/mono/gac/nunit.mocks
812 %_prefix/lib/mono/2.0/nunit.mocks.dll
813 %_prefix/lib/mono/gac/nunit-console-runner
814 %_prefix/lib/mono/2.0/nunit-console-runner.dll
815
816 %_libdir/pkgconfig/mono-nunit.pc
817
818 %package -n mono-devel
819 License:        LGPL v2.1 only
820 Summary:        Mono development tools
821 Group:          Development/Languages/Mono
822 Requires:       mono-core == %version-%release
823 Requires:       glib2-devel
824 %if 0%{?monobuild}
825 Requires:       libgdiplus0
826 %else
827 Requires:       libgdiplus0
828 %endif
829 # We build natively on ppc64 now
830 %ifarch ppc64
831 Provides:       mono-biarchcompat
832 Obsoletes:      mono-biarchcompat
833 %endif
834
835 %description -n mono-devel
836 The Mono Project is an open development initiative that is working to
837 develop an open source, Unix version of the .NET development platform.
838 Its objective is to enable Unix developers to build and deploy
839 cross-platform .NET applications. This package contains compilers and
840 other tools needed to develop .NET applications.
841
842 Mono development tools.
843
844
845
846 Authors:
847 --------
848     Miguel de Icaza <miguel@ximian.com>
849     Paolo Molaro <lupus@ximian.com>
850     Dietmar Maurer <dietmar@ximian.com>
851
852 %post -n mono-devel -p /sbin/ldconfig
853
854 %postun -n mono-devel -p /sbin/ldconfig
855
856 %files -n mono-devel
857 %defattr(-, root, root)
858 # libs
859 %_libdir/libmono.so
860 %_libdir/libmono.a
861 # exes
862 %_prefix/lib/mono/2.0/makecert.exe*
863 %_prefix/lib/mono/2.0/mono-api-info.exe*
864 %_prefix/lib/mono/2.0/al.exe*
865 %_prefix/lib/mono/2.0/caspol.exe*
866 %_prefix/lib/mono/2.0/cert2spc.exe*
867 %_prefix/lib/mono/2.0/mono-cil-strip.exe*
868 %_prefix/lib/mono/2.0/dtd2xsd.exe*
869 %_prefix/lib/mono/2.0/genxs.exe*
870 %_prefix/lib/mono/2.0/httpcfg.exe*
871 %_prefix/lib/mono/2.0/ictool.exe*
872 %_prefix/lib/mono/2.0/ilasm.exe*
873 %_prefix/lib/mono/2.0/installvst.exe*
874 %_prefix/lib/mono/2.0/lc.exe*
875 %_prefix/lib/mono/2.0/mkbundle.exe*
876 %_prefix/lib/mono/2.0/monop.exe*
877 %_prefix/lib/mono/2.0/permview.exe*
878 %_prefix/lib/mono/2.0/resgen.exe*
879 %_prefix/lib/mono/2.0/secutil.exe*
880 %_prefix/lib/mono/2.0/sgen.exe*
881 %_prefix/lib/mono/2.0/signcode.exe*
882 %_prefix/lib/mono/2.0/prj2make.exe*
883 %_prefix/lib/mono/2.0/macpack.exe*
884 %_prefix/lib/mono/2.0/mono-shlib-cop.exe*
885 %_prefix/lib/mono/2.0/dtd2rng.exe*
886 %_prefix/lib/mono/2.0/mono-xmltool.exe*
887 %_prefix/lib/mono/2.0/pdb2mdb.exe*
888 # xbuild related files
889 %_prefix/lib/mono/2.0/xbuild.exe*
890 %_prefix/lib/mono/2.0/Microsoft.Build.xsd
891 %_prefix/lib/mono/2.0/Microsoft.Common.tasks
892 %_prefix/lib/mono/2.0/Microsoft.Common.targets
893 %_prefix/lib/mono/2.0/Microsoft.CSharp.targets
894 %_prefix/lib/mono/2.0/Microsoft.VisualBasic.targets
895 %_prefix/lib/mono/2.0/MSBuild
896 %_prefix/lib/mono/2.0/xbuild.rsp
897 %_prefix/lib/mono/xbuild
898 # man pages
899 %_mandir/man1/cert2spc.1%ext_man
900 %_mandir/man1/mono-cil-strip.1%ext_man
901 %_mandir/man1/dtd2xsd.1%ext_man
902 %_mandir/man1/genxs.1%ext_man
903 %_mandir/man1/httpcfg.1%ext_man
904 %_mandir/man1/ilasm.1%ext_man
905 %_mandir/man1/lc.1%ext_man
906 %_mandir/man1/macpack.1%ext_man
907 %_mandir/man1/makecert.1%ext_man
908 %_mandir/man1/mkbundle.1%ext_man
909 %_mandir/man1/monodis.1%ext_man
910 %_mandir/man1/monop.1%ext_man
911 %_mandir/man1/mono-shlib-cop.1%ext_man
912 %_mandir/man1/permview.1%ext_man
913 %_mandir/man1/pdb2mdb.1%ext_man
914 %_mandir/man1/prj2make.1%ext_man
915 %_mandir/man1/secutil.1%ext_man
916 %_mandir/man1/sgen.1%ext_man
917 %_mandir/man1/signcode.1%ext_man
918 %_mandir/man1/al.1%ext_man
919 %_mandir/man1/mono-xmltool.1%ext_man
920 %_mandir/man1/resgen.1%ext_man
921 %_mandir/man1/xbuild.1%ext_man
922 # Shell wrappers
923 %_bindir/al
924 %_bindir/al2
925 %_bindir/caspol
926 %_bindir/cert2spc
927 %_bindir/dtd2xsd
928 %_bindir/dtd2rng
929 %_bindir/genxs
930 %_bindir/httpcfg
931 %_bindir/ilasm
932 %_bindir/ilasm2
933 %_bindir/installvst
934 %_bindir/lc
935 %_bindir/macpack
936 %_bindir/makecert
937 %_bindir/mkbundle
938 %_bindir/mkbundle2
939 %_bindir/mono-gdb.py
940 %_bindir/monodis
941 %_bindir/monolinker
942 %_bindir/monop
943 %_bindir/monop2
944 %_bindir/mono-api-info
945 %_bindir/mono-cil-strip
946 %_bindir/mono-find-provides
947 %_bindir/mono-find-requires
948 %_bindir/mono-heapviz
949 %_bindir/mono-shlib-cop
950 %_bindir/mono-xmltool
951 %_bindir/pdb2mdb
952 %_bindir/pedump
953 %_bindir/permview
954 %_bindir/prj2make
955 %_bindir/resgen
956 %_bindir/resgen2
957 %_bindir/secutil
958 %_bindir/sgen
959 %_bindir/signcode
960 %_bindir/xbuild
961 %_mandir/man1/monolinker.1%ext_man
962 %_prefix/lib/mono/gac/PEAPI
963 %_prefix/lib/mono/2.0/monolinker.*
964 %_prefix/lib/mono/2.0/PEAPI.dll
965 %_prefix/lib/mono/gac/Mono.Debugger.Soft
966 %_prefix/lib/mono/2.0/Mono.Debugger.Soft.dll
967 %_prefix/lib/mono/gac/Microsoft.Build.Tasks
968 %_prefix/lib/mono/2.0/Microsoft.Build.Tasks.dll
969 %_prefix/lib/mono/gac/Microsoft.Build.Tasks.v3.5
970 %_prefix/lib/mono/3.5/Microsoft.Build.Tasks.v3.5.dll
971 %_prefix/lib/mono/gac/Microsoft.Build.Framework
972 %_prefix/lib/mono/2.0/Microsoft.Build.Framework.dll
973 %_prefix/lib/mono/3.5/Microsoft.Build.Framework.dll
974 %_prefix/lib/mono/gac/Microsoft.Build.Utilities
975 %_prefix/lib/mono/2.0/Microsoft.Build.Utilities.dll
976 %_prefix/lib/mono/gac/Microsoft.Build.Utilities.v3.5
977 %_prefix/lib/mono/3.5/Microsoft.Build.Utilities.v3.5.dll
978 %_prefix/lib/mono/gac/Microsoft.Build.Engine
979 %_prefix/lib/mono/2.0/Microsoft.Build.Engine.dll
980 %_prefix/lib/mono/3.5/Microsoft.Build.Engine.dll
981 %_prefix/lib/mono-source-libs
982 %_bindir/monograph
983 %_prefix/include/mono-1.0
984 %_libdir/libmono-profiler-cov.*
985 %_libdir/libmono-profiler-aot.*
986 %_libdir/libmono-profiler-logging.*
987 %_libdir/pkgconfig/mono.pc
988 %_libdir/pkgconfig/dotnet.pc
989 %_libdir/pkgconfig/dotnet35.pc
990 %_libdir/pkgconfig/mono-cairo.pc
991 %_libdir/pkgconfig/mono-options.pc
992 %_libdir/pkgconfig/mono-lineeditor.pc
993 %_libdir/pkgconfig/cecil.pc
994 %_prefix/share/mono-1.0/mono/cil/cil-opcodes.xml
995 # dirs
996 %dir %_prefix/share/mono-1.0
997 %dir %_prefix/share/mono-1.0/mono
998 %dir %_prefix/share/mono-1.0/mono/cil
999 # Reminder: when removing man pages in this list, they are not 
1000 #  yet gzipped
1001
1002 %package -n monodoc-core
1003 License:        GNU General Public License (GPL)
1004 Summary:        Monodoc-Documentation tools for C# code
1005 Group:          Development/Tools/Other
1006 URL:            http://go-mono.org/
1007 Provides:       monodoc
1008 Obsoletes:      monodoc
1009
1010 %description -n monodoc-core
1011 Monodoc-core contains documentation tools for C#.
1012
1013 %files -n monodoc-core
1014 %defattr(-, root, root)
1015 %{_prefix}/lib/mono/2.0/mdoc.exe*
1016 %{_prefix}/lib/mono/2.0/mod.exe*
1017 %{_prefix}/lib/mono/gac/monodoc
1018 %{_prefix}/lib/mono/monodoc
1019 %{_bindir}/mdassembler
1020 %{_bindir}/mdoc
1021 %{_bindir}/mdoc-assemble
1022 %{_bindir}/mdoc-export-html
1023 %{_bindir}/mdoc-export-msxdoc
1024 %{_bindir}/mdoc-update
1025 %{_bindir}/mdoc-validate
1026 %{_bindir}/mdvalidater
1027 %{_bindir}/mod
1028 %{_bindir}/monodocer
1029 %{_bindir}/monodocs2html
1030 %{_bindir}/monodocs2slashdoc
1031 %{_prefix}/lib/monodoc
1032 %{_libdir}/pkgconfig/monodoc.pc
1033 %{_mandir}/man1/mdassembler.1%ext_man
1034 %{_mandir}/man1/mdoc-assemble.1%ext_man
1035 %{_mandir}/man1/mdoc-export-html.1%ext_man
1036 %{_mandir}/man1/mdoc-export-msxdoc.1%ext_man
1037 %{_mandir}/man1/mdoc-update.1%ext_man
1038 %{_mandir}/man1/mdoc-validate.1%ext_man
1039 %{_mandir}/man1/mdoc.1%ext_man
1040 %{_mandir}/man1/mdvalidater.1%ext_man
1041 %{_mandir}/man1/monodocer.1%ext_man
1042 %{_mandir}/man1/monodocs2html.1%ext_man
1043 %{_mandir}/man5/mdoc.5%ext_man
1044
1045 %package -n mono-complete
1046 License:        LGPL v2.1 only
1047 Summary:        A .NET Runtime Environment
1048 Group:          Development/Languages/Mono
1049 Requires:       bytefx-data-mysql = %version-%release
1050 Requires:       ibm-data-db2 = %version-%release
1051 Requires:       mono-core = %version-%release
1052 Requires:       mono-data = %version-%release
1053 Requires:       mono-data-firebird = %version-%release
1054 Requires:       mono-data-oracle = %version-%release
1055 Requires:       mono-data-postgresql = %version-%release
1056 Requires:       mono-data-sqlite = %version-%release
1057 Requires:       mono-data-sybase = %version-%release
1058 Requires:       mono-devel = %version-%release
1059 Requires:       mono-extras = %version-%release
1060 Requires:       mono-jscript = %version-%release
1061 Requires:       mono-locale-extras = %version-%release
1062 Requires:       mono-nunit = %version-%release
1063 Requires:       mono-web = %version-%release
1064 Requires:       mono-wcf = %version-%release
1065 Requires:       mono-winforms = %version-%release
1066
1067 %description -n mono-complete
1068 The Mono Project is an open development initiative that is working to
1069 develop an open source, Unix version of the .NET development platform.
1070 Its objective is to enable Unix developers to build and deploy
1071 cross-platform .NET applications. The project will implement various
1072 technologies that have been submitted to the ECMA for standardization.
1073
1074
1075
1076 Authors:
1077 --------
1078     Miguel de Icaza <miguel@ximian.com>
1079     Paolo Molaro <lupus@ximian.com>
1080     Dietmar Maurer <dietmar@ximian.com>
1081
1082 %files -n mono-complete
1083 %defattr(-, root, root)
1084 # Directories
1085 # Put dir files here so we don't have an empty package
1086 %dir %_prefix/lib/mono/compat-2.0
1087
1088 %prep
1089 %setup -q -n mono-%{version}
1090
1091 %build
1092 # These are only needed if there are patches to the runtime
1093 #rm -f libgc/libtool.m4
1094 #autoreconf --force --install
1095 #autoreconf --force --install libgc
1096 export CFLAGS=" $RPM_OPT_FLAGS -DKDE_ASSEMBLIES='\"/opt/kde3/%{_lib}\"' -fno-strict-aliasing"
1097 # distro specific configure options
1098 %{?configure_options}
1099 %configure \
1100   --with-jit=yes \
1101   --with-ikvm=yes \
1102   --with-moonlight=no
1103 make
1104
1105 %install
1106 make install DESTDIR=%buildroot
1107 # remove .la files (they are generally bad news)
1108 rm -f %buildroot%_libdir/*.la
1109 # remove Windows-only stuff
1110 rm -rf %buildroot%_prefix/lib/mono/*/Mono.Security.Win32*
1111 rm -f %buildroot%_libdir/libMonoSupportW.*
1112 # remove .a files for libraries that are really only for us
1113 rm -f %buildroot%_libdir/libMonoPosixHelper.a
1114 rm -f %buildroot%_libdir/libikvm-native.a
1115 # remove libgc cruft
1116 rm -rf %buildroot%_datadir/libgc-mono
1117 # remove stuff that we don't package
1118 rm -f %buildroot%_prefix/lib/mono/2.0/browsercaps-updater.exe*
1119 rm -f %buildroot%_bindir/cilc
1120 rm -f %buildroot%_mandir/man1/cilc.1*
1121 rm -f %buildroot%_prefix/lib/mono/2.0/cilc.exe*
1122 rm -f %buildroot%_prefix/lib/mono/2.0/culevel.exe*
1123 # brp-compress doesn't search _mandir
1124 # so we cheat it
1125 ln -s . %buildroot%_prefix/usr
1126 RPM_BUILD_ROOT=%buildroot%_prefix /usr/lib/rpm/brp-compress
1127 rm %buildroot%_prefix/usr
1128 %find_lang mcs
1129
1130 %clean
1131 rm -rf ${RPM_BUILD_ROOT}
1132
1133 %changelog