<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libqalculate</Name>
        <Homepage>http://qalculate.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>science.mathematics</PartOf>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>Multi-purpose calculator library</Summary>
        <Description>libqalculate underpins the Qalculate! multi-purpose desktop calculator for GNU/Linux.</Description>
        <Archive sha1sum="201e400561cbfaf911ca43d4d639ef5f4199f95c" type="targz">https://github.com/Qalculate/libqalculate/releases/download/v4.8.1/libqalculate-4.8.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>doxygen</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>cln-devel</Dependency>
            <Dependency>gmp-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>mpfr-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>icu4c-devel</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>perl-XML-Parser</Dependency>
            <Dependency>perl-Locale-gettext</Dependency>
        </BuildDependencies>
        <Patches>
            <!--<Patch level="1">libqalculate-0.9.6-check-fix.patch</Patch> --> -->
            <!--<Patch level="1">libqalculate-0.9.6-gcc4.3.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>libqalculate</Name>
        <Summary>Multi-purpose calculator library</Summary>
        <RuntimeDependencies>
            <Dependency>cln</Dependency>
            <Dependency>gmp</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>mpfr</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/qalculate</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <Package>
        <Name>libqalculate-devel</Name>
        <Summary>Development files for libqalculate</Summary>
        <RuntimeDependencies>
            <Dependency>cln-devel</Dependency>
            <Dependency>mpfr-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency release="current">libqalculate</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="9">
            <Date>2023-11-04</Date>
            <Version>4.8.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2023-10-17</Date>
            <Version>4.4.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2022-10-18</Date>
            <Version>4.4.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-05-26</Date>
            <Version>3.10.0</Version>
            <Comment>Minor version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="5">
            <Date>2020-02-03</Date>
            <Version>3.7.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-08-15</Date>
            <Version>2.6.1</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>0.9.10</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>0.9.7</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-06-14</Date>
            <Version>0.9.7</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
