[xbuild] Add new reserved properties $(MSBuildThisFile*).
[mono.git] / mono-core.spec.in
index dfb82ff32cca62292db7ec4ae69199fc7c1c1602..bb044f6f326088cf56800bee6fc5cbf73b79e2c4 100644 (file)
@@ -1,97 +1,76 @@
 %{!?ext_man: %define ext_man .gz}
 %{!?ext_man: %define ext_man .gz}
+%define llvm no
+%define sgen yes
+
+%ifnarch %ix86 x86_64
+%define llvm no
+%define sgen no
+%endif
+
 Name:           mono-core
 License:        LGPL v2.1 only
 Group:          Development/Languages/Mono
 Summary:        A .NET Runtime Environment
 Name:           mono-core
 License:        LGPL v2.1 only
 Group:          Development/Languages/Mono
 Summary:        A .NET Runtime Environment
-Url:            http://go-mono.org/
+Url:            http://www.mono-project.com
 Version:        @VERSION@
 Release:        0
 Version:        @VERSION@
 Release:        0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        mono-%{version}.tar.bz2
 Source0:        mono-%{version}.tar.bz2
-ExclusiveArch:  %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x
+BuildRequires:  bison
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
+BuildRequires:  pkgconfig
+BuildRequires:  xorg-x11-libX11-devel
+BuildRequires:  zlib-devel
+%ifnarch ia64
+BuildRequires:  valgrind-devel
+%endif
+%if %llvm == yes
+BuildRequires:  llvm-mono-devel
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Provides:       mono = %{version}-%{release}
-Provides:       mono-ikvm = %{version}-%{release}
 Obsoletes:      mono
 Obsoletes:      mono
-Obsoletes:      mono-drawing
 Obsoletes:      mono-cairo
 Obsoletes:      mono-cairo
-Obsoletes:      mono-xml-relaxng
+Obsoletes:      mono-drawing
+Obsoletes:      mono-ikvm
 Obsoletes:      mono-posix
 Obsoletes:      mono-posix
+Obsoletes:      mono-xml-relaxng
 Obsoletes:      mono-ziplib
 Obsoletes:      mono-ziplib
-Obsoletes:      mono-ikvm
-Provides:       mono-drawing
+Provides:       mono = %{version}-%{release}
 Provides:       mono-cairo
 Provides:       mono-cairo
-Provides:       mono-xml-relaxng
+Provides:       mono-drawing
+Provides:       mono-ikvm
 Provides:       mono-posix
 Provides:       mono-posix
+Provides:       mono-xml-relaxng
 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)
 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:      banshee < 1.0
 Conflicts:      f-spot < 0.4
+Conflicts:      helix-banshee < 1.0
 Conflicts:      mono-addins < 0.3.1
 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:  pkgconfig 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
+Recommends:     libgdiplus0 >= 2.6
+%if %llvm == yes
+Recommends:     libmono-llvm0 = %{version}-%{release}
 %endif
 %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)
+Provides:       mono(Commons.Xml.Relaxng) = 1.0.5000.0
+Provides:       mono(CustomMarshalers) = 1.0.5000.0
+Provides:       mono(I18N) = 1.0.5000.0
+Provides:       mono(I18N.West) = 1.0.5000.0
+Provides:       mono(ICSharpCode.SharpZipLib) = 0.6.0.0
+Provides:       mono(ICSharpCode.SharpZipLib) = 0.84.0.0
+Provides:       mono(Mono.Cairo) = 1.0.5000.0
+Provides:       mono(Mono.CompilerServices.SymbolWriter) = 1.0.5000.0
+Provides:       mono(Mono.Posix) = 1.0.5000.0
+Provides:       mono(Mono.Security) = 1.0.5000.0
+Provides:       mono(OpenSystem.C) = 1.0.5000.0
+Provides:       mono(System) = 1.0.5000.0
+Provides:       mono(System.Security) = 1.0.5000.0
+Provides:       mono(System.Xml) = 1.0.5000.0
+Provides:       mono(mscorlib) = 1.0.5000.0
+
 %define _use_internal_dependency_generator 0
 %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'
+%define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{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}%{_prefix} %{buildroot}%{_bindir}/mono-find-requires ; } | sort | uniq'
 
 %description
 The Mono Project is an open development initiative that is working to
 
 %description
 The Mono Project is an open development initiative that is working to
@@ -100,13 +79,61 @@ 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.
 
 cross-platform .NET applications. The project will implement various
 technologies that have been submitted to the ECMA for standardization.
 
+%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 -fno-strict-aliasing"
+# distro specific configure options
+%if %llvm == yes
+export PATH=/opt/novell/llvm-mono/bin:$PATH
+%endif
+%configure \
+  --with-sgen=%{sgen} \
+%if %llvm == yes
+  --enable-loadedllvm \
+  --disable-system-aot \
+%endif
+%ifnarch %ix86 x86_64
+  --disable-system-aot \
+%endif
+  --with-ikvm=yes \
+  --with-moonlight=no
+make # We are not -jN safe! %{?jobs:-j%jobs}
 
 
+%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
+rm -f %buildroot%_libdir/libmono-llvm.a
+# remove libgc cruft
+rm -rf %buildroot%_datadir/libgc-mono
+# remove stuff that we don't package
+rm -f %buildroot%_bindir/cilc
+rm -f %buildroot%_mandir/man1/cilc.1*
+rm -f %buildroot%_prefix/lib/mono/*/browsercaps-updater.exe*
+rm -f %buildroot%_prefix/lib/mono/*/culevel.exe*
+rm -f %buildroot%_prefix/lib/mono/2.0/cilc.exe*
+# brp-compress doesn't search _mandir
+# so we cheat it
+ln -s . %buildroot%_prefix%_prefix
+RPM_BUILD_ROOT=%buildroot%_prefix /usr/lib/rpm/brp-compress
+rm %buildroot%_prefix%_prefix
+%fdupes %buildroot%_prefix
+%find_lang mcs
 
 
-Authors:
---------
-    Miguel de Icaza <miguel@ximian.com>
-    Paolo Molaro <lupus@ximian.com>
-    Dietmar Maurer <dietmar@ximian.com>
+%clean
+rm -rf %buildroot
 
 %files -f mcs.lang
 %defattr(-, root, root)
 
 %files -f mcs.lang
 %defattr(-, root, root)
@@ -120,14 +147,16 @@ Authors:
 %dir %_prefix/lib/mono/2.0
 %dir %_prefix/lib/mono/3.5
 %dir %_prefix/lib/mono/4.0
 %dir %_prefix/lib/mono/2.0
 %dir %_prefix/lib/mono/3.5
 %dir %_prefix/lib/mono/4.0
+%dir %_prefix/lib/mono/compat-2.0
 %dir %_prefix/lib/mono/gac
 %dir %_sysconfdir/mono
 %dir %_sysconfdir/mono/2.0
 %dir %_sysconfdir/mono/4.0
 %dir %_prefix/lib/mono/gac
 %dir %_sysconfdir/mono
 %dir %_sysconfdir/mono/2.0
 %dir %_sysconfdir/mono/4.0
+%_bindir/al
+%_bindir/al2
 %_bindir/certmgr
 %_bindir/chktrust
 %_bindir/csharp
 %_bindir/certmgr
 %_bindir/chktrust
 %_bindir/csharp
-%_bindir/csharp2
 %_bindir/dmcs
 %_bindir/gacutil
 %_bindir/gacutil2
 %_bindir/dmcs
 %_bindir/gacutil
 %_bindir/gacutil2
