ndctl/ndctl.spec

364 lines
11 KiB
RPMSpec
Raw Normal View History

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