Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mono-core.spec.in - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 33cf2563309a0c3623bab363352e5fe1ef163c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
%{!?ext_man: %define ext_man .gz}

Name:           mono-core
License:        LGPL v2.1 only
Group:          Development/Languages/Mono
Summary:        A .NET Runtime Environment
Url:            http://go-mono.org/
Version:        @VERSION@
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        mono-%{version}.tar.bz2
ExclusiveArch:  %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       mono = %{version}-%{release}
Provides:       mono-ikvm = %{version}-%{release}
Obsoletes:      mono
Obsoletes:      mono-drawing
Obsoletes:      mono-cairo
Obsoletes:      mono-xml-relaxng
Obsoletes:      mono-posix
Obsoletes:      mono-ziplib
Obsoletes:      mono-ikvm
Provides:       mono-drawing
Provides:       mono-cairo
Provides:       mono-xml-relaxng
Provides:       mono-posix
Provides:       mono-ziplib
# This version of mono has issues with the following versions of apps:
#  (not because of regressions, but because bugfixes in mono uncover bugs in the apps)
Conflicts:      helix-banshee < 1.0
Conflicts:      banshee < 1.0
Conflicts:      f-spot < 0.4
Conflicts:      mono-addins < 0.3.1
# Only use recommends for 11.0 and up
%if 0%{?suse_version} >= 1100
Recommends:     libgdiplus0
%else
Requires:       libgdiplus0
%endif
BuildRequires:  gcc-c++
BuildRequires:  glib2-devel zlib-devel
#######  distro specific changes  ########
#####
#### suse options ####
%if 0%{?suse_version}
# For some reason these weren't required in 10.2 and before... ?
%if 0%{suse_version} >= 1030
BuildRequires:  bison
# Add valgrind support for 10.3 and above on archs that have it
%ifarch %ix86 x86_64 ppc ppc64
BuildRequires:  valgrind-devel
%endif
%endif
%if 0%{suse_version} >= 1020
BuildRequires:  xorg-x11-libX11
%endif
%if 0%{sles_version} == 10
BuildRequires:  xorg-x11-devel
%endif
%if 0%{suse_version} == 1010
BuildRequires:  xorg-x11-devel
%endif
%if 0%{sles_version} == 9
%define configure_options export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/%_lib/pkgconfig
BuildRequires:  XFree86-devel XFree86-libs pkgconfig
%endif
%endif
# Fedora x11
%if 0%{?fedora_version}
BuildRequires:  libX11
%endif
# rhel x11
%if 0%{?rhel_version}
BuildRequires:  libX11
%endif
#####
#######  End of distro specific changes  ########
# Why was this needed?
%ifarch s390 s390x
PreReq:         grep
%endif
# This lib only needed for ia64
%ifarch ia64
BuildRequires:  libunwind-devel
%endif
# TODO:
# This won't work until the rpm package passes .config files to mono-find-requires
#%define __find_provides env MONO_PREFIX=%{buildroot}/usr /usr/lib/rpm/find-provides
#%define __find_requires env MONO_PREFIX=%{buildroot}/usr /usr/lib/rpm/find-requires
%if 0%{?fedora_version} || 0%{?rhel_version}
# Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros)
%define _use_internal_dependency_generator 0
%endif
%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'
%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'