@@ -135,7 +164,9 @@ Authors:
 %_bindir/mcs
 %_bindir/mono
 %_bindir/mono-configuration-crypto
 %_bindir/mcs
 %_bindir/mono
 %_bindir/mono-configuration-crypto
+%if %sgen == yes
 %_bindir/mono-sgen
 %_bindir/mono-sgen
+%endif
 %_bindir/mono-test-install
 %_bindir/mozroots
 %_bindir/peverify
 %_bindir/mono-test-install
 %_bindir/mozroots
 %_bindir/peverify
@@ -173,14 +204,14 @@ Authors:
 %_prefix/lib/mono/2.0/System.Configuration.dll
 %_prefix/lib/mono/2.0/System.Core.dll
 %_prefix/lib/mono/2.0/System.Drawing.dll
 %_prefix/lib/mono/2.0/System.Configuration.dll
 %_prefix/lib/mono/2.0/System.Core.dll
 %_prefix/lib/mono/2.0/System.Drawing.dll
+%_prefix/lib/mono/2.0/System.Net.dll
 %_prefix/lib/mono/2.0/System.Security.dll
 %_prefix/lib/mono/2.0/System.Xml.Linq.dll
 %_prefix/lib/mono/2.0/System.Xml.dll
 %_prefix/lib/mono/2.0/System.dll
 %_prefix/lib/mono/2.0/System.Security.dll
 %_prefix/lib/mono/2.0/System.Xml.Linq.dll
 %_prefix/lib/mono/2.0/System.Xml.dll
 %_prefix/lib/mono/2.0/System.dll
+%_prefix/lib/mono/2.0/al.exe*
 %_prefix/lib/mono/2.0/cscompmgd.dll
 %_prefix/lib/mono/2.0/cscompmgd.dll
-%_prefix/lib/mono/2.0/csharp.exe*
 %_prefix/lib/mono/2.0/gacutil.exe*
 %_prefix/lib/mono/2.0/gacutil.exe*
-%_prefix/lib/mono/2.0/gmcs.exe*
 %_prefix/lib/mono/2.0/mscorlib.dll*
 %_prefix/lib/mono/4.0/Commons.Xml.Relaxng.dll
 %_prefix/lib/mono/4.0/CustomMarshalers.dll
 %_prefix/lib/mono/2.0/mscorlib.dll*
 %_prefix/lib/mono/4.0/Commons.Xml.Relaxng.dll
 %_prefix/lib/mono/4.0/CustomMarshalers.dll
@@ -194,6 +225,7 @@ Authors:
 %_prefix/lib/mono/4.0/Mono.Cairo.dll
 %_prefix/lib/mono/4.0/Mono.CompilerServices.SymbolWriter.dll
 %_prefix/lib/mono/4.0/Mono.Management.dll
 %_prefix/lib/mono/4.0/Mono.Cairo.dll
 %_prefix/lib/mono/4.0/Mono.CompilerServices.SymbolWriter.dll
 %_prefix/lib/mono/4.0/Mono.Management.dll
+%_prefix/lib/mono/4.0/Mono.Parallel.dll
 %_prefix/lib/mono/4.0/Mono.Posix.dll
 %_prefix/lib/mono/4.0/Mono.Security.dll
 %_prefix/lib/mono/4.0/Mono.Simd.dll
 %_prefix/lib/mono/4.0/Mono.Posix.dll
 %_prefix/lib/mono/4.0/Mono.Security.dll
 %_prefix/lib/mono/4.0/Mono.Simd.dll
@@ -203,23 +235,24 @@ Authors:
 %_prefix/lib/mono/4.0/System.Core.dll
 %_prefix/lib/mono/4.0/System.Drawing.dll
 %_prefix/lib/mono/4.0/System.Dynamic.dll
 %_prefix/lib/mono/4.0/System.Core.dll
 %_prefix/lib/mono/4.0/System.Drawing.dll
 %_prefix/lib/mono/4.0/System.Dynamic.dll
+%_prefix/lib/mono/4.0/System.Net.dll
 %_prefix/lib/mono/4.0/System.Numerics.dll
 %_prefix/lib/mono/4.0/System.Security.dll
 %_prefix/lib/mono/4.0/System.Xml.Linq.dll
 %_prefix/lib/mono/4.0/System.Xml.dll
 %_prefix/lib/mono/4.0/System.dll
 %_prefix/lib/mono/4.0/System.Numerics.dll
 %_prefix/lib/mono/4.0/System.Security.dll
 %_prefix/lib/mono/4.0/System.Xml.Linq.dll
 %_prefix/lib/mono/4.0/System.Xml.dll
 %_prefix/lib/mono/4.0/System.dll
+%_prefix/lib/mono/4.0/al.exe*
 %_prefix/lib/mono/4.0/certmgr.exe*
 %_prefix/lib/mono/4.0/chktrust.exe*
 %_prefix/lib/mono/4.0/cscompmgd.dll
 %_prefix/lib/mono/4.0/csharp.exe*
 %_prefix/lib/mono/4.0/certmgr.exe*
 %_prefix/lib/mono/4.0/chktrust.exe*
 %_prefix/lib/mono/4.0/cscompmgd.dll
 %_prefix/lib/mono/4.0/csharp.exe*
-%_prefix/lib/mono/4.0/dmcs.exe*
+%_prefix/lib/mono/4.0/mcs.exe*
 %_prefix/lib/mono/4.0/gacutil.exe*
 %_prefix/lib/mono/4.0/mozroots.exe*
 %_prefix/lib/mono/4.0/mscorlib.dll*
 %_prefix/lib/mono/4.0/setreg.exe*
 %_prefix/lib/mono/4.0/sn.exe*
 %_prefix/lib/mono/compat-2.0/ICSharpCode.SharpZipLib.dll
 %_prefix/lib/mono/4.0/gacutil.exe*
 %_prefix/lib/mono/4.0/mozroots.exe*
 %_prefix/lib/mono/4.0/mscorlib.dll*
 %_prefix/lib/mono/4.0/setreg.exe*
 %_prefix/lib/mono/4.0/sn.exe*
 %_prefix/lib/mono/compat-2.0/ICSharpCode.SharpZipLib.dll
-%_prefix/lib/mono/compat-4.0/ICSharpCode.SharpZipLib.dll
 %_prefix/lib/mono/gac/Commons.Xml.Relaxng
 %_prefix/lib/mono/gac/CustomMarshalers
 %_prefix/lib/mono/gac/I18N
 %_prefix/lib/mono/gac/Commons.Xml.Relaxng
 %_prefix/lib/mono/gac/CustomMarshalers
 %_prefix/lib/mono/gac/I18N
@@ -234,6 +267,7 @@ Authors:
 %_prefix/lib/mono/gac/Mono.Cecil.Mdb
 %_prefix/lib/mono/gac/Mono.CompilerServices.SymbolWriter
 %_prefix/lib/mono/gac/Mono.Management
 %_prefix/lib/mono/gac/Mono.Cecil.Mdb
 %_prefix/lib/mono/gac/Mono.CompilerServices.SymbolWriter
 %_prefix/lib/mono/gac/Mono.Management
+%_prefix/lib/mono/gac/Mono.Parallel
 %_prefix/lib/mono/gac/Mono.Posix
 %_prefix/lib/mono/gac/Mono.Security
 %_prefix/lib/mono/gac/Mono.Simd
 %_prefix/lib/mono/gac/Mono.Posix
 %_prefix/lib/mono/gac/Mono.Security
 %_prefix/lib/mono/gac/Mono.Simd
