ndctl/ndctl.spec

169 lines
4.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: ndctl
Version: 79
Release: 1mamba
Summary: Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/pmem/ndctl
Source: https://github.com/pmem/ndctl.git/v%{version}/ndctl-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libiniparser-devel
BuildRequires: libjson-c-devel
BuildRequires: libkeyutils-devel
BuildRequires: libkmod-devel
BuildRequires: libtraceevent-devel
BuildRequires: libtracefs-devel
BuildRequires: libudev-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
BuildRequires: libtracefs-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%systemd_post ndctl-monitor
:
%postun
%systemd_postun ndctl-monitor
:
%preun
%systemd_preun ndctl-monitor
:
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sysconfdir}/ndctl/keys/keys.readme
%{_sysconfdir}/daxctl.conf.d/daxctl.example.conf
%dir %{_sysconfdir}/ndctl.conf.d
%config(noreplace) %{_sysconfdir}/ndctl.conf.d/monitor.conf
%config(noreplace) %{_sysconfdir}/ndctl.conf.d/ndctl.conf
%{_sysconfdir}/modprobe.d/nvdimm-security.conf
%{_bindir}/cxl
%{_bindir}/daxctl
%{_bindir}/ndctl
%{_unitdir}/cxl-monitor.service
%{_unitdir}/ndctl-monitor.service
%{_unitdir}/daxdev-reconfigure@.service
%{_udevrulesdir}/90-daxctl-device.rules
%{_datadir}/bash-completion/completions/*
%{_datadir}/daxctl/daxctl.conf
%{_mandir}/man1/*.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libdaxctl.so.*
%{_libdir}/libndctl.so.*
%{_libdir}/libcxl.so.*
%{_mandir}/man3/cxl_new.3*
%{_mandir}/man3/libcxl.3*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/daxctl
%{_includedir}/daxctl/*.h
%dir %{_includedir}/cxl
%{_includedir}/cxl/*.h
%dir %{_includedir}/ndctl
%{_includedir}/ndctl/*.h
%{_libdir}/libdaxctl.so
%{_libdir}/libndctl.so
%{_libdir}/libcxl.so
%{_libdir}/pkgconfig/libcxl.pc
%{_libdir}/pkgconfig/libdaxctl.pc
%{_libdir}/pkgconfig/libndctl.pc
%doc README.md
%changelog
* Sat May 04 2024 Automatic Build System <autodist@openmamba.org> 79-1mamba
- automatic version update by autodist
* Fri Dec 15 2023 Automatic Build System <autodist@mambasoft.it> 78-1mamba
- automatic version update by autodist
* Sat Jan 14 2023 Automatic Build System <autodist@mambasoft.it> 75-1mamba
- automatic version update by autodist
* Thu Aug 25 2022 Automatic Build System <autodist@mambasoft.it> 74-1mamba
- automatic version update by autodist
* Mon Apr 11 2022 Automatic Build System <autodist@mambasoft.it> 73-1mamba
- automatic version update by autodist
* Sun Jan 09 2022 Automatic Build System <autodist@mambasoft.it> 72.1-1mamba
- automatic version update by autodist
* Wed Dec 23 2020 Automatic Build System <autodist@mambasoft.it> 71.1-1mamba
- automatic version update by autodist
* Sun Dec 20 2020 Automatic Build System <autodist@mambasoft.it> 71-1mamba
- automatic version update by autodist
* Sat Oct 10 2020 Automatic Build System <autodist@mambasoft.it> 70.1-1mamba
- automatic version update by autodist
* Wed Oct 07 2020 Automatic Build System <autodist@mambasoft.it> 70-1mamba
- automatic version update by autodist
* Fri Jul 24 2020 Automatic Build System <autodist@mambasoft.it> 69-1mamba
- automatic version update by autodist
* Tue Mar 24 2020 Automatic Build System <autodist@mambasoft.it> 68-1mamba
- automatic version update by autodist
* Tue Oct 29 2019 Automatic Build System <autodist@mambasoft.it> 67-1mamba
- automatic version update by autodist
* Fri Aug 09 2019 Automatic Build System <autodist@mambasoft.it> 66-1mamba
- automatic version update by autodist
* Sun May 12 2019 Automatic Build System <autodist@mambasoft.it> 65-1mamba
- automatic version update by autodist
* Thu Feb 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 64.1-1mamba
- package created using the webbuild interface