%description
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -f mcs.lang
%defattr(-, root, root)
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
%_bindir/mono
%_libdir/libmono.so.*
%_mandir/man1/mono.1%ext_man
# manpages
%_mandir/man5/mono-config.5%ext_man
%_mandir/man1/mcs.1%ext_man
%_mandir/man1/certmgr.1%ext_man
%_mandir/man1/chktrust.1%ext_man
%_mandir/man1/csharp.1%ext_man
%_mandir/man1/setreg.1%ext_man
%_mandir/man1/gacutil.1%ext_man
%_mandir/man1/sn.1%ext_man
%_mandir/man1/mozroots.1%ext_man
# wrappers
%_bindir/certmgr
%_bindir/chktrust
%_bindir/csharp
%_bindir/gacutil
%_bindir/gacutil2
%_bindir/gmcs
%_bindir/mcs
%_bindir/mono-test-install
%_bindir/mozroots
%_bindir/peverify
%_bindir/setreg
%_bindir/sn
# exes
%_prefix/lib/mono/2.0/certmgr.exe*
%_prefix/lib/mono/2.0/chktrust.exe*
%_prefix/lib/mono/2.0/gacutil.exe*
%_prefix/lib/mono/2.0/csharp.exe*
%_prefix/lib/mono/2.0/gmcs.exe*
%_prefix/lib/mono/2.0/mozroots.exe*
%_prefix/lib/mono/2.0/setreg.exe*
%_prefix/lib/mono/2.0/sn.exe*
%_prefix/lib/mono/gac/cscompmgd
%_prefix/lib/mono/2.0/cscompmgd.dll
%_prefix/lib/mono/gac/I18N.West
%_prefix/lib/mono/2.0/I18N.West.dll
%_prefix/lib/mono/gac/I18N
%_prefix/lib/mono/2.0/I18N.dll
%_prefix/lib/mono/gac/Mono.CompilerServices.SymbolWriter
%_prefix/lib/mono/2.0/Mono.CompilerServices.SymbolWriter.dll
%_prefix/lib/mono/gac/Mono.GetOptions
%_prefix/lib/mono/2.0/Mono.GetOptions.dll
%_prefix/lib/mono/gac/Mono.Simd
%_prefix/lib/mono/2.0/Mono.Simd.dll
%_prefix/lib/mono/gac/Mono.Management
%_prefix/lib/mono/2.0/Mono.Management.dll
%_prefix/lib/mono/gac/Mono.Tasklets
%_prefix/lib/mono/2.0/Mono.Tasklets.dll
%_prefix/lib/mono/gac/Mono.Security
%_prefix/lib/mono/2.0/Mono.Security.dll
%_prefix/lib/mono/gac/System.Security
%_prefix/lib/mono/2.0/System.Security.dll
%_prefix/lib/mono/gac/System.Xml
%_prefix/lib/mono/2.0/System.Xml.dll
%_prefix/lib/mono/gac/System.Xml.Linq
%_prefix/lib/mono/2.0/System.Xml.Linq.dll
%_prefix/lib/mono/gac/System
%_prefix/lib/mono/2.0/System.dll
%_prefix/lib/mono/gac/System.Configuration
%_prefix/lib/mono/2.0/System.Configuration.dll
%_prefix/lib/mono/2.0/mscorlib.dll*
%dir %_sysconfdir/mono
%dir %_sysconfdir/mono/2.0
%dir %_prefix/lib/mono
%dir %_prefix/lib/mono/2.0
%dir %_prefix/lib/mono/3.5
%dir %_prefix/lib/mono/gac
%config %_sysconfdir/mono/config
%config %_sysconfdir/mono/2.0/machine.config
%config %_sysconfdir/mono/2.0/settings.map
%_prefix/lib/mono/gac/Mono.C5
%_prefix/lib/mono/2.0/Mono.C5.dll
# ikvm helper
%_prefix/%_lib/libikvm-native.so
%_prefix/lib/mono/gac/System.Drawing
%_prefix/lib/mono/2.0/System.Drawing.dll
%_libdir/libMonoPosixHelper.so*
%_prefix/lib/mono/gac/Mono.Posix
%_prefix/lib/mono/2.0/Mono.Posix.dll
%_prefix/lib/mono/gac/Mono.Cairo
%_prefix/lib/mono/2.0/Mono.Cairo.dll
%_prefix/lib/mono/gac/ICSharpCode.SharpZipLib
%_prefix/lib/mono/2.0/ICSharpCode.SharpZipLib.dll
%_prefix/lib/mono/compat-2.0/ICSharpCode.SharpZipLib.dll
%_prefix/lib/mono/gac/Microsoft.VisualC
%_prefix/lib/mono/2.0/Microsoft.VisualC.dll
%_prefix/lib/mono/gac/Commons.Xml.Relaxng
%_prefix/lib/mono/2.0/Commons.Xml.Relaxng.dll
%_prefix/lib/mono/gac/CustomMarshalers
%_prefix/lib/mono/2.0/CustomMarshalers.dll
%_prefix/lib/mono/gac/OpenSystem.C
%_prefix/lib/mono/2.0/OpenSystem.C.dll
%_prefix/lib/mono/gac/System.Core
%_prefix/lib/mono/2.0/System.Core.dll
%_prefix/lib/mono/gac/Mono.CSharp
%_prefix/lib/mono/2.0/Mono.CSharp.dll
%_prefix/lib/mono/gac/Mono.Cecil
# localizations?
#%_datadir/locale/*/LC_MESSAGES/mcs.mo
# Not sure if autobuild allows this...

%post
/sbin/ldconfig
%ifarch s390 s390x
if grep -q "machine = 9672" /proc/cpuinfo 2>/dev/null ; then
    # anchor for rebuild on failure
    echo "mono may not work correctly on G5"
fi
%endif

%postun -p /sbin/ldconfig

%package -n mono-jscript
License:        LGPL v2.1 only
Summary:        JScript .NET support for Mono
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release

%description -n mono-jscript
This package contains the JScript .NET compiler and language runtime.
This allows you to compile and run JScript.NET application and
assemblies.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-jscript
%defattr(-, root, root)
%_bindir/mjs
%_prefix/lib/mono/2.0/mjs.exe*
%_prefix/lib/mono/gac/Microsoft.JScript
%_prefix/lib/mono/2.0/Microsoft.JScript.dll

