diff --git a/libnvme-1.2.tar.gz b/libnvme-1.2.tar.gz deleted file mode 100644 index 9467f7e7cd053ad6d426bf88a1034e4626d03271..0000000000000000000000000000000000000000 Binary files a/libnvme-1.2.tar.gz and /dev/null differ diff --git a/libnvme.spec b/libnvme.spec index c46cb423e6edae251cbc6a98d5919c810349d4af..f81417ca6ff5c9caae1eca75fb20fb9010d8a25a 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -1,11 +1,11 @@ -Name: libnvme -Version: 1.2 -Release: 1 -Summary: Linux-native nvme device management library -License: LGPLv2+ -URL: http://github.com/linux-nvme/libnvme +Name: libnvme +Version: 1.6 +Release: 1 +Summary: Linux-native nvme device management library +License: LGPLv2+ +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 +Source: %{url}/archive/refs/tags/v%{version}.tar.gz Requires: json-c Requires: libuuid @@ -17,6 +17,10 @@ BuildRequires: libuuid-devel BuildRequires: meson BuildRequires: openssl-devel BuildRequires: perl-interpreter +BuildRequires: swig +BuildRequires: python3-devel +BuildRequires: keyutils-libs-devel +BuildRequires: dbus-devel %description Provides library functions for accessing and managing nvme devices on a Linux @@ -31,6 +35,15 @@ Provides: libnvme.so.1 This package provides header files to include and libraries to link with for Linux-native nvme device maangement. +%package -n python3-libnvme +Summary: Python3 bindings for libnvme +Requires: %{name}%{?_isa} = %{version}-%{release} +Provides: python3-nvme = %{version}-%{release} +%{?python_provide:%python_provide python3-libnvme} + +%description -n python3-libnvme +This package contains Python bindings for libnvme. + %package_help %prep @@ -61,10 +74,17 @@ for Linux-native nvme device maangement. %attr(0755,root,root) %{_libdir}/libnvme-mi.so %attr(0644,root,root) %{_libdir}/pkgconfig/* +%files -n python3-libnvme +%dir %{python3_sitearch}/libnvme +%{python3_sitearch}/libnvme/* + %files help %attr(0644,root,root) %{_mandir}/man2/* %changelog +* Mon Oct 23 2023 li weigang - - 1.6-1 +- update to version v1.6 + * Mon Dec 19 2022 Qiang Wei - 1.2-1 - Update version to v1.2 diff --git a/v1.6.tar.gz b/v1.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..31e063d60a0367414f814f46dff1304c4118d5ff Binary files /dev/null and b/v1.6.tar.gz differ