<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>mono</Name>
        <Homepage>http://www.mono-project.com</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>LGPLv2.1</License>
        <License>X11</License>
        <IsA>app:console</IsA>
        <Icon>mono</Icon>
        <IsA>library</IsA>
        <Summary>Mono runtime and class libraries, a C# compiler/interpreter</Summary>
        <Description>Mono is a software platform designed to allow developers to easily create cross platform applications. It is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.</Description>
        <Archive sha1sum="34080733eb4f4392fb5306f5a6c28207e71864ac" type="tarxz">https://download.mono-project.com/sources/mono/mono-6.12.0.199.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>bash</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>ca-certificates</Dependency>
            <Dependency>libgdiplus-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>mono-runtime</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/mono</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/bin/mono</Path>
            <Path fileType="executable">/usr/bin/mono-test-install</Path>
            <Path fileType="executable">/usr/bin/csharp</Path>
            <Path fileType="executable">/usr/bin/certmgr</Path>
            <Path fileType="executable">/usr/bin/chktrust</Path>
            <Path fileType="executable">/usr/bin/gacutil*</Path>
            <Path fileType="executable">/usr/bin/gmcs</Path>
            <Path fileType="executable">/usr/bin/mcs*</Path>
            <Path fileType="executable">/usr/bin/mozroots</Path>
            <Path fileType="executable">/usr/bin/setreg</Path>
            <Path fileType="executable">/usr/bin/sn</Path>
            <Path fileType="library">/usr/lib/mono/*/csharp*</Path>
            <Path fileType="library">/usr/lib/mono/*/certmgr*</Path>
            <Path fileType="library">/usr/lib/mono/*/chktrust*</Path>
            <Path fileType="library">/usr/lib/mono/*/gacutil*</Path>
            <Path fileType="library">/usr/lib/mono/*/gmcs*</Path>
            <Path fileType="library">/usr/lib/mono/*/mcs*</Path>
            <Path fileType="library">/usr/lib/mono/*/mozroots*</Path>
            <Path fileType="library">/usr/lib/mono/*/setreg*</Path>
            <Path fileType="library">/usr/lib/mono/*/sn*</Path>
            <Path fileType="library">/usr/lib/libMono*.so</Path>
            <Path fileType="library">/usr/lib/libikvm*.so</Path>
            <Path fileType="library">/usr/lib/mono/*/mscorlib*</Path>
            <Path fileType="library">/usr/lib/mono/*/cscompmgd*</Path>
            <Path fileType="library">/usr/lib/mono/*/I18N.West.dll*</Path>
            <Path fileType="library">/usr/lib/mono/gac/I18N.West</Path>
            <Path fileType="library">/usr/lib/mono/*/I18N.dll*</Path>
            <Path fileType="library">/usr/lib/mono/gac/I18N</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.CompilerServices.SymbolWriter*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.CSharp*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.GetOptions*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Management*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Security*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Simd*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Tasklets*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Core*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Security*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Xml.dll*</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Xml</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Xml.Linq*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.dll*</Path>
            <Path fileType="library">/usr/lib/mono/gac/System</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Configuration.dll*</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Configuration</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.C5*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Drawing.dll*</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Drawing</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Posix*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Cairo*</Path>
            <Path fileType="library">/usr/lib/mono/*/ICSharpCode.SharpZipLib*</Path>
            <Path fileType="library">/usr/lib/mono/*/Microsoft.VisualC*</Path>
            <Path fileType="library">/usr/lib/mono/*/Commons.Xml.Relaxng*</Path>
            <Path fileType="library">/usr/lib/mono/*/CustomMarshalers*</Path>
            <Path fileType="library">/usr/lib/mono/*/OpenSystem.C*</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man/man1/csharp.1</Path>
            <Path fileType="man">/usr/share/man/man1/certmgr.1</Path>
            <Path fileType="man">/usr/share/man/man1/chktrust.1</Path>
            <Path fileType="man">/usr/share/man/man1/gacutil.1</Path>
            <Path fileType="man">/usr/share/man/man1/gmcs.1</Path>
            <Path fileType="man">/usr/share/man/man1/mcs.1</Path>
            <Path fileType="man">/usr/share/man/man1/mono.1</Path>
            <Path fileType="man">/usr/share/man/man1/mozroots.1</Path>
            <Path fileType="man">/usr/share/man/man1/setreg.1</Path>
            <Path fileType="man">/usr/share/man/man1/sn.1</Path>
            <Path fileType="man">/usr/share/man/</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="library">/usr/lib/*.a</Path>
            <Path fileType="library">/usr/lib/*.la</Path>
            <Path fileType="library">/usr/lib/libmono*.so*</Path>
            <Path fileType="library">/usr/lib/mono</Path>
            <Path fileType="library">/usr/lib/mono-source-libs</Path>
            <Path fileType="data">/usr/share/mono-2.0</Path>
            <Path fileType="data">/usr/share/libgc-mono</Path>
            <Path fileType="data">/usr/share/jay</Path>
            <Path fileType="data">/usr/lib/binfmt.d</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/binfmt.d/mono.conf">mono.binfmt.d</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>mono-devel</Name>
        <Summary>Header files and libraries used to embed the Mono runtime in an application</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
            <Dependency>monodoc-core</Dependency>
            <Dependency>mono-data</Dependency>
            <Dependency>mono-data-sqlite</Dependency>
            <Dependency>mono-data-oracle</Dependency>
            <Dependency>mono-ibm-data-db2</Dependency>
<!--             <Dependency>mono-nunit</Dependency> -->
            <Dependency>mono-winforms</Dependency>
            <Dependency>mono-web</Dependency>
            <Dependency>mono-wcf</Dependency>
            <Dependency>mono-winfxcore</Dependency>
            <Dependency>mono-extras</Dependency>
            <Dependency>mono-locale-extras</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>monodoc-core</Name>
        <Summary>Mono documentation tools</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/mdoc*</Path>
            <Path fileType="executable">/usr/bin/monodoc*</Path>
            <Path fileType="library">/usr/lib/mono/monodoc</Path>
            <Path fileType="library">/usr/lib/monodoc</Path>
            <Path fileType="library">/usr/lib/mono/*/mdoc*</Path>
            <Path fileType="library">/usr/lib/mono/*/monodoc</Path>
            <Path fileType="man">/usr/share/man/man1/mdoc*</Path>
            <Path fileType="man">/usr/share/man/man5/mdoc.5</Path>
            <Path fileType="man">/usr/share/man/man1/monodoc*</Path>
        </Files>
    </Package>

    <Package>
        <Name>mono-data</Name>
        <Summary>Database connectivity for Mono</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/sql*</Path>
            <Path fileType="library">/usr/lib/mono/*/sql*.ex*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Data.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Data.DataSetExtensions.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Data.Linq.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Data.EnterpriseServices.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Data.DirectoryServices.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Data.Transactions.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Data.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Data.Tds.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Data.TdsClient.dll</Path>
            <Path fileType="library">/usr/lib/mono/*/Novell.Directory.Ldap.dll</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Data</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Data.DataSetExtensions</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Data.Linq</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Data.Services</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Data.EnterpriseServices</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Data.DirectoryServices</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Data.Transactions</Path>
            <Path fileType="library">/usr/lib/mono/gac/Mono.Data</Path>
            <Path fileType="library">/usr/lib/mono/gac/Mono.Data.Tds</Path>
            <Path fileType="library">/usr/lib/mono/gac/Mono.Data.TdsClient</Path>
            <Path fileType="library">/usr/lib/mono/gac/Novell.Directory.Ldap</Path>
            <Path fileType="man">/usr/share/man/man1/sqlsharp.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>mono-data-sqlite</Name>
        <IsA>library</IsA>
        <Summary>Sqlite database connectivity for Mono</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/mono/*/Mono.Data.Sqlit*</Path>
        </Files>
    </Package>

