[Mono-list] Building Mono RPMs for Fedora Core 4 x86-64

Wade Berrier wberrier at novell.com
Mon Sep 19 19:10:28 EDT 2005


Posting spec files for rpms is on my list of things to do.  Currently
there is www.go-mono.com/packagers but it's pretty outdated.

Attached is a mono.spec to get you started.  It's autogenerated from
buildbuddy, but you'll find it useful.

Wade

On Fri, 2005-09-16 at 11:49 +0300, Ilya Konstantinov wrote:
> Hi,
> 
> For the benefit of x86-64 early adopters on Fedora Core 4, I wish to
> start building Mono RPMs for the x86-64 platform and offering them
> publicly. Is it possible to get the SRPMs used to build the x86 RPMs for
> Fedora to simplify my work?
> Who's responsible for creating those RPMs anyway?
> 
> Thanks.
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
-------------- next part --------------
# RPM specfile for mono module
# Generated Mon Sep 19 23:08:16 2005 GMT by Ximian build system
# $Id: bb_do,v 1.265 2005/04/21 19:57:41 v_thunder Exp $
# from 

%define nam	mono
%define ver	1.1.9
%define licensedir	%{_datadir}/licenses/%{nam}-%{ver}

Name:     	mono-core
Version: 	1.1.9
Release:	45.novell
Vendor:		Novell, Inc.
Distribution:	Novell Packages for SuSE LINUX Enterprise Server 9 / x86_64
Copyright:	LGPL
BuildRoot:	/var/tmp/%{nam}-%{ver}-root
Docdir:         /usr/share/doc/packages

URL:		http://www.go-mono.com
Source0:	mono-1.1.9.tar.gz
BuildRequires:	bison
BuildRequires:	glib2-devel
BuildRequires:	pkgconfig
BuildRequires:	rsync
BuildRequires:	wget
Summary:	The Mono CIL runtime, suitable for running .NET code
Group:		Development/Tools
Provides:	mono = 1.1.9-45.novell
Provides:	mono-ikvm = 1.1.9-45.novell
Provides:	novell-mono-core = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}
Obsoletes:	mono
Obsoletes:	mono-drawing
Obsoletes:	mono-cairo
Obsoletes:	mono-xml-relaxng
Obsoletes:	mono-posix
Obsoletes:	mono-ziplib
Obsoletes:	mono-ikvm
Conflicts:	mono < 1.1.9-45.novell

%description

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

