109 lines
3.0 KiB
RPMSpec
109 lines
3.0 KiB
RPMSpec
Name: libnvme
|
|
Version: 1.11.1
|
|
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: libpython311-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}"
|
|
|
|
|
|
%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
|
|
* Fri Nov 15 2024 Automatic Build System <autodist@openmamba.org> 1.11.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 01 2024 Automatic Build System <autodist@openmamba.org> 1.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Aug 03 2024 Automatic Build System <autodist@openmamba.org> 1.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 04 2024 Automatic Build System <autodist@openmamba.org> 1.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 14 2024 Automatic Build System <autodist@openmamba.org> 1.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 20 2023 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 1.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Aug 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5-1mamba
|
|
- package created using the webbuild interface
|