<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
    <Source>
        <Name>system-config-printer</Name>
        <Homepage>http://cyberelk.net/tim/software/system-config-printer</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>A printer administration tool</Summary>
        <Description>system-config-printer is a graphical user interface that allows the user to configure a CUPS print server.</Description>
        <Archive sha1sum="bd79f87de9576a13c2d099181fea01a63b9f19cc" type="tarxz">http://cyberelk.net/tim/data/system-config-printer/1.5/system-config-printer-1.5.7.tar.xz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="po/tr.po">tr.po</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>util-linux</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libusb-devel</Dependency>
            <Dependency>libgnome-keyring-devel</Dependency>
            <Dependency>desktop-file-utils</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">40_scp-dbus-service-fix-dbus-signature-typo.patch</Patch> -->
            <!-- Replace emblem-default by dialog-ok -->
            <Patch level="1">fix-icon.patch</Patch>
<!--             <Patch level="1">system-config-printer-device-sorting.patch</Patch> -->
            <Patch level="1">system-config-printer-shbang.patch</Patch>
            <!-- Improvements for check-device-ids from upstream -->
            <!--Patch level="1">system-config-printer-check-device-ids.patch</Patch-->
            <!-- Fixed traceback in newprinter.py -->
            <!--Patch level="1">system-config-printer-self.printers.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>system-config-printer</Name>
        <RuntimeDependencies>
            <Dependency>eudev</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libusb</Dependency>
            <Dependency>libgnome-keyring</Dependency>
            <Dependency>python-cups</Dependency>
            <Dependency>python-smbc</Dependency>
            <Dependency>dbus-python</Dependency>
            <Dependency>python-pygobject3</Dependency>
            <Dependency>cups</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="config">/etc/dbus-1</Path>
            <Path fileType="data">/etc/cupshelpers</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/system-config-printer/debug.py</Path>
            <Path fileType="data">/usr/share/appdata/system-config-printer.appdata.xml</Path>
            <Path fileType="data">/usr/share/system-config-printer/smburi.py</Path>
            <Path fileType="data">/usr/share/system-config-printer/config.py</Path>
            <Path fileType="data">/usr/share/system-config-printer/ppdippstr.py</Path>
            <Path fileType="library">/lib/systemd/system/configure-printer@.service</Path>
            <Path fileType="data">/run/udev-configure-printer</Path>
            <Path fileType="executable">/lib/udev</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/system-config-printer.conf</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/system-config-printer.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
    </Package>
    <Package>
        <Name>system-config-printer-gtk</Name>
        <Summary>GTK+ frontend of system-config-printer</Summary>
        <RuntimeDependencies>
            <Dependency>python-gtk</Dependency>
            <Dependency>notify-python</Dependency>
            <Dependency>python-pygobject</Dependency>
            <Dependency>python-pygobject3</Dependency>
            <Dependency>system-config-printer</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/man</Path>
            <Path fileType="data">/usr/share/system-config-printer</Path>
            <Path fileType="data">/etc/xdg/autostart</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-01</Date>
            <Version>1.5.7</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.5.7</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-25</Date>
            <Version>1.5.7</Version>
            <Comment>Release bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>1.5.7</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