%files
%defattr(-, root, root)
/usr/bin/mono
/usr/lib64/libmono.so*
/usr/share/man/man1/mono.1*
/usr/share/man/man1/certmgr.1*
/usr/share/man/man1/chktrust.1*
/usr/share/man/man1/gacutil.1*
/usr/share/man/man1/mcs.1*
/usr/share/man/man1/setreg.1*
/usr/share/man/man1/sn.1*
/usr/bin/certmgr
/usr/bin/chktrust
/usr/bin/gacutil
/usr/bin/gmcs
/usr/bin/mcs
/usr/bin/mono-find-provides
/usr/bin/mono-find-requires
/usr/bin/setreg
/usr/bin/sn
/usr/lib/mono/1.0/certmgr.exe
/usr/lib/mono/1.0/certmgr.exe.mdb
/usr/lib/mono/1.0/chktrust.exe
/usr/lib/mono/1.0/chktrust.exe.mdb
/usr/lib/mono/1.0/gacutil.exe
/usr/lib/mono/1.0/gacutil.exe.mdb
/usr/lib/mono/2.0/gmcs.exe
/usr/lib/mono/2.0/gmcs.exe.mdb
/usr/lib/mono/2.0/gmcs.exe.config
/usr/lib/mono/1.0/mcs.exe.config
/usr/lib/mono/1.0/mcs.exe
/usr/lib/mono/1.0/mcs.exe.mdb
/usr/lib/mono/1.0/setreg.exe
/usr/lib/mono/1.0/setreg.exe.mdb
/usr/lib/mono/1.0/sn.exe
/usr/lib/mono/1.0/sn.exe.mdb
%dir /usr/lib/mono
%dir /usr/lib/mono/gac/
%dir /usr/lib/mono/1.0/
%dir /usr/lib/mono/2.0/
/usr/lib/mono/gac/cscompmgd
/usr/lib/mono/1.0/cscompmgd.dll
/usr/lib/mono/2.0/cscompmgd.dll
/usr/lib/mono/gac/I18N.West
/usr/lib/mono/1.0/I18N.West.dll
/usr/lib/mono/2.0/I18N.West.dll
/usr/lib/mono/gac/I18N
/usr/lib/mono/1.0/I18N.dll
/usr/lib/mono/2.0/I18N.dll
/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter
/usr/lib/mono/1.0/Mono.CompilerServices.SymbolWriter.dll
/usr/lib/mono/2.0/Mono.CompilerServices.SymbolWriter.dll
/usr/lib/mono/gac/Mono.GetOptions
/usr/lib/mono/1.0/Mono.GetOptions.dll
/usr/lib/mono/2.0/Mono.GetOptions.dll
/usr/lib/mono/gac/Mono.Security
/usr/lib/mono/1.0/Mono.Security.dll
/usr/lib/mono/2.0/Mono.Security.dll
/usr/lib/mono/gac/System.Security
/usr/lib/mono/1.0/System.Security.dll
/usr/lib/mono/2.0/System.Security.dll
/usr/lib/mono/gac/System.Xml
/usr/lib/mono/1.0/System.Xml.dll
/usr/lib/mono/2.0/System.Xml.dll
/usr/lib/mono/gac/System
/usr/lib/mono/1.0/System.dll
/usr/lib/mono/2.0/System.dll
/usr/lib/mono/gac/System.Configuration
/usr/lib/mono/2.0/System.Configuration.dll
/usr/lib/mono/1.0/mscorlib.dll
/usr/lib/mono/1.0/mscorlib.dll.mdb
/usr/lib/mono/2.0/mscorlib.dll
/usr/lib/mono/2.0/mscorlib.dll.mdb
%dir /etc/mono
%dir /etc/mono/1.0
%dir /etc/mono/2.0
%config /etc/mono/config
%config /etc/mono/1.0/machine.config
%config /etc/mono/2.0/machine.config
/usr/lib/mono/gac/Mono.C5
/usr/lib/mono/2.0/Mono.C5.dll
/usr/share/man/man5/mono-config.5*
/usr/lib64/libikvm-native.so
/usr/lib/mono/gac/System.Drawing
/usr/lib/mono/1.0/System.Drawing.dll
/usr/lib/mono/2.0/System.Drawing.dll
/usr/lib64/libMonoPosixHelper.so
/usr/lib/mono/gac/Mono.Posix
/usr/lib/mono/1.0/Mono.Posix.dll
/usr/lib/mono/2.0/Mono.Posix.dll
/usr/lib/mono/gac/Mono.Cairo
/usr/lib/mono/1.0/Mono.Cairo.dll
/usr/lib/mono/2.0/Mono.Cairo.dll
/usr/lib/mono/gac/ICSharpCode.SharpZipLib
/usr/lib/mono/1.0/ICSharpCode.SharpZipLib.dll
/usr/lib/mono/2.0/ICSharpCode.SharpZipLib.dll
/usr/lib/mono/gac/Microsoft.VisualC
/usr/lib/mono/1.0/Microsoft.VisualC.dll
/usr/lib/mono/2.0/Microsoft.VisualC.dll
/usr/lib/mono/gac/Commons.Xml.Relaxng
/usr/lib/mono/1.0/Commons.Xml.Relaxng.dll
/usr/lib/mono/2.0/Commons.Xml.Relaxng.dll


%package -n mono-basic
Summary:	Visual Basic .NET support for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-basic = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

%description -n mono-basic

	    This package contains the Visual Basic .NET compiler and language
	    runtime. This allows you to compile and run VB.NET application and
	    assemblies.
	  