@@ -244,6 +278,7 @@ Authors:
 %_prefix/lib/mono/gac/System.Core
 %_prefix/lib/mono/gac/System.Drawing
 %_prefix/lib/mono/gac/System.Dynamic
 %_prefix/lib/mono/gac/System.Core
 %_prefix/lib/mono/gac/System.Drawing
 %_prefix/lib/mono/gac/System.Dynamic
+%_prefix/lib/mono/gac/System.Net
 %_prefix/lib/mono/gac/System.Numerics
 %_prefix/lib/mono/gac/System.Security
 %_prefix/lib/mono/gac/System.Xml
 %_prefix/lib/mono/gac/System.Numerics
 %_prefix/lib/mono/gac/System.Security
 %_prefix/lib/mono/gac/System.Xml
@@ -269,14 +304,7 @@ A Library for embedding Mono in your Application.
 %defattr(-, root, root)
 %_libdir/libmono-2.0.so.1*
 
 %defattr(-, root, root)
 %_libdir/libmono-2.0.so.1*
 
-%post -n libmono-2_0-1
-/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
+%post -n libmono-2_0-1 -p /sbin/ldconfig
 
 %postun -n libmono-2_0-1 -p /sbin/ldconfig
 
 
 %postun -n libmono-2_0-1 -p /sbin/ldconfig
 
@@ -284,6 +312,7 @@ fi
 License:        LGPL v2.1 only
 Summary:       Development files for libmono
 Group:          Development/Languages/Mono
 License:        LGPL v2.1 only
 Summary:       Development files for libmono
 Group:          Development/Languages/Mono
+Requires:       mono-core == %version-%release
 
 %description -n libmono-2_0-devel
 The Mono Project is an open development initiative that is working to
 
 %description -n libmono-2_0-devel
 The Mono Project is an open development initiative that is working to
@@ -296,11 +325,12 @@ Development files for libmono.
 
 %files -n libmono-2_0-devel
 %defattr(-, root, root)
 
 %files -n libmono-2_0-devel
 %defattr(-, root, root)
+%_includedir/mono-2.0
 %_libdir/libmono-2.0.a
 %_libdir/libmono-2.0.so
 %_libdir/pkgconfig/mono-2.pc
 %_libdir/libmono-2.0.a
 %_libdir/libmono-2.0.so
 %_libdir/pkgconfig/mono-2.pc
-%_includedir/mono-2.0
 
 
+%if %sgen == yes
 %package -n libmonosgen-2_0-0
 License:        LGPL v2.1 only
 Summary:       A Library for embedding Mono in your Application (sgen version)
 %package -n libmonosgen-2_0-0
 License:        LGPL v2.1 only
 Summary:       A Library for embedding Mono in your Application (sgen version)
@@ -318,6 +348,7 @@ A Library for embedding Mono in your Application (sgen version).
 %files -n libmonosgen-2_0-0
 %defattr(-, root, root)
 %_libdir/libmonosgen-2.0.so.0*
 %files -n libmonosgen-2_0-0
 %defattr(-, root, root)
 %_libdir/libmonosgen-2.0.so.0*
+%_libdir/pkgconfig/monosgen-2.pc
 
 %post -n libmonosgen-2_0-0 -p /sbin/ldconfig
 
 
 %post -n libmonosgen-2_0-0 -p /sbin/ldconfig
 
@@ -327,6 +358,7 @@ A Library for embedding Mono in your Application (sgen version).
 License:        LGPL v2.1 only
 Summary:       Development files for libmonosgen
 Group:          Development/Languages/Mono
 License:        LGPL v2.1 only
 Summary:       Development files for libmonosgen
 Group:          Development/Languages/Mono
+Requires:       mono-core == %version-%release
 
 %description -n libmonosgen-2_0-devel
 The Mono Project is an open development initiative that is working to
 
 %description -n libmonosgen-2_0-devel
 The Mono Project is an open development initiative that is working to
@@ -341,12 +373,41 @@ Development files for libmonosgen.
 %defattr(-, root, root)
 %_libdir/libmonosgen-2.0.a
 %_libdir/libmonosgen-2.0.so
 %defattr(-, root, root)
 %_libdir/libmonosgen-2.0.a
 %_libdir/libmonosgen-2.0.so
+%endif
+
+%if %llvm == yes
+%package -n libmono-llvm0
+License:        LGPL v2.1 only
+Summary:       Loadable LLVM libary for mono
+Group:          Development/Libraries/C and C++
+
+%description -n libmono-llvm0
+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.
+
+Loadable LLVM libary for mono.
+
+%files -n libmono-llvm0
+%defattr(-, root, root)
+%_libdir/libmono-llvm.so*
+
+%post -n libmono-llvm0 -p /sbin/ldconfig
+
+%postun -n libmono-llvm0 -p /sbin/ldconfig
+%endif
 
 %package -n mono-locale-extras
 License:        LGPL v2.1 only
 Summary:        Extra locale information
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 
 %package -n mono-locale-extras
 License:        LGPL v2.1 only
 Summary:        Extra locale information
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
+Provides:       mono(I18N.CJK) = 1.0.5000.0
+Provides:       mono(I18N.MidEast) = 1.0.5000.0
+Provides:       mono(I18N.Other) = 1.0.5000.0
+Provides:       mono(I18N.Rare) = 1.0.5000.0
 
 %description -n mono-locale-extras
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-locale-extras
 The Mono Project is an open development initiative that is working to
@@ -357,14 +418,6 @@ technologies that have been submitted to the ECMA for standardization.
 
 Extra locale information.
 
 
 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/2.0/I18N.CJK.dll
 %files -n mono-locale-extras
 %defattr(-, root, root)
 %_prefix/lib/mono/2.0/I18N.CJK.dll
@@ -385,12 +438,17 @@ License:        LGPL v2.1 only
 Summary:        Database connectivity for Mono
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Summary:        Database connectivity for Mono
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
+Obsoletes:      mono-directory
 Obsoletes:      mono-ms-enterprise
 Obsoletes:      mono-novell-directory
 Obsoletes:      mono-ms-enterprise
 Obsoletes:      mono-novell-directory
-Obsoletes:      mono-directory
+Provides:       mono-directory
 Provides:       mono-ms-enterprise
 Provides:       mono-novell-directory
 Provides:       mono-ms-enterprise
 Provides:       mono-novell-directory
-Provides:       mono-directory
+Provides:       mono(Mono.Data.Tds) = 1.0.5000.0
+Provides:       mono(Novell.Directory.Ldap) = 1.0.5000.0
+Provides:       mono(System.Data) = 1.0.5000.0
+Provides:       mono(System.DirectoryServices) = 1.0.5000.0
+Provides:       mono(System.EnterpriseServices) = 1.0.5000.0
 
 %description -n mono-data
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-data
 The Mono Project is an open development initiative that is working to
@@ -401,14 +459,6 @@ technologies that have been submitted to the ECMA for standardization.
 
 Database connectivity for Mono.
 
 
 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)
 %_bindir/sqlmetal
 %files -n mono-data
 %defattr(-, root, root)
 %_bindir/sqlmetal
@@ -418,20 +468,21 @@ Authors:
 %_prefix/lib/mono/2.0/Novell.Directory.Ldap.dll
 %_prefix/lib/mono/2.0/System.Data.DataSetExtensions.dll
 %_prefix/lib/mono/2.0/System.Data.Linq.dll
 %_prefix/lib/mono/2.0/Novell.Directory.Ldap.dll
 %_prefix/lib/mono/2.0/System.Data.DataSetExtensions.dll
 %_prefix/lib/mono/2.0/System.Data.Linq.dll
