Adding upstream version 1.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
809e3412a9
commit
336fe81026
743 changed files with 51081 additions and 0 deletions
57
libnvme.spec.in
Normal file
57
libnvme.spec.in
Normal file
|
@ -0,0 +1,57 @@
|
|||
Name: @NAME@
|
||||
Version: @VERSION@
|
||||
Release: 0
|
||||
Summary: Linux-native nvme device management library
|
||||
|
||||
License: @LICENSE@
|
||||
Source: %{name}-%{version}.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.
|
||||
|
||||
%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.
|
||||
|
||||
%prep
|
||||
%autosetup -c
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%attr(0755,root,root) %{_libdir}/libnvme.so.*
|
||||
%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) %{_libdir}/pkgconfig/*
|
||||
%attr(0644,root,root) %{_mandir}/man2/*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 12 2019 Keith Busch <kbusch@kernel.org> - 0.1
|
||||
- Initial version
|
Loading…
Add table
Add a link
Reference in a new issue