<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>cpupowertools</Name>
        <Homepage>https://www.kernel.org</Homepage>
        <Packager>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>CPU power management tools</Summary>
        <Description>cpupowertools contains utilities to manage power management and frequency scaling policies of modern CPUs.</Description>
        <Archive sha1sum="f32e356ea8376d9120efe513b1da882540b0d297" type="targz">https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.9.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>pciutils-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Linux patches -->
            <Patch level="1" compressionType="xz">patches/linux/patch-5.9.13.xz</Patch>
            <!-- Mageia Linux patches-->
            <Patch level="1">patches/mageia/aufs5.patch</Patch>
            <Patch level="1">patches/mageia/CVE-2019-12379.patch</Patch>
            <Patch level="1">patches/mageia/CVE-2020-16119-DCCP-CCID-structure-use-after-free.patch</Patch>
<!--             <Patch level="1">patches/mageia/3rd-ndiswrapper-Kconfig.patch</Patch> -->
<!--             <Patch level="1">patches/mageia/3rd-ndiswrapper-1.63.patch</Patch> -->
<!--             <Patch level="1">patches/mageia/3rd-ndiswrapper-Makefile-build-fix.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>cpupowertools</Name>
        <RuntimeDependencies>
            <Dependency>pciutils</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/conf.d</Path>
            <Path fileType="executable">/usr/bin/cpupower</Path>
            <Path fileType="executable">/usr/bin/*-decode</Path>
            <Path fileType="library">/usr/lib/libcpupower*</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/man1/cpupower*</Path>
            <Path fileType="locale">/usr/share/locale/*/*/cpupower.mo</Path>
			<Path fileType="data">/usr/share/bash-completion/completions/cpupower</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/cpupower">cpupower.conf.d</AdditionalFile>
        </AdditionalFiles>
        <!--<Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>-->
    </Package>
   
    <History>
        <Update release="43">
            <Date>2020-12-08</Date>
            <Version>5.9.13</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="42">
            <Date>2020-09-27</Date>
            <Version>5.8.12</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="41">
            <Date>2020-09-10</Date>
            <Version>5.8.8</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="40">
            <Date>2020-08-07</Date>
            <Version>5.7.14</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="39">
            <Date>2020-08-05</Date>
            <Version>5.7.13</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="38">
            <Date>2020-06-17</Date>
            <Version>5.6.19</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="37">
            <Date>2020-05-29</Date>
            <Version>5.6.15</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="36">
            <Date>2020-05-11</Date>
            <Version>5.6.12</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="35">
            <Date>2020-05-04</Date>
            <Version>5.6.10</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="34">
            <Date>2020-04-22</Date>
            <Version>5.6.6</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="33">
            <Date>2020-04-13</Date>
            <Version>5.6.4</Version>
            <Comment>Version bump</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="32">
            <Date>2020-04-03</Date>
            <Version>5.5.15</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="31">
            <Date>2020-02-13</Date>
            <Version>5.4.19</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="30">
            <Date>2020-01-30</Date>
            <Version>5.4.16</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="29">
            <Date>2020-01-12</Date>
            <Version>5.4.10</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="28">
            <Date>2020-01-05</Date>
            <Version>5.4.8</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
		<Update release="27">
            <Date>2019-12-27</Date>
            <Version>5.4.6</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2019-06-26</Date>
            <Version>4.19.56</Version>
            <Comment>Update.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2019-05-11</Date>
            <Version>4.19.34</Version>
            <Comment>Update.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2019-04-06</Date>
            <Version>4.19.34</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2019-01-20</Date>
            <Version>4.19.16</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2018-12-22</Date>
            <Version>4.14.90</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2018-10-05</Date>
            <Version>4.14.73</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2018-08-07</Date>
            <Version>4.14.61</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2018-07-15</Date>
            <Version>4.14.55</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2018-07-13</Date>
            <Version>4.14.55</Version>
            <Comment>Release bump.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="17">
            <Date>2018-03-11</Date>
            <Version>4.9.86</Version>
            <Comment>Release bump.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="16">
            <Date>2018-03-03</Date>
            <Version>4.9.80</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="15">
            <Date>2018-01-06</Date>
            <Version>4.9.75</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2017-12-20</Date>
            <Version>4.9.70</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="13">
            <Date>2017-12-07</Date>
            <Version>4.9.66</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="12">
            <Date>2017-11-19</Date>
            <Version>4.9.63</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2017-08-21</Date>
            <Version>4.9.44</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2017-07-04</Date>
            <Version>4.9.35</Version>
            <Comment>Version bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2017-03-30</Date>
            <Version>4.9.18</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2017-02-15</Date>
            <Version>4.9.6</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2016-12-10</Date>
            <Version>4.8.13</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-08-24</Date>
            <Version>4.7.2</Version>
            <Comment>Release bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-08-06</Date>
            <Version>4.7.0</Version>
            <Comment>Rebuild with patches</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-25</Date>
            <Version>4.7.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-28</Date>
            <Version>4.6.3</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>4.4.4</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-06</Date>
            <Version>4.4.4</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
