<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ModemManager</Name>
        <Homepage>http://projects.gnome.org/NetworkManager</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        <IsA>service</IsA>
        <Summary>A manager framework for mobile broadband modems</Summary>
        <Description>ModemManager provides a unified high level API for communicating with mobile broadband modems.</Description>
        <Archive sha1sum="c55bb358cda73f50f936e4c479a04c4dfe3773d8" type="tarbz2">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/archive/1.22.0/ModemManager-1.22.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>meson</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libgudev-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>polkit-devel</Dependency>
            <Dependency>ppp-devel</Dependency>
            <Dependency versionFrom="1.34.0">libqmi-devel</Dependency>
            <Dependency versionFrom="1.30.0">libmbim-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>docbook-xsl</Dependency>
<!--             <Dependency>python-six</Dependency> -->
            <Dependency>vala-devel</Dependency>
            <Dependency>elogind-devel</Dependency>
            <Dependency>autoconf-archive</Dependency>
            <Dependency>dbus-python3</Dependency>
            <Dependency>bash-completion</Dependency>
            <Dependency>python3-pygobject3-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">strict-filter.diff</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>ModemManager</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>libqmi</Dependency>
            <Dependency>polkit</Dependency>
            <Dependency>libmbim</Dependency>
            <Dependency>libgudev</Dependency>
            <Dependency>libmm-glib</Dependency>
            <Dependency>libqrtr-glib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/ModemManager/fcc-unlock.d</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/gir-1.0/ModemManager-1.0.gir</Path>
            <Path fileType="data">/lib/udev/rules.d/</Path>
            <Path fileType="data">/etc/dbus-1/system.d/</Path>
            <Path fileType="library">/usr/lib/ModemManager</Path>
            <Path fileType="library">/usr/lib/girepository-1.0/ModemManager-1.0.typelib</Path>
            <Path fileType="man">/usr/share/man/man8/ModemManager.8</Path>
            <Path fileType="man">/usr/share/man/man1/mmcli.1</Path>
<!--             <Path fileType="data">/usr/share/gtk-doc</Path> -->
            <Path fileType="data">/usr/share/polkit-1</Path>
            <Path fileType="data">/usr/share/bash-completion</Path>
            <Path fileType="data">/usr/share/ModemManager/fcc-unlock.available.d</Path>
            <Path fileType="data">/usr/share/ModemManager/mm-foxconn-carrier-mapping.conf</Path>
            <Path fileType="data">/usr/share/ModemManager/mm-foxconn-t77w968-carrier-mapping.conf</Path>
            <Path fileType="data">/usr/share/ModemManager/mm-foxconn-t99w175-carrier-mapping.conf</Path>
            <Path fileType="data">/usr/share/ModemManager/mm-dell-dw5821e-carrier-mapping.conf</Path>
            <Path fileType="config">/etc/ModemManager/connection.d</Path>
            <Path fileType="data">/usr/share/ModemManager/connection.available.d/99-log-event</Path>
        </Files>
    </Package>

    <Package>
        <Name>ModemManager-devel</Name>
        <Summary>Development files for ModemManager</Summary>
        <RuntimeDependencies>
            <Dependency release="current">ModemManager</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/ModemManager/</Path>
            <Path fileType="data">/usr/lib/pkgconfig/ModemManager.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libmm-glib</Name>
        <Summary>D-Bus service for managing modems - shared libraries</Summary>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>libgudev</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/vala/vapi/libmm-glib.vapi </Path>
            <Path fileType="data">/usr/share/vala/vapi/libmm-glib.deps </Path>
            <Path fileType="data">/usr/lib/libmm-glib.so*</Path>
            <Path fileType="man">/usr/share/man/man8/mmcli.8</Path>
        </Files>
    </Package>

    <Package>
        <Name>libmm-glib-devel</Name>
        <Summary>Development files for libmm-glib</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libmm-glib</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>ModemManager-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/libmm-glib/</Path>
            <Path fileType="data">/usr/lib/pkgconfig/mm-glib.pc</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>ModemManager-docs</Name>
        <Summary>Development files for ModemManager</Summary>
        <RuntimeDependencies>
            <Dependency release="current">ModemManager</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/gtk-doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="24">
            <Date>2023-10-12</Date>
            <Version>1.22.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2023-03-02</Date>
            <Version>1.20.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2023-01-04</Date>
            <Version>1.20.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2022-11-24</Date>
            <Version>1.20.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2022-09-21</Date>
            <Version>1.18.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2022-06-26</Date>
            <Version>1.18.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2022-05-29</Date>
            <Version>1.18.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2021-11-27</Date>
            <Version>1.18.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2021-10-24</Date>
            <Version>1.16.8</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2021-08-04</Date>
            <Version>1.16.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2021-06-24</Date>
            <Version>1.14.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2021-02-25</Date>
            <Version>1.14.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2020-12-15</Date>
            <Version>1.14.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2020-07-10</Date>
            <Version>1.14.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-05-20</Date>
            <Version>1.12.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-04-30</Date>
            <Version>1.12.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-02-02</Date>
            <Version>1.10.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-10-26</Date>
            <Version>1.10.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-08-13</Date>
            <Version>1.6.12</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-02-19</Date>
            <Version>1.6.12</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-19</Date>
            <Version>1.6.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-12</Date>
            <Version>1.6.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilnux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.4.12</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-25</Date>
            <Version>1.4.12</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