%package -n mono-locale-extras
License:        LGPL v2.1 only
Summary:        Extra locale information
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release

%description -n mono-locale-extras
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Extra locale information.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-locale-extras
%defattr(-, root, root)
%_prefix/lib/mono/gac/I18N.MidEast
%_prefix/lib/mono/2.0/I18N.MidEast.dll
%_prefix/lib/mono/gac/I18N.Rare
%_prefix/lib/mono/2.0/I18N.Rare.dll
%_prefix/lib/mono/gac/I18N.CJK
%_prefix/lib/mono/2.0/I18N.CJK.dll
%_prefix/lib/mono/gac/I18N.Other
%_prefix/lib/mono/2.0/I18N.Other.dll

%package -n mono-data
License:        LGPL v2.1 only
Summary:        Database connectivity for Mono
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Obsoletes:      mono-ms-enterprise
Obsoletes:      mono-novell-directory
Obsoletes:      mono-directory
Provides:       mono-ms-enterprise
Provides:       mono-novell-directory
Provides:       mono-directory

%description -n mono-data
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Database connectivity for Mono.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-data
%defattr(-, root, root)
%_prefix/lib/mono/2.0/sqlmetal.exe*
%_prefix/lib/mono/2.0/sqlsharp.exe*
%_bindir/sqlmetal
%_bindir/sqlsharp
%_mandir/man1/sqlsharp.1%ext_man
%_prefix/lib/mono/gac/System.Data
%_prefix/lib/mono/2.0/System.Data.dll
%_prefix/lib/mono/gac/System.Data.Linq
%_prefix/lib/mono/2.0/System.Data.Linq.dll
%_prefix/lib/mono/gac/System.Data.Services
%_prefix/lib/mono/gac/Mono.Data
%_prefix/lib/mono/2.0/Mono.Data.dll
%_prefix/lib/mono/gac/Mono.Data.Tds
%_prefix/lib/mono/2.0/Mono.Data.Tds.dll
%_prefix/lib/mono/gac/Mono.Data.TdsClient
%_prefix/lib/mono/2.0/Mono.Data.TdsClient.dll
%_prefix/lib/mono/gac/System.EnterpriseServices
%_prefix/lib/mono/2.0/System.EnterpriseServices.dll
%_prefix/lib/mono/gac/Novell.Directory.Ldap
%_prefix/lib/mono/2.0/Novell.Directory.Ldap.dll
%_prefix/lib/mono/gac/System.DirectoryServices
%_prefix/lib/mono/2.0/System.DirectoryServices.dll
%_prefix/lib/mono/gac/System.Transactions
%_prefix/lib/mono/2.0/System.Transactions.dll
%_prefix/lib/mono/gac/System.Data.DataSetExtensions
%_prefix/lib/mono/2.0/System.Data.DataSetExtensions.dll

%package -n mono-winforms
License:        LGPL v2.1 only
Summary:        Mono's Windows Forms implementation
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Provides:       mono-window-forms
Obsoletes:      mono-window-forms

%description -n mono-winforms
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Mono's Windows Forms implementation.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-winforms
%defattr(-, root, root)
%_prefix/lib/mono/gac/System.Windows.Forms
%_prefix/lib/mono/2.0/System.Windows.Forms.dll
%_prefix/lib/mono/gac/Accessibility
%_prefix/lib/mono/2.0/Accessibility.dll
%_prefix/lib/mono/gac/System.Design
%_prefix/lib/mono/2.0/System.Design.dll
%_prefix/lib/mono/gac/System.Drawing.Design
%_prefix/lib/mono/2.0/System.Drawing.Design.dll
%_prefix/lib/mono/2.0/Mono.WebBrowser.dll
%_prefix/lib/mono/gac/Mono.WebBrowser

%package -n ibm-data-db2
License:        LGPL v2.1 only
Summary:        Database connectivity for DB2
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release

%description -n ibm-data-db2
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Database connectivity for DB2.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n ibm-data-db2
%defattr(-, root, root)
%_prefix/lib/mono/gac/IBM.Data.DB2
%_prefix/lib/mono/2.0/IBM.Data.DB2.dll

%package -n mono-extras
License:        LGPL v2.1 only
Summary:        Extra packages
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Obsoletes:      mono-ms-extras
Provides:       mono-ms-extras

