<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>baselayout</Name>
        <Homepage>https://pisilinux.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <IsA>data</IsA>
        <Summary>Filesystem baselayout</Summary>
        <Description>baselayout creates the Pisi Linux Linux main filesystem hierarchy.</Description>
        <Archive sha1sum="01938089490008e73aae63cf8917a848736e2f7c" type="targz">https://sourceforge.net/projects/pisilinux/files/source/baselayout-3.10.1.tar.gz</Archive>
        <Patches>
            <Patch>group_fstab.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>baselayout</Name>
        <RuntimeDependencies>
            <Dependency>pypolkit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable" permanent="true">/bin</Path>
            <Path fileType="executable" permanent="true">/sbin</Path>
            <Path fileType="library" permanent="true">/lib*</Path>
            <Path fileType="config" permanent="true">/etc</Path>
            <Path fileType="data" permanent="true">/etc/pisilinux-release</Path>
            <Path fileType="data" permanent="true">/media</Path>
            <Path fileType="data" permanent="true">/boot</Path>
            <Path fileType="data" permanent="true">/proc</Path>
            <Path fileType="data" permanent="true">/home</Path>
            <Path fileType="data" permanent="true">/mnt</Path>
            <Path fileType="data" permanent="true">/opt</Path>
            <Path fileType="data" permanent="true">/dev</Path>
            <Path fileType="data" permanent="true">/run</Path>
            <Path fileType="data" permanent="true">/sys</Path>
            <Path fileType="data" permanent="true">/srv</Path>
            <Path fileType="data" permanent="true">/tmp</Path>
            <Path fileType="data" permanent="true">/usr</Path>
            <Path fileType="data" permanent="true">/var</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/baselayout.conf</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/baselayout.conf">baselayout.conf</AdditionalFile>

            <!-- Update these from fedora's setup package -->
            <AdditionalFile owner="root" permission="0644" target="/etc/services">services</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/protocols">protocols</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/sysctl.conf">sysctl.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/baselayout/inittab.live">inittab.live</AdditionalFile>
            <!-- Release file for Pisi Linux, there's another in lsb-release package -->
            <AdditionalFile owner="root" permission="0644" target="/etc/pisilinux-release">pisilinux-release</AdditionalFile>
            <!-- os-release file for same package need this (fwupd) -->
            <AdditionalFile owner="root" permission="0644" target="/etc/os-release">os-release</AdditionalFile>
            <!-- Should be dropped after switching to systemd as the only user is COMAR -->
            <AdditionalFile owner="root" permission="0644" target="/usr/share/man/man8/start-stop-daemon.8">start-stop-daemon.8</AdditionalFile>

            <AdditionalFile owner="root" permission="0644" target="/etc/hostname">01hostname</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="pakhandler.py">System.PackageHandler</COMAR>
            <COMAR script="package.py">System.Package</COMAR>
            <COMAR script="usermgr.py">User.Manager</COMAR>
            <COMAR script="stack.py">Network.Stack</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="29">
            <Date>2025-11-23</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild for 2.4.3</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="28">
            <Date>2025-09-01</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild for 2.4.1</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="27">
            <Date>2025-06-09</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild for 2.4.1</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2024-04-23</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild 2.4</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2023-08-25</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild 2.3.4</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2023-07-11</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild 2.3.3</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2023-03-30</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild 2.3.2.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2023-01-06</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild 2.3.1.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2022-11-20</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2022-10-01</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild.For 2.3</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2022-08-21</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild.For 2.3</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2022-08-21</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild.For 2.3</Comment>
            <Name>Ali Cengiz Kurt</Name>
            <Email>alicengizkurt@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2021-09-07</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2021-09-07</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2021-06-09</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2021-02-12</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild.For 2.2</Comment>
            <Name>Ali Cengiz Kurt</Name>
            <Email>alicengizkurt@gmail.com</Email>
        </Update>
		<Update release="12">
            <Date>2019-12-26</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2019-11-07</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Safa Arıman</Name>
            <Email>safa@ariman.gen.tr</Email>
        </Update>
        <Update release="10">
            <Date>2019-10-28</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild for version name</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2019-10-28</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Erkan IŞIK</Name>
            <Email>erkanisik@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2019-10-19</Date>
            <Version>3.10.1</Version>
            <Comment>fix pisi version and name.</Comment>
            <Name>Erkan IŞIK</Name>
            <Email>erkanisik@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2018-12-08</Date>
            <Version>3.10.1</Version>
            <Comment>add new group; input - plugdev.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
         <Update release="6">
            <Date>2018-11-14</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-07-15</Date>
            <Version>3.10.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-03-28</Date>
            <Version>3.10.1</Version>
            <Comment>Version bump for 2.0 Stable.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-04-04</Date>
            <Version>3.10.1</Version>
            <Comment>Version Bump for RC</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-19</Date>
            <Version>3.10.1</Version>
            <Comment>Version Bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>3.10.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-06</Date>
            <Version>3.10.0</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
