<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>eudev</Name>
        <Homepage>https://www.gentoo.org/proj/en/eudev/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>console</IsA>
        <Summary>eudev is a fork of system-udev</Summary>
        <Description>eudev is a fork of system-udev with the goal of obtaining better compatibility with existing software such as OpenRC and Upstart, older kernels, various toolchains and anything else required by users and various distributions.</Description>
        <Archive sha1sum="2e3699c74a39d5450680a617e311fa52559b68f3" type="targz">https://github.com/gentoo/eudev/archive/v3.2.5.tar.gz</Archive>
        <AdditionalFiles>
        <!-- http://www.linuxfromscratch.org/lfs/view/development/chapter06/eudev.html -->
             <AdditionalFile target="config.cache">config.cache</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>glibc-devel</Dependency>
            <Dependency>libkmod-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>gperf</Dependency>
        </BuildDependencies>
        <!--Patches>
            <Patch>upstream.patch</Patch>
        </Patches-->
    </Source>

    <Package>
        <Name>eudev</Name>
        <RuntimeDependencies>
            <Dependency>libkmod</Dependency>
            <Dependency>libutil-linux</Dependency>-
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/bin</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="executable">/lib/udev</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/udev.conf</Path>
            <Path fileType="data">/run/udev</Path>
            <Path fileType="data">/lib/systemd</Path>
            <Path fileType="data">/etc/udev/rules.d</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/udev.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>eudev-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for eudev</Summary>
        <RuntimeDependencies>
            <Dependency release="current">eudev</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/pkgconfig</Path> <!-- check this path usr/share/pkgconfig -->
        </Files>
    </Package>

    <Package>
        <Name>eudev-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for eudev</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libkmod-32bit</Dependency>
            <Dependency>libutil-linux-32bit</Dependency>
        </BuildDependencies>
        <Files>
            <Path fileType="library">/lib32</Path>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="8">
            <Date>2017-12-01</Date>
            <Version>3.2.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-09-06</Date>
            <Version>3.2.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-01-26</Date>
            <Version>3.2.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2016-12-30</Date>
            <Version>3.2.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-23</Date>
            <Version>3.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-15</Date>
            <Version>3.1.5</Version>
            <Comment>Fix grub2 uuid issue </Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>3.1.5</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-05</Date>
            <Version>3.1.5</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
