diff --git a/mono.spec b/mono.spec index d3c1f49..0e909e3 100644 --- a/mono.spec +++ b/mono.spec @@ -3,10 +3,9 @@ %define libname %mklibname %{name} %{major} %define libnamellvm %mklibname %{name}llvm %{major} %define libname1 %mklibname %{name} 2.0 %{major1} -%define libnamedev %mklibname -d %{name} +%define devname %mklibname %{name} -d -%define bootstrap 1 -%{?_with_bootstrap: %{expand: %%global bootstrap 1}} +%bcond_without bootstrap %define monodir %{_prefix}/lib/mono %define llvm no @@ -18,17 +17,18 @@ Summary: Mono Runtime Name: mono Version: 3.12.1 -Release: 6 +Release: 7 License: GPLv2 and LGPLv2+ and MIT Group: Development/C# +Url: http://www.go-mono.com/ Source0: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.bz2 # This key was generated by Götz Waschk on Oct 14, 2010 # by running the following command: # sn -k mono.snk # You should not regenerate this unless you have a really, really, really good reason. -Source1: mono.snk +Source1: mono.snk # (tv) missing file from tarball: -Source2: Microsoft.Portable.Common.targets +Source2: Microsoft.Portable.Common.targets #gw add some major numbers to the dll map to not depend on -devel packages Patch0: mono-dllmap.patch # (fc) 1.2.3.1-4mdv disable using /proc/self/exe to detect root prefix, it breaks under unionfs @@ -37,52 +37,48 @@ Patch4: mono-wapi_glop.patch Patch5: mono-2.10.2-threads-access.patch Patch6: mono-2.10.5-fix-build.patch Patch7: mono-armv6-check.patch -URL: http://www.go-mono.com/ -BuildRequires: bison BuildRequires: autoconf -BuildRequires: zlib-devel -BuildRequires: mono +BuildRequires: bison +BuildRequires: pkgconfig(zlib) %if %{oprofile_support} -BuildRequires: oprofile-devel +BuildRequires: oprofile-devel %endif -%if %llvm == yes +%if %{llvm} == yes #gw mono 2.8 does not build with our llvm 2.7 -BuildRequires: llvm > 2.7 -Suggests: %{libnamellvm} = %{version}-%{release} +BuildRequires: llvm > 2.7 +Suggests: %{libnamellvm} = %{EVRD} %endif Requires: %{libname1} = %{version} Requires: %{libname} = %{version} # gw requires by System.Drawing Requires: libgdiplus -# Since mono 0.91 (mdk 10.0) we can rely on included config -Obsoletes: mono-config Provides: mono-config Provides: libmono-runtime -Obsoletes: libmono-runtime # gw this is for some binary-only packages, the versions are retargetted # by the mono runtime -Provides: mono(mscorlib) = 1.0.3300.0 -Provides: mono(System) = 1.0.3300.0 -Provides: mono(System.Drawing) = 1.0.3300.0 -Provides: mono(System.Xml) = 1.0.3300.0 -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 -%if ! %bootstrap +Provides: mono(mscorlib) = 1.0.3300.0 +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.3300.0 +Provides: mono(System) = 1.0.5000.0 +Provides: mono(System.Drawing) = 1.0.3300.0 +Provides: mono(System.Security) = 1.0.5000.0 +Provides: mono(System.Xml) = 1.0.3300.0 +Provides: mono(System.Xml) = 1.0.5000.0 +Provides: mono(mscorlib) = 1.0.5000.0 +%if %{without bootstrap} #gw needed for mono-find-requires which needs monodis and libmono.so -BuildRequires: mono-devel +BuildRequires: mono +BuildRequires: pkgconfig(mono) %endif %rename mono-2.0 @@ -99,395 +95,6 @@ Virtual Machine, Just-in-time compiler, C# compiler, security tools and libraries (corlib, XML, System.Security, System.Drawing, ZipLib, I18N, Cairo and Mono.*). -%package doc -Summary: Documentation for the Mono runtime -Group: Development/C# -Requires: mono -BuildArch: noarch - -%description doc -Mono is an implementation of the ECMA Common Language Infrastructure, -it contains both a just-in-time compiler for maximum performance, and -an interpeter. It can also be used to run programs from the .NET -Framework. -This package provides documentation for the Mono runtime. - -%package -n %{libname} -Summary: Libraries for the Mono runtime -Group: System/Libraries - -%description -n %{libname} -Mono is an implementation of the ECMA Common Language Infrastructure, -it contains both a just-in-time compiler for maximum performance, and -an interpeter. It can also be used to run programs from the .NET -Framework. -This package provides the versioned libraries for the Mono runtime. - -%package -n %{libname1} -Summary: Libraries for the Mono runtime -Group: System/Libraries -Conflicts: %{_lib}mono0 < 3.2.0-2 - -%description -n %{libname1} -Mono is an implementation of the ECMA Common Language Infrastructure, -it contains both a just-in-time compiler for maximum performance, and -an interpeter. It can also be used to run programs from the .NET -Framework. -This package provides the versioned libraries for the Mono runtime. - -%if %llvm == yes -%package -n %{libnamellvm} -License: LGPLv2 -Summary: Loadable LLVM libary for mono -Group: System/Libraries - -%description -n %{libnamellvm} -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. -%endif - -%package data-sqlite -Summary: SQLite database connectivity for mono -Group: Development/C# -Requires: %mklibname sqlite 0 -Requires: %mklibname sqlite3_ 0 - -%description data-sqlite -Mono is an implementation of the ECMA Common Language Infrastructure, -it contains both a just-in-time compiler for maximum performance, and -an interpeter. It can also be used to run programs from the .NET -Framework. -This package provides the connectivity to the sqlite database for Mono. - -%package -n %{libnamedev} -Summary: Tools required to embed the Mono runtime -Group: Development/C# -Requires: %{libname} = %{version} -Requires: %{libname1} = %{version} -%if %llvm == yes -Requires: %{libnamellvm} = %{version}-%{release} -%endif -Requires: mono = %{version} -Requires: mono-data = %{version} -Requires: mono-data-sqlite = %{version} -Requires: mono-data-oracle = %{version} -Requires: mono-data-postgresql = %{version} -Requires: mono-extras = %{version} -Requires: mono-web = %{version} -Requires: mono-ibm-data-db2 = %{version} -Requires: mono-locale-extras = %{version} -Requires: mono-winforms = %{version} -Requires: mono-nunit = %{version} -Requires: monodoc-core = %{version} -Requires: mono-wcf = %{version} -Requires: mono-winfxcore = %{version} -Conflicts: mono-nunit < %{version}-%{release} -Conflicts: mono < 2.10.8-2 -Provides: mono-devel = %{version}-%{release} -Provides: libmono-devel = %{version}-%{release} -Obsoletes: %mklibname -d %{name} 0 -Conflicts: update-alternatives < 1.9.0 -Provides: mono(PEAPI) = 1.0.5000.0 -Provides: mono(resgen) = 1.0.5000.0 -Provides: mono-bytefx-data-mysql mono-data-firebird mono-data-sybase mono-jscript -Obsoletes: mono-bytefx-data-mysql mono-data-firebird mono-data-sybase mono-jscript -%rename mono-build -%rename mono-build-2.0 -%rename mono-build-3.5 -%rename mono-build-4.0 - -%description -n %{libnamedev} -Header files and libraries used to embed the Mono runtime in an application. - -%package winfxcore -Summary: Mono implementation of core WinFX APIs -Group: Development/C# -Requires: mono = %{version} -%rename mono-winfxcore-2.0 -%rename mono-winfxcore-4.0 - -%description 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 - -%package web -Summary: ASP.NET, Remoting, and Web Services for Mono -Group: Development/C# -Requires: mono = %{version} -Provides: mono(System.Web) = 1.0.3300.0 -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 -Provides: mono(System.WebPages) = 2.1.0.0 -%rename mono-web-2.0 -%rename mono-web-4.0 -%rename mono-web-compat - -%description web -This package provides the ASP.NET libraries and runtime for -development of web application, web services and remoting support. - -%package data-oracle -Summary: Oracle database connectivity for Mono -Group: Development/C# -Requires: mono = %{version} -Provides: mono(System.Data.OracleClient) = 1.0.5000.0 -Provides: mono(System.Web.WebPages.Deployment) = 2.1.0.0 - -%description data-oracle -This package contains the ADO.NET Data provider for the Oracle -database. - -%package data -Summary: Database connectivity for Mono -Group: Development/C# -Requires: mono = %{version} -Provides: mono(System.Data) = 1.0.3300.0 -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 -Provides: mono(System.Data.Entity) = 4.0.0.0 -%rename mono-data-2.0 -%rename mono-data-4.0 -%rename mono-data-compat - -%description data -This package provides a Mono assembly to facilitate data access and -manipulation with databases, LDAP compatible directory servers and/or -XML data exchange. Beyond the ADO.NET, Novell.LDAP and -System.DirectoryServices assemblies, it also includes a command line -sql application as well as the Microsoft SQL Server and ODBC data -providers. - -%package extras -Summary: Infrastructure for running and building daemons and services -Group: Development/C# -Requires: mono = %{version} -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 -%rename mono-extras-2.0 -%rename mono-extras-4.0 - -%description extras -This package provides the libary and application to run services and -daemons with Mono. It also includes stubs for the following .NET 1.1 -and 2.0 assemblies: Microsoft.Vsa, System.Configuration.Install, -System.Management, System.Messaging. - -%package ibm-data-db2 -Summary: IBM DB2 database connectivity for Mono -Group: Development/C# -Requires: mono = %{version} - -%description ibm-data-db2 -This package contains the ADO.NET Data provider for the IBM DB2 -Universal database. - -%package winforms -Summary: Windows Forms implementation for Mono -Group: Development/C# -Requires: mono = %{version} -#gw not available on Cooker -#Requires: gluezilla >= 2.0 -Provides: mono(System.Windows.Forms) = 1.0.3300.0 -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 -%rename mono-winforms-2.0 -%rename mono-winforms-4.0 - -%description winforms -This package provides a fully managed implementation of -System.Windows.Forms, the default graphical toolkit for .NET -applications. - -%package locale-extras -Summary: Extra locale information for Mono -Group: Development/C# -Requires: mono = %{version} -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 -%rename mono-locale-extras-2.0 -%rename mono-locale-extras-4.0 - -%description locale-extras -This package contains assemblies to support I18N applications for -non-latin alphabets. - -%package data-postgresql -Summary: Postgresql database connectivity for Mono -Group: Development/C# -Requires: mono = %{version} -Provides: mono(Npgsql) = 1.0.5000.0 - -%description data-postgresql -This package contains the ADO.NET Data provider for the Postgresql -database. - - -%package nunit -Summary: NUnit Testing Framework -Group: Development/C# -Requires: %{name} = %{version} -Conflicts: %{libname}-devel < %{version}-%{release} -# for biarch: -Conflicts: lib%{name}%{major}-devel < %{version}-%{release} - -%description 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 xUnit 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. - -%package -n monodoc-core -Summary: Monodoc-Documentation tools for C# code -Group: Development/C# -Provides: monodoc -Obsoletes: monodoc - -%description -n monodoc-core -Monodoc-core contains documentation tools for C#. - -%package rx-core -License: MIT and Apache License 2.0 -Summary: Reactive Extensions for Mono core libraries -Group: Development/C# -Requires: mono = %{version} -Provides: mono(System.Reactive.Linq) = 2.1.30214.0 -Provides: mono(System.Reactive.Interfaces) = 2.1.30214.0 - -%description rx-core -A library to compose asynchronous and event-based programs using -observable collections and LINQ-style query operators. -Reactive Extensions for Mono, core packages, which don't depend on -desktop-specific features. - -%package rx-desktop -License: MIT and Apache License 2.0 -Summary: Reactive Extensions for Mono desktop-specific libraries -Group: Development/C# -Requires: mono = %{version} -Requires: mono-rx-core = %{version}-%{release} - -%description rx-desktop -A library to compose asynchronous and event-based programs using -observable collections and LINQ-style query operators. -Reactive Extensions for Mono, desktop-specific packages (winforms, -windows threading). - -%package wcf -Summary: Mono implementation of WCF, Windows Communication Foundation -Group: Development/C# -Requires: %{name} = %{version} -%rename mono-wcf-2.0 -%rename mono-wcf-4.0 - -%description 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 - -%prep -%setup -q -cp %SOURCE2 mcs/tools/xbuild/targets/ -%patch0 -p1 -b .dllmap -%patch1 -p1 -b .selfexe -%patch4 -p1 -b .glop -#%patch5 -p1 -b .cve_2011_0992 -#%patch6 -p0 -b .build -#patch7 -p1 -b .armv6 -autoconf - -%build -#gw else the syslog() call will not build -#https://bugzilla.novell.com/show_bug.cgi?id=590967#c16 -%define Werror_cflags %nil -#gw else libmonosgen-2.0.la does not build -%define _disable_ld_no_undefined 1 -export CFLAGS="%{optflags} -fno-strict-aliasing" -%configure2_5x --with-preview=yes --enable-static \ - --with-libgdiplus=installed \ - --with-sgen=%{sgen} \ -%if %llvm == yes - --enable-loadedllvm \ -%endif -%ifarch %arm - --with-armv6=no \ -%endif -%if %{oprofile_support} - --with-oprofile=%{_prefix} -%endif - -#gw parallel build broken in 2.6 -%make - -%install -%makeinstall_std - -mv %{buildroot}%{_datadir}/libgc-mono installed-docs -ln -sf mono-sgen %{buildroot}%{_bindir}/mono - -#gw these are all obsolete and shouldn't be packaged: -rm -f %{buildroot}%{_bindir}/mbas \ - %{buildroot}%{_mandir}/man1/{mint.1,oldmono.1,monostyle.1} -# these work on Windows only -rm -fr %{buildroot}%{monodir}/*/Mono.Security.Win32* -# remove stuff that we don't package -rm -f %{buildroot}%{_bindir}/cilc -rm -f %{buildroot}%{_mandir}/man1/cilc.1* -rm -f %{buildroot}%{monodir}/*/browsercaps-updater.exe* -rm -f %{buildroot}%{monodir}/*/culevel.exe* -rm -f %{buildroot}%{monodir}/*/cilc.exe* -find %{buildroot} -name '*.la' | xargs rm - -#gw not in 2.8 as well: -rm -f %{buildroot}%{_bindir}/prj2make -rm -f %{buildroot}%{_mandir}/man1/prj2make.1* -#gw not usable on Cooker: -#gw it is still needed for the deps -#rm -rf %buildroot/%{monodir}/*/Mono.WebBrowser* - -# https://bugzilla.xamarin.com/show_bug.cgi?id=12837 -ln -s %{monodir}/*/mcs.exe %{buildroot}%{monodir}/2.0/gmcs.exe - -%find_lang mcs - -mkdir -p %{buildroot}%{_sysconfdir}/pki/mono -install -p -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/mono/ -# (tv) temp fix: -cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CSharp.targets - %files -f mcs.lang %dir %{_sysconfdir}/mono %dir %{_sysconfdir}/mono/4.0/ @@ -502,7 +109,6 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{_bindir}/mono %{_bindir}/mono-configuration-crypto %{_bindir}/mono-boehm - %if %sgen == yes %{_bindir}/mono-sgen %endif @@ -680,18 +286,45 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS #%{monodir}/2.0/OpenSystem.C.dll #%{monodir}/4.0/OpenSystem.C.dll #%{monodir}/4.5/OpenSystem.C.dll - %{monodir}/2.0/gmcs.exe +#---------------------------------------------------------------------------- + +%package doc +Summary: Documentation for the Mono runtime +Group: Documentation +Requires: mono +BuildArch: noarch + +%description doc +Mono is an implementation of the ECMA Common Language Infrastructure, +it contains both a just-in-time compiler for maximum performance, and +an interpeter. It can also be used to run programs from the .NET +Framework. +This package provides documentation for the Mono runtime. + %files doc %doc AUTHORS COPYING.LIB NEWS %doc docs/*[^Makefile-Makefile.in] %doc mcs*/docs/clr-abi.txt mcs*/docs/compiler.txt mcs*/docs/control-flow-analysis.txt %doc installed-docs/* +#---------------------------------------------------------------------------- + +%package -n %{libname} +Summary: Libraries for the Mono runtime +Group: System/Libraries + +%description -n %{libname} +Mono is an implementation of the ECMA Common Language Infrastructure, +it contains both a just-in-time compiler for maximum performance, and +an interpeter. It can also be used to run programs from the .NET +Framework. +This package provides the versioned libraries for the Mono runtime. + %files -n %{libname} %{_libdir}/libmono-profiler*.so.%{major}* -%if %sgen == yes +%if %{sgen} == yes %{_libdir}/libmonosgen-2.0.so.%{sgenmajor}* %endif # gw always check if they've got a valid soname @@ -699,22 +332,109 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{_libdir}/libMonoSupportW.so %{_libdir}/libikvm-native.so +#---------------------------------------------------------------------------- + +%package -n %{libname1} +Summary: Libraries for the Mono runtime +Group: System/Libraries +Conflicts: %{_lib}mono0 < 3.2.0-2 + +%description -n %{libname1} +Mono is an implementation of the ECMA Common Language Infrastructure, +it contains both a just-in-time compiler for maximum performance, and +an interpeter. It can also be used to run programs from the .NET +Framework. +This package provides the versioned libraries for the Mono runtime. + %files -n %{libname1} %{_libdir}/libmonoboehm-2.0.so.%{major1}* %{_libdir}/libmono-2.0.so.%{major1}* -%if %llvm == yes +#---------------------------------------------------------------------------- + +%if %{llvm} == yes +%package -n %{libnamellvm} +Summary: Loadable LLVM libary for mono +License: LGPLv2 +Group: System/Libraries + +%description -n %{libnamellvm} +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 %{libnamellvm} %{_libdir}/libmono-llvm.so.%{major}* %endif +#---------------------------------------------------------------------------- + +%package data-sqlite +Summary: SQLite database connectivity for mono +Group: Development/C# +Requires: %mklibname sqlite3_ 0 + +%description data-sqlite +Mono is an implementation of the ECMA Common Language Infrastructure, +it contains both a just-in-time compiler for maximum performance, and +an interpeter. It can also be used to run programs from the .NET +Framework. +This package provides the connectivity to the sqlite database for Mono. + %files data-sqlite %{monodir}/2.0/Mono.Data.Sqlite.dll %{monodir}/4.0/Mono.Data.Sqlite.dll %{monodir}/4.5/Mono.Data.Sqlite.dll %{monodir}/gac/Mono.Data.Sqlite -%files -n %{libnamedev} +#---------------------------------------------------------------------------- + +%package -n %{devname} +Summary: Tools required to embed the Mono runtime +Group: Development/C# +Requires: %{libname} = %{version} +Requires: %{libname1} = %{version} +%if %{llvm} == yes +Requires: %{libnamellvm} = %{EVRD} +%endif +Requires: mono = %{version} +Requires: mono-data = %{version} +Requires: mono-data-sqlite = %{version} +Requires: mono-data-oracle = %{version} +Requires: mono-data-postgresql = %{version} +Requires: mono-extras = %{version} +Requires: mono-web = %{version} +Requires: mono-ibm-data-db2 = %{version} +Requires: mono-locale-extras = %{version} +Requires: mono-winforms = %{version} +Requires: mono-nunit = %{version} +Requires: monodoc-core = %{version} +Requires: mono-wcf = %{version} +Requires: mono-winfxcore = %{version} +Provides: mono-devel = %{EVRD} +Provides: libmono-devel = %{EVRD} +Provides: mono(PEAPI) = 1.0.5000.0 +Provides: mono(resgen) = 1.0.5000.0 +Provides: mono-bytefx-data-mysql +Provides: mono-data-firebird +Provides: mono-data-sybase +Provides: mono-jscript +Conflicts: mono-nunit < %{EVRD} +Conflicts: mono < 2.10.8-2 +Conflicts: update-alternatives < 1.9.0 +%rename mono-build +%rename mono-build-2.0 +%rename mono-build-3.5 +%rename mono-build-4.0 + +%description -n %{devname} +Header files and libraries used to embed the Mono runtime in an application. + +%files -n %{devname} %doc ChangeLog %{_sysconfdir}/pki/mono/ %dir %{_includedir}/mono-2.0/ @@ -729,7 +449,7 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{_libdir}/pkgconfig/mono-options.pc %{_libdir}/pkgconfig/mono.pc %{_libdir}/pkgconfig/mono-2.pc -%if %sgen == yes +%if %{sgen} == yes %{_libdir}/pkgconfig/monosgen-2.pc %endif #%{_libdir}/pkgconfig/mono.web.pc @@ -949,7 +669,23 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/4.5/Microsoft.Build.xsd %{_datadir}/mono-2.0/ +#---------------------------------------------------------------------------- +%package winfxcore +Summary: Mono implementation of core WinFX APIs +Group: Development/C# +Requires: mono = %{version} +%rename mono-winfxcore-2.0 +%rename mono-winfxcore-4.0 + +%description 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. %files -n mono-winfxcore %{monodir}/gac/System.Data.Services.Client @@ -961,6 +697,27 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/4.0/WindowsBase.dll* %{monodir}/4.5/WindowsBase.dll* +#---------------------------------------------------------------------------- + +%package web +Summary: ASP.NET, Remoting, and Web Services for Mono +Group: Development/C# +Requires: mono = %{version} +Provides: mono(System.Web) = 1.0.3300.0 +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 +Provides: mono(System.WebPages) = 2.1.0.0 +%rename mono-web-2.0 +%rename mono-web-4.0 +%rename mono-web-compat + +%description web +This package provides the ASP.NET libraries and runtime for +development of web application, web services and remoting support. + %files web %dir %{_sysconfdir}/mono/mconfig %config(noreplace) %{_sysconfdir}/mono/browscap.ini @@ -977,7 +734,7 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{_bindir}/disco %{_bindir}/mconfig %{_bindir}/soapsuds -%if %sgen == yes +%if %{sgen} == yes %{_bindir}/mono-sgen-gdb.py %endif %{_bindir}/wsdl @@ -1083,88 +840,18 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/4.5/xsd.exe %{monodir}/4.5/xsd.exe.mdb -%files winforms -%{monodir}/4.5/System.Windows.dll -%{monodir}/gac/System.Windows -%{monodir}/gac/System.Windows.Forms -%{monodir}/2.0/System.Windows.Forms.dll -%{monodir}/4.0/System.Windows.Forms.dll -%{monodir}/4.5/System.Windows.Forms.dll -%{monodir}/gac/System.Windows.Forms.DataVisualization -%{monodir}/4.0/System.Windows.Forms.DataVisualization.dll -%{monodir}/4.5/System.Windows.Forms.DataVisualization.dll -%{monodir}/gac/Accessibility -%{monodir}/2.0/Accessibility.dll -%{monodir}/4.0/Accessibility.dll -%{monodir}/4.5/Accessibility.dll -%{monodir}/gac/System.Design -%{monodir}/2.0/System.Design.dll -%{monodir}/4.0/System.Design.dll -%{monodir}/4.5/System.Design.dll -%{monodir}/gac/System.Drawing.Design -%{monodir}/2.0/System.Drawing.Design.dll -%{monodir}/4.0/System.Drawing.Design.dll -%{monodir}/4.5/System.Drawing.Design.dll -%{monodir}/gac/Mono.WebBrowser -%{monodir}/2.0/Mono.WebBrowser.dll -%{monodir}/4.0/Mono.WebBrowser.dll -%{monodir}/4.5/Mono.WebBrowser.dll +#---------------------------------------------------------------------------- -%files extras -%{monodir}/gac/System.Management -%{monodir}/2.0/System.Management.dll -%{monodir}/4.0/System.Management.dll -%{monodir}/4.5/System.Management.dll -%{monodir}/gac/RabbitMQ.Client -%{monodir}/2.0/RabbitMQ.Client.dll -%{monodir}/4.0/RabbitMQ.Client.dll -%{monodir}/4.5/RabbitMQ.Client.dll -%{monodir}/2.0/RabbitMQ.Client.Apigen.exe* -%{monodir}/4.0/RabbitMQ.Client.Apigen.exe* -%{monodir}/4.5/RabbitMQ.Client.Apigen.exe* -%{monodir}/gac/System.Messaging -%{monodir}/2.0/System.Messaging.dll -%{monodir}/4.0/System.Messaging.dll -%{monodir}/4.5/System.Messaging.dll -%{monodir}/gac/Mono.Messaging -%{monodir}/2.0/Mono.Messaging.dll -%{monodir}/4.0/Mono.Messaging.dll -%{monodir}/4.5/Mono.Messaging.dll -%{monodir}/gac/Mono.Messaging.RabbitMQ -%{monodir}/2.0/Mono.Messaging.RabbitMQ.dll -%{monodir}/4.0/Mono.Messaging.RabbitMQ.dll -%{monodir}/4.5/Mono.Messaging.RabbitMQ.dll -%{monodir}/gac/System.Runtime.Caching -%{monodir}/4.0/System.Runtime.Caching.dll -%{monodir}/4.5/System.Runtime.Caching.dll -%{monodir}/gac/System.ServiceProcess -%{monodir}/2.0/System.ServiceProcess.dll -%{monodir}/4.0/System.ServiceProcess.dll -%{monodir}/4.5/System.ServiceProcess.dll -%{_bindir}/mono-service -%{_bindir}/mono-service2 -%{monodir}/4.5/installutil.exe* -%{monodir}/2.0/mono-service.exe -%{monodir}/2.0/mono-service.exe.mdb -%{monodir}/4.5/mono-service.exe -%{monodir}/4.5/mono-service.exe.mdb -%{monodir}/gac/mono-service -%{_mandir}/man1/mono-service.1* -%{monodir}/gac/System.Configuration.Install -%{monodir}/2.0/System.Configuration.Install.dll -%{monodir}/4.0/System.Configuration.Install.dll -%{monodir}/4.5/System.Configuration.Install.dll -%{monodir}/gac/System.Xaml -%{monodir}/4.0/System.Xaml.dll* -%{monodir}/4.5/System.Xaml.dll* -# TO CHECK -%{monodir}/4.5/Facades/* +%package data-oracle +Summary: Oracle database connectivity for Mono +Group: Development/C# +Requires: mono = %{version} +Provides: mono(System.Data.OracleClient) = 1.0.5000.0 +Provides: mono(System.Web.WebPages.Deployment) = 2.1.0.0 -%files ibm-data-db2 -%{monodir}/gac/IBM.Data.DB2 -%{monodir}/2.0/IBM.Data.DB2.dll -%{monodir}/4.0/IBM.Data.DB2.dll -%{monodir}/4.5/IBM.Data.DB2.dll +%description data-oracle +This package contains the ADO.NET Data provider for the Oracle +database. %files data-oracle %{monodir}/gac/System.Data.OracleClient @@ -1172,6 +859,31 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/4.0/System.Data.OracleClient.dll %{monodir}/4.5/System.Data.OracleClient.dll +#---------------------------------------------------------------------------- + +%package data +Summary: Database connectivity for Mono +Group: Development/C# +Requires: mono = %{version} +Provides: mono(System.Data) = 1.0.3300.0 +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 +Provides: mono(System.Data.Entity) = 4.0.0.0 +%rename mono-data-2.0 +%rename mono-data-4.0 +%rename mono-data-compat + +%description data +This package provides a Mono assembly to facilitate data access and +manipulation with databases, LDAP compatible directory servers and/or +XML data exchange. Beyond the ADO.NET, Novell.LDAP and +System.DirectoryServices assemblies, it also includes a command line +sql application as well as the Microsoft SQL Server and ODBC data +providers. + %files data %{_bindir}/sqlmetal %{_bindir}/sqlsharp @@ -1230,6 +942,162 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/4.0/WebMatrix.Data.dll %{monodir}/4.5/WebMatrix.Data.dll +#---------------------------------------------------------------------------- + +%package extras +Summary: Infrastructure for running and building daemons and services +Group: Development/C# +Requires: mono = %{version} +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 +%rename mono-extras-2.0 +%rename mono-extras-4.0 + +%description extras +This package provides the libary and application to run services and +daemons with Mono. It also includes stubs for the following .NET 1.1 +and 2.0 assemblies: Microsoft.Vsa, System.Configuration.Install, +System.Management, System.Messaging. + +%files extras +%{monodir}/gac/System.Management +%{monodir}/2.0/System.Management.dll +%{monodir}/4.0/System.Management.dll +%{monodir}/4.5/System.Management.dll +%{monodir}/gac/RabbitMQ.Client +%{monodir}/2.0/RabbitMQ.Client.dll +%{monodir}/4.0/RabbitMQ.Client.dll +%{monodir}/4.5/RabbitMQ.Client.dll +%{monodir}/2.0/RabbitMQ.Client.Apigen.exe* +%{monodir}/4.0/RabbitMQ.Client.Apigen.exe* +%{monodir}/4.5/RabbitMQ.Client.Apigen.exe* +%{monodir}/gac/System.Messaging +%{monodir}/2.0/System.Messaging.dll +%{monodir}/4.0/System.Messaging.dll +%{monodir}/4.5/System.Messaging.dll +%{monodir}/gac/Mono.Messaging +%{monodir}/2.0/Mono.Messaging.dll +%{monodir}/4.0/Mono.Messaging.dll +%{monodir}/4.5/Mono.Messaging.dll +%{monodir}/gac/Mono.Messaging.RabbitMQ +%{monodir}/2.0/Mono.Messaging.RabbitMQ.dll +%{monodir}/4.0/Mono.Messaging.RabbitMQ.dll +%{monodir}/4.5/Mono.Messaging.RabbitMQ.dll +%{monodir}/gac/System.Runtime.Caching +%{monodir}/4.0/System.Runtime.Caching.dll +%{monodir}/4.5/System.Runtime.Caching.dll +%{monodir}/gac/System.ServiceProcess +%{monodir}/2.0/System.ServiceProcess.dll +%{monodir}/4.0/System.ServiceProcess.dll +%{monodir}/4.5/System.ServiceProcess.dll +%{_bindir}/mono-service +%{_bindir}/mono-service2 +%{monodir}/4.5/installutil.exe* +%{monodir}/2.0/mono-service.exe +%{monodir}/2.0/mono-service.exe.mdb +%{monodir}/4.5/mono-service.exe +%{monodir}/4.5/mono-service.exe.mdb +%{monodir}/gac/mono-service +%{_mandir}/man1/mono-service.1* +%{monodir}/gac/System.Configuration.Install +%{monodir}/2.0/System.Configuration.Install.dll +%{monodir}/4.0/System.Configuration.Install.dll +%{monodir}/4.5/System.Configuration.Install.dll +%{monodir}/gac/System.Xaml +%{monodir}/4.0/System.Xaml.dll* +%{monodir}/4.5/System.Xaml.dll* +# TO CHECK +%{monodir}/4.5/Facades/* + +#---------------------------------------------------------------------------- + +%package ibm-data-db2 +Summary: IBM DB2 database connectivity for Mono +Group: Development/C# +Requires: mono = %{version} + +%description ibm-data-db2 +This package contains the ADO.NET Data provider for the IBM DB2 +Universal database. + +%files ibm-data-db2 +%{monodir}/gac/IBM.Data.DB2 +%{monodir}/2.0/IBM.Data.DB2.dll +%{monodir}/4.0/IBM.Data.DB2.dll +%{monodir}/4.5/IBM.Data.DB2.dll + +#---------------------------------------------------------------------------- + +%package winforms +Summary: Windows Forms implementation for Mono +Group: Development/C# +Requires: mono = %{version} +#gw not available on Cooker +#Requires: gluezilla >= 2.0 +Provides: mono(System.Windows.Forms) = 1.0.3300.0 +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 +%rename mono-winforms-2.0 +%rename mono-winforms-4.0 + +%description winforms +This package provides a fully managed implementation of +System.Windows.Forms, the default graphical toolkit for .NET +applications. + +%files winforms +%{monodir}/4.5/System.Windows.dll +%{monodir}/gac/System.Windows +%{monodir}/gac/System.Windows.Forms +%{monodir}/2.0/System.Windows.Forms.dll +%{monodir}/4.0/System.Windows.Forms.dll +%{monodir}/4.5/System.Windows.Forms.dll +%{monodir}/gac/System.Windows.Forms.DataVisualization +%{monodir}/4.0/System.Windows.Forms.DataVisualization.dll +%{monodir}/4.5/System.Windows.Forms.DataVisualization.dll +%{monodir}/gac/Accessibility +%{monodir}/2.0/Accessibility.dll +%{monodir}/4.0/Accessibility.dll +%{monodir}/4.5/Accessibility.dll +%{monodir}/gac/System.Design +%{monodir}/2.0/System.Design.dll +%{monodir}/4.0/System.Design.dll +%{monodir}/4.5/System.Design.dll +%{monodir}/gac/System.Drawing.Design +%{monodir}/2.0/System.Drawing.Design.dll +%{monodir}/4.0/System.Drawing.Design.dll +%{monodir}/4.5/System.Drawing.Design.dll +%{monodir}/gac/Mono.WebBrowser +%{monodir}/2.0/Mono.WebBrowser.dll +%{monodir}/4.0/Mono.WebBrowser.dll +%{monodir}/4.5/Mono.WebBrowser.dll + +#---------------------------------------------------------------------------- + +%package locale-extras +Summary: Extra locale information for Mono +Group: Development/C# +Requires: mono = %{version} +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 +%rename mono-locale-extras-2.0 +%rename mono-locale-extras-4.0 + +%description locale-extras +This package contains assemblies to support I18N applications for +non-latin alphabets. + %files locale-extras %{monodir}/gac/I18N.MidEast %{monodir}/2.0/I18N.MidEast.dll @@ -1248,12 +1116,40 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/4.0/I18N.Other.dll %{monodir}/4.5/I18N.Other.dll +#---------------------------------------------------------------------------- + +%package data-postgresql +Summary: Postgresql database connectivity for Mono +Group: Development/C# +Requires: mono = %{version} +Provides: mono(Npgsql) = 1.0.5000.0 + +%description data-postgresql +This package contains the ADO.NET Data provider for the Postgresql +database. + %files data-postgresql %{monodir}/gac/Npgsql %{monodir}/2.0/Npgsql.dll %{monodir}/4.0/Npgsql.dll %{monodir}/4.5/Npgsql.dll +#---------------------------------------------------------------------------- + +%package nunit +Summary: NUnit Testing Framework +Group: Development/C# +Requires: %{name} = %{version} + +%description 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 xUnit 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. + %files nunit %{_bindir}/nunit-console %{_bindir}/nunit-console2 @@ -1287,6 +1183,16 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/gac/nunit.util %{monodir}/gac/nunit.mocks +#---------------------------------------------------------------------------- + +%package -n monodoc-core +Summary: Monodoc-Documentation tools for C# code +Group: Development/C# +Provides: monodoc = %{EVRD} + +%description -n monodoc-core +Monodoc-core contains documentation tools for C#. + %files -n monodoc-core %{monodir}/gac/monodoc %{monodir}/monodoc @@ -1318,6 +1224,22 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{_mandir}/man1/monodocs2html.1* %{_mandir}/man5/mdoc.5* +#---------------------------------------------------------------------------- + +%package rx-core +Summary: Reactive Extensions for Mono core libraries +License: MIT and Apache License 2.0 +Group: Development/C# +Requires: mono = %{version} +Provides: mono(System.Reactive.Linq) = 2.1.30214.0 +Provides: mono(System.Reactive.Interfaces) = 2.1.30214.0 + +%description rx-core +A library to compose asynchronous and event-based programs using +observable collections and LINQ-style query operators. +Reactive Extensions for Mono, core packages, which don't depend on +desktop-specific features. + %files rx-core %{monodir}/4.5/System.Reactive.Core.dll %{monodir}/4.5/System.Reactive.Debugger.dll @@ -1339,12 +1261,45 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/gac/System.Reactive.Providers* %{monodir}/gac/System.Reactive.Runtime.Remoting* +#---------------------------------------------------------------------------- + +%package rx-desktop +Summary: Reactive Extensions for Mono desktop-specific libraries +License: MIT and Apache License 2.0 +Group: Development/C# +Requires: mono = %{version} +Requires: mono-rx-core = %{EVRD} + +%description rx-desktop +A library to compose asynchronous and event-based programs using +observable collections and LINQ-style query operators. +Reactive Extensions for Mono, desktop-specific packages (winforms, +windows threading). + %files rx-desktop %{monodir}/4.5/System.Reactive.Windows.Forms.dll %{monodir}/4.5/System.Reactive.Windows.Threading.dll %{monodir}/gac/System.Reactive.Windows.Forms %{monodir}/gac/System.Reactive.Windows.Threading +#---------------------------------------------------------------------------- + +%package wcf +Summary: Mono implementation of WCF, Windows Communication Foundation +Group: Development/C# +Requires: %{name} = %{version} +%rename mono-wcf-2.0 +%rename mono-wcf-4.0 + +%description 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. + %files wcf %{_bindir}/svcutil %{monodir}/4.5/svcutil.exe* @@ -1376,3 +1331,78 @@ cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CS %{monodir}/2.0/System.ServiceModel.Web.dll %{monodir}/4.0/System.ServiceModel.Web.dll %{monodir}/4.5/System.ServiceModel.Web.dll + +#---------------------------------------------------------------------------- + +%prep +%setup -q +cp %{SOURCE2} mcs/tools/xbuild/targets/ +%patch0 -p1 -b .dllmap +%patch1 -p1 -b .selfexe +%patch4 -p1 -b .glop +#%patch5 -p1 -b .cve_2011_0992 +#%patch6 -p0 -b .build +#patch7 -p1 -b .armv6 +autoconf + +%build +#gw else the syslog() call will not build +#https://bugzilla.novell.com/show_bug.cgi?id=590967#c16 +%define Werror_cflags %nil +#gw else libmonosgen-2.0.la does not build +%define _disable_ld_no_undefined 1 +export CFLAGS="%{optflags} -fno-strict-aliasing" +%configure2_5x \ + --with-preview=yes \ + --enable-static \ + --with-libgdiplus=installed \ + --with-sgen=%{sgen} \ +%if %{llvm} == yes + --enable-loadedllvm \ +%endif +%ifarch %{arm} + --with-armv6=no \ +%endif +%if %{oprofile_support} + --with-oprofile=%{_prefix} +%endif + +#gw parallel build broken in 2.6 +%make + +%install +%makeinstall_std + +mv %{buildroot}%{_datadir}/libgc-mono installed-docs +ln -sf mono-sgen %{buildroot}%{_bindir}/mono + +#gw these are all obsolete and shouldn't be packaged: +rm -f %{buildroot}%{_bindir}/mbas \ + %{buildroot}%{_mandir}/man1/{mint.1,oldmono.1,monostyle.1} +# these work on Windows only +rm -fr %{buildroot}%{monodir}/*/Mono.Security.Win32* +# remove stuff that we don't package +rm -f %{buildroot}%{_bindir}/cilc +rm -f %{buildroot}%{_mandir}/man1/cilc.1* +rm -f %{buildroot}%{monodir}/*/browsercaps-updater.exe* +rm -f %{buildroot}%{monodir}/*/culevel.exe* +rm -f %{buildroot}%{monodir}/*/cilc.exe* +find %{buildroot} -name '*.la' | xargs rm + +#gw not in 2.8 as well: +rm -f %{buildroot}%{_bindir}/prj2make +rm -f %{buildroot}%{_mandir}/man1/prj2make.1* +#gw not usable on Cooker: +#gw it is still needed for the deps +#rm -rf %buildroot/%{monodir}/*/Mono.WebBrowser* + +# https://bugzilla.xamarin.com/show_bug.cgi?id=12837 +ln -s %{monodir}/*/mcs.exe %{buildroot}%{monodir}/2.0/gmcs.exe + +%find_lang mcs + +mkdir -p %{buildroot}%{_sysconfdir}/pki/mono +install -p -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/mono/ +# (tv) temp fix: +cp -a mcs/tools/xbuild/targets/ %{buildroot}%{monodir}/4.0/Microsoft.Portable.CSharp.targets +