%files -n mono-basic
%defattr(-, root, root)
/usr/bin/mbas
/usr/lib/mono/1.0/mbas.exe
/usr/lib/mono/1.0/mbas.exe.mdb
/usr/lib/mono/gac/Microsoft.VisualBasic
/usr/lib/mono/1.0/Microsoft.VisualBasic.dll
/usr/lib/mono/2.0/Microsoft.VisualBasic.dll


%package -n mono-jscript
Summary:	JScript .NET support for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-jscript = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

%description -n mono-jscript

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

%files -n mono-jscript
%defattr(-, root, root)
/usr/lib/mono/gac/Microsoft.JScript
/usr/lib/mono/1.0/Microsoft.JScript.dll
/usr/lib/mono/2.0/Microsoft.JScript.dll
/usr/bin/mjs
/usr/lib/mono/1.0/mjs.exe
/usr/lib/mono/1.0/mjs.exe.mdb


%package -n mono-winforms
Summary:	Windows Forms implementation for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	mono-window-forms
Provides:	novell-mono-winforms = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}
Obsoletes:	mono-window-forms

%description -n mono-winforms

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

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


%package -n mono-web
Summary:	ASP.NET, Remoting, and Web Services for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-web = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}
Obsoletes:	mono-web-forms
Obsoletes:	mono-web-services
Obsoletes:	mono-remoting

%description -n mono-web

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

%files -n mono-web
%defattr(-, root, root)
/usr/lib/mono/1.0/Mono.Http.dll
/usr/lib/mono/1.0/System.Runtime.Remoting.dll
/usr/lib/mono/1.0/System.Runtime.Serialization.Formatters.Soap.dll
/usr/lib/mono/1.0/System.Web.Services.dll
/usr/lib/mono/1.0/System.Web.dll
/usr/lib/mono/2.0/Mono.Http.dll
/usr/lib/mono/2.0/System.Runtime.Remoting.dll
/usr/lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll
/usr/lib/mono/2.0/System.Web.Services.dll
/usr/lib/mono/2.0/System.Web.dll
/usr/lib/mono/gac/Mono.Http
/usr/lib/mono/gac/System.Runtime.Remoting
/usr/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap
/usr/lib/mono/gac/System.Web.Services
/usr/lib/mono/gac/System.Web
/usr/lib/mono/1.0/disco.exe
/usr/lib/mono/1.0/disco.exe.mdb
/usr/lib/mono/1.0/soapsuds.exe
/usr/lib/mono/1.0/soapsuds.exe.mdb
/usr/lib/mono/1.0/wsdl.exe
/usr/lib/mono/1.0/wsdl.exe.mdb
/usr/lib/mono/1.0/xsd.exe
/usr/lib/mono/1.0/xsd.exe.mdb
/usr/share/man/man1/disco.1*
/usr/share/man/man1/soapsuds.1*
/usr/share/man/man1/wsdl.1*
/usr/share/man/man1/xsd.1*
/usr/bin/disco
/usr/bin/soapsuds
/usr/bin/wsdl
/usr/bin/xsd
%config /etc/mono/browscap.ini
%config /etc/mono/1.0/DefaultWsdlHelpGenerator.aspx
%config /etc/mono/2.0/DefaultWsdlHelpGenerator.aspx


%package -n mono-extras
Summary:	Provides the infrastructure for running and building daemons and services with Mono as well as various stub assemblies
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-extras = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}
Obsoletes:	mono-ms-extras

%description -n mono-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 -n mono-extras
%defattr(-, root, root)
/usr/lib/mono/gac/System.Management
/usr/lib/mono/1.0/System.Management.dll
/usr/lib/mono/2.0/System.Management.dll
/usr/lib/mono/gac/System.Messaging
/usr/lib/mono/1.0/System.Messaging.dll
/usr/lib/mono/2.0/System.Messaging.dll
/usr/lib/mono/gac/System.ServiceProcess
/usr/lib/mono/1.0/System.ServiceProcess.dll
/usr/lib/mono/2.0/System.ServiceProcess.dll
/usr/bin/mono-service
/usr/lib/mono/1.0/mono-service.exe
/usr/lib/mono/1.0/mono-service.exe.mdb
/usr/share/man/man1/mono-service.1*
/usr/lib/mono/gac/System.Configuration.Install
/usr/lib/mono/1.0/System.Configuration.Install.dll
/usr/lib/mono/2.0/System.Configuration.Install.dll
/usr/lib/mono/gac/Microsoft.Vsa
/usr/lib/mono/1.0/Microsoft.Vsa.dll
/usr/lib/mono/2.0/Microsoft.Vsa.dll


