<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gdal</Name>
        <Homepage>https://gdal.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>science.gis</PartOf>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>A translator library for raster geospatial data formats (includes OGR support)</Summary>
        <Description>GDAL is a translator library for raster geospatial data formats which presents a single abstract data model to the calling application for all supported formats.</Description>
        <Archive sha1sum="3fedd60ac105946e51008c306721e27e01165e7c" type="targz">http://download.osgeo.org/gdal/3.7.3/gdal-3.7.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>swig</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>hdf5-devel</Dependency>
            <Dependency>geos-devel</Dependency>
            <Dependency>proj-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>netcdf-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>unixODBC-devel</Dependency>
            <Dependency>openjpeg2-devel</Dependency>
            <Dependency>libgeotiff-devel</Dependency>
            <Dependency>libspatialite-devel</Dependency>
            <Dependency>mariadb-lib</Dependency>
            <!-- for python bindings-->
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-numpy</Dependency>
            <Dependency>python3-build</Dependency>
            <Dependency>python3-setuptools</Dependency>
            <!-- for building man files
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-breathe</Dependency>
            <Dependency>python3-sphinx_rtd_theme</Dependency>
            -->
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gdal</Name>
        <Summary>A translator library for raster geospatial data formats (includes OGR support)</Summary>
        <RuntimeDependencies>
            <Dependency>geos</Dependency>
            <Dependency>hdf5</Dependency>
            <Dependency>proj</Dependency>
            <Dependency>swig</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>netcdf</Dependency>
            <Dependency>libfreexl</Dependency>
            <Dependency>openjpeg2</Dependency>
            <Dependency>libgeotiff</Dependency>
            <Dependency>unixODBC</Dependency>
            <Dependency>mariadb-lib</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libspatialite</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
        </Files>
    </Package>

    <Package>
        <Name>python-gdal</Name>
        <Summary>gdal python bindings</Summary>
        <RuntimeDependencies>
            <Dependency>python</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>python3-numpy</Dependency>
            <Dependency release="current">gdal</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/epsg_tr.py</Path>
            <Path fileType="executable">/usr/bin/pct2rgb.py</Path>
            <Path fileType="executable">/usr/bin/rgb2pct.py</Path>
            <Path fileType="executable">/usr/bin/esri2wkt.py</Path>
            <Path fileType="executable">/usr/bin/gcps2vec.py</Path>
            <Path fileType="executable">/usr/bin/gcps2wld.py</Path>
            <Path fileType="executable">/usr/bin/gdal2xyz.py</Path>
            <Path fileType="executable">/usr/bin/gdalmove.py</Path>
            <Path fileType="executable">/usr/bin/ogrmerge.py</Path>
            <Path fileType="executable">/usr/bin/gdal_auth.py</Path>
            <Path fileType="executable">/usr/bin/gdal_calc.py</Path>
            <Path fileType="executable">/usr/bin/gdal_edit.py</Path>
            <Path fileType="executable">/usr/bin/gdalident.py</Path>
            <Path fileType="executable">/usr/bin/gdal2tiles.py</Path>
            <Path fileType="executable">/usr/bin/gdal_merge.py</Path>
            <Path fileType="executable">/usr/bin/gdal_sieve.py</Path>
            <Path fileType="executable">/usr/bin/gdalchksum.py</Path>
            <Path fileType="executable">/usr/bin/gdalimport.py</Path>
            <Path fileType="executable">/usr/bin/gdal_retile.py</Path>
            <Path fileType="executable">/usr/bin/gdalcompare.py</Path>
            <Path fileType="executable">/usr/bin/mkgraticule.py</Path>
            <Path fileType="executable">/usr/bin/gdal_proximity.py</Path>
            <Path fileType="executable">/usr/bin/gdal_fillnodata.py</Path>
            <Path fileType="executable">/usr/bin/gdal_pansharpen.py</Path>
            <Path fileType="executable">/usr/bin/gdal_polygonize.py</Path>
            <Path fileType="executable">/usr/bin/ogr_layer_algebra.py</Path>
            <Path fileType="executable">/usr/bin/gdalattachpct.py</Path>
            <Path fileType="header">/usr/lib/python3*</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="8">
            <Date>2023-11-04</Date>
            <Version>3.7.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-09-24</Date>
            <Version>3.1.3</Version>
            <Comment>Major version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="6">
            <Date>2019-02-07</Date>
            <Version>2.3.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-02-15</Date>
            <Version>2.2.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-02-14</Date>
            <Version>2.2.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-05-30</Date>
            <Version>2.2.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-24</Date>
            <Version>2.0.2</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
