1
0
Fork 0

Merging upstream version 1.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:04:05 +01:00
parent 228c77b7e8
commit f2001795f5
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
666 changed files with 1139 additions and 718 deletions

View file

@ -4,14 +4,10 @@ Release: 0
Summary: Linux-native nvme device management library
License: @LICENSE@
Source: %{name}-%{version}.tar.gz
Source: libnvme.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
URL: http://github.com/linux-nvme/libnvme
BuildRequires: libuuid-devel
BuildRequires: meson
BuildRequires: gcc
%description
Provides library functions for accessing and managing nvme devices on a Linux
system.
@ -29,29 +25,29 @@ for Linux-native nvme device maangement.
%autosetup -c
%build
%meson
%meson_build
meson .build -Ddocs=man -Ddocs-build=true -Ddefault_library=both
%install
%meson_install
%check
%meson_test
cd .build
meson install --destdir %{buildroot} --skip-subprojects
%files
%defattr(-,root,root)
%attr(0755,root,root) %{_libdir}/libnvme.so.*
%attr(0755,root,root) %{_libdir}/libnvme*
%doc COPYING
%files devel
%defattr(-,root,root)
%attr(-,root,root) %{_includedir}/nvme/
%attr(0644,root,root) %{_includedir}/libnvme.h
%attr(0755,root,root) %{_libdir}/libnvme.so
%attr(0644,root,root) %{_libdir}/libnvme.a
%attr(0644,root,root) %{_includedir}/libnvme*
%attr(0755,root,root) %{_libdir}/libnvme*
%attr(0644,root,root) %{_libdir}/pkgconfig/*
%attr(0644,root,root) %{_mandir}/man2/*
%changelog
* Wed Jul 13 2022 Steven Seungcheol Lee <sc108.lee@samsung.com>
- Enable building rpm
- meson is needed higher version then what rpm repo offering (use pip install)
* Thu Dec 12 2019 Keith Busch <kbusch@kernel.org> - 0.1
- Initial version