Blame SPECS/ndctl.spec

801d97
Name:		ndctl
801d97
Version:	71.1
801d97
Release:	4%{?dist}
801d97
Summary:	Manage "libnvdimm" subsystem devices (Non-volatile Memory)
801d97
License:	GPLv2
801d97
Url:		https://github.com/pmem/ndctl
801d97
Source0:	https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
801d97
801d97
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
801d97
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
801d97
BuildRequires: make
801d97
BuildRequires:	autoconf
801d97
%if 0%{?rhel} < 9
801d97
BuildRequires:	asciidoc
801d97
%define asciidoc --disable-asciidoctor
801d97
%else
801d97
BuildRequires:	rubygem-asciidoctor
801d97
%endif
801d97
BuildRequires:	xmlto
801d97
BuildRequires:	automake
801d97
BuildRequires:	libtool
801d97
BuildRequires:	pkgconfig
801d97
BuildRequires:	pkgconfig(libkmod)
801d97
BuildRequires:	pkgconfig(libudev)
801d97
BuildRequires:	pkgconfig(uuid)
801d97
BuildRequires:	pkgconfig(json-c)
801d97
BuildRequires:	pkgconfig(bash-completion)
801d97
BuildRequires:	pkgconfig(systemd)
801d97
BuildRequires:	keyutils-libs-devel
801d97
801d97
%description
801d97
Utility library for managing the "libnvdimm" subsystem.  The "libnvdimm"
801d97
subsystem defines a kernel device model and control message interface for
801d97
platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM
801d97
Firmware Interface Table).
801d97
801d97
801d97
%package -n ndctl-devel
801d97
Summary:	Development files for libndctl
801d97
License:	LGPLv2
801d97
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
801d97
801d97
%description -n ndctl-devel
801d97
The %{name}-devel package contains libraries and header files for
801d97
developing applications that use %{name}.
801d97
801d97
%package -n daxctl
801d97
Summary:	Manage Device-DAX instances
801d97
License:	GPLv2
801d97
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
801d97
801d97
%description -n daxctl
801d97
The daxctl utility provides enumeration and provisioning commands for
801d97
the Linux kernel Device-DAX facility. This facility enables DAX mappings
801d97
of performance / feature differentiated memory without need of a
801d97
filesystem.
801d97
801d97
%package -n daxctl-devel
801d97
Summary:	Development files for libdaxctl
801d97
License:	LGPLv2
801d97
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
801d97
801d97
%description -n daxctl-devel
801d97
The %{name}-devel package contains libraries and header files for
801d97
developing applications that use %{name}, a library for enumerating
801d97
"Device DAX" devices.  Device DAX is a facility for establishing DAX
801d97
mappings of performance / feature-differentiated memory.
801d97
801d97
801d97
%package -n ndctl-libs
801d97
Summary:	Management library for "libnvdimm" subsystem devices (Non-volatile Memory)
801d97
License:	LGPLv2
801d97
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
801d97
801d97
801d97
%description -n ndctl-libs
801d97
Libraries for %{name}.
801d97
801d97
%package -n daxctl-libs
801d97
Summary:	Management library for "Device DAX" devices
801d97
License:	LGPLv2
801d97
801d97
%description -n daxctl-libs
801d97
Device DAX is a facility for establishing DAX mappings of performance /
801d97
feature-differentiated memory. daxctl-libs provides an enumeration /
801d97
control API for these devices.
801d97
801d97
801d97
%prep
801d97
%setup -q ndctl-%{version}
801d97
801d97
%build
801d97
echo %{version} > version
801d97
./autogen.sh
801d97
%configure --disable-static --disable-silent-rules %{?asciidoc}
801d97
make %{?_smp_mflags}
801d97
801d97
%install
801d97
%make_install
801d97
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
801d97
801d97
%check
801d97
make check
801d97
801d97
%ldconfig_scriptlets -n ndctl-libs
801d97
801d97
%ldconfig_scriptlets -n daxctl-libs
801d97
801d97
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion)
801d97
801d97
%files
801d97
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
801d97
%{_bindir}/ndctl
801d97
%{_mandir}/man1/ndctl*
801d97
%{bashcompdir}/
801d97
%{_unitdir}/ndctl-monitor.service
801d97
%{_sysconfdir}/ndctl/keys/keys.readme
801d97
%{_sysconfdir}/modprobe.d/nvdimm-security.conf
801d97
801d97
%config(noreplace) %{_sysconfdir}/ndctl/monitor.conf
801d97
801d97
%files -n daxctl
801d97
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
801d97
%{_bindir}/daxctl
801d97
%{_mandir}/man1/daxctl*
801d97
%{_datadir}/daxctl/daxctl.conf
801d97
801d97
%files -n ndctl-libs
801d97
%doc README.md
801d97
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
801d97
%{_libdir}/libndctl.so.*
801d97
801d97
%files -n daxctl-libs
801d97
%doc README.md
801d97
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
801d97
%{_libdir}/libdaxctl.so.*
801d97
801d97
%files -n ndctl-devel
801d97
%license LICENSES/preferred/LGPL-2.1
801d97
%{_includedir}/ndctl/
801d97
%{_libdir}/libndctl.so
801d97
%{_libdir}/pkgconfig/libndctl.pc
801d97
801d97
%files -n daxctl-devel
801d97
%license LICENSES/preferred/LGPL-2.1
801d97
%{_includedir}/daxctl/
801d97
%{_libdir}/libdaxctl.so
801d97
%{_libdir}/pkgconfig/libdaxctl.pc
801d97
801d97
801d97
%changelog
801d97
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 71.1-4
801d97
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
801d97
  Related: rhbz#1991688