%package -n ibm-data-db2
Summary:	IBM DB2 database connectivity for Mono 
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-ibm-data-db2 = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{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
%defattr(-, root, root)
/usr/lib/mono/gac/IBM.Data.DB2
/usr/lib/mono/1.0/IBM.Data.DB2.dll


%package -n mono-devel
Summary:	Development tools and headers for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-devel = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}
Obsoletes:	mono-peapi
Obsoletes:	mono-runtime-devel
Obsoletes:	mono-core-devel
Obsoletes:	mono-complete-devel

%description -n mono-devel

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

%files -n mono-devel
%defattr(-, root, root)
/usr/lib/mono/1.0/*ake*ert.exe
/usr/lib/mono/1.0/*ake*ert.exe.mdb
/usr/lib/mono/1.0/al.exe
/usr/lib/mono/1.0/al.exe.mdb
/usr/lib/mono/1.0/caspol.exe
/usr/lib/mono/1.0/caspol.exe.mdb
/usr/lib/mono/1.0/cert2spc.exe
/usr/lib/mono/1.0/cert2spc.exe.mdb
/usr/lib/mono/1.0/dtd2xsd.exe
/usr/lib/mono/1.0/dtd2xsd.exe.mdb
/usr/lib/mono/1.0/genxs.exe
/usr/lib/mono/1.0/genxs.exe.mdb
/usr/lib/mono/1.0/ilasm.exe
/usr/lib/mono/1.0/ilasm.exe.mdb
/usr/lib/mono/1.0/mkbundle.exe
/usr/lib/mono/1.0/mkbundle.exe.mdb
/usr/lib/mono/1.0/monop.exe
/usr/lib/mono/1.0/monop.exe.mdb
/usr/lib/mono/1.0/permview.exe
/usr/lib/mono/1.0/resgen.exe
/usr/lib/mono/1.0/resgen.exe.mdb
/usr/lib/mono/1.0/secutil.exe
/usr/lib/mono/1.0/secutil.exe.mdb
/usr/lib/mono/1.0/signcode.exe
/usr/lib/mono/1.0/signcode.exe.mdb
/usr/lib/mono/1.0/prj2make.exe
/usr/lib/mono/1.0/prj2make.exe.mdb
/usr/lib/mono/1.0/mono-shlib-cop.exe
/usr/lib/mono/1.0/mono-shlib-cop.exe.mdb
/usr/share/man/man1/cert2spc.1*
/usr/share/man/man1/genxs.1*
/usr/share/man/man1/ilasm.1*
/usr/share/man/man1/makecert.1*
/usr/share/man/man1/mkbundle.1*
/usr/share/man/man1/monodis.1*
/usr/share/man/man1/monop.1*
/usr/share/man/man1/permview.1*
/usr/share/man/man1/secutil.1*
/usr/share/man/man1/signcode.1*
/usr/share/man/man1/dtd2xsd.1*
/usr/share/man/man1/prj2make.1*
/usr/share/man/man1/mono-shlib-cop.1*
/usr/bin/al
/usr/bin/caspol
/usr/bin/cert2spc
/usr/bin/dtd2xsd
/usr/bin/genxs
/usr/bin/ilasm
/usr/bin/makecert
/usr/bin/mkbundle
/usr/bin/monodis
/usr/bin/monop
/usr/bin/mono-shlib-cop
/usr/bin/permview
/usr/bin/resgen
/usr/bin/secutil
/usr/bin/signcode
/usr/bin/prj2make
/usr/bin/pedump
/usr/bin/monodiet
/usr/lib/mono/gac/PEAPI
/usr/lib/mono/1.0/PEAPI.dll
/usr/lib/mono/2.0/PEAPI.dll
/usr/bin/monograph
/usr/include/mono/*/*.h
/usr/include/mono/cil/opcode.def
/usr/lib64/libmono-profiler-cov.*
/usr/lib64/pkgconfig/mono.pc
/usr/lib64/libmono.a
/usr/lib64/libmono.la
/usr/share/man/man1/monoburg.*
/usr/share/mono/cil/cil-opcodes.xml


