2022-12-19 16:56:56 +08:00
|
|
|
Name: libnvme
|
2024-02-17 01:56:55 +00:00
|
|
|
Version: 1.8
|
2022-12-19 16:56:56 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Linux-native nvme device management library
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://github.com/linux-nvme/libnvme
|
|
|
|
|
|
|
|
|
|
Source: https://github.com/linux-nvme/libnvme/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Requires: json-c
|
|
|
|
|
Requires: libuuid
|
|
|
|
|
Requires: openssl-libs
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-g++
|
2024-02-17 01:56:55 +00:00
|
|
|
BuildRequires: json-c-devel >= 0.13
|
2022-12-19 16:56:56 +08:00
|
|
|
BuildRequires: libuuid-devel
|
2024-02-17 01:56:55 +00:00
|
|
|
BuildRequires: meson >= 0.50
|
2022-12-19 16:56:56 +08:00
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: perl-interpreter
|
2024-02-17 01:56:55 +00:00
|
|
|
BuildRequires: swig
|
|
|
|
|
BuildRequires: dbus-devel
|
|
|
|
|
BuildRequires: keyutils-libs-devel
|
|
|
|
|
BuildRequires: python3-devel
|
2022-12-19 16:56:56 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Provides library functions for accessing and managing nvme devices on a Linux
|
|
|
|
|
system.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for Linux-native nvme
|
|
|
|
|
Requires: libnvme
|
|
|
|
|
Provides: libnvme.so.1
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides header files to include and libraries to link with
|
|
|
|
|
for Linux-native nvme device maangement.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
2024-02-17 01:56:55 +00:00
|
|
|
%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.
|
|
|
|
|
|
2022-12-19 16:56:56 +08:00
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson -Ddocs=man
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%attr(0755,root,root) %{_libdir}/libnvme.so.*
|
|
|
|
|
%attr(0755,root,root) %{_libdir}/libnvme-mi.so.*
|
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%attr(-,root,root) %{_includedir}/nvme/
|
|
|
|
|
%attr(0644,root,root) %{_includedir}/libnvme.h
|
|
|
|
|
%attr(0644,root,root) %{_includedir}/libnvme-mi.h
|
|
|
|
|
%attr(0755,root,root) %{_libdir}/libnvme.so
|
|
|
|
|
%attr(0755,root,root) %{_libdir}/libnvme-mi.so
|
|
|
|
|
%attr(0644,root,root) %{_libdir}/pkgconfig/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%attr(0644,root,root) %{_mandir}/man2/*
|
|
|
|
|
|
2024-02-17 01:56:55 +00:00
|
|
|
%files -n python3-libnvme
|
|
|
|
|
%dir %{python3_sitearch}/libnvme
|
|
|
|
|
%{python3_sitearch}/libnvme/*
|
|
|
|
|
|
2022-12-19 16:56:56 +08:00
|
|
|
%changelog
|
2024-02-17 01:56:55 +00:00
|
|
|
* Sat Feb 17 2024 Weifeng Su <suweifeng1@huawe.com> - 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
|
|
|
|
|
|
2022-12-19 16:56:56 +08:00
|
|
|
* Mon Dec 19 2022 Qiang Wei <qiang.wei@suse.com> - 1.2-1
|
|
|
|
|
- Update version to v1.2
|
|
|
|
|
|
|
|
|
|
* Wed Apr 20 2022 Kai Liu <kai.liu@suse.com> - 1.0-1
|
|
|
|
|
- v1.0 package for openEuler Linux
|