Blame SPECS/ndctl.spec

4b20f0
Name:		ndctl
d212ca
Version:	71.1
5e9906
Release:	2%{?dist}
4b20f0
Summary:	Manage "libnvdimm" subsystem devices (Non-volatile Memory)
4b20f0
License:	GPLv2
4b20f0
Group:		System Environment/Base
4b20f0
Url:		https://github.com/pmem/ndctl
4b20f0
Source0:	https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
5e9906
Patch0:		modprobe-link-user-keyring-before-loadkeys.patch
d212ca
Patch1:		ndctl-skip-seed-devices-in-zero_info_block.patch
4b20f0
4b20f0
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
4b20f0
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
4b20f0
BuildRequires:	autoconf
4b20f0
BuildRequires:	asciidoc
4b20f0
BuildRequires:	xmlto
4b20f0
BuildRequires:	automake
4b20f0
BuildRequires:	libtool
4b20f0
BuildRequires:	pkgconfig
4b20f0
BuildRequires:	pkgconfig(libkmod)
4b20f0
BuildRequires:	pkgconfig(libudev)
4b20f0
BuildRequires:	pkgconfig(uuid)
4b20f0
BuildRequires:	pkgconfig(json-c)
4b20f0
BuildRequires:	pkgconfig(bash-completion)
4b20f0
BuildRequires:	systemd
4b20f0
BuildRequires:	keyutils-libs-devel
4b20f0
4b20f0
%description
4b20f0
Utility library for managing the "libnvdimm" subsystem.  The "libnvdimm"
4b20f0
subsystem defines a kernel device model and control message interface for
4b20f0
platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM
4b20f0
Firmware Interface Table).
4b20f0
4b20f0
4b20f0
%package -n ndctl-devel
4b20f0
Summary:	Development files for libndctl
4b20f0
License:	LGPLv2
4b20f0
Group:		Development/Libraries
4b20f0
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
4b20f0
4b20f0
%description -n ndctl-devel
4b20f0
The %{name}-devel package contains libraries and header files for
4b20f0
developing applications that use %{name}.
4b20f0
4b20f0
%package -n daxctl
4b20f0
Summary:	Manage Device-DAX instances
4b20f0
License:	GPLv2
4b20f0
Group:		System Environment/Base
4b20f0
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
4b20f0
4b20f0
%description -n daxctl
4b20f0
The daxctl utility provides enumeration and provisioning commands for
4b20f0
the Linux kernel Device-DAX facility. This facility enables DAX mappings
4b20f0
of performance / feature differentiated memory without need of a
4b20f0
filesystem.
4b20f0
4b20f0
%package -n daxctl-devel
4b20f0
Summary:	Development files for libdaxctl
4b20f0
License:	LGPLv2
4b20f0
Group:		Development/Libraries
4b20f0
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
4b20f0
4b20f0
%description -n daxctl-devel
4b20f0
The %{name}-devel package contains libraries and header files for
4b20f0
developing applications that use %{name}, a library for enumerating
4b20f0
"Device DAX" devices.  Device DAX is a facility for establishing DAX
4b20f0
mappings of performance / feature-differentiated memory.
4b20f0
4b20f0
4b20f0
%package -n ndctl-libs
4b20f0
Summary:	Management library for "libnvdimm" subsystem devices (Non-volatile Memory)
4b20f0
License:	LGPLv2
4b20f0
Group:		System Environment/Libraries
4b20f0
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
4b20f0
4b20f0
4b20f0
%description -n ndctl-libs
4b20f0
Libraries for %{name}.
4b20f0
4b20f0
%package -n daxctl-libs
4b20f0
Summary:	Management library for "Device DAX" devices
4b20f0
License:	LGPLv2
4b20f0
Group:		System Environment/Libraries
4b20f0
4b20f0
%description -n daxctl-libs
4b20f0
Device DAX is a facility for establishing DAX mappings of performance /
4b20f0
feature-differentiated memory. daxctl-libs provides an enumeration /
4b20f0
control API for these devices.
4b20f0
4b20f0
4b20f0
%prep
4b20f0
%setup -q ndctl-%{version}
5e9906
%patch0 -p1
d212ca
%patch1 -p1
4b20f0
4b20f0
%build
4b20f0
echo %{version} > version
4b20f0
./autogen.sh
4b20f0
%configure --disable-static --disable-silent-rules --disable-asciidoctor
4b20f0
make %{?_smp_mflags}
4b20f0
4b20f0
%install
4b20f0
%make_install
4b20f0
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
4b20f0
4b20f0
%check
4b20f0
make check
4b20f0
4b20f0
%post -n ndctl-libs -p /sbin/ldconfig
4b20f0
4b20f0
%postun -n ndctl-libs -p /sbin/ldconfig
4b20f0
4b20f0
%post -n daxctl-libs -p /sbin/ldconfig
4b20f0
4b20f0
%postun -n daxctl-libs -p /sbin/ldconfig
4b20f0
4b20f0
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion)
4b20f0
4b20f0
%files
d212ca
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
4b20f0
%{_bindir}/ndctl
4b20f0
%{_mandir}/man1/ndctl*
4b20f0
%{bashcompdir}/
4b20f0
%{_unitdir}/ndctl-monitor.service
4b20f0
%{_sysconfdir}/ndctl/keys/keys.readme
4b20f0
%{_sysconfdir}/modprobe.d/nvdimm-security.conf
4b20f0
4b20f0
%config(noreplace) %{_sysconfdir}/ndctl/monitor.conf
4b20f0
4b20f0
%files -n daxctl
d212ca
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
4b20f0
%{_bindir}/daxctl
4b20f0
%{_mandir}/man1/daxctl*
4b20f0
%{_datadir}/daxctl/daxctl.conf
4b20f0
4b20f0
%files -n ndctl-libs
4b20f0
%doc README.md
d212ca
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
4b20f0
%{_libdir}/libndctl.so.*
4b20f0
4b20f0
%files -n daxctl-libs
4b20f0
%doc README.md
d212ca
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
4b20f0
%{_libdir}/libdaxctl.so.*
4b20f0
4b20f0
%files -n ndctl-devel
d212ca
%license LICENSES/preferred/LGPL-2.1
4b20f0
%{_includedir}/ndctl/
4b20f0
%{_libdir}/libndctl.so
4b20f0
%{_libdir}/pkgconfig/libndctl.pc
4b20f0
4b20f0
%files -n daxctl-devel
d212ca
%license LICENSES/preferred/LGPL-2.1
4b20f0
%{_includedir}/daxctl/
4b20f0
%{_libdir}/libdaxctl.so
4b20f0
%{_libdir}/pkgconfig/libdaxctl.pc
4b20f0
4b20f0
4b20f0
%changelog
d212ca
* Thu Feb 11 2021 Jeff Moyer <jmoyer@redhat.com> - 71.1-2.el8
d212ca
- Get rid of confusing message when deleting all namespaces
d212ca
- Related: bz#1782182
d212ca
d212ca
* Fri Feb  5 2021 Jeff Moyer <jmoyer@redhat.com> - 71.1-1.el8
d212ca
- Update to v71.1 to pull in ppc support.
d212ca
- Related: bz#1782182
d212ca
5e9906
* Fri Nov  1 2019 Jeff Moyer <jmoyer@redhat.com> - 67-2.el8
5e9906
- Fix up botched change to nvdimm-security.conf (Jeff Moyer)
5e9906
- Related: bz#1724531
5e9906
5e9906
* Mon Oct 28 2019 Jeff Moyer <jmoyer@redhat.com> - 67-1.el8
5e9906
- Rebase to v67.  This brings in the following features:
5e9906
  - support for the 'security frozen' sysfs attribute