%description -n mono-extras
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Extra packages.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-extras
%defattr(-, root, root)
%_mandir/man1/mono-service.1%ext_man
%_bindir/mono-service
%_bindir/mono-service2
%_prefix/lib/mono/2.0/installutil.exe*
# These are errors because they should be symlinks, but they are copies, so rpmlint detects duplicate files
%_prefix/lib/mono/gac/mono-service
%_prefix/lib/mono/2.0/mono-service.exe*
%_prefix/lib/mono/gac/System.Management
%_prefix/lib/mono/2.0/System.Management.dll
%_prefix/lib/mono/gac/RabbitMQ.Client
%_prefix/lib/mono/2.0/RabbitMQ.Client.dll
%_prefix/lib/mono/2.0/RabbitMQ.Client.Apigen.exe*
%_prefix/lib/mono/gac/System.Messaging
%_prefix/lib/mono/2.0/System.Messaging.dll
%_prefix/lib/mono/gac/Mono.Messaging
%_prefix/lib/mono/2.0/Mono.Messaging.dll
%_prefix/lib/mono/gac/Mono.Messaging.RabbitMQ
%_prefix/lib/mono/2.0/Mono.Messaging.RabbitMQ.dll
%_prefix/lib/mono/gac/System.ServiceProcess
%_prefix/lib/mono/2.0/System.ServiceProcess.dll
%_prefix/lib/mono/gac/System.Configuration.Install
%_prefix/lib/mono/2.0/System.Configuration.Install.dll
%_prefix/lib/mono/gac/Microsoft.Vsa
%_prefix/lib/mono/2.0/Microsoft.Vsa.dll

%package -n mono-data-sqlite
License:        LGPL v2.1 only
Summary:        Database connectivity for Mono
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Requires:       mono-data == %version-%release
# TODO: Disable this, until a better solution is found
#Requires:       sqlite2

%description -n mono-data-sqlite
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Database connectivity for Mono.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-data-sqlite
%defattr(-, root, root)
%_prefix/lib/mono/gac/Mono.Data.SqliteClient
%_prefix/lib/mono/2.0/Mono.Data.SqliteClient.dll
%_prefix/lib/mono/gac/Mono.Data.Sqlite
%_prefix/lib/mono/2.0/Mono.Data.Sqlite.dll

%package -n mono-data-sybase
License:        LGPL v2.1 only
Summary:        Database connectivity for Mono
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Requires:       mono-data == %version-%release

%description -n mono-data-sybase
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Database connectivity for Mono.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-data-sybase
%defattr(-, root, root)
%_prefix/lib/mono/gac/Mono.Data.SybaseClient
%_prefix/lib/mono/2.0/Mono.Data.SybaseClient.dll

%package -n mono-wcf
Summary:        Mono implementation of WCF, Windows Communication Foundation
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release

%description -n mono-wcf
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Mono implementation of WCF, Windows Communication Foundation



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>


%files -n mono-wcf
%defattr(-, root, root)
%_bindir/svcutil
%_prefix/lib/mono/gac/System.IdentityModel
%_prefix/lib/mono/2.0/System.IdentityModel.dll
%_prefix/lib/mono/gac/System.IdentityModel.Selectors
%_prefix/lib/mono/2.0/System.IdentityModel.Selectors.dll
%_prefix/lib/mono/gac/System.Runtime.Serialization
%_prefix/lib/mono/2.0/System.Runtime.Serialization.dll
%_prefix/lib/mono/gac/System.ServiceModel
%_prefix/lib/mono/2.0/System.ServiceModel.dll
%_prefix/lib/mono/gac/System.ServiceModel.Web
%_prefix/lib/mono/2.0/System.ServiceModel.Web.dll
%_prefix/lib/mono/2.0/svcutil.exe*
%_libdir/pkgconfig/wcf.pc

%package -n mono-winfxcore
Summary: Mono implementation of core WinFX APIs
Group: Development/Languages/Mono
Requires: mono-core == %version-%release

%description -n mono-winfxcore
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Mono implementation of core WinFX APIs



Authors:
--------
Miguel de Icaza <miguel@ximian.com>
Paolo Molaro <lupus@ximian.com>
Dietmar Maurer <dietmar@ximian.com>


%files -n mono-winfxcore
%defattr(-, root, root)
%_prefix/lib/mono/gac/WindowsBase
%_prefix/lib/mono/2.0/WindowsBase.dll*

%package -n mono-web
License:        X11/MIT; Ms-Pl
Summary:        Mono implementation of ASP.NET, Remoting and Web Services
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Obsoletes:      mono-web-forms
Obsoletes:      mono-web-services
Obsoletes:      mono-remoting
Provides:       mono-web-forms
Provides:       mono-web-services
Provides:       mono-remoting

