<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gutenprint</Name>
        <Homepage>http://gimp-print.sourceforge.net/</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>data</IsA>
        <Summary>High quality printer drivers</Summary>
        <Description>gutenprint contains drivers for Canon, Epson, Lexmark, Sony, Olympus, and PCL printers for use with Ghostscript, CUPS, Foomatic, and the Gimp.</Description>
        <Archive sha1sum="46167d00c2a4fb07c3fd3d62c80cd3fa004629f0" type="tarxz">https://sourceforge.net/projects/gimp-print/files/gutenprint-5.3/5.3.4/gutenprint-5.3.4.tar.xz/download</Archive>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="src/cups/cups-genppdupdate.in">fedora/cups-genppdupdate.py.in</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>cups-devel</Dependency>
            <Dependency>foomatic-db</Dependency>
            <Dependency>ghostscript-devel</Dependency>
<!--             <Dependency>cups</Dependency> -->
            <!-- For gutenprint-foomaticppdupdate script -->
            <Dependency>python-cups</Dependency>
            <Dependency>atk-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libusb-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">fedora/gutenprint-build.patch</Patch>
            <Patch level="1">fedora/gutenprint-menu.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gutenprint</Name>
        <RuntimeDependencies>
            <Dependency>cups</Dependency>
            <!-- For gutenprint-foomaticppdupdate script -->
            <Dependency>ghostscript</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libusb</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>fontconfig</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/lib/cups</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man/</Path>
            <Path fileType="data">/usr/share/cups</Path>
            <Path fileType="data">/usr/share/foomatic</Path>
            <Path fileType="data">/usr/share/gutenprint</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/include/gutenprintui2/</Path>
            <Path fileType="data"> /etc/cups/command.types</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/sbin/gutenprint-foomaticppdupdate">fedora/gutenprint-foomaticppdupdate</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>gutenprint-devel</Name>
        <Summary>Development files for gutenprint</Summary>
        <RuntimeDependencies>
            <Dependency>gtk2-devel</Dependency>
            <Dependency release="current">gutenprint</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/gutenprint</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="12">
            <Date>2022-12-04</Date>
            <Version>5.3.4</Version>
            <Comment>Rebuild for foomatic</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2022-05-28</Date>
            <Version>5.3.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2022-03-11</Date>
            <Version>5.3.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-03-14</Date>
            <Version>5.3.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-03-10</Date>
            <Version>5.3.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-10-24</Date>
            <Version>5.3.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2019-10-23</Date>
            <Version>5.2.14</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-01-11</Date>
            <Version>5.2.14</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-08-13</Date>
            <Version>5.2.13</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-12-15</Date>
            <Version>5.2.13</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>5.2.12</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.2.11</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-13</Date>
            <Version>5.2.11</Version>
            <Comment>First release</Comment>
            <Name>Ali Algul</Name>
            <Email>alialgul@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
