package created using the webbuild interface [release 1.5-1mamba;Sat Aug 19 2023]
This commit is contained in:
parent
910820425d
commit
e4e1334aff
89
libnvme.spec
Normal file
89
libnvme.spec
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
Name: libnvme
|
||||||
|
Version: 1.5
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: C Library for NVM Express on Linux
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/linux-nvme/libnvme
|
||||||
|
Source: https://github.com/linux-nvme/libnvme.git/v%{version}/libnvme-%{version}.tar.bz2
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libjson-c-devel
|
||||||
|
BuildRequires: libkeyutils-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: meson
|
||||||
|
|
||||||
|
%description
|
||||||
|
C Library for NVM Express on Linux.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
## note: you can add this requirement if .pc files are provided by this package
|
||||||
|
#Requires: pkg-config
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package -n python-libnvme-py3
|
||||||
|
Group: System/Libraries/Python
|
||||||
|
Summary: Python bindings to %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n python-libnvme-py3
|
||||||
|
This package contains the Python bindings to %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libnvme-mi.so.*
|
||||||
|
%{_libdir}/libnvme.so.*
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/libnvme-mi.h
|
||||||
|
%{_includedir}/libnvme.h
|
||||||
|
%dir %{_includedir}/nvme
|
||||||
|
%{_includedir}/nvme/*.h
|
||||||
|
%{_libdir}/libnvme-mi.so
|
||||||
|
%{_libdir}/libnvme.so
|
||||||
|
%{_libdir}/pkgconfig/libnvme-mi.pc
|
||||||
|
%{_libdir}/pkgconfig/libnvme.pc
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%files -n python-libnvme-py3
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{python3_sitearch}/libnvme
|
||||||
|
%dir %{python3_sitearch}/libnvme/__pycache__
|
||||||
|
%{python3_sitearch}/libnvme/__pycache__/*.pyc
|
||||||
|
%{python3_sitearch}/libnvme/_nvme.cpython-*.so
|
||||||
|
%{python3_sitearch}/libnvme/*.py
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Aug 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user