%description -n mono-web
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Mono implementation of ASP.NET, Remoting and Web Services.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-web
%defattr(-, root, root)
%_prefix/lib/mono/gac/Mono.Http
%_prefix/lib/mono/2.0/Mono.Http.dll
%_prefix/lib/mono/gac/Mono.Web
%_prefix/lib/mono/2.0/Mono.Web.dll
%_prefix/lib/mono/gac/System.Runtime.Remoting
%_prefix/lib/mono/2.0/System.Runtime.Remoting.dll
%_prefix/lib/mono/gac/System.Web
%_prefix/lib/mono/2.0/System.Web.dll
%_prefix/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap
%_prefix/lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll
%_prefix/lib/mono/gac/System.Web.Services
%_prefix/lib/mono/2.0/System.Web.Services.dll
%_prefix/lib/mono/gac/System.Web.Abstractions
%_prefix/lib/mono/2.0/System.Web.Abstractions.dll
%_prefix/lib/mono/gac/System.Web.Routing
%_prefix/lib/mono/2.0/System.Web.Routing.dll
%_prefix/lib/mono/gac/System.Web.Extensions
%_prefix/lib/mono/2.0/System.Web.Extensions.dll
%_prefix/lib/mono/compat-2.0/System.Web.Extensions.dll
%_prefix/lib/mono/gac/System.Web.Extensions.Design
%_prefix/lib/mono/2.0/System.Web.Extensions.Design.dll
%_prefix/lib/mono/3.5/System.Web.Extensions.Design.dll
%_prefix/lib/mono/compat-2.0/System.Web.Extensions.Design.dll
%_prefix/lib/mono/gac/System.Web.DynamicData
%_prefix/lib/mono/2.0/System.Web.DynamicData.dll
%_prefix/lib/mono/gac/System.ComponentModel.DataAnnotations
%_prefix/lib/mono/2.0/System.ComponentModel.DataAnnotations.dll
%_prefix/lib/mono/gac/System.Web.Mvc
%_prefix/lib/mono/2.0/System.Web.Mvc.dll
# pkg-config files
%_libdir/pkgconfig/mono.web.pc
%_libdir/pkgconfig/system.web.extensions_1.0.pc
%_libdir/pkgconfig/system.web.extensions.design_1.0.pc
%_libdir/pkgconfig/system.web.mvc.pc
# exes
%_prefix/lib/mono/2.0/disco.exe*
%_prefix/lib/mono/2.0/soapsuds.exe*
%_prefix/lib/mono/2.0/wsdl.exe*
%_prefix/lib/mono/2.0/xsd.exe*
%_prefix/lib/mono/2.0/mconfig.exe*
# shell wrappers
%_bindir/disco
%_bindir/mconfig
%_bindir/soapsuds
%_bindir/wsdl
%_bindir/wsdl2
%_bindir/xsd
# man pages
%_mandir/man1/disco.1%ext_man
%_mandir/man1/soapsuds.1%ext_man
%_mandir/man1/wsdl.1%ext_man
%_mandir/man1/xsd.1%ext_man
%_mandir/man1/mconfig.1%ext_man
%config %_sysconfdir/mono/browscap.ini
%dir %_sysconfdir/mono/mconfig
%config %_sysconfdir/mono/mconfig/config.xml
%config %_sysconfdir/mono/2.0/DefaultWsdlHelpGenerator.aspx
%config %_sysconfdir/mono/2.0/web.config
%config %_sysconfdir/mono/2.0/Browsers

%package -n mono-data-oracle
License:        LGPL v2.1 only
Summary:        Database connectivity for Mono
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Requires:       mono-data == %version-%release

%description -n mono-data-oracle
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Database connectivity for Mono.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-data-oracle
%defattr(-, root, root)
%_prefix/lib/mono/gac/System.Data.OracleClient
%_prefix/lib/mono/2.0/System.Data.OracleClient.dll

%package -n mono-data-postgresql
License:        LGPL v2.1 only
Summary:        Database connectivity for Mono
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Requires:       mono-data == %version-%release

%description -n mono-data-postgresql
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Database connectivity for Mono.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-data-postgresql
%defattr(-, root, root)
%_prefix/lib/mono/gac/Npgsql
%_prefix/lib/mono/2.0/Npgsql.dll

%package -n bytefx-data-mysql
License:        LGPL v2.1 only
Summary:        Database connectivity for Mono
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Requires:       mono-data == %version-%release

%description -n bytefx-data-mysql
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.

Database connectivity for Mono.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n bytefx-data-mysql
%defattr(-, root, root)
%_prefix/lib/mono/gac/ByteFX.Data
%_prefix/lib/mono/2.0/ByteFX.Data.dll

%package -n mono-nunit
License:        LGPL v2.1 only
Summary:        NUnit Testing Framework
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release

