<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>lvm2</Name>
        <Homepage>http://sources.redhat.com/lvm/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Userland logical volume management tools</Summary>
        <Description>LVM2 includes all of the support for handling read/write operations physical and logical volumes.</Description>
        <Archive sha1sum="8d54ecbc27f44f4b601b13cbd4a3f66147e7e567" type="targz">http://mirrors.kernel.org/sourceware/lvm2/LVM2.2.03.29.tgz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="2.37.4">libutil-linux-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>libaio-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>thin-provisioning-tools</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch level="1">lvm2-2.02.63-always-make-static-libdm.patch</Patch>
            <Patch level="1">lvm2-2.02.92-dynamic-static-ldflags.patch</Patch>
            <Patch level="1">lvm2-2.02.105-pthread-pkgconfig.patch</Patch>
            <Patch>lvm2-2.02.106-static-pkgconfig-libs.patch</Patch>
            <Patch level="1">lvm2-2.03.05-pthread-pkgconfig.patch</Patch>
            <Patch level="1">lvm2-2.03.05-dynamic-static-ldflags.patch</Patch>
            <Patch level="1">lvm2-2.03.05-dmeventd-no-idle-exit.patch</Patch>
            <Patch level="1">lvm2-2.02.178-static-pkgconfig-libs.patch</Patch>
            <Patch level="1">lvm2-2.02.56-lvm2create_initrd.patch</Patch>
            <Patch level="1">lvm2-2.02.67-createinitrd.patch</Patch>
            <Patch level="1">lvm2-2.02.99-locale-muck.patch</Patch>
            <Patch level="1">lvm2-2.02.171-static-libm.patch</Patch>
            <Patch level="1">lvm2-2.02.166-HPPA-no-O_DIRECT.patch</Patch>
            <Patch level="1">lvm2-2.02.184-mksh_build.patch</Patch>
            <Patch level="1">lvm2-2.02.186-udev_remove_unsupported_option.patch</Patch-->
