Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37579037
en ru br
Репозитории ALT
S:6.12.0.147-alt2
D:1.9.1-alt1.0.1
5.1: 2.4.2.3-alt2
4.1: 1.9.1-alt1
4.0: 1.2.3.1-alt1.0
3.0: 1.1.9.2-alt0.M30.1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: mono

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# TODO:
# * Implement parts of Mono Debian Policy
# * split into smaller packages
# * make *.config files for unsafe assemblies
# * use system libgc
# * AOT ?

# may use --with-gc=boehm,included,none

#define libgc boehm
%define libgc included

Name: mono
Version: 2.4.2.3
Release: alt2
License: %gpllgpl2only %mit %mpl
Url: http://www.mono-project.com/
Group: Development/Other
Packager: Mono Maintainers Team <mono at packages.altlinux.org>

Summary: The mono CIL runtime, suitable for running .NET code

Source: http://www.go-mono.com/sources/%name/%name-%version.tar
Source10: System.Drawing.dll.config
Source11: System.Net.dll.config
Source12: Mono.WebBrowser.dll.config
Source13: System.Windows.Forms.dll.config
Source14: System.Data.dll.config

Patch0: mono-1.2.5-alt-no-valgrind.patch
Patch1: mono-2.4.2-alt-dllmap.patch
Patch2: mono-1.2.5-rh-BigInteger-CVE-2007-5197.patch
Patch3: mono-2.0-alt-fix-cecil.patch
Patch4: mono-1.2.6-alt-mono-pc-glib2.patch
Patch5: mono-2.0-alt-fix-libsoname.patch
Patch6: mono-2.2-alt-monodoc-sourcesdir.patch
Patch7: mono-2.4-alt-cecil-install.patch
Patch8: mono-2.4.2.2-alt-build.patch

BuildPreReq: rpm-build-mono >= 1.2
BuildPreReq: rpm-build-licenses

%if %libgc == boehm
BuildPreReq: libgc-devel
%endif

# Automatically added by buildreq on Tue Aug 12 2008

BuildRequires: glib2-devel imake libX11-devel libattr-devel libncurses-devel xorg-cf-files zlib-devel

BuildRequires: libgdiplus-devel >= 2.2
BuildRequires: libgluezilla

Requires: /proc
BuildPreReq: /proc

Obsoletes: mono-ikvm < %version
Provides: mono-ikvm = %version
Provides: mono-core = %version

Requires: libmono = %version-%release
Requires: %name-mscorlib = %version-%release

# mono.pc is used for two unrelated purposes:

# 1) to test for mono runtime; 2) to link with libmono.
# Therefore, we package mono.pc into both mono-devel and libmono-devel packages.
# Furthermore, we must manually arrange mono.pc dependencies for both cases.
%add_findreq_skiplist %_pkgconfigdir/mono.pc

%description
This package contains the core of the Mono runtime including its
Virtual Machine, Just-in-time compiler, security tools and libraries
(corlib, XML, System.Security, System.Drawing, ZipLib, I18N, Cairo
and Mono.*).