%package -n mono-data-oracle
Summary:	Oracle database connectivity for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-data-oracle = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

%description -n mono-data-oracle

	    This package contains the ADO.NET Data provider for the Oracle
	    database.
	  

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


%package -n mono-data
Summary:	Database connectivity for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-data = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}
Obsoletes:	mono-ms-enterprise
Obsoletes:	mono-novell-directory
Obsoletes:	mono-directory

%description -n mono-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 -n mono-data
%defattr(-, root, root)
/usr/lib/mono/1.0/sqlsharp.exe
/usr/lib/mono/1.0/sqlsharp.exe.mdb
/usr/bin/sqlsharp
/usr/share/man/man1/sqlsharp.1*
/usr/lib/mono/gac/System.Data
/usr/lib/mono/1.0/System.Data.dll
/usr/lib/mono/2.0/System.Data.dll
/usr/lib/mono/gac/Mono.Data
/usr/lib/mono/1.0/Mono.Data.dll
/usr/lib/mono/2.0/Mono.Data.dll
/usr/lib/mono/gac/Mono.Data.Tds
/usr/lib/mono/1.0/Mono.Data.Tds.dll
/usr/lib/mono/2.0/Mono.Data.Tds.dll
/usr/lib/mono/gac/Mono.Data.TdsClient
/usr/lib/mono/1.0/Mono.Data.TdsClient.dll
/usr/lib/mono/2.0/Mono.Data.TdsClient.dll
/usr/lib/mono/gac/System.EnterpriseServices
/usr/lib/mono/1.0/System.EnterpriseServices.dll
/usr/lib/mono/2.0/System.EnterpriseServices.dll
/usr/lib/mono/gac/Novell.Directory.Ldap
/usr/lib/mono/1.0/Novell.Directory.Ldap.dll
/usr/lib/mono/2.0/Novell.Directory.Ldap.dll
/usr/lib/mono/gac/System.DirectoryServices
/usr/lib/mono/1.0/System.DirectoryServices.dll
/usr/lib/mono/2.0/System.DirectoryServices.dll


%package -n mono-locale-extras
Summary:	Extra Locale information
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-locale-extras = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}
Obsoletes:	mono-locale-cjk
Obsoletes:	mono-locale-mideast
Obsoletes:	mono-locale-other
Obsoletes:	mono-locale-rare

%description -n mono-locale-extras

	    This package contains assemblies to support I18N applications for
	    non-latin alphabets.
	  

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


%package -n mono-data-postgresql
Summary:	Postgresql database connectivity for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-data-postgresql = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

%description -n mono-data-postgresql

	    This package contains the ADO.NET Data provider for the Postgresql
	    database.
	  

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


%package -n mono-nunit
Summary:	NUnit Testing Framework
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-nunit = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

%description -n mono-nunit

	    NUnit is a unit-testing framework for all .Net languages. 
	    Initially ported from JUnit, the current release, version 2.2, 
	    is the fourth major release of this 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 -n mono-nunit
%defattr(-, root, root)
/usr/lib/mono/gac/nunit.core
/usr/lib/mono/gac/nunit.framework
/usr/lib/mono/gac/nunit.util
/usr/lib/mono/1.0/nunit.util.dll
/usr/lib/mono/1.0/nunit.core.dll
/usr/lib/mono/1.0/nunit.framework.dll
/usr/lib64/pkgconfig/mono-nunit.pc