-%_prefix/lib/mono/2.0/System.Data.Services.dll
 %_prefix/lib/mono/2.0/System.Data.dll
 %_prefix/lib/mono/2.0/System.DirectoryServices.dll
 %_prefix/lib/mono/2.0/System.EnterpriseServices.dll
 %_prefix/lib/mono/2.0/System.Data.dll
 %_prefix/lib/mono/2.0/System.DirectoryServices.dll
 %_prefix/lib/mono/2.0/System.EnterpriseServices.dll
+%_prefix/lib/mono/2.0/System.Runtime.Serialization.dll
 %_prefix/lib/mono/2.0/System.Transactions.dll
 %_prefix/lib/mono/4.0/Mono.Data.Tds.dll
 %_prefix/lib/mono/4.0/Novell.Directory.Ldap.dll
 %_prefix/lib/mono/4.0/System.Data.DataSetExtensions.dll
 %_prefix/lib/mono/4.0/System.Data.Linq.dll
 %_prefix/lib/mono/2.0/System.Transactions.dll
 %_prefix/lib/mono/4.0/Mono.Data.Tds.dll
 %_prefix/lib/mono/4.0/Novell.Directory.Ldap.dll
 %_prefix/lib/mono/4.0/System.Data.DataSetExtensions.dll
 %_prefix/lib/mono/4.0/System.Data.Linq.dll
-%_prefix/lib/mono/4.0/System.Data.Services.dll
 %_prefix/lib/mono/4.0/System.Data.dll
 %_prefix/lib/mono/4.0/System.DirectoryServices.dll
 %_prefix/lib/mono/4.0/System.EnterpriseServices.dll
 %_prefix/lib/mono/4.0/System.Data.dll
 %_prefix/lib/mono/4.0/System.DirectoryServices.dll
 %_prefix/lib/mono/4.0/System.EnterpriseServices.dll
+%_prefix/lib/mono/4.0/System.Runtime.Serialization.dll
 %_prefix/lib/mono/4.0/System.Transactions.dll
 %_prefix/lib/mono/4.0/System.Transactions.dll
+%_prefix/lib/mono/4.0/WebMatrix.Data.dll
 %_prefix/lib/mono/4.0/sqlmetal.exe*
 %_prefix/lib/mono/4.0/sqlsharp.exe*
 %_prefix/lib/mono/gac/Mono.Data.Tds
 %_prefix/lib/mono/4.0/sqlmetal.exe*
 %_prefix/lib/mono/4.0/sqlsharp.exe*
 %_prefix/lib/mono/gac/Mono.Data.Tds
@@ -439,10 +490,11 @@ Authors:
 %_prefix/lib/mono/gac/System.Data
 %_prefix/lib/mono/gac/System.Data.DataSetExtensions
 %_prefix/lib/mono/gac/System.Data.Linq
 %_prefix/lib/mono/gac/System.Data
 %_prefix/lib/mono/gac/System.Data.DataSetExtensions
 %_prefix/lib/mono/gac/System.Data.Linq
-%_prefix/lib/mono/gac/System.Data.Services
 %_prefix/lib/mono/gac/System.DirectoryServices
 %_prefix/lib/mono/gac/System.EnterpriseServices
 %_prefix/lib/mono/gac/System.DirectoryServices
 %_prefix/lib/mono/gac/System.EnterpriseServices
+%_prefix/lib/mono/gac/System.Runtime.Serialization
 %_prefix/lib/mono/gac/System.Transactions
 %_prefix/lib/mono/gac/System.Transactions
+%_prefix/lib/mono/gac/WebMatrix.Data
 
 %package -n mono-winforms
 License:        LGPL v2.1 only
 
 %package -n mono-winforms
 License:        LGPL v2.1 only
@@ -451,6 +503,11 @@ Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Provides:       mono-window-forms
 Obsoletes:      mono-window-forms
 Requires:       mono-core == %version-%release
 Provides:       mono-window-forms
 Obsoletes:      mono-window-forms
+Provides:       mono(Accessibility) = 1.0.5000.0
+Provides:       mono(System.Design) = 1.0.5000.0
+Provides:       mono(System.Drawing) = 1.0.5000.0
+Provides:       mono(System.Drawing.Design) = 1.0.5000.0
+Provides:       mono(System.Windows.Forms) = 1.0.5000.0
 
 %description -n mono-winforms
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-winforms
 The Mono Project is an open development initiative that is working to
@@ -461,14 +518,6 @@ technologies that have been submitted to the ECMA for standardization.
 
 Mono's Windows Forms implementation.
 
 
 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/2.0/Accessibility.dll
 %files -n mono-winforms
 %defattr(-, root, root)
 %_prefix/lib/mono/2.0/Accessibility.dll
@@ -504,14 +553,6 @@ technologies that have been submitted to the ECMA for standardization.
 
 Database connectivity for DB2.
 
 
 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/2.0/IBM.Data.DB2.dll
 %files -n ibm-data-db2
 %defattr(-, root, root)
 %_prefix/lib/mono/2.0/IBM.Data.DB2.dll
@@ -525,6 +566,14 @@ Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Obsoletes:      mono-ms-extras
 Provides:       mono-ms-extras
 Requires:       mono-core == %version-%release
 Obsoletes:      mono-ms-extras
 Provides:       mono-ms-extras
+Provides:       mono(Mono.Messaging) = 1.0.5000.0
+Provides:       mono(Mono.Messaging.RabbitMQ) = 1.0.5000.0
+Provides:       mono(RabbitMQ.Client) = 1.0.5000.0
+Provides:       mono(System.Configuration.Install) = 1.0.5000.0
+Provides:       mono(System.Management) = 1.0.5000.0
+Provides:       mono(System.Messaging) = 1.0.5000.0
+Provides:       mono(System.ServiceProcess) = 1.0.5000.0
+Provides:       mono(mono-service) = 1.0.5000.0
 
 %description -n mono-extras
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-extras
 The Mono Project is an open development initiative that is working to
@@ -535,14 +584,6 @@ technologies that have been submitted to the ECMA for standardization.
 
 Extra packages.
 
 
 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)
 %_bindir/mono-service
 %files -n mono-extras
 %defattr(-, root, root)
 %_bindir/mono-service
@@ -586,8 +627,7 @@ Summary:        Database connectivity for Mono
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Requires:       mono-data == %version-%release
 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
+Provides:       mono(Mono.Data.Sqlite) = 1.0.5000.0
 
 %description -n mono-data-sqlite
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-data-sqlite
 The Mono Project is an open development initiative that is working to
@@ -598,14 +638,6 @@ technologies that have been submitted to the ECMA for standardization.
 
 Database connectivity for Mono.
 
 
 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/2.0/Mono.Data.Sqlite.dll
 %files -n mono-data-sqlite
 %defattr(-, root, root)
 %_prefix/lib/mono/2.0/Mono.Data.Sqlite.dll
@@ -613,6 +645,7 @@ Authors:
 %_prefix/lib/mono/gac/Mono.Data.Sqlite
 
 %package -n mono-wcf
 %_prefix/lib/mono/gac/Mono.Data.Sqlite
 
 %package -n mono-wcf
