<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>lirc</Name>
        <Homepage>http://www.lirc.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <IsA>service</IsA>
        <Summary>Linux Infrared Remote Control system</Summary>
        <Description>lirc is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls.</Description>
        <Archive sha1sum="9d6f6d18ac566a96ef4ca1d6909a4e8bc517d48a" type="tarbz2">https://sourceforge.net/projects/lirc/files/LIRC/0.10.1/lirc-0.10.1.tar.bz2/download</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libftdi-devel</Dependency>
            <Dependency>libusb-compat-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">lirc-lib-curl_poll.h-Ensure-build-on-unconfiguredclients.patch</Patch> -->
<!--             <Patch level="1">lirc-configure-libudev.patch</Patch> -->
<!--             <Patch level="1">lirc.pc-Fix-bad-library-specification-236.patch</Patch> -->
<!--             <Patch level="1">Build-Use-HAVE_UINPUT-1-to-force-building-uinput-cod.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>lirc</Name>
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libftdi</Dependency>
            <Dependency>libusb-compat</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libusb</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
            <Path fileType="man">/usr/share/man/man5</Path>
            <Path fileType="man">/usr/share/man/man8</Path>
            <Path fileType="data">/usr/share/lirc</Path>
            <Path fileType="data">/run</Path>
            <Path fileType="data">/var</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/lirc">lirc.conf.d</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/lirc.conf">lirc.tmpfiles</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/logrotate/lirc">lirc.logrotate</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

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

    <History>
        <Update release="5">
            <Date>2017-11-05</Date>
            <Version>0.10.1</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-09-22</Date>
            <Version>0.9.4c</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>0.9.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-27</Date>
            <Version>0.9.3</Version>
            <Comment>Release bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>0.9.3</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