5e9906
  - support for using pmem as system ram
5e9906
  - various cleanup and bug fixes
5e9906
- Fix load-keys failure in initramfs (Jeff Moyer)
5e9906
- Resolves: bz#1724531 bz#1730673 bz#1741164 bz#1741165 bz#1749888 bz#1749889
5e9906
4b20f0
* Mon Jun  3 2019 Jeff Moyer <jmoyer@redhat.com> - 65-1.el8
4b20f0
- Rebase to v65.
4b20f0
- Resolves: bz#1665407 bz#1634349
4b20f0
4b20f0
* Tue Oct 09 2018 Jeff Moyer 
4b20f0
- Remove faulty udev rule
4b20f0
- Resolves: bz#1637624
4b20f0
4b20f0
* Thu Aug 23 2018 Jeff Moyer <jmoyer@redhat.com> - 62-1
4b20f0
- rebase to v62
4b20f0
- Resolves: bz#1567756 bz#1497651 bz#1610650 bz#1511774 bz#1570548
4b20f0
4b20f0
* Mon Apr 23 2018 Dan Williams <dan.j.williams@intel.com> - 60.1-1
4b20f0
- release v60.1
4b20f0
4b20f0
* Thu Apr 19 2018 Dan Williams <dan.j.williams@intel.com> - 60-1
4b20f0
- release v60
4b20f0
4b20f0
* Tue Mar 27 2018 Dan Williams <dan.j.williams@intel.com> - 59.3-1
4b20f0
- release v59.3
4b20f0
4b20f0
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 59.2-2
4b20f0
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
4b20f0
4b20f0
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59.2-1
4b20f0
- release v59.2
4b20f0
4b20f0
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59.1-1
4b20f0
- release v59.1
4b20f0
4b20f0
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59-1
4b20f0
- release v59
4b20f0
4b20f0
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 58.4-3
4b20f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4b20f0
4b20f0
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 58.4-2
4b20f0
- Rebuilt for libjson-c.so.3
4b20f0
4b20f0
* Thu Nov 16 2017 Dan Williams <dan.j.williams@intel.com> - 58.4-1
4b20f0
- release v58.4
4b20f0
4b20f0
* Thu Sep 21 2017 Dan Williams <dan.j.williams@intel.com> - 58.2-1
4b20f0
- release v58.2
4b20f0
4b20f0
* Fri Sep 08 2017 Dan Williams <dan.j.williams@intel.com> - 58.1-2
4b20f0
- gate libpmem dependency on x86_64
4b20f0
4b20f0
* Fri Sep 08 2017 Dan Williams <dan.j.williams@intel.com> - 58.1-1
4b20f0
- add libpmem dependency
4b20f0
- release v58.1
4b20f0
4b20f0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 57.1-3
4b20f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4b20f0
4b20f0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 57.1-2
4b20f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4b20f0
4b20f0
* Fri Jun 30 2017 Dan Williams <dan.j.williams@intel.com> - 57.1-1
4b20f0
- Release v57.1
4b20f0
4b20f0
* Sat May 27 2017 Dan Williams <dan.j.williams@intel.com> - 57-1
4b20f0
- Release v57
4b20f0
4b20f0
* Fri Feb 10 2017 Dan Williams <dan.j.williams@intel.com> - 56-1
4b20f0
- Release v56
4b20f0
4b20f0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 55-2
4b20f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4b20f0
4b20f0
* Fri Oct 21 2016 Dan Williams <dan.j.williams@intel.com> - 55-1
4b20f0
- release v55
4b20f0
4b20f0
* Fri Aug 05 2016 Dan Williams <dan.j.williams@intel.com> - 54-1
4b20f0
- add explicit lib version dependencies
4b20f0
4b20f0
* Sat May 28 2016 Dan Williams <dan.j.williams@intel.com> - 53.1-1
4b20f0
- Fix up tag format vs source url confusion
4b20f0
4b20f0
* Fri May 27 2016 Dan Williams <dan.j.williams@intel.com> - 53-1
4b20f0
- add daxctl-libs + daxctl-devel packages
4b20f0
- add bash completion
4b20f0
4b20f0
* Mon Apr 04 2016 Dan Williams <dan.j.williams@intel.com> - 52-1
4b20f0
- Initial rpm submission to Fedora