+License:        MIT License (or similar) ; Ms-Pl
 Summary:        Mono implementation of WCF, Windows Communication Foundation
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Summary:        Mono implementation of WCF, Windows Communication Foundation
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
@@ -626,43 +659,32 @@ technologies that have been submitted to the ECMA for standardization.
 
 Mono implementation of WCF, Windows Communication Foundation
 
 
 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
 %_libdir/pkgconfig/wcf.pc
 %files -n mono-wcf
 %defattr(-, root, root)
 %_bindir/svcutil
 %_libdir/pkgconfig/wcf.pc
+%_prefix/lib/mono/2.0/System.Data.Services.dll
 %_prefix/lib/mono/2.0/System.IdentityModel.Selectors.dll
 %_prefix/lib/mono/2.0/System.IdentityModel.dll
 %_prefix/lib/mono/2.0/System.IdentityModel.Selectors.dll
 %_prefix/lib/mono/2.0/System.IdentityModel.dll
-%_prefix/lib/mono/2.0/System.Runtime.Serialization.dll
 %_prefix/lib/mono/2.0/System.ServiceModel.Web.dll
 %_prefix/lib/mono/2.0/System.ServiceModel.dll
 %_prefix/lib/mono/2.0/System.ServiceModel.Web.dll
 %_prefix/lib/mono/2.0/System.ServiceModel.dll
+%_prefix/lib/mono/4.0/System.Data.Services.dll
 %_prefix/lib/mono/4.0/System.IdentityModel.Selectors.dll
 %_prefix/lib/mono/4.0/System.IdentityModel.dll
 %_prefix/lib/mono/4.0/System.Runtime.DurableInstancing.dll
 %_prefix/lib/mono/4.0/System.IdentityModel.Selectors.dll
 %_prefix/lib/mono/4.0/System.IdentityModel.dll
 %_prefix/lib/mono/4.0/System.Runtime.DurableInstancing.dll
-%_prefix/lib/mono/4.0/System.Runtime.Serialization.dll
+%_prefix/lib/mono/4.0/System.ServiceModel.Discovery.dll
 %_prefix/lib/mono/4.0/System.ServiceModel.Routing.dll
 %_prefix/lib/mono/4.0/System.ServiceModel.Web.dll
 %_prefix/lib/mono/4.0/System.ServiceModel.dll
 %_prefix/lib/mono/4.0/System.ServiceModel.Routing.dll
 %_prefix/lib/mono/4.0/System.ServiceModel.Web.dll
 %_prefix/lib/mono/4.0/System.ServiceModel.dll
-%_prefix/lib/mono/4.0/System.Web.ApplicationServices.dll
 %_prefix/lib/mono/4.0/svcutil.exe*
 %_prefix/lib/mono/4.0/svcutil.exe*
-%_prefix/lib/mono/gac/System.Data.Services.Client
+%_prefix/lib/mono/gac/System.Data.Services
 %_prefix/lib/mono/gac/System.IdentityModel
 %_prefix/lib/mono/gac/System.IdentityModel.Selectors
 %_prefix/lib/mono/gac/System.Runtime.DurableInstancing
 %_prefix/lib/mono/gac/System.IdentityModel
 %_prefix/lib/mono/gac/System.IdentityModel.Selectors
 %_prefix/lib/mono/gac/System.Runtime.DurableInstancing
-%_prefix/lib/mono/gac/System.Runtime.Serialization
 %_prefix/lib/mono/gac/System.ServiceModel
 %_prefix/lib/mono/gac/System.ServiceModel
+%_prefix/lib/mono/gac/System.ServiceModel.Discovery
 %_prefix/lib/mono/gac/System.ServiceModel.Routing
 %_prefix/lib/mono/gac/System.ServiceModel.Web
 %_prefix/lib/mono/gac/System.ServiceModel.Routing
 %_prefix/lib/mono/gac/System.ServiceModel.Web
-%_prefix/lib/mono/gac/System.Web.ApplicationServices
-
 
 %package -n mono-winfxcore
 License:        MIT License (or similar) ; Ms-Pl
 
 %package -n mono-winfxcore
 License:        MIT License (or similar) ; Ms-Pl
@@ -679,19 +701,13 @@ technologies that have been submitted to the ECMA for standardization.
 
 Mono implementation of core WinFX APIs
 
 
 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)
 %files -n mono-winfxcore
 %defattr(-, root, root)
+%_prefix/lib/mono/2.0/System.Data.Services.Client.dll*
 %_prefix/lib/mono/2.0/WindowsBase.dll*
 %_prefix/lib/mono/2.0/WindowsBase.dll*
+%_prefix/lib/mono/4.0/System.Data.Services.Client.dll*
 %_prefix/lib/mono/4.0/WindowsBase.dll*
 %_prefix/lib/mono/4.0/WindowsBase.dll*
+%_prefix/lib/mono/gac/System.Data.Services.Client
 %_prefix/lib/mono/gac/WindowsBase
 
 %package -n mono-web
 %_prefix/lib/mono/gac/WindowsBase
 
 %package -n mono-web
@@ -699,12 +715,17 @@ License:        MIT License (or similar) ; Ms-Pl
 Summary:        Mono implementation of ASP.NET, Remoting and Web Services
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Summary:        Mono implementation of ASP.NET, Remoting and Web Services
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
+Obsoletes:      mono-remoting
 Obsoletes:      mono-web-forms
 Obsoletes:      mono-web-services
 Obsoletes:      mono-web-forms
 Obsoletes:      mono-web-services
-Obsoletes:      mono-remoting
+Provides:       mono-remoting
 Provides:       mono-web-forms
 Provides:       mono-web-services
 Provides:       mono-web-forms
 Provides:       mono-web-services
-Provides:       mono-remoting
+Provides:       mono(Mono.Http) = 1.0.5000.0
+Provides:       mono(System.Runtime.Remoting) = 1.0.5000.0
+Provides:       mono(System.Runtime.Serialization.Formatters.Soap) = 1.0.5000.0
+Provides:       mono(System.Web) = 1.0.5000.0
+Provides:       mono(System.Web.Services) = 1.0.5000.0
 
 %description -n mono-web
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-web
 The Mono Project is an open development initiative that is working to
@@ -715,19 +736,12 @@ technologies that have been submitted to the ECMA for standardization.
 
 Mono implementation of ASP.NET, Remoting and Web Services.
 
 
 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)
 %config %_sysconfdir/mono/2.0/Browsers
 %config %_sysconfdir/mono/2.0/DefaultWsdlHelpGenerator.aspx
 %config %_sysconfdir/mono/2.0/web.config
 %files -n mono-web
 %defattr(-, root, root)
 %config %_sysconfdir/mono/2.0/Browsers
 %config %_sysconfdir/mono/2.0/DefaultWsdlHelpGenerator.aspx
 %config %_sysconfdir/mono/2.0/web.config
+%config %_sysconfdir/mono/4.0/DefaultWsdlHelpGenerator.aspx
 %config %_sysconfdir/mono/4.0/web.config
 %config %_sysconfdir/mono/browscap.ini
 %config %_sysconfdir/mono/mconfig/config.xml
 %config %_sysconfdir/mono/4.0/web.config
 %config %_sysconfdir/mono/browscap.ini
 %config %_sysconfdir/mono/mconfig/config.xml
@@ -739,10 +753,6 @@ Authors:
 %_bindir/wsdl2
 %_bindir/xsd
 %_libdir/pkgconfig/mono.web.pc
 %_bindir/wsdl2
 %_bindir/xsd
 %_libdir/pkgconfig/mono.web.pc