%description -n mono-nunit
NUnit is a unit-testing framework for all .Net languages.  Initially
ported from JUnit, the current release, version 2.2,  is the fourth
major release of this  Unit based unit testing tool for Microsoft .NET.
It is written entirely in C# and  has been completely redesigned to
take advantage of many .NET language		 features, for example
custom attributes and other reflection related capabilities. NUnit
brings xUnit to all .NET languages.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-nunit
%defattr(-, root, root)
%_prefix/bin/nunit-console
%_prefix/bin/nunit-console2
%_prefix/lib/mono/2.0/nunit-console.exe*
%_prefix/lib/mono/gac/nunit.util
%_prefix/lib/mono/2.0/nunit.util.dll
%_prefix/lib/mono/gac/nunit.core
%_prefix/lib/mono/2.0/nunit.core.dll
%_prefix/lib/mono/gac/nunit.core.extensions
%_prefix/lib/mono/2.0/nunit.core.extensions.dll
%_prefix/lib/mono/gac/nunit.core.interfaces
%_prefix/lib/mono/2.0/nunit.core.interfaces.dll
%_prefix/lib/mono/gac/nunit.framework
%_prefix/lib/mono/2.0/nunit.framework.dll
%_prefix/lib/mono/gac/nunit.framework.extensions
%_prefix/lib/mono/2.0/nunit.framework.extensions.dll
%_prefix/lib/mono/gac/nunit.mocks
%_prefix/lib/mono/2.0/nunit.mocks.dll
%_prefix/lib/mono/gac/nunit-console-runner
%_prefix/lib/mono/2.0/nunit-console-runner.dll

%_libdir/pkgconfig/mono-nunit.pc

%package -n mono-devel
License:        LGPL v2.1 only
Summary:        Mono development tools
Group:          Development/Languages/Mono
Requires:       mono-core == %version-%release
Requires:       glib2-devel
%if 0%{?monobuild}
Requires:       libgdiplus0
%else
Requires:       libgdiplus0
%endif
# We build natively on ppc64 now
%ifarch ppc64
Provides:       mono-biarchcompat
Obsoletes:      mono-biarchcompat
%endif

%description -n mono-devel
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. This package contains compilers and
other tools needed to develop .NET applications.

Mono development tools.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%post -n mono-devel -p /sbin/ldconfig

%postun -n mono-devel -p /sbin/ldconfig

