forked from xnvme/xnvme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xnvme.spec.in
38 lines (30 loc) · 953 Bytes
/
xnvme.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Name: xnvme
Version: @VERSION@
Release: 0
Summary: Cross-platform libraries and tools for NVMe devices
Source: xnvme.tar.gz
License: @LICENSE@
URL: https://github.com/OpenMPDK/xNVMe
%define debug_package %{nil}
%description
xNVMe provides the means to program and interact with NVMe devices from user space.
For more description see GitHUB and https://xnvme.io/
BuildRequires: meson
BuildRequires: gcc
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%prep
%autosetup -c
%build
meson build
%install
meson install -C build --destdir %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%attr(0644,root,root) %{_includedir}/*
%dir %attr(0755,root,root) %{_libdir}/pkgconfig
%attr(0644,root,root) %{_libdir}/pkgconfig/*
%attr(0755,root,root) %{_libdir}/*.*
%attr(0644,root,root) %{_mandir}/man1/*
%attr(0755,root,root) %{_bindir}/*
%attr(0644,root,root) %{_datadir}/xnvme/*