Blame SPECS/ndctl.spec

b256da
Name:		ndctl
ab4840
Version:	56
ab4840
Release:	2%{?dist}
b256da
Summary:	Manage "libnvdimm" subsystem devices (Non-volatile Memory)
b256da
License:	GPLv2
b256da
Group:		System Environment/Base
b256da
Url:		https://github.com/pmem/ndctl
b256da
Source0:	https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
ab4840
Patch0:		22bffbe-daxctl-add-libuuid-to-the-build.patch
ab4840
Patch1:		77d84b2-ndctl-create-namespace-include-dax-info-in-operation-result.patch
ab4840
Patch2:		rhel-ndctl-limit-device-dax-to-4k-by-default.patch
ab4840
Patch3:		rhel-ndctl-document-4k-alignment-default.patch
ab4840
Patch4:		2cf2acc-libndctl-add-support-for-the-MSFT-family-of-DSM-functions.patch
b256da
b256da
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
b256da
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
b256da
BuildRequires:	autoconf
b256da
BuildRequires:	asciidoc
b256da
BuildRequires:	xmlto
b256da
BuildRequires:	automake
b256da
BuildRequires:	libtool
b256da
BuildRequires:	pkgconfig
b256da
BuildRequires:	pkgconfig(libkmod)
b256da
BuildRequires:	pkgconfig(libudev)
b256da
BuildRequires:	pkgconfig(uuid)
b256da
BuildRequires:	pkgconfig(json-c)
b256da
BuildRequires:	pkgconfig(bash-completion)
b256da
b256da
%description
b256da
Utility library for managing the "libnvdimm" subsystem.  The "libnvdimm"
b256da
subsystem defines a kernel device model and control message interface for
b256da
platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM
b256da
Firmware Interface Table).
b256da
b256da
b256da
%package -n ndctl-devel
b256da
Summary:	Development files for libndctl
b256da
License:	LGPLv2
b256da
Group:		Development/Libraries
b256da
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
b256da
b256da
%description -n ndctl-devel
b256da
The %{name}-devel package contains libraries and header files for
b256da
developing applications that use %{name}.
b256da
ab4840
%package -n daxctl
ab4840
Summary:        Manage Device-DAX instances
ab4840
License:        GPLv2
ab4840
Group:          System Environment/Base
ab4840
Requires:       daxctl-libs%{?_isa} = %{version}-%{release}
ab4840
ab4840
%description -n daxctl
ab4840
The daxctl utility provides enumeration and provisioning commands for
ab4840
the Linux kernel Device-DAX facility. This facility enables DAX mappings
ab4840
of performance / feature differentiated memory without need of a
ab4840
filesystem.
ab4840
b256da
%package -n daxctl-devel
b256da
Summary:	Development files for libdaxctl
b256da
License:	LGPLv2
b256da
Group:		Development/Libraries
b256da
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
b256da
b256da
%description -n daxctl-devel
b256da
The %{name}-devel package contains libraries and header files for
b256da
developing applications that use %{name}, a library for enumerating
b256da
"Device DAX" devices.  Device DAX is a facility for establishing DAX
b256da
mappings of performance / feature-differentiated memory.
b256da
b256da
b256da
%package -n ndctl-libs
b256da
Summary:	Management library for "libnvdimm" subsystem devices (Non-volatile Memory)
b256da
License:	LGPLv2
b256da
Group:		System Environment/Libraries
b256da
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
b256da
b256da
b256da
%description -n ndctl-libs
b256da
Libraries for %{name}.
b256da
b256da
%package -n daxctl-libs
b256da
Summary:	Management library for "Device DAX" devices
b256da
License:	LGPLv2
b256da
Group:		System Environment/Libraries
b256da
b256da
%description -n daxctl-libs
b256da
Device DAX is a facility for establishing DAX mappings of performance /
b256da
feature-differentiated memory. daxctl-libs provides an enumeration /
b256da
control API for these devices.
b256da
b256da
b256da
%prep
b256da
%setup -q ndctl-%{version}
ab4840
%patch0 -p1
ab4840
%patch1 -p1
ab4840
%patch2 -p1
ab4840
%patch3 -p1
ab4840
%patch4 -p1
b256da
b256da
%build
b256da
echo %{version} > version
b256da
./autogen.sh
b256da
%configure --disable-static --enable-local --disable-silent-rules
b256da
make %{?_smp_mflags}
b256da
b256da
%install
b256da
%make_install
b256da
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
b256da
b256da
%check
b256da
make check
b256da
b256da
%post -n ndctl-libs -p /sbin/ldconfig
b256da
b256da
%postun -n ndctl-libs -p /sbin/ldconfig
b256da
b256da
%post -n daxctl-libs -p /sbin/ldconfig
b256da
b256da
%postun -n daxctl-libs -p /sbin/ldconfig
b256da
b256da
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion)
b256da
b256da
%files
ab4840
%license util/COPYING licenses/BSD-MIT licenses/CC0
b256da
%{_bindir}/ndctl
ab4840
%{_mandir}/man1/ndctl*
b256da
%{bashcompdir}/
b256da
ab4840
%files -n daxctl
ab4840
%license util/COPYING licenses/BSD-MIT licenses/CC0
ab4840
%{_bindir}/daxctl
ab4840
%{_mandir}/man1/daxctl*
ab4840
b256da
%files -n ndctl-libs
b256da
%doc README.md
ab4840
%license util/COPYING licenses/BSD-MIT licenses/CC0
b256da
%{_libdir}/libndctl.so.*
b256da
b256da
%files -n daxctl-libs
b256da
%doc README.md
ab4840
%license util/COPYING licenses/BSD-MIT licenses/CC0
b256da
%{_libdir}/libdaxctl.so.*
b256da
b256da
%files -n ndctl-devel
ab4840
%license util/COPYING
b256da
%{_includedir}/ndctl/
b256da
%{_libdir}/libndctl.so
b256da
%{_libdir}/pkgconfig/libndctl.pc
b256da
b256da
%files -n daxctl-devel
ab4840
%license util/COPYING
b256da
%{_includedir}/daxctl/
b256da
%{_libdir}/libdaxctl.so
b256da
%{_libdir}/pkgconfig/libdaxctl.pc
b256da
b256da
b256da
%changelog
ab4840
* Tue May 30 2017 Jeff Moyer <jmoyer@redhat.com> - 56-2
ab4840
- bump release
ab4840
- Related: bz#1440902 bz#1446689
ab4840
ab4840
* Wed May 24 2017 Jeff Moyer <jmoyer@redhat.com> - 56-2
ab4840
- Update documentation to reflect 4k alignment
ab4840
- Add support for the MSFT family of DSM functions
ab4840
- Resolves: bz#1440902 bz#1446689
ab4840
ab4840
* Sun Mar 26 2017 Jeff Moyer <jmoyer@redhat.com> - 56-1
ab4840
- Rebase to upstream version 56
ab4840
- Default to 4k alignment for device dax
ab4840
- Resolves: bz#1384873 bz#1384642 bz#1349233 bz#1357451
ab4840
b256da
* Mon Aug 29 2016 Dave Anderson <anderson@redhat.com> - 54.1
b256da
- Update to 54.1 to address ixpdimm_sw requirements
b256da
- Resolves bz#1271425
b256da
b256da
* Wed Jul  6 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-4
b256da
- Fix up duplicate "-v" documentation in man page
b256da
- Fix bogus test in invalidate_namespace_options
b256da
- Resolves: bz#1350404 bz#1271425
b256da
b256da
* Mon Jun 20 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-3
b256da
- make ndctl Require ndctl-libs-{version}-{release}
b256da
- Resolves bz#1271425
b256da
b256da
* Wed Jun  1 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-2
b256da
- initial import for RHEL
b256da
- Resolves bz#1271425
b256da
b256da
* Fri May 27 2016 Dan Williams <dan.j.williams@intel.com> - 53-1
b256da
- add daxctl-libs + daxctl-devel packages
b256da
- add bash completion
b256da
b256da
* Mon Apr 04 2016 Dan Williams <dan.j.williams@intel.com> - 52-1
b256da
- Initial rpm submission to Fedora