<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libindi</Name>
        <Homepage>http://www.indilib.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <Summary>Astronomical control protocol library</Summary>
        <Description>indilib is a distributed control protocol designed to operate astronomical instrumentation. indilib is small, flexible, easy to parse, and scalable.</Description>
        <Archive sha1sum="cf2ceddd4344755de282a30b981eb5d31d2b2a0c" type="targz">http://downloads.sourceforge.net/project/indi/libindi_1.6.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libnova-devel</Dependency>
            <Dependency>cfitsio-devel</Dependency>
            <Dependency>gsl-devel</Dependency>
             <Dependency>curl-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libusb-devel</Dependency>
             <Dependency>boost-devel</Dependency>
             <Dependency>zlib-devel</Dependency>
             <Dependency>pkgconfig</Dependency>
            <Dependency>cmake</Dependency>            
        </BuildDependencies>
        <Patches>
<!--             <Patch>libindi-fsf.patch</Patch> -->
<!--             <Patch level="1">libindi-cfitsio.patch</Patch> -->
<!--             <Patch level="1">make-shared.diff</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>libindi</Name>
        <RuntimeDependencies>
            <Dependency>libnova</Dependency>
            <Dependency>cfitsio</Dependency>
            <Dependency>gsl</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libusb</Dependency>
            <Dependency>gsl</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="rules">/lib/udev/rules.d</Path>
            <Path fileType="data">/usr/share/indi</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="5">
            <Date>2018-03-22</Date>
            <Version>1.6.2</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-02-13</Date>
            <Version>1.6.2</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-05-18</Date>
            <Version>1.4.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.2.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-18</Date>
            <Version>1.2.0</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
