anitazha / rpms / ndctl

Forked from rpms/ndctl 2 years ago
Clone
c4f8ce
Name:		ndctl
c4f8ce
Version:	71.1
0670da
Release:	7%{?dist}
c4f8ce
Summary:	Manage "libnvdimm" subsystem devices (Non-volatile Memory)
c4f8ce
License:	GPLv2
c4f8ce
Url:		https://github.com/pmem/ndctl
c4f8ce
Source0:	https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
c4f8ce
0670da
Patch0:		fb13dfb-zero_info_block-skip-seed-devices.patch
0670da
Patch1:		daef3a3-libndctl-Unify-adding-dimms-for-papr-and-nfit-families.patch
0670da
Patch2:		f081f30-papr-Add-support-to-parse-save_fail-flag-for-dimm.patch
0670da
Patch3:		fe831b5-Use-page-size-as-alignment-value.patch
0670da
Patch4:		e086106-libndctl-papr-Fix-probe-for-papr-scm-compatible-nvdimms.patch
0670da
Patch5:		c521093-ndctl-scrub-Stop-translating-return-values.patch
0670da
Patch6:		4e646fa-ndctl-scrub-Reread-scrub-engine-status-at-start.patch
0670da
Patch7:		9bd2994-ndctl-namespace-Skip-seed-namespaces-when-processing-all-namespaces.patch
0670da
Patch8:		07011a3-ndctl-namespace-Suppress-ENXIO-when-processing-all-namespaces.patch
0670da
Patch9:		80e0d88-namespace-action-Drop-zero-namespace-checks.patch
0670da
Patch10:	aa99000-libndctl-papr-Add-support-for-reporting-shutdown-count.patch
0670da
Patch11:	edcd9b7-libndctl-intel-Indicate-supported-smart-inject-types.patch
0670da
Patch12:	9ef460e-libndctl-papr-Add-limited-support-for-inject-smart.patch
0670da
Patch13:	6e85cac-ndtest-ack-shutdown-count-Skip-the-test-on-ndtest.patch
0670da
0670da
c4f8ce
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
BuildRequires: make
c4f8ce
BuildRequires:	autoconf
c4f8ce
%if 0%{?rhel} < 9
c4f8ce
BuildRequires:	asciidoc
c4f8ce
%define asciidoc --disable-asciidoctor
c4f8ce
%else
c4f8ce
BuildRequires:	rubygem-asciidoctor
c4f8ce
%endif
c4f8ce
BuildRequires:	xmlto
c4f8ce
BuildRequires:	automake
c4f8ce
BuildRequires:	libtool
c4f8ce
BuildRequires:	pkgconfig
c4f8ce
BuildRequires:	pkgconfig(libkmod)
c4f8ce
BuildRequires:	pkgconfig(libudev)
c4f8ce
BuildRequires:	pkgconfig(uuid)
c4f8ce
BuildRequires:	pkgconfig(json-c)
c4f8ce
BuildRequires:	pkgconfig(bash-completion)
c4f8ce
BuildRequires:	pkgconfig(systemd)
c4f8ce
BuildRequires:	keyutils-libs-devel
c4f8ce
c4f8ce
%description
c4f8ce
Utility library for managing the "libnvdimm" subsystem.  The "libnvdimm"
c4f8ce
subsystem defines a kernel device model and control message interface for
c4f8ce
platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM
c4f8ce
Firmware Interface Table).
c4f8ce
c4f8ce
c4f8ce
%package -n ndctl-devel
c4f8ce
Summary:	Development files for libndctl
c4f8ce
License:	LGPLv2
c4f8ce
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
c4f8ce
%description -n ndctl-devel
c4f8ce
The %{name}-devel package contains libraries and header files for
c4f8ce
developing applications that use %{name}.
c4f8ce
c4f8ce
%package -n daxctl
c4f8ce
Summary:	Manage Device-DAX instances
c4f8ce
License:	GPLv2
c4f8ce
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
c4f8ce
%description -n daxctl
c4f8ce
The daxctl utility provides enumeration and provisioning commands for
c4f8ce
the Linux kernel Device-DAX facility. This facility enables DAX mappings
c4f8ce
of performance / feature differentiated memory without need of a
c4f8ce
filesystem.
c4f8ce
c4f8ce
%package -n daxctl-devel
c4f8ce
Summary:	Development files for libdaxctl
c4f8ce
License:	LGPLv2
c4f8ce
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
c4f8ce
%description -n daxctl-devel
c4f8ce
The %{name}-devel package contains libraries and header files for
c4f8ce
developing applications that use %{name}, a library for enumerating
c4f8ce
"Device DAX" devices.  Device DAX is a facility for establishing DAX
c4f8ce
mappings of performance / feature-differentiated memory.
c4f8ce
c4f8ce
c4f8ce
%package -n ndctl-libs
c4f8ce
Summary:	Management library for "libnvdimm" subsystem devices (Non-volatile Memory)
c4f8ce
License:	LGPLv2
c4f8ce
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
c4f8ce
c4f8ce
%description -n ndctl-libs
c4f8ce
Libraries for %{name}.
c4f8ce
c4f8ce
%package -n daxctl-libs
c4f8ce
Summary:	Management library for "Device DAX" devices
c4f8ce
License:	LGPLv2
c4f8ce
c4f8ce
%description -n daxctl-libs
c4f8ce
Device DAX is a facility for establishing DAX mappings of performance /
c4f8ce
feature-differentiated memory. daxctl-libs provides an enumeration /
c4f8ce
control API for these devices.
c4f8ce
c4f8ce
c4f8ce
%prep
0670da
%autosetup -p1 ndctl-%{version}
c4f8ce
c4f8ce
%build
c4f8ce
echo %{version} > version
c4f8ce
./autogen.sh
c4f8ce
%configure --disable-static --disable-silent-rules %{?asciidoc}
c4f8ce
make %{?_smp_mflags}
c4f8ce
c4f8ce
%install
c4f8ce
%make_install
c4f8ce
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
c4f8ce
c4f8ce
%check
c4f8ce
make check
c4f8ce
c4f8ce
%ldconfig_scriptlets -n ndctl-libs
c4f8ce
c4f8ce
%ldconfig_scriptlets -n daxctl-libs
c4f8ce
c4f8ce
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion)
c4f8ce
c4f8ce
%files
c4f8ce
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
c4f8ce
%{_bindir}/ndctl
c4f8ce
%{_mandir}/man1/ndctl*
c4f8ce
%{bashcompdir}/
c4f8ce
%{_unitdir}/ndctl-monitor.service
c4f8ce
%{_sysconfdir}/ndctl/keys/keys.readme
c4f8ce
%{_sysconfdir}/modprobe.d/nvdimm-security.conf
c4f8ce
c4f8ce
%config(noreplace) %{_sysconfdir}/ndctl/monitor.conf
c4f8ce
c4f8ce
%files -n daxctl
c4f8ce
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
c4f8ce
%{_bindir}/daxctl
c4f8ce
%{_mandir}/man1/daxctl*
c4f8ce
%{_datadir}/daxctl/daxctl.conf
c4f8ce
c4f8ce
%files -n ndctl-libs
c4f8ce
%doc README.md
c4f8ce
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
c4f8ce
%{_libdir}/libndctl.so.*
c4f8ce
c4f8ce
%files -n daxctl-libs
c4f8ce
%doc README.md
c4f8ce
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
c4f8ce
%{_libdir}/libdaxctl.so.*
c4f8ce
c4f8ce
%files -n ndctl-devel
c4f8ce
%license LICENSES/preferred/LGPL-2.1
c4f8ce
%{_includedir}/ndctl/
c4f8ce
%{_libdir}/libndctl.so
c4f8ce
%{_libdir}/pkgconfig/libndctl.pc
c4f8ce
c4f8ce
%files -n daxctl-devel
c4f8ce
%license LICENSES/preferred/LGPL-2.1
c4f8ce
%{_includedir}/daxctl/
c4f8ce
%{_libdir}/libdaxctl.so
c4f8ce
%{_libdir}/pkgconfig/libdaxctl.pc
c4f8ce
c4f8ce
c4f8ce
%changelog
0670da
* Tue Jun 14 2022 Bryan Gurney <bgurney@redhat.com> - 71.1-7
0670da
- Pull in fixes from upstream v72 and v73 (Jeff Moyer)
0670da
- Fix enable-namespace all reporting errors incorrectly
0670da
- Add support for inject-smart on papr scm
0670da
- Related: rhbz#2040075
0670da
- Related: rhbz#1873851
0670da
- Related: rhbz#1880578
0670da
- Related: rhbz#1922538
0670da
- Related: rhbz#2087707
0670da
c4f8ce
* Wed Dec 1 2021 Bryan Gurney <bgurney@redhat.com> - 71.1-6
c4f8ce
- Add gating test
c4f8ce
- Related: rhbz#2028152
c4f8ce
c4f8ce
* Mon Nov 29 2021 Bryan Gurney <bgurney@redhat.com> - 71.1-5
c4f8ce
- Rebuild with latest json-c version
c4f8ce
- Related: rhbz#2023317
c4f8ce
c4f8ce
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 71.1-4
c4f8ce
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c4f8ce
  Related: rhbz#1991688