%files -n mono-devel
%defattr(-, root, root)
# libs
%_libdir/libmono.so
%_libdir/libmono.a
# exes
%_prefix/lib/mono/2.0/makecert.exe*
%_prefix/lib/mono/2.0/mono-api-info.exe*
%_prefix/lib/mono/2.0/al.exe*
%_prefix/lib/mono/2.0/caspol.exe*
%_prefix/lib/mono/2.0/cert2spc.exe*
%_prefix/lib/mono/2.0/mono-cil-strip.exe*
%_prefix/lib/mono/2.0/dtd2xsd.exe*
%_prefix/lib/mono/2.0/genxs.exe*
%_prefix/lib/mono/2.0/httpcfg.exe*
%_prefix/lib/mono/2.0/ictool.exe*
%_prefix/lib/mono/2.0/ilasm.exe*
%_prefix/lib/mono/2.0/installvst.exe*
%_prefix/lib/mono/2.0/lc.exe*
%_prefix/lib/mono/2.0/mkbundle.exe*
%_prefix/lib/mono/2.0/monop.exe*
%_prefix/lib/mono/2.0/permview.exe*
%_prefix/lib/mono/2.0/resgen.exe*
%_prefix/lib/mono/2.0/secutil.exe*
%_prefix/lib/mono/2.0/sgen.exe*
%_prefix/lib/mono/2.0/signcode.exe*
%_prefix/lib/mono/2.0/prj2make.exe*
%_prefix/lib/mono/2.0/macpack.exe*
%_prefix/lib/mono/2.0/mono-shlib-cop.exe*
%_prefix/lib/mono/2.0/dtd2rng.exe*
%_prefix/lib/mono/2.0/mono-xmltool.exe*
%_prefix/lib/mono/2.0/pdb2mdb.exe*
# xbuild related files
%_prefix/lib/mono/2.0/xbuild.exe*
%_prefix/lib/mono/2.0/Microsoft.Build.xsd
%_prefix/lib/mono/2.0/Microsoft.Common.tasks
%_prefix/lib/mono/2.0/Microsoft.Common.targets
%_prefix/lib/mono/2.0/Microsoft.CSharp.targets
%_prefix/lib/mono/2.0/Microsoft.VisualBasic.targets
%_prefix/lib/mono/2.0/MSBuild
%_prefix/lib/mono/2.0/xbuild.rsp
%_prefix/lib/mono/xbuild
# man pages
%_mandir/man1/cert2spc.1%ext_man
%_mandir/man1/mono-cil-strip.1%ext_man
%_mandir/man1/dtd2xsd.1%ext_man
%_mandir/man1/genxs.1%ext_man
%_mandir/man1/httpcfg.1%ext_man
%_mandir/man1/ilasm.1%ext_man
%_mandir/man1/lc.1%ext_man
%_mandir/man1/macpack.1%ext_man
%_mandir/man1/makecert.1%ext_man
%_mandir/man1/mkbundle.1%ext_man
%_mandir/man1/monodis.1%ext_man
%_mandir/man1/monop.1%ext_man
%_mandir/man1/mono-shlib-cop.1%ext_man
%_mandir/man1/permview.1%ext_man
%_mandir/man1/pdb2mdb.1%ext_man
%_mandir/man1/prj2make.1%ext_man
%_mandir/man1/secutil.1%ext_man
%_mandir/man1/sgen.1%ext_man
%_mandir/man1/signcode.1%ext_man
%_mandir/man1/al.1%ext_man
%_mandir/man1/mono-xmltool.1%ext_man
%_mandir/man1/resgen.1%ext_man
%_mandir/man1/xbuild.1%ext_man
# Shell wrappers
%_bindir/al
%_bindir/al2
%_bindir/caspol
%_bindir/cert2spc
%_bindir/dtd2xsd
%_bindir/dtd2rng
%_bindir/genxs
%_bindir/httpcfg
%_bindir/ilasm
%_bindir/ilasm2
%_bindir/installvst
%_bindir/lc
%_bindir/macpack
%_bindir/makecert
%_bindir/mkbundle
%_bindir/mkbundle2
%_bindir/mono-gdb.py
%_bindir/monodis
%_bindir/monolinker
%_bindir/monop
%_bindir/monop2
%_bindir/mono-api-info
%_bindir/mono-cil-strip
%_bindir/mono-find-provides
%_bindir/mono-find-requires
%_bindir/mono-heapviz
%_bindir/mono-shlib-cop
%_bindir/mono-xmltool
%_bindir/pdb2mdb
%_bindir/pedump
%_bindir/permview
%_bindir/prj2make
%_bindir/resgen
%_bindir/resgen2
%_bindir/secutil
%_bindir/sgen
%_bindir/signcode
%_bindir/xbuild
%_mandir/man1/monolinker.1%ext_man
%_prefix/lib/mono/gac/PEAPI
%_prefix/lib/mono/2.0/monolinker.*
%_prefix/lib/mono/2.0/PEAPI.dll
%_prefix/lib/mono/gac/Mono.Debugger.Soft
%_prefix/lib/mono/2.0/Mono.Debugger.Soft.dll
%_prefix/lib/mono/gac/Microsoft.Build.Tasks
%_prefix/lib/mono/2.0/Microsoft.Build.Tasks.dll
%_prefix/lib/mono/gac/Microsoft.Build.Tasks.v3.5
%_prefix/lib/mono/3.5/Microsoft.Build.Tasks.v3.5.dll
%_prefix/lib/mono/gac/Microsoft.Build.Framework
%_prefix/lib/mono/2.0/Microsoft.Build.Framework.dll
%_prefix/lib/mono/3.5/Microsoft.Build.Framework.dll
%_prefix/lib/mono/gac/Microsoft.Build.Utilities
%_prefix/lib/mono/2.0/Microsoft.Build.Utilities.dll
%_prefix/lib/mono/gac/Microsoft.Build.Utilities.v3.5
%_prefix/lib/mono/3.5/Microsoft.Build.Utilities.v3.5.dll
%_prefix/lib/mono/gac/Microsoft.Build.Engine
%_prefix/lib/mono/2.0/Microsoft.Build.Engine.dll
%_prefix/lib/mono/3.5/Microsoft.Build.Engine.dll
%_prefix/lib/mono-source-libs
%_bindir/monograph
%_prefix/include/mono-1.0
%_libdir/libmono-profiler-aot.*
%_libdir/libmono-profiler-cov.*
%_libdir/libmono-profiler-iomap.*
%_libdir/libmono-profiler-logging.*
%_libdir/pkgconfig/mono.pc
%_libdir/pkgconfig/dotnet.pc
%_libdir/pkgconfig/dotnet35.pc
%_libdir/pkgconfig/mono-cairo.pc
%_libdir/pkgconfig/mono-options.pc
%_libdir/pkgconfig/mono-lineeditor.pc
%_libdir/pkgconfig/cecil.pc
%_prefix/share/mono-1.0/mono/cil/cil-opcodes.xml
# dirs
%dir %_prefix/share/mono-1.0
%dir %_prefix/share/mono-1.0/mono
%dir %_prefix/share/mono-1.0/mono/cil
# Reminder: when removing man pages in this list, they are not 
#  yet gzipped

%package -n monodoc-core
License:        GNU General Public License (GPL)
Summary:        Monodoc-Documentation tools for C# code
Group:          Development/Tools/Other
URL:            http://go-mono.org/
Provides:       monodoc
Obsoletes:      monodoc

