Name: libnvme Version: 1.10 Release: 1 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later URL: https://github.com/linux-nvme/libnvme Source: https://github.com/linux-nvme/libnvme/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-g++ BuildRequires: meson >= 0.50.0 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(json-c) >= 0.13 BuildRequires: pkgconfig(libkeyutils) BuildRequires: pkgconfig(openssl) >= 1.1.0 BuildRequires: perl-interpreter BuildRequires: swig BuildRequires: python3-devel %description Provides library functions for accessing and managing nvme devices on a Linux system. %package devel Summary: Development files for Linux-native nvme Requires: %{name} = %{version}-%{release} %description devel This package provides header files to include and libraries to link with for Linux-native nvme device maangement. %package_help %package -n python3-libnvme Summary: Python3 bindings for libnvme Requires: %{name} = %{version}-%{release} Provides: python3-nvme = %{version}-%{release} %{?python_provie:%python_provide python3-libnvme} %description -n python3-libnvme This package contains Python binding for libnvme. %prep %autosetup -p1 %build %meson -Ddocs=man %meson_build %install %meson_install %check %meson_test %files %license COPYING %{_libdir}/libnvme.so.* %{_libdir}/libnvme-mi.so.* %files devel %{_includedir}/nvme %{_includedir}/libnvme.h %{_includedir}/libnvme-mi.h %{_libdir}/libnvme.so %{_libdir}/libnvme-mi.so %{_libdir}/pkgconfig/* %files help %{_mandir}/man2/* %files -n python3-libnvme %{python3_sitearch}/libnvme %changelog * Thu Aug 08 2024 Funda Wang - 1.10-1 - update to 1.10 * Sat May 11 2024 tenglei - 1.9-1 - Upgrade to version 1.9 - add the nvme Cancel command opcode * Sat Feb 17 2024 Weifeng Su - 1.8-1 - Upgrade to version 1.8 -Support added for Flexible Data Placement(TP4146) -Add support for Persistent Discovery Controllers -Replaced the libsystemd dependency with libdbus -A parser for the NBFT table -Ignoring fabric connect attempts if the execution context doesn't match -support for TP8018 -use sysfs only for topology scan -auto cleanup for resources -buf fixed and clean code * Mon Dec 19 2022 Qiang Wei - 1.2-1 - Update version to v1.2 * Wed Apr 20 2022 Kai Liu - 1.0-1 - v1.0 package for openEuler Linux