<!--             <Patch level="1">fix-stdio-usage.patch</Patch> -->
            <Patch level="1">mlockall-default-config.patch</Patch>
            <Patch level="1">lvm2-2.03.20-dm_lvm_rules_no_systemd.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>device-mapper</Name>
        <RuntimeDependencies>
            <Dependency>eudev</Dependency>
        </RuntimeDependencies>
        <Summary>Light-weight kernel component can support user-space tools for logical volume management</Summary>
        <Description>Device-mapper includes the driver enables the definition of new block devices composed of ranges of sectors of existing devices to define disk partitions or logical volumes.</Description>
        <Files>
            <Path fileType="executable">/usr/sbin/dmsetup</Path>
            <Path fileType="executable">/usr/sbin/dmstats</Path>
            <Path fileType="library">/usr/lib/libdevmapper.a</Path>
            <Path fileType="library">/usr/lib/libdevmapper.so*</Path>
            <Path fileType="data">/lib/udev/rules.d/10-dm.rules</Path>
            <Path fileType="data">/lib/udev/rules.d/13-dm-disk.rules</Path>
            <Path fileType="data">/lib/udev/rules.d/95-dm-notify.rules</Path>
            <Path fileType="data">/lib/udev/rules.d/69-dm-lvm.rules</Path>
            <!--Path fileType="doc">/usr/share/doc/lvm2/VERSION_DM</Path>
            <Path fileType="doc">/usr/share/doc/lvm2/WHATS_NEW_DM</Path-->
            <Path fileType="man">/usr/share/man/man8/dmsetup.8</Path>
            <Path fileType="man">/usr/share/man/man8/dmstats.8</Path>
        </Files>
    </Package>

    <Package>
        <Name>device-mapper-devel</Name>
        <Summary>Development libraries and headers for device-mapper</Summary>
        <Description>Device-mapper-devel contains files needed to develop applications that use the device-mapper libraries.</Description>
        <RuntimeDependencies>
            <Dependency release="current">device-mapper</Dependency>
            <Dependency>eudev-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/libdevmapper.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/devmapper.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>device-mapper-event</Name>
        <Summary>Device-mapper event daemon</Summary>
        <Description>This package contains the dmeventd daemon for monitoring the state of device-mapper devices.</Description>
        <RuntimeDependencies>
            <Dependency release="current">device-mapper</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/sbin/dmeventd</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event.a</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event.so*</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2vdo.so</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2vdo.so</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2thin.so</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2thin.so</Path>
            <Path fileType="man">/usr/share/man/man8/dmeventd.8</Path>
        </Files>
    </Package>

    <Package>
        <Name>device-mapper-event-devel</Name>
        <Summary>Development libraries and headers for the device-mapper event daemon</Summary>
        <Description>This contains contains files needed to develop applications that use the device-mapper event library.</Description>
        <RuntimeDependencies>
            <Dependency release="current">device-mapper-event</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/libdevmapper-event.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/devmapper-event.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>lvm2</Name>
        <Summary>Userland logical volume management tools</Summary>
        <Description>LVM2 includes all of the support for handling read/write operations on physical volumes,creating volume groups from one or more physical volumes and creating one or more logical volumes in volume groups.</Description>
        <RuntimeDependencies>
            <Dependency release="current">device-mapper</Dependency>
            <Dependency release="current">device-mapper-event</Dependency>
            <Dependency>libaio</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libutil-linux</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>thin-provisioning-tools</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/sbin/blkdeactivate</Path>
            <Path fileType="executable">/usr/sbin/fsadm</Path>
            <Path fileType="executable">/usr/sbin/lv*</Path>
            <Path fileType="executable">/usr/sbin/vg*</Path>
            <Path fileType="executable">/usr/sbin/pv*</Path>
            <Path fileType="executable">/usr/libexec/lvresize_fs_helper</Path>
            <Path fileType="library">/usr/lib/liblvm2app.so*</Path>
            <Path fileType="library">/usr/lib/liblvm2cmd.so*</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2.so*</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2mirror.so</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2snapshot.so</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2mirror.so</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2snapshot.so</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2raid.so</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so</Path>
            <Path fileType="config">/etc/lvm/lvm.conf</Path>
            <Path fileType="config">/etc/lvm/lvmlocal.conf</Path>
            <Path fileType="data">/etc/lvm/archive</Path>
            <Path fileType="data">/etc/lvm/backup</Path>
            <Path fileType="data">/etc/lvm/cache</Path>
            <Path fileType="data">/etc/lvm/profile</Path>
            <Path fileType="data">/lib/udev/rules.d/11-dm-lvm.rules</Path>
            <Path fileType="data">/lib/udev/rules.d/69-dm-lvm-metad.rules</Path>
            <Path fileType="data">/usr/lib/tmpfiles.d/lvm2.conf</Path>
            <Path fileType="doc">/usr/share/doc/lvm2/COPYING</Path>
            <Path fileType="doc">/usr/share/doc/lvm2/COPYING.LIB</Path>
            <Path fileType="doc">/usr/share/doc/lvm2/README</Path>
            <Path fileType="doc">/usr/share/doc/lvm2/VERSION</Path>
            <Path fileType="doc">/usr/share/doc/lvm2/WHATS_NEW</Path>
            <Path fileType="man">/usr/share/man/man5/lvm.conf.5</Path>
            <Path fileType="man">/usr/share/man/man7</Path>
            <Path fileType="man">/usr/share/man/man8/fsadm.8</Path>
            <Path fileType="man">/usr/share/man/man8/blkdeactivate.8</Path>
            <Path fileType="man">/usr/share/man/man8/*pv*</Path>
            <Path fileType="man">/usr/share/man/man8/*lv*</Path>
            <Path fileType="man">/usr/share/man/man8/*vg*</Path>
        </Files>
        <AdditionalFiles>
             <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/lvm2.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>lvm2-devel</Name>
        <Summary>Development libraries and headers</Summary>
        <Description>This package contains files needed to develop applications that use the lvm2 libraries.</Description>
        <RuntimeDependencies>
            <Dependency release="current">lvm2</Dependency>
            <Dependency release="current">device-mapper-devel</Dependency>
            <Dependency release="current">device-mapper-event-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/lvm2cmd.h</Path>
            <Path fileType="header">/usr/include/lvm2app.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/lvm2app.pc</Path>
        </Files>
    </Package>

    <History>
        <Update release="17">
            <Date>2024-12-13</Date>
            <Version>2.03.29</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="16">
            <Date>2024-11-06</Date>
            <Version>2.03.28</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="15">
            <Date>2024-10-04</Date>
            <Version>2.03.27</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2024-09-03</Date>
            <Version>2.03.26</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="13">
            <Date>2024-07-22</Date>
            <Version>2.03.25</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="12">
            <Date>2023-11-24</Date>
            <Version>2.03.23</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2023-02-21</Date>
            <Version>2.03.19</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2022-12-25</Date>
            <Version>2.03.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2022-07-21</Date>
            <Version>2.02.186</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2021-09-14</Date>
            <Version>2.02.186</Version>
            <Comment>Rebuild.</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-12-09</Date>
            <Version>2.02.186</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2020-04-20</Date>
            <Version>2.02.186</Version>
            <Comment>Rebuild</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2019-12-26</Date>
            <Version>2.02.186</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-23</Date>
            <Version>2.02.167</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>2.02.167</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>2.02.142</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-13</Date>
            <Version>2.02.142</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