801d97
801d97
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 71.1-3
801d97
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
801d97
801d97
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 71.1-2
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
801d97
801d97
* Tue Dec 22 2020 Vishal Verma <vishal.l.verma@intel.com> - 71.1-1
801d97
- release v71.1
801d97
801d97
* Sat Dec 19 2020 Vishal Verma <vishal.l.verma@intel.com> - 71-1
801d97
- release v71
801d97
801d97
* Sat Oct 10 2020 Vishal Verma <vishal.l.verma@intel.com> - 70.1-1
801d97
- release v70.1
801d97
801d97
* Tue Oct 06 2020 Vishal Verma <vishal@stellar.sh> - 70-1
801d97
- release v70
801d97
801d97
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 69-2
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
801d97
801d97
* Thu Jul 23 2020 Vishal Verma <vishal.l.verma@intel.com> - 69-1
801d97
- release v69
801d97
801d97
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 68-2
801d97
- Rebuild (json-c)
801d97
801d97
* Tue Mar 24 2020 Vishal Verma <vishal@stellar.sh> - 68-1
801d97
- release v68
801d97
801d97
* Fri Jan 31 2020 Vishal Verma <vishal.l.verma@intel.com> - 67-3
801d97
- Add fix for GCC10 builds
801d97
801d97
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 67-2
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
801d97
801d97
* Mon Oct 28 2019 Vishal Verma <vishal.l.verma@intel.com> - 67-1
801d97
- release v67
801d97
801d97
* Wed Aug 07 2019 Vishal Verma <vishal.l.verma@intel.com> - 66-1
801d97
- release v66
801d97
801d97
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 65-2
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
801d97
801d97
* Sat May 11 2019 Vishal Verma <vishal.l.verma@intel.com> - 65-1
801d97
- release v65
801d97
801d97
* Wed Feb 06 2019 Vishal Verma <vishal.l.verma@intel.com> - 64.1-1
801d97
- release v64.1
801d97
801d97
* Mon Feb 04 2019 Vishal Verma <vishal.l.verma@intel.com> - 64-1
801d97
- release v64
801d97
801d97
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 63-2
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
801d97
801d97
* Fri Oct 05 2018 Vishal Verma <vishal.l.verma@intel.com> - 63-1
801d97
- release v63
801d97
- remove ndctl-udev and related files
801d97
801d97
* Tue Aug 14 2018 Vishal Verma <vishal@stellar.sh> - 62-1
801d97
- release v62
801d97
- Add files for udev and ndctl-monitor
801d97
801d97
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 61.2-2
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
801d97
801d97
* Wed Jul 11 2018 Vishal Verma <vishal.l.verma@intel.com> - 61.2-1
801d97
- release v61.2
801d97
801d97
* Tue Jun 26 2018 Vishal Verma <vishal@stellar.sh> - 61.1-1
801d97
- release v61.1
801d97
801d97
* Tue Jun 26 2018 Vishal Verma <vishal@stellar.sh> - 61-1
801d97
- new version
801d97
801d97
* Thu May 17 2018 Dan Williams <dan.j.williams@intel.com> - 60.3-1
801d97
- release v60.3
801d97
801d97
* Mon Apr 23 2018 Dan Williams <dan.j.williams@intel.com> - 60.1-1
801d97
- release v60.1
801d97
801d97
* Thu Apr 19 2018 Dan Williams <dan.j.williams@intel.com> - 60-1
801d97
- release v60
801d97
801d97
* Tue Mar 27 2018 Dan Williams <dan.j.williams@intel.com> - 59.3-1
801d97
- release v59.3
801d97
801d97
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 59.2-2
801d97
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
801d97
801d97
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59.2-1
801d97
- release v59.2
801d97
801d97
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59.1-1
801d97
- release v59.1
801d97
801d97
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59-1
801d97
- release v59
801d97
801d97
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 58.4-3
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
801d97
801d97
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 58.4-2
801d97
- Rebuilt for libjson-c.so.3
801d97
801d97
* Thu Nov 16 2017 Dan Williams <dan.j.williams@intel.com> - 58.4-1
801d97
- release v58.4
801d97
801d97
* Thu Sep 21 2017 Dan Williams <dan.j.williams@intel.com> - 58.2-1
801d97
- release v58.2
801d97
801d97
* Fri Sep 08 2017 Dan Williams <dan.j.williams@intel.com> - 58.1-2
801d97
- gate libpmem dependency on x86_64
801d97
801d97
* Fri Sep 08 2017 Dan Williams <dan.j.williams@intel.com> - 58.1-1
801d97
- add libpmem dependency
801d97
- release v58.1
801d97
801d97
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 57.1-3
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
801d97
801d97
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 57.1-2
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
801d97
801d97
* Fri Jun 30 2017 Dan Williams <dan.j.williams@intel.com> - 57.1-1
801d97
- Release v57.1
801d97
801d97
* Sat May 27 2017 Dan Williams <dan.j.williams@intel.com> - 57-1
801d97
- Release v57
801d97
801d97
* Fri Feb 10 2017 Dan Williams <dan.j.williams@intel.com> - 56-1
801d97
- Release v56
801d97
801d97
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 55-2
801d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
801d97
801d97
* Fri Oct 21 2016 Dan Williams <dan.j.williams@intel.com> - 55-1
801d97
- release v55
801d97
801d97
* Fri Aug 05 2016 Dan Williams <dan.j.williams@intel.com> - 54-1
801d97
- add explicit lib version dependencies
801d97
801d97
* Sat May 28 2016 Dan Williams <dan.j.williams@intel.com> - 53.1-1
801d97
- Fix up tag format vs source url confusion
801d97
801d97
* Fri May 27 2016 Dan Williams <dan.j.williams@intel.com> - 53-1
801d97
- add daxctl-libs + daxctl-devel packages
801d97
- add bash completion
801d97
801d97
* Mon Apr 04 2016 Dan Williams <dan.j.williams@intel.com> - 52-1
801d97
- Initial rpm submission to Fedora