c4f8ce
c4f8ce
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 71.1-3
c4f8ce
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c4f8ce
c4f8ce
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 71.1-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c4f8ce
c4f8ce
* Tue Dec 22 2020 Vishal Verma <vishal.l.verma@intel.com> - 71.1-1
c4f8ce
- release v71.1
c4f8ce
c4f8ce
* Sat Dec 19 2020 Vishal Verma <vishal.l.verma@intel.com> - 71-1
c4f8ce
- release v71
c4f8ce
c4f8ce
* Sat Oct 10 2020 Vishal Verma <vishal.l.verma@intel.com> - 70.1-1
c4f8ce
- release v70.1
c4f8ce
c4f8ce
* Tue Oct 06 2020 Vishal Verma <vishal@stellar.sh> - 70-1
c4f8ce
- release v70
c4f8ce
c4f8ce
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 69-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c4f8ce
c4f8ce
* Thu Jul 23 2020 Vishal Verma <vishal.l.verma@intel.com> - 69-1
c4f8ce
- release v69
c4f8ce
c4f8ce
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 68-2
c4f8ce
- Rebuild (json-c)
c4f8ce
c4f8ce
* Tue Mar 24 2020 Vishal Verma <vishal@stellar.sh> - 68-1
c4f8ce
- release v68
c4f8ce
c4f8ce
* Fri Jan 31 2020 Vishal Verma <vishal.l.verma@intel.com> - 67-3
c4f8ce
- Add fix for GCC10 builds
c4f8ce
c4f8ce
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 67-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c4f8ce
c4f8ce
* Mon Oct 28 2019 Vishal Verma <vishal.l.verma@intel.com> - 67-1
c4f8ce
- release v67
c4f8ce
c4f8ce
* Wed Aug 07 2019 Vishal Verma <vishal.l.verma@intel.com> - 66-1
c4f8ce
- release v66
c4f8ce
c4f8ce
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 65-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c4f8ce
c4f8ce
* Sat May 11 2019 Vishal Verma <vishal.l.verma@intel.com> - 65-1
c4f8ce
- release v65
c4f8ce
c4f8ce
* Wed Feb 06 2019 Vishal Verma <vishal.l.verma@intel.com> - 64.1-1
c4f8ce
- release v64.1
c4f8ce
c4f8ce
* Mon Feb 04 2019 Vishal Verma <vishal.l.verma@intel.com> - 64-1
c4f8ce
- release v64
c4f8ce
c4f8ce
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 63-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c4f8ce
c4f8ce
* Fri Oct 05 2018 Vishal Verma <vishal.l.verma@intel.com> - 63-1
c4f8ce
- release v63
c4f8ce
- remove ndctl-udev and related files
c4f8ce
c4f8ce
* Tue Aug 14 2018 Vishal Verma <vishal@stellar.sh> - 62-1
c4f8ce
- release v62
c4f8ce
- Add files for udev and ndctl-monitor
c4f8ce
c4f8ce
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 61.2-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c4f8ce
c4f8ce
* Wed Jul 11 2018 Vishal Verma <vishal.l.verma@intel.com> - 61.2-1
c4f8ce
- release v61.2
c4f8ce
c4f8ce
* Tue Jun 26 2018 Vishal Verma <vishal@stellar.sh> - 61.1-1
c4f8ce
- release v61.1
c4f8ce
c4f8ce
* Tue Jun 26 2018 Vishal Verma <vishal@stellar.sh> - 61-1
c4f8ce
- new version
c4f8ce
c4f8ce
* Thu May 17 2018 Dan Williams <dan.j.williams@intel.com> - 60.3-1
c4f8ce
- release v60.3
c4f8ce
c4f8ce
* Mon Apr 23 2018 Dan Williams <dan.j.williams@intel.com> - 60.1-1
c4f8ce
- release v60.1
c4f8ce
c4f8ce
* Thu Apr 19 2018 Dan Williams <dan.j.williams@intel.com> - 60-1
c4f8ce
- release v60
c4f8ce
c4f8ce
* Tue Mar 27 2018 Dan Williams <dan.j.williams@intel.com> - 59.3-1
c4f8ce
- release v59.3
c4f8ce
c4f8ce
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 59.2-2
c4f8ce
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
c4f8ce
c4f8ce
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59.2-1
c4f8ce
- release v59.2
c4f8ce
c4f8ce
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59.1-1
c4f8ce
- release v59.1
c4f8ce
c4f8ce
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59-1
c4f8ce
- release v59
c4f8ce
c4f8ce
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 58.4-3
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c4f8ce
c4f8ce
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 58.4-2
c4f8ce
- Rebuilt for libjson-c.so.3
c4f8ce
c4f8ce
* Thu Nov 16 2017 Dan Williams <dan.j.williams@intel.com> - 58.4-1
c4f8ce
- release v58.4
c4f8ce
c4f8ce
* Thu Sep 21 2017 Dan Williams <dan.j.williams@intel.com> - 58.2-1
c4f8ce
- release v58.2
c4f8ce
c4f8ce
* Fri Sep 08 2017 Dan Williams <dan.j.williams@intel.com> - 58.1-2
c4f8ce
- gate libpmem dependency on x86_64
c4f8ce
c4f8ce
* Fri Sep 08 2017 Dan Williams <dan.j.williams@intel.com> - 58.1-1
c4f8ce
- add libpmem dependency
c4f8ce
- release v58.1
c4f8ce
c4f8ce
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 57.1-3
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c4f8ce
c4f8ce
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 57.1-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c4f8ce
c4f8ce
* Fri Jun 30 2017 Dan Williams <dan.j.williams@intel.com> - 57.1-1
c4f8ce
- Release v57.1
c4f8ce
c4f8ce
* Sat May 27 2017 Dan Williams <dan.j.williams@intel.com> - 57-1
c4f8ce
- Release v57
c4f8ce
c4f8ce
* Fri Feb 10 2017 Dan Williams <dan.j.williams@intel.com> - 56-1
c4f8ce
- Release v56
c4f8ce
c4f8ce
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 55-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c4f8ce
c4f8ce
* Fri Oct 21 2016 Dan Williams <dan.j.williams@intel.com> - 55-1
c4f8ce
- release v55
c4f8ce
c4f8ce
* Fri Aug 05 2016 Dan Williams <dan.j.williams@intel.com> - 54-1
c4f8ce
- add explicit lib version dependencies
c4f8ce
c4f8ce
* Sat May 28 2016 Dan Williams <dan.j.williams@intel.com> - 53.1-1
c4f8ce
- Fix up tag format vs source url confusion
c4f8ce
c4f8ce
* Fri May 27 2016 Dan Williams <dan.j.williams@intel.com> - 53-1
c4f8ce
- add daxctl-libs + daxctl-devel packages
c4f8ce
- add bash completion
c4f8ce
c4f8ce
* Mon Apr 04 2016 Dan Williams <dan.j.williams@intel.com> - 52-1
c4f8ce
- Initial rpm submission to Fedora