<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libuser</Name>
        <Homepage>https://fedorahosted.org/libuser</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>A user and group account administration library</Summary>
        <Description>libuser implements a standardized interface for manipulating and administering user and group accounts. The library uses pluggable back-ends to interface to its data sources.</Description>
        <Archive sha1sum="e0fe60dd38f3b5777d0a4ad664725eddd18ef310" type="tarxz">https://releases.pagure.org/libuser/libuser-0.62.tar.xz</Archive>
        <BuildDependencies>
                <Dependency>pam-devel</Dependency>
                <Dependency>popt-devel</Dependency>
                <Dependency versionFrom="2.70.0">glib2-devel</Dependency>
                <Dependency>python-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>libuser-0.56.15-fix_blowfish.patch</Patch>
            <Patch>libuser-0.56.9-fix-str-fmt.patch</Patch>
	    <!--<Patch level="1">disable-sgml2x-conversion.diff</Patch>
	    <Patch level="0">add-python-linkage.diff</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>libuser</Name>
        <RuntimeDependencies>
                <Dependency>pam</Dependency>
                <Dependency>popt</Dependency>
                <Dependency>glib2</Dependency>
                <Dependency>python</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <!-- WARNING: To be removed in Bootstrap -->
    <!--Package>
        <Name>libuser-ldap</Name>
        <PartOf>server.misc</PartOf>
        <Summary>LDAP library of libuser</Summary>
        <RuntimeDependencies>
            <Dependency>openldap-client</Dependency>
            <Dependency>libuser</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libuser/*ldap*</Path>
        </Files>
    </Package-->


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

    <History>
	<Update release="7">
            <Date>2021-10-02</Date>
            <Version>0.62</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2021-05-27</Date>
            <Version>0.62</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-12-09</Date>
            <Version>0.62</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
		<Update release="5">
            <Date>2019-2-27</Date>
            <Version>0.62</Version>
            <Comment>Rebuild</Comment>
            <Name>idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-09-16</Date>
            <Version>0.62</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
	    <Update release="3">
            <Date>2017-01-25</Date>
            <Version>0.62</Version>
            <Comment>Rebuild.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>0.62</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-08</Date>
            <Version>0.62</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