-%_libdir/pkgconfig/system.web.extensions.design_1.0.pc
-%_libdir/pkgconfig/system.web.extensions_1.0.pc
-%_libdir/pkgconfig/system.web.mvc.pc
-%_libdir/pkgconfig/system.web.mvc2.pc
 %_mandir/man1/disco.1%ext_man
 %_mandir/man1/mconfig.1%ext_man
 %_mandir/man1/soapsuds.1%ext_man
 %_mandir/man1/disco.1%ext_man
 %_mandir/man1/mconfig.1%ext_man
 %_mandir/man1/soapsuds.1%ext_man
@@ -754,16 +764,12 @@ Authors:
 %_prefix/lib/mono/2.0/System.Runtime.Remoting.dll
 %_prefix/lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll
 %_prefix/lib/mono/2.0/System.Web.Abstractions.dll
 %_prefix/lib/mono/2.0/System.Runtime.Remoting.dll
 %_prefix/lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll
 %_prefix/lib/mono/2.0/System.Web.Abstractions.dll
-%_prefix/lib/mono/2.0/System.Web.DynamicData.dll
-%_prefix/lib/mono/2.0/System.Web.Extensions.Design.dll
-%_prefix/lib/mono/2.0/System.Web.Extensions.dll
-%_prefix/lib/mono/2.0/System.Web.Mvc.dll
 %_prefix/lib/mono/2.0/System.Web.Routing.dll
 %_prefix/lib/mono/2.0/System.Web.Services.dll
 %_prefix/lib/mono/2.0/System.Web.dll
 %_prefix/lib/mono/2.0/wsdl.exe*
 %_prefix/lib/mono/2.0/xsd.exe*
 %_prefix/lib/mono/2.0/System.Web.Routing.dll
 %_prefix/lib/mono/2.0/System.Web.Services.dll
 %_prefix/lib/mono/2.0/System.Web.dll
 %_prefix/lib/mono/2.0/wsdl.exe*
 %_prefix/lib/mono/2.0/xsd.exe*
-%_prefix/lib/mono/3.5/System.Web.Extensions.Design.dll
+%_prefix/lib/mono/4.0/Microsoft.Web.Infrastructure.dll
 %_prefix/lib/mono/4.0/Mono.Http.dll
 %_prefix/lib/mono/4.0/Mono.Web.dll
 %_prefix/lib/mono/4.0/System.ComponentModel.Composition.dll
 %_prefix/lib/mono/4.0/Mono.Http.dll
 %_prefix/lib/mono/4.0/Mono.Web.dll
 %_prefix/lib/mono/4.0/System.ComponentModel.Composition.dll
@@ -771,9 +777,7 @@ Authors:
 %_prefix/lib/mono/4.0/System.Runtime.Remoting.dll
 %_prefix/lib/mono/4.0/System.Runtime.Serialization.Formatters.Soap.dll
 %_prefix/lib/mono/4.0/System.Web.Abstractions.dll
 %_prefix/lib/mono/4.0/System.Runtime.Remoting.dll
 %_prefix/lib/mono/4.0/System.Runtime.Serialization.Formatters.Soap.dll
 %_prefix/lib/mono/4.0/System.Web.Abstractions.dll
-%_prefix/lib/mono/4.0/System.Web.DynamicData.dll
-%_prefix/lib/mono/4.0/System.Web.Extensions.Design.dll
-%_prefix/lib/mono/4.0/System.Web.Extensions.dll
+%_prefix/lib/mono/4.0/System.Web.ApplicationServices.dll
 %_prefix/lib/mono/4.0/System.Web.Routing.dll
 %_prefix/lib/mono/4.0/System.Web.Services.dll
 %_prefix/lib/mono/4.0/System.Web.dll
 %_prefix/lib/mono/4.0/System.Web.Routing.dll
 %_prefix/lib/mono/4.0/System.Web.Services.dll
 %_prefix/lib/mono/4.0/System.Web.dll
@@ -782,9 +786,7 @@ Authors:
 %_prefix/lib/mono/4.0/soapsuds.exe*
 %_prefix/lib/mono/4.0/wsdl.exe*
 %_prefix/lib/mono/4.0/xsd.exe*
 %_prefix/lib/mono/4.0/soapsuds.exe*
 %_prefix/lib/mono/4.0/wsdl.exe*
 %_prefix/lib/mono/4.0/xsd.exe*
-%_prefix/lib/mono/compat-2.0/System.Web.Extensions.Design.dll
-%_prefix/lib/mono/compat-2.0/System.Web.Extensions.dll
-%_prefix/lib/mono/compat-2.0/System.Web.Mvc.dll
+%_prefix/lib/mono/gac/Microsoft.Web.Infrastructure
 %_prefix/lib/mono/gac/Mono.Http
 %_prefix/lib/mono/gac/Mono.Web
 %_prefix/lib/mono/gac/System.ComponentModel.Composition
 %_prefix/lib/mono/gac/Mono.Http
 %_prefix/lib/mono/gac/Mono.Web
 %_prefix/lib/mono/gac/System.ComponentModel.Composition
@@ -793,12 +795,45 @@ Authors:
 %_prefix/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap
 %_prefix/lib/mono/gac/System.Web
 %_prefix/lib/mono/gac/System.Web.Abstractions
 %_prefix/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap
 %_prefix/lib/mono/gac/System.Web
 %_prefix/lib/mono/gac/System.Web.Abstractions
+%_prefix/lib/mono/gac/System.Web.ApplicationServices
+%_prefix/lib/mono/gac/System.Web.Routing
+%_prefix/lib/mono/gac/System.Web.Services
+
+%package -n mono-mvc
+License:        MIT License (or similar) ; Ms-Pl
+Summary:        Mono implementation of ASP.NET MVC
+Group:          Development/Languages/Mono
+Requires:       mono-core == %version-%release
+
+%description -n mono-mvc
+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 MVC.
+
+%files -n mono-mvc
+%defattr(-, root, root)
+%_libdir/pkgconfig/system.web.extensions.design_1.0.pc
+%_libdir/pkgconfig/system.web.extensions_1.0.pc
+%_libdir/pkgconfig/system.web.mvc.pc
+%_libdir/pkgconfig/system.web.mvc2.pc
+%_prefix/lib/mono/2.0/System.Web.DynamicData.dll
+%_prefix/lib/mono/2.0/System.Web.Extensions.Design.dll
+%_prefix/lib/mono/2.0/System.Web.Extensions.dll
+%_prefix/lib/mono/2.0/System.Web.Mvc.dll
+%_prefix/lib/mono/4.0/System.Web.DynamicData.dll
+%_prefix/lib/mono/4.0/System.Web.Extensions.Design.dll
+%_prefix/lib/mono/4.0/System.Web.Extensions.dll
+%_prefix/lib/mono/compat-2.0/System.Web.Extensions.Design.dll
+%_prefix/lib/mono/compat-2.0/System.Web.Extensions.dll
+%_prefix/lib/mono/compat-2.0/System.Web.Mvc.dll
 %_prefix/lib/mono/gac/System.Web.DynamicData
 %_prefix/lib/mono/gac/System.Web.Extensions
 %_prefix/lib/mono/gac/System.Web.Extensions.Design
 %_prefix/lib/mono/gac/System.Web.Mvc
 %_prefix/lib/mono/gac/System.Web.DynamicData
 %_prefix/lib/mono/gac/System.Web.Extensions
 %_prefix/lib/mono/gac/System.Web.Extensions.Design
 %_prefix/lib/mono/gac/System.Web.Mvc
