From 33b8fe1a294d670d67a2e9802ca0c753826b1562 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Aug 2022 14:26:29 +0200 Subject: Merging upstream version 1.1. Signed-off-by: Daniel Baumann --- libnvme.spec.in | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'libnvme.spec.in') diff --git a/libnvme.spec.in b/libnvme.spec.in index 8a2e4e5..ea263ce 100644 --- a/libnvme.spec.in +++ b/libnvme.spec.in @@ -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 +- Enable building rpm +- meson is needed higher version then what rpm repo offering (use pip install) + * Thu Dec 12 2019 Keith Busch - 0.1 - Initial version -- cgit v1.2.3