%files
%dir %_sysconfdir/mono
%dir %_sysconfdir/mono/1.0/
%dir %_sysconfdir/mono/2.0/
%config(noreplace) %_sysconfdir/mono/1.0/machine.config
%config(noreplace) %_sysconfdir/mono/2.0/machine.config
%config(noreplace) %_sysconfdir/mono/2.0/settings.map
%config(noreplace) %_sysconfdir/mono/config
%_bindir/mono
%_bindir/certmgr
%_bindir/chktrust
%_bindir/gacutil
%_bindir/gacutil1
%_bindir/gacutil2
%_bindir/mozroots
%_bindir/setreg
%_bindir/sn
%_libdir/libikvm-native.so
%_libdir/libMonoPosixHelper.so
%_libdir/libMonoSupportW.so
%dir %_monodir/compat-*
%dir %_monodir/gac
%_monodir/*/certmgr.exe*
%_monodir/*/chktrust.exe*
%_monodir/*/gacutil.exe*
%_monodir/*/mozroots.exe*
%_monodir/*/setreg.exe*
%_monodir/*/sn.exe*
%_monodir/*/Mono.C5
%_monodir/*/Mono.C5.dll*
%_monodir/*/Mono.Posix
%_monodir/*/Mono.Posix.dll*
%_monodir/*/Mono.Cairo
%_monodir/*/Mono.Cairo.dll*
%_monodir/*/ICSharpCode.SharpZipLib
%_monodir/*/ICSharpCode.SharpZipLib.dll*
%_monodir/*/Microsoft.VisualC
%_monodir/*/Microsoft.VisualC.dll*
%_monodir/*/Commons.Xml.Relaxng
%_monodir/*/Commons.Xml.Relaxng.dll*
%_monodir/*/CustomMarshalers
%_monodir/*/CustomMarshalers.dll*
%_monodir/*/I18N
%_monodir/*/I18N.dll*
%_monodir/*/I18N.MidEast
%_monodir/*/I18N.MidEast.dll*
%_monodir/*/I18N.Other
%_monodir/*/I18N.Other.dll*
%_monodir/*/I18N.Rare
%_monodir/*/I18N.Rare.dll*
%_monodir/*/I18N.West
%_monodir/*/I18N.West.dll*
%_monodir/*/Mono.GetOptions
%_monodir/*/Mono.GetOptions.dll*
%_monodir/*/Mono.Security
%_monodir/*/Mono.Security.dll*
%_monodir/*/OpenSystem.C
%_monodir/*/OpenSystem.C.dll
%_monodir/*/System
%_monodir/*/System.dll*
%_monodir/*/System.Core
%_monodir/*/System.Core.dll*
%_monodir/*/System.Drawing
%_monodir/*/System.Drawing.dll*
%_monodir/*/System.Net
%_monodir/*/System.Net.dll*
%_monodir/*/Mono.Simd
%_monodir/*/Mono.Simd.dll*
%_monodir/*/Mono.Management
%_monodir/*/Mono.Management.dll*
%_monodir/*/System.Security
%_monodir/*/System.Security.dll*
%_monodir/*/System.Configuration
%_monodir/*/System.Configuration.dll*
%_monodir/*/System.Transactions
%_monodir/*/System.Transactions.dll*
%_monodir/*/System.Xml
%_monodir/*/System.Xml.dll*
%_monodir/*/System.Xml.Linq
%_monodir/*/System.Xml.Linq.dll*
%_monodir/*/cscompmgd
%_monodir/*/cscompmgd.dll*
%_monodir/*/mscorlib.dll.*

%_man1dir/mono.*
%_man1dir/mint.*
%_man1dir/certmgr.*
%_man1dir/chktrust.*
%_man1dir/setreg.*
%_man1dir/gacutil.*
%_man1dir/sn.*
%_man5dir/mono-config.*
%_man1dir/mozroots.*
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
%exclude %_monodir/*/Mono.Security.Win32*

%package mscorlib
Summary: Multilanguage Standard Common Object Runtime Library
Group: Development/Other
Conflicts: libmono < %version-%release

%description mscorlib
This pacakge provides Multilanguage Standard Common Object Runtime
Library (mscorlib.dll) for Mono/.Net framework.

%files mscorlib
%dir %_monodir
%dir %_monodir/1.0
%dir %_monodir/2.0
%dir %_monodir/2.1
%dir %_monodir/3.5
%_monodir/1.0/mscorlib.dll
%_monodir/2.0/mscorlib.dll
%_monodir/2.1/mscorlib.dll

%package -n libmono
Summary: libmono.so.0 shared library
Group: System/Libraries
Conflicts: %name < %version-%release
# due to mini_init()
Requires: /proc
# due to mono_init_internal()
Requires: %name-mscorlib = %version-%release

%description -n libmono
This package contains libmono.so.0 shared library.

%files -n libmono
%_libdir/libmono.so.0*