%package -n bytefx-data-mysql
Summary:	MySQL database connectivity for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-bytefx-data-mysql = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{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
%defattr(-, root, root)
/usr/lib/mono/gac/ByteFX.Data
/usr/lib/mono/1.0/ByteFX.Data.dll
/usr/lib/mono/2.0/ByteFX.Data.dll


%package -n mono-data-sqlite
Summary:	sqlite database connectivity for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Requires:	libsqlite.so.0()(64bit)
Provides:	novell-mono-data-sqlite = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

%description -n mono-data-sqlite

	    This package contains the ADO.NET Data provider for the sqlite
	    database.
	  

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


%package -n mono-data-sybase
Summary:	Sybase database connectivity for Mono
Group:		Development/Tools
Requires:	mono-core = 1.1.9-45.novell
Provides:	novell-mono-data-sybase = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

%description -n mono-data-sybase

	    This package contains the ADO.NET Data provider for the Sybase
	    database.
	  

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


%package -n mono-complete
Summary:	All Mono runtime packages (virtual)
Group:		Development/Tools
Requires:	bytefx-data-mysql = 1.1.9-45.novell
Requires:	ibm-data-db2 = 1.1.9-45.novell
Requires:	mono-basic = 1.1.9-45.novell
Requires:	mono-core = 1.1.9-45.novell
Requires:	mono-data = 1.1.9-45.novell
Requires:	mono-data-oracle = 1.1.9-45.novell
Requires:	mono-data-postgresql = 1.1.9-45.novell
Requires:	mono-data-sqlite = 1.1.9-45.novell
Requires:	mono-data-sybase = 1.1.9-45.novell
Requires:	mono-devel = 1.1.9-45.novell
Requires:	mono-extras = 1.1.9-45.novell
Requires:	mono-jscript = 1.1.9-45.novell
Requires:	mono-locale-extras = 1.1.9-45.novell
Requires:	mono-nunit = 1.1.9-45.novell
Requires:	mono-web = 1.1.9-45.novell
Requires:	mono-winforms = 1.1.9-45.novell
Provides:	novell-mono-complete = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

%description -n mono-complete

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

%files -n mono-complete
%defattr(-, root, root)


# $RPM_COMMAND is an environment variable used by the Ximian build
# system to control the build process with finer granularity than RPM
# normally allows.  This specfile will function as expected by RPM if
# $RPM_COMMAND is unset.  If you are not the Ximian build system,
# feel free to ignore it.

%prep
case "${RPM_COMMAND:-all}" in
dist)
%setup  -q -D -n mono-1.1.9
    ;;
all)
%setup  -q -n mono-1.1.9
    ;;
esac

%build
MAKE=${MAKE:-make}
RPM_COMMAND=${RPM_COMMAND:-all}
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"}
ARCH=%{_target_platform}
export MAKE RPM_COMMAND DESTDIR ARCH
case "$RPM_COMMAND" in
prepare|all)
    
	CFLAGS="-O2 " ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/info --localstatedir=/var  --with-preview=yes --with-signaltstack=no
      
    ;;
esac
case "$RPM_COMMAND" in
clean|all)
    if [ "/" != "$DESTDIR" ]; then
	rm -rf "$DESTDIR"
    fi
    ;;
esac
case "$RPM_COMMAND" in
build|all)
    ${MAKE}
    ;;
esac

%install
MAKE=${MAKE:-make}
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"}
# export DESTDIR
case "${RPM_COMMAND:-all}" in
install|all)
    ${MAKE} install prefix=${DESTDIR}/usr libdir=${DESTDIR}/usr/lib64 sysconfdir=${DESTDIR}/etc mandir=${DESTDIR}/usr/share/man infodir=${DESTDIR}/usr/info localstatedir=${DESTDIR}/var mono_libdir=${DESTDIR}/usr/lib
    ;;
esac

%clean
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"}
export DESTDIR
case "${RPM_COMMAND:-all}" in
clean|all)
    if [ "/" != "$DESTDIR" ]; then
	rm -rf "$DESTDIR"
    fi
    ;;
esac


%changelog
* Mon Sep 19 2005 Novell, Inc.

- Version: 1.1.9-45.novell
- Summary: New build.
- New automated build.



More information about the Mono-list mailing list