<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>icecast</Name>
        <Homepage>http://www.icecast.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>icecast</Icon>
        <IsA>service</IsA>
        <Summary>ShoutCast compatible streaming media server</Summary>
        <Description>Icecast is a streaming media server which currently supports Ogg Vorbis and MP3 audio streams. It can be used to create an Internet radio station or a privately running jukebox and many things in between.</Description>
        <Archive sha1sum="230e2aa5abf80010c42d41cc7c0b078fb542b080" type="targz">http://downloads.xiph.org/releases/icecast/icecast-2.4.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libkate-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">pthread_flag.patch</Patch>
            <Patch level="1">icecast.conf.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>icecast</Name>
        <RuntimeDependencies>
            <Dependency>libxslt</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>libkate</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libtheora</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>openssl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/icecast</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/icecast</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/var</Path>
            <Path fileType="data">/run</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/icecast.conf</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/icecast.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-15</Date>
            <Version>2.4.3</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.4.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-08</Date>
            <Version>2.4.3</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