-%_prefix/lib/mono/gac/System.Web.Routing
-%_prefix/lib/mono/gac/System.Web.Services
 
 %package -n mono-data-oracle
 License:        LGPL v2.1 only
 
 %package -n mono-data-oracle
 License:        LGPL v2.1 only
@@ -806,6 +841,7 @@ Summary:        Database connectivity for Mono
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Requires:       mono-data == %version-%release
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Requires:       mono-data == %version-%release
+Provides:       mono(System.Data.OracleClient) = 1.0.5000.0
 
 %description -n mono-data-oracle
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-data-oracle
 The Mono Project is an open development initiative that is working to
@@ -816,14 +852,6 @@ technologies that have been submitted to the ECMA for standardization.
 
 Database connectivity for Mono.
 
 
 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/2.0/System.Data.OracleClient.dll
 %files -n mono-data-oracle
 %defattr(-, root, root)
 %_prefix/lib/mono/2.0/System.Data.OracleClient.dll
@@ -836,6 +864,7 @@ Summary:        Database connectivity for Mono
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Requires:       mono-data == %version-%release
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Requires:       mono-data == %version-%release
+Provides:       mono(Npgsql) = 1.0.5000.0
 
 %description -n mono-data-postgresql
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-data-postgresql
 The Mono Project is an open development initiative that is working to
@@ -846,14 +875,6 @@ technologies that have been submitted to the ECMA for standardization.
 
 Database connectivity for Mono.
 
 
 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/2.0/Npgsql.dll
 %files -n mono-data-postgresql
 %defattr(-, root, root)
 %_prefix/lib/mono/2.0/Npgsql.dll
@@ -875,14 +896,6 @@ take advantage of many .NET language                features, for example
 custom attributes and other reflection related capabilities. NUnit
 brings xUnit to all .NET languages.
 
 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)
 %_libdir/pkgconfig/mono-nunit.pc
 %files -n mono-nunit
 %defattr(-, root, root)
 %_libdir/pkgconfig/mono-nunit.pc
@@ -920,17 +933,22 @@ License:        LGPL v2.1 only
 Summary:        Mono development tools
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
 Summary:        Mono development tools
 Group:          Development/Languages/Mono
 Requires:       mono-core == %version-%release
-Requires:       pkgconfig
-%if 0%{?monobuild}
-Requires:       libgdiplus0
-%else
 Requires:       libgdiplus0
 Requires:       libgdiplus0
-%endif
+Requires:       pkgconfig
+Provides:       mono-xbuild
+# Required because they are referenced by .pc files
+Requires:       mono-data == %version-%release
+Requires:       mono-data-oracle == %version-%release
+Requires:       mono-extras == %version-%release
+Requires:       mono-web == %version-%release
+Requires:       mono-winforms == %version-%release
 # We build natively on ppc64 now
 %ifarch ppc64
 Provides:       mono-biarchcompat
 Obsoletes:      mono-biarchcompat
 %endif
 # We build natively on ppc64 now
 %ifarch ppc64
 Provides:       mono-biarchcompat
 Obsoletes:      mono-biarchcompat
 %endif
+Provides:       mono(PEAPI) = 1.0.5000.0
+Provides:       mono(resgen) = 1.0.5000.0
 
 %description -n mono-devel
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-devel
 The Mono Project is an open development initiative that is working to
@@ -941,23 +959,14 @@ other tools needed to develop .NET applications.
 
 Mono development tools.
 
 
 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)
 %post -n mono-devel -p /sbin/ldconfig
 
 %postun -n mono-devel -p /sbin/ldconfig
 
 %files -n mono-devel
 %defattr(-, root, root)
-%_bindir/al
-%_bindir/al2
 %_bindir/caspol
 %_bindir/caspol
+%_bindir/ccrewrite
 %_bindir/cert2spc
 %_bindir/dtd2rng
 %_bindir/dtd2xsd
 %_bindir/cert2spc
 %_bindir/dtd2rng
 %_bindir/dtd2xsd
@@ -982,6 +991,7 @@ Authors:
 %_bindir/monolinker
 %_bindir/monop
 %_bindir/monop2
 %_bindir/monolinker
 %_bindir/monop
 %_bindir/monop2
+%_bindir/mprof-report
 %_bindir/pdb2mdb
 %_bindir/pedump
 %_bindir/permview
 %_bindir/pdb2mdb
 %_bindir/pedump
 %_bindir/permview
@@ -992,10 +1002,11 @@ Authors:
 %_bindir/sgen
 %_bindir/signcode
 %_bindir/xbuild
 %_bindir/sgen
 %_bindir/signcode
 %_bindir/xbuild
-%_libdir/libmono-profiler-aot.*
-%_libdir/libmono-profiler-cov.*
-%_libdir/libmono-profiler-iomap.*
-%_libdir/libmono-profiler-logging.*
+%dir %_datadir/mono-2.0
+%dir %_datadir/mono-2.0/mono
+%dir %_datadir/mono-2.0/mono/cil
+%_datadir/mono-2.0/mono/cil/cil-opcodes.xml
+%_libdir/libmono-profiler-*.*
 %_libdir/pkgconfig/cecil.pc
 %_libdir/pkgconfig/dotnet.pc
 %_libdir/pkgconfig/dotnet35.pc
 %_libdir/pkgconfig/cecil.pc
 %_libdir/pkgconfig/dotnet.pc
 %_libdir/pkgconfig/dotnet35.pc
@@ -1004,6 +1015,7 @@ Authors:
 %_libdir/pkgconfig/mono-options.pc
 %_libdir/pkgconfig/mono.pc
 %_mandir/man1/al.1%ext_man
 %_libdir/pkgconfig/mono-options.pc
 %_libdir/pkgconfig/mono.pc
 %_mandir/man1/al.1%ext_man
+%_mandir/man1/ccrewrite.1%ext_man
 %_mandir/man1/cert2spc.1%ext_man
 %_mandir/man1/dtd2xsd.1%ext_man
 %_mandir/man1/genxs.1%ext_man
 %_mandir/man1/cert2spc.1%ext_man
 %_mandir/man1/dtd2xsd.1%ext_man
 %_mandir/man1/genxs.1%ext_man
@@ -1013,12 +1025,14 @@ Authors:
 %_mandir/man1/macpack.1%ext_man
 %_mandir/man1/makecert.1%ext_man
 %_mandir/man1/mkbundle.1%ext_man
 %_mandir/man1/macpack.1%ext_man
 %_mandir/man1/makecert.1%ext_man
 %_mandir/man1/mkbundle.1%ext_man
+%_mandir/man1/mono-api-info.1%ext_man
 %_mandir/man1/mono-cil-strip.1%ext_man
 %_mandir/man1/mono-shlib-cop.1%ext_man
 %_mandir/man1/mono-xmltool.1%ext_man
 %_mandir/man1/monodis.1%ext_man
 %_mandir/man1/monolinker.1%ext_man
 %_mandir/man1/monop.1%ext_man
 %_mandir/man1/mono-cil-strip.1%ext_man
 %_mandir/man1/mono-shlib-cop.1%ext_man
 %_mandir/man1/mono-xmltool.1%ext_man
 %_mandir/man1/monodis.1%ext_man
 %_mandir/man1/monolinker.1%ext_man
 %_mandir/man1/monop.1%ext_man