%package -n libmono-devel
Summary: Header files for libmono.so.0 shared library
Group: Development/C
Requires: libmono = %version-%release
# mono.pc dependencies, sync with alt-mono-pc-glib2.patch
Requires: pkgconfig(glib-2.0) pkgconfig(gthread-2.0)
Requires: /usr/include/glib-2.0

%description -n libmono-devel
This package contains header files for libmono.so.0 shared library.

%files -n libmono-devel
%_includedir/mono-1.0
%_libdir/libmono.so
%_pkgconfigdir/mono.pc

%package -n monodis
Summary: CIL image content dumper and disassembler
Group: Development/Other
Requires: libmono = %version-%release

%description -n monodis
The monodis program is used to dump the contents a CIL image (contained
in .EXE files that contain extended PE/COFF CIL code).

%files -n monodis
%_bindir/monodis
%_man1dir/monodis.*

%package mcs
Summary: C# language compiler for Mono
Group: Development/Other
License: %gpl2only %mit
Requires: %name = %version-%release
# using mono compiler should automatically enable support for mono dependencies
Requires: rpm-build-mono
Provides: mcs = %version
Obsoletes: mcs < %version
# workaround for mono-csharp
Provides: mono(gmcs) = %version

%description mcs
This package contains the C# .NET compiler. This allows you to compile C#
.NET application and assemblies.

%files mcs -f mcs.lang
%_bindir/mcs
%_bindir/mcs1
%_bindir/gmcs
%_bindir/smcs
%_monodir/*/gmcs.exe*
%_monodir/*/mcs.exe*
%_monodir/*/smcs.exe*
%_man1dir/mcs.*

%package csharp
Summary: Interactive C# Shell for Mono
Group: Development/Other
License: %gpl2only %mit
Requires: %name = %version-%release

%description csharp
This package contains an interactive C# shell that allows the user to enter and
evaluate C# statements and expressions from  the  command  line.

%files csharp
%_bindir/csharp
%_monodir/*/csharp.exe*
%_man1dir/csharp.*
%_monodir/*/Mono.CSharp
%_monodir/*/Mono.CSharp.dll*

%package jscript
Summary: JScript .NET support for Mono
Group: Development/Other
Requires: %name = %version-%release

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

