<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>glib2</Name>
        <Homepage>http://www.gtk.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>A library of handy utility functions</Summary>
        <Description>glib2 is the low-level core library that forms the basis for projects such as GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.</Description>
        <Archive sha1sum="685b3c0529c4d1b7a5e4931bfe2319e5928e4a53" type="tarxz">mirrors://gnome/glib/2.44/glib-2.44.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="8.36">libpcre-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
            <!--<Dependency>libxslt</Dependency>-->
            <!--<Dependency versionFrom="0.161">elfutils</Dependency>-->
            <!--<Dependency>docbook-xml</Dependency>-->
        </BuildDependencies>
        <Patches>
            <Patch level="1">revert-warn-glib-compile-schemas.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>glib2</Name>
        <RuntimeDependencies>
            <Dependency>libpcre</Dependency>
            <Dependency>zlib</Dependency>
            <!--<Dependency>elfutils</Dependency>-->
            <Dependency>libffi</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/etc/profile.d</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/share/bash-completion/completions/</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/glib-2.0</Path>
            <Path fileType="data">/usr/share/systemtap</Path>
            <Path fileType="data">/usr/share/glib-2.0/schemas</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/profile.d/glib2.sh">glib2.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/profile.d/glib2.csh">glib2.csh</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="pakhandler.py">System.PackageHandler</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>glib2-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for glib2</Summary>
        <RuntimeDependencies>
            <Dependency release="current">glib2</Dependency>
            <Dependency>libpcre-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/gtester</Path>
            <Path fileType="executable">/usr/bin/gtester-report</Path>
            <Path fileType="executable">/usr/bin/gobject-query</Path>
            <Path fileType="executable">/usr/bin/glib-genmarshal</Path>
            <Path fileType="executable">/usr/bin/glib-gettextize</Path>
            <Path fileType="executable">/usr/bin/glib-mkenums</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="header">/usr/lib/glib-2.0/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="data">/usr/share/glib-2.0/schemas/gschema.dtd</Path>
            <Path fileType="data">/usr/share/glib-2.0/gettext</Path>
            <Path fileType="data">/usr/share/glib-2.0/gdb</Path>
            <Path fileType="data">/usr/share/gdb/auto-load/libglib-2.0.so.*-gdb.py*</Path>
            <Path fileType="data">/usr/share/gdb/auto-load/libgobject-2.0.so.*-gdb.py*</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
            <Path fileType="man">/usr/share/man/man1/glib-genmarshal.1</Path>
            <Path fileType="man">/usr/share/man/man1/glib-gettextize.1</Path>
            <Path fileType="man">/usr/share/man/man1/glib-mkenums.1</Path>
            <Path fileType="man">/usr/share/man/man1/gobject-query.1</Path>
            <Path fileType="man">/usr/share/man/man1/gtester-report.1</Path>
            <Path fileType="man">/usr/share/man/man1/gtester.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>glib2-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for glib2</Summary>
        <BuildType>_emul32</BuildType>
        <BuildDependencies>
            <Dependency>libpcre-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>libffi-32bit</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>glibc-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">glib2</Dependency>
            <Dependency>libpcre-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>libffi-32bit</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>glibc-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/32</Path>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
        <Provides>
            <COMAR script="pakhandler32.py">System.PackageHandler</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>glib2-docs</Name>
        <Summary>Documentation files for glib2</Summary>
        <Description>Extensive documentation for developers wanting to use the GLib Library</Description>
        <Files>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="14">
            <Date>2015-04-08</Date>
            <Version>2.44.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="13">
            <Date>2014-10-01</Date>
            <Version>2.42.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="12">
            <Date>2014-05-11</Date>
            <Version>2.40.0</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2014-04-15</Date>
            <Version>2.40.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2014-03-29</Date>
            <Version>2.38.2</Version>
            <Comment>Minor version bump.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2013-10-22</Date>
            <Version>2.38.1</Version>
            <Comment>Minor version bump.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2013-10-10</Date>
            <Version>2.38.0</Version>
            <Comment>Bump.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2013-09-05</Date>
            <Version>2.36.3</Version>
            <Comment>Add missing method to pakhandler.py</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2013-07-26</Date>
            <Version>2.36.3</Version>
            <Comment>Fix dep, release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-07-14</Date>
            <Version>2.36.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-06-11</Date>
            <Version>2.36.0</Version>
            <Comment>add missing dep.</Comment>
            <Name>Erdinç Gültekin</Name>
            <Email>erdincgultekin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-05-16</Date>
            <Version>2.36.0</Version>
            <Comment>Path Fixed.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-03-30</Date>
            <Version>2.36.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-11-21</Date>
            <Version>2.35.2</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