+%_mandir/man1/mprof-report.1%ext_man
 %_mandir/man1/pdb2mdb.1%ext_man
 %_mandir/man1/permview.1%ext_man
 %_mandir/man1/prj2make.1%ext_man
 %_mandir/man1/pdb2mdb.1%ext_man
 %_mandir/man1/permview.1%ext_man
 %_mandir/man1/prj2make.1%ext_man
@@ -1040,7 +1054,6 @@ Authors:
 %_prefix/lib/mono/2.0/Microsoft.VisualBasic.targets
 %_prefix/lib/mono/2.0/Mono.Debugger.Soft.dll
 %_prefix/lib/mono/2.0/PEAPI.dll
 %_prefix/lib/mono/2.0/Microsoft.VisualBasic.targets
 %_prefix/lib/mono/2.0/Mono.Debugger.Soft.dll
 %_prefix/lib/mono/2.0/PEAPI.dll
-%_prefix/lib/mono/2.0/al.exe*
 %_prefix/lib/mono/2.0/genxs.exe*
 %_prefix/lib/mono/2.0/ilasm.exe*
 %_prefix/lib/mono/2.0/mkbundle.exe*
 %_prefix/lib/mono/2.0/genxs.exe*
 %_prefix/lib/mono/2.0/ilasm.exe*
 %_prefix/lib/mono/2.0/mkbundle.exe*
@@ -1071,9 +1084,11 @@ Authors:
 %_prefix/lib/mono/4.0/Microsoft.Common.targets
 %_prefix/lib/mono/4.0/Microsoft.Common.tasks
 %_prefix/lib/mono/4.0/Microsoft.VisualBasic.targets
 %_prefix/lib/mono/4.0/Microsoft.Common.targets
 %_prefix/lib/mono/4.0/Microsoft.Common.tasks
 %_prefix/lib/mono/4.0/Microsoft.VisualBasic.targets
+%_prefix/lib/mono/4.0/Mono.Debugger.Soft.dll
+%_prefix/lib/mono/4.0/Mono.CodeContracts.dll
 %_prefix/lib/mono/4.0/PEAPI.dll
 %_prefix/lib/mono/4.0/PEAPI.dll
-%_prefix/lib/mono/4.0/al.exe*
 %_prefix/lib/mono/4.0/caspol.exe*
 %_prefix/lib/mono/4.0/caspol.exe*
+%_prefix/lib/mono/4.0/ccrewrite.exe*
 %_prefix/lib/mono/4.0/cert2spc.exe*
 %_prefix/lib/mono/4.0/dtd2rng.exe*
 %_prefix/lib/mono/4.0/dtd2xsd.exe*
 %_prefix/lib/mono/4.0/cert2spc.exe*
 %_prefix/lib/mono/4.0/dtd2rng.exe*
 %_prefix/lib/mono/4.0/dtd2xsd.exe*
@@ -1108,77 +1123,84 @@ Authors:
 %_prefix/lib/mono/gac/Microsoft.Build.Utilities
 %_prefix/lib/mono/gac/Microsoft.Build.Utilities.v3.5
 %_prefix/lib/mono/gac/Microsoft.Build.Utilities.v4.0
 %_prefix/lib/mono/gac/Microsoft.Build.Utilities
 %_prefix/lib/mono/gac/Microsoft.Build.Utilities.v3.5
 %_prefix/lib/mono/gac/Microsoft.Build.Utilities.v4.0
+%_prefix/lib/mono/gac/Mono.CodeContracts
 %_prefix/lib/mono/gac/Mono.Debugger.Soft
 %_prefix/lib/mono/gac/PEAPI
 %_prefix/lib/mono/xbuild
 %_prefix/lib/mono/gac/Mono.Debugger.Soft
 %_prefix/lib/mono/gac/PEAPI
 %_prefix/lib/mono/xbuild
-%_prefix/share/mono-2.0/mono/cil/cil-opcodes.xml
-%dir %_prefix/share/mono-2.0
-%dir %_prefix/share/mono-2.0/mono
-%dir %_prefix/share/mono-2.0/mono/cil
 
 %package -n monodoc-core
 License:        LGPL v2.1 only
 Summary:        Monodoc - Documentation tools for C# code
 Group:          Development/Tools/Other
 
 %package -n monodoc-core
 License:        LGPL v2.1 only
 Summary:        Monodoc - Documentation tools for C# code
 Group:          Development/Tools/Other
-Provides:       monodoc
+Requires:       mono-core == %version-%release
 Obsoletes:      monodoc
 Obsoletes:      monodoc
+Provides:       monodoc
+# Added to uncompress and compare documentation used by build-compare
+Requires:       unzip
 
 %description -n monodoc-core
 Monodoc-core contains documentation tools for C#.
 
 %files -n monodoc-core
 %defattr(-, root, root)
 
 %description -n monodoc-core
 Monodoc-core contains documentation tools for C#.
 
 %files -n monodoc-core
 %defattr(-, root, root)
-%{_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
-%{_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
-%{_prefix}/lib/mono/4.0/mdoc.exe*
-%{_prefix}/lib/mono/4.0/mod.exe*
-%{_prefix}/lib/mono/gac/monodoc
-%{_prefix}/lib/mono/monodoc
-%{_prefix}/lib/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
+%_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
+%_prefix/lib/mono/2.0/mdoc.exe*
+%_prefix/lib/mono/4.0/mod.exe*
+%_prefix/lib/mono/gac/monodoc
+%_prefix/lib/mono/monodoc
+%_prefix/lib/monodoc
 
 %package -n mono-complete
 License:        LGPL v2.1 only
 
 %package -n mono-complete
 License:        LGPL v2.1 only
-Summary:        A .NET Runtime Environment
+Summary:        Install everything built from the mono source tree
 Group:          Development/Languages/Mono
 Group:          Development/Languages/Mono
-Requires:       bytefx-data-mysql = %version-%release
-Requires:       ibm-data-db2 = %version-%release
 Requires:       mono-core = %version-%release
 Requires:       mono-core = %version-%release
+Requires:       ibm-data-db2 = %version-%release
+Requires:       libmono-2_0-1 = %version-%release
+Requires:       libmono-2_0-devel = %version-%release
+%if %llvm == yes
+Requires:       libmono-llvm0 = %version-%release
+%endif
+%if %sgen == yes
+Requires:       libmonosgen-2_0-0 = %version-%release
+Requires:       libmonosgen-2_0-devel = %version-%release
+%endif
 Requires:       mono-data = %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-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-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-wcf = %version-%release
 Requires:       mono-web = %version-%release
 Requires:       mono-winforms = %version-%release
 Requires:       mono-locale-extras = %version-%release
 Requires:       mono-nunit = %version-%release
 Requires:       mono-wcf = %version-%release
 Requires:       mono-web = %version-%release
 Requires:       mono-winforms = %version-%release
+Requires:       mono-winfxcore = %version-%release
+Requires:       monodoc-core = %version-%release
 
 %description -n mono-complete
 The Mono Project is an open development initiative that is working to
 
 %description -n mono-complete
 The Mono Project is an open development initiative that is working to
@@ -1187,62 +1209,11 @@ 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.
 
 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>
+Install everything built from the mono source tree.  Note that this does
+not install anything from outside the mono source (XSP, mono-basic, etc.).
 
 %files -n mono-complete
 %defattr(-, root, root)
 %dir %_prefix/lib/mono/compat-2.0
 
 %files -n mono-complete
 %defattr(-, root, root)
 %dir %_prefix/lib/mono/compat-2.0
-%dir %_prefix/lib/mono/compat-4.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/*/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/*/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
 
 %changelog