%files jscript
%_bindir/mjs
%_monodir/*/mjs.exe*
%_monodir/*/Microsoft.JScript
%_monodir/*/Microsoft.JScript.dll

%package winforms
Summary: Windows Forms implementation for Mono
Group: Development/Other
Requires: %name = %version-%release
Provides: mono-window-forms = %version
Obsoletes: mono-window-forms < %version

%description winforms
This package provides a fully managed implementation of
System.Windows.Forms, the default graphical toolkit for .NET
applications.

%files winforms
%_monodir/*/System.Windows.Forms
%_monodir/*/System.Windows.Forms.dll*
%_monodir/*/Accessibility
%_monodir/*/Accessibility.dll*
%_monodir/*/System.Design
%_monodir/*/System.Design.dll*
%_monodir/*/System.Drawing.Design
%_monodir/*/System.Drawing.Design.dll*
%_monodir/*/Mono.WebBrowser
%_monodir/*/Mono.WebBrowser.dll*

%package wcf
Summary: Mono implementation of WCF, Windows Communication Foundation
Group: Development/Other
Requires: %name = %version-%release

%description wcf
Mono implementation of WCF, Windows Communication Foundation

%files wcf
%_monodir/*/System.IdentityModel
%_monodir/*/System.IdentityModel.dll*
%_monodir/*/System.IdentityModel.Selectors
%_monodir/*/System.IdentityModel.Selectors.dll*
%_monodir/*/System.Runtime.Serialization
%_monodir/*/System.Runtime.Serialization.dll*
%_monodir/*/System.ServiceModel
%_monodir/*/System.ServiceModel.dll*
%_monodir/*/System.ServiceModel.Web
%_monodir/*/System.ServiceModel.Web.dll*

%package wcf-devel
Summary: Mono implementation of WCF, Windows Communication Foundation
Group: Development/Other
Requires: %name-wcf = %version-%release

%description wcf-devel
Mono implementation of WCF, Windows Communication Foundation

This package contains development pkg-config files for %name-wcf

%files wcf-devel
%_pkgconfigdir/wcf.pc

%package web
Summary: ASP.NET, Remoting, and Web Services for Mono
Group: Development/Other
Requires: %name = %version-%release

%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
%dir %_sysconfdir/mono/2.0/Browsers
%config(noreplace) %_sysconfdir/mono/browscap.ini
%config(noreplace) %_sysconfdir/mono/1.0/DefaultWsdlHelpGenerator.aspx
%config(noreplace) %_sysconfdir/mono/2.0/DefaultWsdlHelpGenerator.aspx
%config(noreplace) %_sysconfdir/mono/2.0/web.config
%config(noreplace) %_sysconfdir/mono/2.0/Browsers/Compat.browser
%config(noreplace) %_sysconfdir/mono/mconfig/config.xml
%_bindir/soapsuds
%_bindir/disco
%_bindir/wsdl
%_bindir/wsdl1
%_bindir/wsdl2
%_bindir/xsd
%_bindir/xsd2
%_bindir/mconfig
%_monodir/*/soapsuds.exe*
%_monodir/*/disco.exe*
%_monodir/*/wsdl.exe*
%_monodir/*/xsd.exe*
%_monodir/*/httpcfg.exe*
%_monodir/*/mconfig.exe*
%_monodir/*/System.Web
%_monodir/*/System.Web.dll*
%_monodir/*/System.Web.Extensions
%_monodir/*/System.Web.Extensions.dll*
%_monodir/*/System.Web.Mvc
%_monodir/*/System.Web.Mvc.dll*
%_monodir/*/Mono.Http
%_monodir/*/Mono.Http.dll*
%_monodir/*/Mono.Web
%_monodir/*/Mono.Web.dll*
%_monodir/*/System.Runtime.Remoting
%_monodir/*/System.Runtime.Remoting.dll*
%_monodir/*/System.Runtime.Serialization.Formatters.Soap
%_monodir/*/System.Runtime.Serialization.Formatters.Soap.dll*
%_monodir/*/System.Web.Services
%_monodir/*/System.Web.Services.dll*
%_monodir/*/System.Web.Extensions.Design
%_monodir/*/System.Web.Extensions.Design.dll*
%_monodir/*/System.Web.Abstractions
%_monodir/*/System.Web.Abstractions.dll*
%_monodir/*/System.Web.DynamicData
%_monodir/*/System.Web.DynamicData.dll*
%_monodir/*/System.Web.Routing
%_monodir/*/System.Web.Routing.dll*
%_monodir/*/System.ComponentModel.DataAnnotations
%_monodir/*/System.ComponentModel.DataAnnotations.dll*
%_man1dir/soapsuds.*
%_man1dir/disco.*
%_man1dir/wsdl.*
%_man1dir/xsd.*
%_man1dir/mconfig.*

%package web-devel
Summary: ASP.NET, Remoting, and Web Services for Mono
Group: Development/Other
Requires: %name-web = %version-%release

%description web-devel
This package provides the ASP.NET libraries and runtime for
development of web application, web services and remoting support.

This package contains development pkg-config files for %name-web

%files web-devel
%_pkgconfigdir/mono.web.pc
%_pkgconfigdir/system.web.extensions.design_1.0.pc
%_pkgconfigdir/system.web.extensions_1.0.pc

%package extras
Summary: Provides the infrastructure for running and building daemons and services with Mono as well as various stub assemblies
Group: Development/Other
Requires: %name = %version-%release

%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
%_bindir/mono-service*
%_bindir/mono-xmltool
%_monodir/*/installutil.exe*
%_monodir/*/mono-service
%_monodir/*/mono-service.exe*
%_monodir/*/mono-xmltool.exe*
%_monodir/*/RabbitMQ.Client
%_monodir/*/RabbitMQ.Client.dll*
%_monodir/*/System.Management
%_monodir/*/System.Management.dll*
%_monodir/*/System.Messaging
%_monodir/*/System.Messaging.dll*
%_monodir/*/Mono.Messaging
%_monodir/*/Mono.Messaging.dll*
%_monodir/*/Mono.Messaging.RabbitMQ
%_monodir/*/Mono.Messaging.RabbitMQ.dll*
%_monodir/*/System.ServiceProcess
%_monodir/*/System.ServiceProcess.dll*
%_monodir/*/System.Configuration.Install
%_monodir/*/System.Configuration.Install.dll*
%_monodir/*/Microsoft.Vsa
%_monodir/*/Microsoft.Vsa.dll*
%_man1dir/mono-service.*
%_man1dir/mono-xmltool*

%package -n ibm-data-db2
Summary: BM DB2 database connectivity for Mono
Group: Development/Other
Requires: %name = %version-%release

%description -n ibm-data-db2
This package contains the ADO.NET Data provider for the IBM DB2
Universal database.

%files -n ibm-data-db2
%_monodir/*/IBM.Data.DB2
%_monodir/*/IBM.Data.DB2.dll*

%package devel
Summary: Development tools and headers for Mono
Group: Development/Other
Requires: %name = %version-%release
Requires: monodis = %version-%release

%description devel
This package includes all Mono library headers and completes the
Mono developer toolchain (with the mono profiler, assembler and
other various tools)

%files devel
# Shell wrappers
%_bindir/al
%_bindir/al1
%_bindir/al2
%_bindir/caspol
%_bindir/mono-cil-strip
%_bindir/cert2spc
%_bindir/dtd2rng
%_bindir/dtd2xsd
%_bindir/genxs
%_bindir/genxs1
%_bindir/httpcfg
%_bindir/ilasm
%_bindir/ilasm1
%_bindir/ilasm2
%_bindir/installvst
%_bindir/macpack
%_bindir/makecert
%_bindir/mkbundle
%_bindir/mkbundle1
%_bindir/mkbundle2
%_bindir/monolinker
%_bindir/mono-api-info
%_bindir/monograph
%_bindir/monop
%_bindir/monop1
%_bindir/monop2
%_bindir/mono-shlib-cop
%_bindir/pedump
%_bindir/permview
%_bindir/prj2make
%_bindir/resgen*
%_bindir/secutil
%_bindir/sgen
%_bindir/signcode
%_bindir/cilc
%_bindir/xbuild
%_libdir/libmono-profiler-cov.*
%_libdir/libmono-profiler-aot.*
%_libdir/libmono-profiler-logging.*
%_monodir/*/al.exe*
%_monodir/*/genxs.exe*
%_monodir/*/ilasm.exe*
%_monodir/*/makecert.exe*
%_monodir/*/monop.exe*
%_monodir/*/cert2spc.exe*
%_monodir/*/mono-cil-strip*
%_monodir/*/signcode.exe*
%_monodir/*/secutil.exe*
%_monodir/*/sgen.exe*
%_monodir/*/resgen.exe*
%_monodir/*/cilc.exe*
%_monodir/*/prj2make.exe*
%_monodir/*/dtd2rng.exe*
%_monodir/*/dtd2xsd.exe*
%_monodir/*/mkbundle.exe*
%_monodir/*/permview.exe*
%_monodir/*/caspol.exe*
%_monodir/*/macpack.exe*
%_monodir/*/culevel.exe*
%_monodir/*/installvst.exe*
%_monodir/*/ictool.exe*
%_monodir/*/browsercaps-updater.exe*
%_monodir/*/mono-shlib-cop.exe*
%_monodir/*/xbuild.exe*
%_monodir/*/mono-api-info.exe
%_monodir/*/Microsoft.Build.Tasks
%_monodir/*/Microsoft.Build.Tasks.dll*
%_monodir/*/Microsoft.Build.Framework
%_monodir/*/Microsoft.Build.Framework.dll*
%_monodir/*/Microsoft.Build.Utilities
%_monodir/*/Microsoft.Build.Utilities.dll*
%_monodir/*/Microsoft.Build.Engine
%_monodir/*/Microsoft.Build.Engine.dll*
%_monodir/*/Mono.CompilerServices.SymbolWriter
%_monodir/*/Mono.CompilerServices.SymbolWriter.dll*
%_monodir/*/PEAPI
%_monodir/*/PEAPI.dll*
%_monodir/*/Mono.Cecil
%_monodir/*/Mono.Cecil.dll*
%_monodir/*/Mono.Cecil.Mdb
%_monodir/*/Mono.Cecil.Mdb.dll*
%_monodir/2.0/MSBuild
%_monodir/2.0/Microsoft.Build.xsd
%_monodir/2.0/Microsoft.*.targets
%_monodir/2.0/Microsoft.*.tasks
%_monodir/2.0/xbuild.rsp
%_monodir/*/monolinker.exe*
%_pkgconfigdir/dotnet.pc
%_pkgconfigdir/dotnet35.pc
%_pkgconfigdir/cecil.pc
%_pkgconfigdir/mono-lineeditor.pc
%_pkgconfigdir/mono-options.pc
%_pkgconfigdir/smcs.pc
# mono.pc is packaged into both mono-devel and libmono-devel
%_pkgconfigdir/mono.pc
%_pkgconfigdir/mono-cairo.pc
%_datadir/mono-1.0/mono/cil/cil-opcodes.xml
%_prefix/lib/mono-source-libs
%_man1dir/al.*
%_man1dir/ilasm.*
%_man1dir/genxs.*
%_man1dir/httpcfg.*
%_man1dir/makecert.*
%_man1dir/monop.*
%_man1dir/cert2spc.*
%_man1dir/signcode.*
%_man1dir/secutil.*
%_man1dir/sgen.*
%_man1dir/cilc.*
%_man1dir/prj2make.*
%_man1dir/dtd2xsd.*
%_man1dir/mkbundle.*
%_man1dir/permview.*
%_man1dir/macpack.*
%_man1dir/mono-shlib-cop.*
%_man1dir/monostyle*
%_man1dir/oldmono*
%_man1dir/monolinker*
%_man1dir/resgen*
%_man1dir/mono-cil-strip*