%description -n monodoc-core
Monodoc-core contains documentation tools for C#.

%files -n monodoc-core
%defattr(-, root, root)
%{_prefix}/lib/mono/2.0/mdoc.exe*
%{_prefix}/lib/mono/2.0/mod.exe*
%{_prefix}/lib/mono/gac/monodoc
%{_prefix}/lib/mono/monodoc
%{_bindir}/mdassembler
%{_bindir}/mdoc
%{_bindir}/mdoc-assemble
%{_bindir}/mdoc-export-html
%{_bindir}/mdoc-export-msxdoc
%{_bindir}/mdoc-update
%{_bindir}/mdoc-validate
%{_bindir}/mdvalidater
%{_bindir}/mod
%{_bindir}/monodocer
%{_bindir}/monodocs2html
%{_bindir}/monodocs2slashdoc
%{_prefix}/lib/monodoc
%{_libdir}/pkgconfig/monodoc.pc
%{_mandir}/man1/mdassembler.1%ext_man
%{_mandir}/man1/mdoc-assemble.1%ext_man
%{_mandir}/man1/mdoc-export-html.1%ext_man
%{_mandir}/man1/mdoc-export-msxdoc.1%ext_man
%{_mandir}/man1/mdoc-update.1%ext_man
%{_mandir}/man1/mdoc-validate.1%ext_man
%{_mandir}/man1/mdoc.1%ext_man
%{_mandir}/man1/mdvalidater.1%ext_man
%{_mandir}/man1/monodocer.1%ext_man
%{_mandir}/man1/monodocs2html.1%ext_man
%{_mandir}/man5/mdoc.5%ext_man

%package -n mono-complete
License:        LGPL v2.1 only
Summary:        A .NET Runtime Environment
Group:          Development/Languages/Mono
Requires:       bytefx-data-mysql = %version-%release
Requires:       ibm-data-db2 = %version-%release
Requires:       mono-core = %version-%release
Requires:       mono-data = %version-%release
Requires:       mono-data-firebird = %version-%release
Requires:       mono-data-oracle = %version-%release
Requires:       mono-data-postgresql = %version-%release
Requires:       mono-data-sqlite = %version-%release
Requires:       mono-data-sybase = %version-%release
Requires:       mono-devel = %version-%release
Requires:       mono-extras = %version-%release
Requires:       mono-jscript = %version-%release
Requires:       mono-locale-extras = %version-%release
Requires:       mono-nunit = %version-%release
Requires:       mono-web = %version-%release
Requires:       mono-wcf = %version-%release
Requires:       mono-winforms = %version-%release

%description -n mono-complete
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%files -n mono-complete
%defattr(-, root, root)
# Directories
# Put dir files here so we don't have an empty package
%dir %_prefix/lib/mono/compat-2.0

%prep
%setup -q -n mono-%{version}

%build
# These are only needed if there are patches to the runtime
#rm -f libgc/libtool.m4
#autoreconf --force --install
#autoreconf --force --install libgc
export CFLAGS=" $RPM_OPT_FLAGS -DKDE_ASSEMBLIES='\"/opt/kde3/%{_lib}\"' -fno-strict-aliasing"
# distro specific configure options
%{?configure_options}
%configure \
  --with-jit=yes \
  --with-ikvm=yes \
  --with-moonlight=no
make

%install
make install DESTDIR=%buildroot
# remove .la files (they are generally bad news)
rm -f %buildroot%_libdir/*.la
# remove Windows-only stuff
rm -rf %buildroot%_prefix/lib/mono/*/Mono.Security.Win32*
rm -f %buildroot%_libdir/libMonoSupportW.*
# remove .a files for libraries that are really only for us
rm -f %buildroot%_libdir/libMonoPosixHelper.a
rm -f %buildroot%_libdir/libikvm-native.a
# remove libgc cruft
rm -rf %buildroot%_datadir/libgc-mono
# remove stuff that we don't package
rm -f %buildroot%_prefix/lib/mono/2.0/browsercaps-updater.exe*
rm -f %buildroot%_bindir/cilc
rm -f %buildroot%_mandir/man1/cilc.1*
rm -f %buildroot%_prefix/lib/mono/2.0/cilc.exe*
rm -f %buildroot%_prefix/lib/mono/2.0/culevel.exe*
# brp-compress doesn't search _mandir
# so we cheat it
ln -s . %buildroot%_prefix/usr
RPM_BUILD_ROOT=%buildroot%_prefix /usr/lib/rpm/brp-compress
rm %buildroot%_prefix/usr
%find_lang mcs

%clean
rm -rf ${RPM_BUILD_ROOT}

%changelog