new package: nvme-cli
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import mesontools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
mesontools.configure("--prefix=/usr \
|
||||||
|
--wrap-mode=default \
|
||||||
|
--sbindir=/usr/bin \
|
||||||
|
--buildtype=plain \
|
||||||
|
--auto-features=enabled \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--libexecdir=/usr/lib \
|
||||||
|
-Dudevrulesdir=/lib/udev/rules.d \
|
||||||
|
-D b_lto=true -D b_pie=true \
|
||||||
|
-D docs=man -D docs-build=true \
|
||||||
|
--localstatedir=/var")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
mesontools.build()
|
||||||
|
|
||||||
|
def check():
|
||||||
|
mesontools.build()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
mesontools.install()
|
||||||
|
|
||||||
|
pisitools.domove("/usr/lib/systemd/system/nvmf-connect.target", "/usr/share/dbus-1/services/")
|
||||||
|
pisitools.domove("/usr/lib/systemd/system/nvmf-autoconnect.service", "/usr/share/dbus-1/services/")
|
||||||
|
pisitools.domove("/usr/lib/systemd/system/nvmefc-boot-connections.service", "/usr/share/dbus-1/services/")
|
||||||
|
pisitools.domove("/usr/lib/systemd/system/nvmf-connect@.service", "/usr/share/dbus-1/services/")
|
||||||
|
pisitools.domove("/usr/lib/systemd/system/nvmf-connect-nbft.service", "/usr/share/dbus-1/services/")
|
||||||
|
pisitools.removeDir("/usr/lib/systemd")
|
||||||
|
|
||||||
|
pisitools.dodoc("LICENSE", "README.md")
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>nvme-cli</Name>
|
||||||
|
<Homepage>https://nvmexpress.org/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>LGPLv2+</License>
|
||||||
|
<Icon>nvme-cli</Icon>
|
||||||
|
<Summary>NVM-Express user space tooling for Linux</Summary>
|
||||||
|
<Description>NVMe management command line interface.</Description>
|
||||||
|
<Archive sha1sum="07a1fb59d66620bf9ca4556fbd112c8609190f11" type="targz">https://github.com/linux-nvme/nvme-cli/archive/refs/tags/v2.15.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>git</Dependency>
|
||||||
|
<Dependency>swig</Dependency>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>xmlto</Dependency>
|
||||||
|
<Dependency>meson</Dependency>
|
||||||
|
<Dependency>asciidoc</Dependency>
|
||||||
|
<Dependency>glibc-devel</Dependency>
|
||||||
|
<Dependency>json-c-devel</Dependency>
|
||||||
|
<Dependency>libnvme-devel</Dependency>
|
||||||
|
<Dependency>libutil-linux-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>nvme-cli</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>glibc</Dependency>
|
||||||
|
<Dependency>json-c</Dependency>
|
||||||
|
<Dependency>libnvme</Dependency>
|
||||||
|
<Dependency>util-linux</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="config">/etc/nvme/discovery.conf</Path>
|
||||||
|
<Path fileType="data">/usr/share/bash-completion</Path>
|
||||||
|
<Path fileType="config">/lib/udev/rules.d</Path>
|
||||||
|
<Path fileType="data">/usr/share/dbus-1/services</Path>
|
||||||
|
<Path fileType="data">/usr/share/zsh/site-functions/_nvme</Path>
|
||||||
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
|
<Path fileType="config">/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2025-09-06</Date>
|
||||||
|
<Version>2.15</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>nvme-cli</Name>
|
||||||
|
<Summary xml:lang="tr">Linux için NVM-Express kullanıcı alanı araçları</Summary>
|
||||||
|
<Description xml:lang="tr">NVMe yönetim komut satırı arayüzü.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
+321211
-321122
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
8888e5876da746869051c51b0fd3f185cb0a91be
|
0667ee01e9f19feaaeccc13ac18a9be845ab09ee
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
e0a39b3cd4d6f70667948b7a9e751ea12a245b6f
|
a9111833e0f44832839a317b1d6353b09b1cbfb6
|
||||||
Reference in New Issue
Block a user