%package -n monodoc
Summary: monodoc
Group: Development/Other

%description -n monodoc
This is the MonoDoc module.  It contains the tools to produce and edit the
documentation, and a documentation browser.
The documentation browser consists of a library and two
front-ends: a Gtk\#-based one, and an ASP.NET-based version.

%triggerpostun -n monodoc -- monodoc < 2.0-alt2
[ $1 != 1 ] || exit 0
echo "Remove old monodoc index"
/bin/rm -f /usr/lib/monodoc/monodoc.index ||:

%files -n 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
%_monodir/*/mdoc.exe*
%_monodir/*/mod.exe*
%_monogacdir/monodoc
%_monodir/monodoc
%dir %_datadir/monodoc
%_datadir/monodoc/monodoc.xml
%dir %_monodocdir
%_man1dir/mdassembler.*
%_man1dir/mdoc-assemble.*
%_man1dir/mdoc-export-html.*
%_man1dir/mdoc-export-msxdoc.*
%_man1dir/mdoc-update.*
%_man1dir/mdoc-validate.*
%_man1dir/mdoc.*
%_man1dir/mdvalidater.*
%_man1dir/monodocer.*
%_man1dir/monodocs2html.*
%_man5dir/mdoc.*

%package -n monodoc-devel
Summary: monodoc
Group: Development/Other
Requires: monodoc = %version-%release