<!--     <Package> -->
<!--         <Name>mono-data-postgresql</Name> -->
<!--         <IsA>library</IsA> -->
<!--         <Summary>PostgreSQL database connectivity for Mono</Summary> -->
<!--         <RuntimeDependencies> -->
<!--             <Dependency>mono-runtime</Dependency> -->
<!--         </RuntimeDependencies> -->
<!--         <Files> -->
<!--             <Path fileType="library">/usr/lib/mono/*/Npgsql*</Path> -->
<!--         </Files> -->
<!--     </Package> -->

    <Package>
        <Name>mono-data-oracle</Name>
        <IsA>library</IsA>
        <Summary>Oracle database connectivity for Mono</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/mono/*/System.Data.OracleClient*</Path>
        </Files>
    </Package>

    <Package>
        <Name>mono-ibm-data-db2</Name>
        <IsA>library</IsA>
        <Summary>IBM DB2 database connectivity for Mono</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/mono/*/IBM.Data.DB2*</Path>
        </Files>
    </Package>

<!--     <Package>
        <Name>mono-nunit</Name>
        <Summary>Unit-testing framework for all .NET languages</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/nunit*</Path>
            <Path fileType="library">/usr/lib/mono/*/nunit*</Path>
        </Files>
    </Package> -->

    <Package>
        <Name>mono-winforms</Name>
        <IsA>library</IsA>
        <Summary>Windows forms implementation for Mono</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/mono/*/System.Design*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Drawing.Design*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Windows.Forms*</Path>
            <Path fileType="library">/usr/lib/mono/*/Accessibility*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.WebBrowser*</Path>
        </Files>
    </Package>

    <Package>
        <Name>mono-web</Name>
        <Summary>ASP.NET, remoting, and web services for Mono</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/mono/mconfig/config.xml</Path>
            <Path fileType="config">/etc/mono/browscap.ini</Path>
            <Path fileType="config">/etc/mono/*/Browsers/Compat.browser</Path>
            <Path fileType="config">/etc/mono/*/DefaultWsdlHelpGenerator.aspx</Path>
            <Path fileType="config">/etc/mono/*/web.config</Path>
            <Path fileType="executable">/usr/bin/disco</Path>
            <Path fileType="executable">/usr/bin/mconfig</Path>
            <Path fileType="executable">/usr/bin/soapsuds</Path>
            <Path fileType="executable">/usr/bin/wsdl*</Path>
            <Path fileType="executable">/usr/bin/xsd*</Path>
            <Path fileType="library">/usr/lib/mono/*/disco*</Path>
            <Path fileType="library">/usr/lib/mono/*/mconfig*</Path>
            <Path fileType="library">/usr/lib/mono/*/soapsuds*</Path>
            <Path fileType="library">/usr/lib/mono/*/wsdl*</Path>
            <Path fileType="library">/usr/lib/mono/*/xsd*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Http*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Web.dll*</Path>
            <Path fileType="library">/usr/lib/mono/gac/Mono.Web</Path>
            <Path fileType="library">/usr/lib/mono/*/System.ComponentModel.DataAnnotations*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Web*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Runtime.Remoting*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Runtime.Serialization.Formatters.Soap*</Path>
            <Path fileType="man">/usr/share/man/man1/disco.1</Path>
            <Path fileType="man">/usr/share/man/man1/mconfig.1</Path>
            <Path fileType="man">/usr/share/man/man1/soapsuds.1</Path>
            <Path fileType="man">/usr/share/man/man1/wsdl.1</Path>
            <Path fileType="man">/usr/share/man/man1/xsd.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>mono-wcf</Name>
        <Summary>Mono implementation of WCF (Windows Communication Foundation)</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/svcutil</Path>
            <Path fileType="library">/usr/lib/mono/*/svcutil*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.IdentityModel*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.IdentityModel.Selectors*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Runtime.Serialization.dll*</Path>
            <Path fileType="library">/usr/lib/mono/gac/System.Runtime.Serialization</Path>
            <Path fileType="library">/usr/lib/mono/*/System.ServiceModel*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.ServiceModel.Web*</Path>
        </Files>
    </Package>

    <Package>
        <Name>mono-winfxcore</Name>
        <IsA>library</IsA>
        <Summary>Mono implementation of core WinFX APIs</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/mono/*/WindowsBase*</Path>
        </Files>
    </Package>

    <Package>
        <Name>mono-extras</Name>
        <Summary>Infrastructure for running and building daemons and services</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/mono-service*</Path>
            <Path fileType="library">/usr/lib/mono/*/mono-service*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Management*</Path>
            <Path fileType="library">/usr/lib/mono/*/RabbitMQ.Client*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Messaging*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Messaging*</Path>
            <Path fileType="library">/usr/lib/mono/*/Mono.Messaging.RabbitMQ*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.ServiceProcess*</Path>
            <Path fileType="library">/usr/lib/mono/*/System.Configuration.Install*</Path>
            <Path fileType="library">/usr/lib/mono/*/Microsoft.Vsa*</Path>
            <Path fileType="man">/usr/share/man/man1/mono-service.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>mono-locale-extras</Name>
        <IsA>library</IsA>
        <Summary>Extra locale information for Mono</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/mono/*/I18N.MidEast*</Path>
            <Path fileType="library">/usr/lib/mono/*/I18N.Rare*</Path>
            <Path fileType="library">/usr/lib/mono/*/I18N.CJK*</Path>
            <Path fileType="library">/usr/lib/mono/*/I18N.Other*</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2023-11-04</Date>
            <Version>6.12.0.199</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2022-07-12</Date>
            <Version>6.12.0.182</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