%description -n monodoc-devel
This is the MonoDoc module.  It contains the tools to produce and edit the
documentation, and a documentation browser.
The documentation browser consists of a library and two
front-ends: a Gtk\#-based one, and an ASP.NET-based version.

This package contains development pkg-config files for monodoc

%files -n monodoc-devel
%_pkgconfigdir/monodoc.pc

%package doc
Summary: Documentation for mono
Group: Documentation
BuildArch: noarch
Requires: monodoc >= 2.2

%description doc
This package contains the documentation for the Mono class libraries.

%files doc
%_monodocdir/*

%package jay
Summary: Mono's port of Jay to C#
License: %bsd
Group: Development/Other
Requires: %name = %version-%release

%description jay
Mono's port of Jay to C#

%files jay
%_bindir/jay
%_datadir/jay
%_man1dir/jay.*

%package data-oracle
Summary: Oracle database connectivity for Mono
Group: Development/Other
Requires: %name = %version-%release

%description data-oracle
This package contains the ADO.NET Data provider for the Oracle
database.

%files data-oracle
%_monodir/*/System.Data.OracleClient
%_monodir/*/System.Data.OracleClient.dll*

%package data
Summary: Database connectivity for Mono
Group: Development/Other
Requires: %name = %version-%release

%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/sqlsharp
%_monodir/*/sqlsharp.exe*
%_monodir/*/System.Data
%_monodir/*/System.Data.dll*
%_monodir/*/System.Data.Linq
%_monodir/*/System.Data.Linq.dll*
%_monodir/*/Mono.Data
%_monodir/*/Mono.Data.dll*
%_monodir/*/Mono.Data.Tds
%_monodir/*/Mono.Data.Tds.dll*
%_monodir/*/Mono.Data.TdsClient
%_monodir/*/Mono.Data.TdsClient.dll*
%_monodir/*/System.EnterpriseServices
%_monodir/*/System.EnterpriseServices.dll*
%_monodir/*/Novell.Directory.Ldap
%_monodir/*/Novell.Directory.Ldap.dll*
%_monodir/*/System.DirectoryServices
%_monodir/*/System.DirectoryServices.dll*
%_monodir/*/System.Data.DataSetExtensions
%_monodir/*/System.Data.DataSetExtensions.dll*
%_man1dir/sqlsharp.*

%package nunit
Summary: NUnit Testing Framework
Group: Development/Other
Requires: %name = %version-%release

%description nunit
NUnit is a unit-testing framework for all .Net languages.
Initially ported from JUnit, the current release, version 2.4,
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*
%_monodir/*/nunit-console.exe*
%_monodir/*/nunit.core
%_monodir/*/nunit.framework
%_monodir/*/nunit.util
%_monodir/*/nunit.core.dll
%_monodir/*/nunit.framework.dll
%_monodir/*/nunit.mocks
%_monodir/*/nunit.mocks.dll*
%_monodir/*/nunit.util.dll
%_monodir/*/nunit-console-runner
%_monodir/*/nunit-console-runner.dll*
%_monodir/*/nunit.core.extensions
%_monodir/*/nunit.core.extensions.dll*
%_monodir/*/nunit.core.interfaces
%_monodir/*/nunit.core.interfaces.dll*
%_monodir/*/nunit.framework.extensions
%_monodir/*/nunit.framework.extensions.dll*

%package nunit-devel
Summary: NUnit Testing Framework
Group: Development/Other
Requires: %name-nunit = %version-%release

%description nunit-devel
NUnit is a unit-testing framework for all .Net languages.
Initially ported from JUnit, the current release, version 2.4,
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.

This package contains development pkg-config files for %name-nunit

%files nunit-devel
%_pkgconfigdir/mono-nunit.pc

%package locale-extras
Summary: Extra Locale information
Group: Development/Other
Requires: %name = %version-%release

%description locale-extras
Extra Locale information

%files locale-extras
%_monodir/*/I18N.CJK
%_monodir/*/I18N.CJK.dll*

%package data-postgresql
Summary: Postgresql database connectivity for Mono
License: %lgpl2only
Group: Development/Other
Requires: %name = %version-%release

%description data-postgresql
This package contains the ADO.NET Data provider for the Postgresql
database.

%files data-postgresql
%_monodir/*/Npgsql
%_monodir/*/Npgsql.dll*

%package data-firebird
Summary: Firebird database connectivity for Mono
License: FPL
Group: Development/Other
Requires: %name = %version-%release

%description data-firebird
This package contains the ADO.NET Data provider for the Firebird
database.

%files data-firebird
%_monodir/*/FirebirdSql.Data.Firebird
%_monodir/*/FirebirdSql.Data.Firebird.dll*

%package -n bytefx-data-mysql
Summary: MySQL database connectivity for Mono
License: %lgpl2only
Group: Development/Other
Requires: %name = %version-%release

%description -n bytefx-data-mysql
This package contains the ADO.NET Data provider for MySQL. This is
no longer maintained. MySQL AB now provides MySQL Connector/Net
which is fully managed and actively maintained.

%files -n bytefx-data-mysql
%_monodir/*/ByteFX.Data
%_monodir/*/ByteFX.Data.dll*

%package data-sybase
Summary: Sybase database connectivity for Mono
Group: Development/Other
Requires: %name = %version-%release

%description data-sybase
This package contains the ADO.NET Data provider for the Sybase
database.

%files data-sybase
%_monodir/*/Mono.Data.SybaseClient
%_monodir/*/Mono.Data.SybaseClient.dll*

%package data-sqlite
Summary: sqlite database connectivity for Mono
Group: Development/Other
Requires: %name = %version-%release

%description data-sqlite
his package contains the ADO.NET Data provider for the sqlite
database.

%files data-sqlite
%_monodir/*/Mono.Data.SqliteClient
%_monodir/*/Mono.Data.SqliteClient.dll*
%_monodir/*/Mono.Data.Sqlite
%_monodir/*/Mono.Data.Sqlite.dll*

%package complete
Summary: This package contains all runtime Mono packages
Group: Development/Other
Requires: %name-mscorlib = %version-%release
Requires: libmono = %version-%release
Requires: libmono-devel = %version-%release
Requires: monodis = %version-%release
Requires: %name = %version-%release
Requires: mono-locale-extras = %version-%release
Requires: mono-data = %version-%release
Requires: bytefx-data-mysql = %version-%release
Requires: mono-data-sybase = %version-%release
Requires: mono-data-sqlite = %version-%release
Requires: mono-data-oracle = %version-%release
Requires: mono-data-postgresql = %version-%release
Requires: mono-data-firebird = %version-%release
Requires: ibm-data-db2 = %version-%release
Requires: mono-web = %version-%release
Requires: mono-mcs = %version-%release
Requires: mono-jscript = %version-%release
Requires: mono-extras = %version-%release
Requires: mono-nunit = %version-%release
Requires: mono-web = %version-%release
Requires: mono-winforms = %version-%release
Requires: mono-wcf = %version-%release
Requires: mono-csharp = %version-%release

%description complete
This is a virtual package which depends on all the packages that
constitute the Mono runtime, core libraries, and command-line
tools.

%files complete

%prep
%setup -q
# %patch0 -p1
%patch1 -p1
%patch2
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p2

%build
%ifdef __buildreqs
# workaround strace hanging
export with_sigaltstack=no
%endif
%autoreconf
%undefine __libtoolize
%configure \
--disable-static \
--with-glib=system \
--with-gc=%libgc \
--with-preview=yes \
--with-moonlight=yes \
--with-tls=pthread
%make

%install
%make_install DESTDIR=%buildroot install
%if %libgc == included
rm -rv %buildroot%_datadir/libgc-mono
%endif

%find_lang mcs

# install *.config files

for d in %buildroot%_monogacdir/System.Drawing/* ; do install -m644 %SOURCE10 $d/; done
for d in %buildroot%_monogacdir/System.Net/* ; do install -m644 %SOURCE11 $d/; done
for d in %buildroot%_monogacdir/Mono.WebBrowser/* ; do install -m644 %SOURCE12 $d/; done
for d in %buildroot%_monogacdir/System.Windows.Forms/* ; do install -m644 %SOURCE13 $d/; done
for d in %buildroot%_monogacdir/System.Data/* ; do install -m644 %SOURCE14 $d/; done


deps=$(pkg-config --print-{errors,requires} %buildroot%_pkgconfigdir/mono.pc)
: mono.pc should not have explicit pkgconfig dependencies
[ -z "$deps" ]

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin