Blame SPECS/nvml.spec

cabd7a
Name:		nvml
ae830c
Version:	1.5.1
ae830c
Release:	2.1%{?dist}
cabd7a
Summary:	Non-Volatile Memory Library
cabd7a
License:	BSD
5295ed
URL:		http://pmem.io/pmdk
5295ed
Source0:	https://github.com/pmem/pmdk/archive/%{version}.tar.gz#/pmdk-%{version}.tar.gz
cabd7a
cabd7a
BuildRequires:	glibc-devel
cabd7a
BuildRequires:	autoconf
cabd7a
BuildRequires:	automake
cabd7a
BuildRequires:	man
cabd7a
BuildRequires:	pkgconfig
5295ed
BuildRequires:	ndctl-devel >= 59.2-1
5295ed
BuildRequires:	daxctl-devel >= 59.2-1
cabd7a
854292
%define min_libfabric_ver 1.4.2
854292
BuildRequires:	libfabric-devel >= %{min_libfabric_ver}
cabd7a
cabd7a
# Debug variants of the libraries should be filtered out of the provides.
5295ed
%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
cabd7a
cabd7a
# By design, NVML does not support any 32-bit architecture.
cabd7a
# Due to dependency on xmmintrin.h and some inline assembly, it can be
cabd7a
# compiled only for x86_64 at the moment.
cabd7a
# Other 64-bit architectures could also be supported, if only there is
cabd7a
# a request for that, and if somebody provides the arch-specific
cabd7a
# implementation of the low-level routines for flushing to persistent
cabd7a
# memory.
cabd7a
# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
cabd7a
# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
cabd7a
# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
cabd7a
# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
cabd7a
ExclusiveArch: x86_64
cabd7a
cabd7a
%description
cabd7a
The NVM Library is a collection of libraries for using memory-mapped
cabd7a
persistence, optimized specifically for persistent memory.
cabd7a
cabd7a
cabd7a
%package -n libpmem
cabd7a
Summary: Low-level persistent memory support library
cabd7a
Group: System Environment/Libraries
ae830c
Obsoletes: libpmemcto
cabd7a
%description -n libpmem
cabd7a
The libpmem provides low level persistent memory support. In particular,
cabd7a
support for the persistent memory instructions for flushing changes
cabd7a
to pmem is provided.
cabd7a
cabd7a
%files -n libpmem
5cd9d2
%defattr(-,root,root,-)
5295ed
%dir %{_datadir}/pmdk
cabd7a
%{_libdir}/libpmem.so.*
5295ed
%{_datadir}/pmdk/pmdk.magic
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmem-devel
cabd7a
Summary: Development files for the low-level persistent memory library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmem = %{version}-%{release}
ae830c
Obsoletes: libpmemcto-devel
cabd7a
%description -n libpmem-devel
cabd7a
The libpmem provides low level persistent memory support. In particular,
cabd7a
support for the persistent memory instructions for flushing changes
cabd7a
to pmem is provided.
cabd7a
cabd7a
This library is provided for software which tracks every store to
cabd7a
pmem and needs to flush those changes to durability. Most developers
cabd7a
will find higher level libraries like libpmemobj to be much more
cabd7a
convenient.
cabd7a
cabd7a
%files -n libpmem-devel
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmem.so
cabd7a
%{_libdir}/pkgconfig/libpmem.pc
cabd7a
%{_includedir}/libpmem.h
5295ed
%{_mandir}/man7/libpmem.7.gz
ae830c
%{_mandir}/man5/pmem_ctl.5.gz
5295ed
%{_mandir}/man3/pmem_*.3.gz
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmem-debug
cabd7a
Summary: Debug variant of the low-level persistent memory library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmem = %{version}-%{release}
ae830c
Obsoletes: libpmemcto-debug
cabd7a
%description -n libpmem-debug
cabd7a
The libpmem provides low level persistent memory support. In particular,
cabd7a
support for the persistent memory instructions for flushing changes
cabd7a
to pmem is provided.
cabd7a
cabd7a
This sub-package contains debug variant of the library, providing
cabd7a
run-time assertions and trace points. The typical way to access the
cabd7a
debug version is to set the environment variable LD_LIBRARY_PATH to
5295ed
/usr/lib64/pmdk_debug.
cabd7a
cabd7a
%files -n libpmem-debug
5cd9d2
%defattr(-,root,root,-)
5295ed
%dir %{_libdir}/pmdk_debug
5295ed
%{_libdir}/pmdk_debug/libpmem.so
5295ed
%{_libdir}/pmdk_debug/libpmem.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemblk
cabd7a
Summary: Persistent Memory Resident Array of Blocks library
cabd7a
Group: System Environment/Libraries
5cd9d2
Requires: libpmem = %{version}-%{release}
cabd7a
%description -n libpmemblk
cabd7a
The libpmemblk implements a pmem-resident array of blocks, all the same
cabd7a
size, where a block is updated atomically with respect to power
cabd7a
failure or program interruption (no torn blocks).
cabd7a
cabd7a
%files -n libpmemblk
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmemblk.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemblk-devel
cabd7a
Summary: Development files for the Persistent Memory Resident Array of Blocks library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmemblk = %{version}-%{release}
cabd7a
Requires: libpmem-devel = %{version}-%{release}
cabd7a
%description -n libpmemblk-devel
cabd7a
The libpmemblk implements a pmem-resident array of blocks, all the same
cabd7a
size, where a block is updated atomically with respect to power
cabd7a
failure or program interruption (no torn blocks).
cabd7a
cabd7a
For example, a program keeping a cache of fixed-size objects in pmem
cabd7a
might find this library useful. This library is provided for cases
cabd7a
requiring large arrays of objects at least 512 bytes each. Most
cabd7a
developers will find higher level libraries like libpmemobj to be
cabd7a
more generally useful.
cabd7a
cabd7a
%files -n libpmemblk-devel
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmemblk.so
cabd7a
%{_libdir}/pkgconfig/libpmemblk.pc
cabd7a
%{_includedir}/libpmemblk.h
5295ed
%{_mandir}/man7/libpmemblk.7.gz
5295ed
%{_mandir}/man5/poolset.5.gz
ae830c
%{_mandir}/man5/pmem_ctl.5.gz
5295ed
%{_mandir}/man3/pmemblk_*.3.gz
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemblk-debug
cabd7a
Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmemblk = %{version}-%{release}
5cd9d2
Requires: libpmem = %{version}-%{release}
cabd7a
%description -n libpmemblk-debug
cabd7a
The libpmemblk implements a pmem-resident array of blocks, all the same
cabd7a
size, where a block is updated atomically with respect to power
cabd7a
failure or program interruption (no torn blocks).
cabd7a
cabd7a
This sub-package contains debug variant of the library, providing
cabd7a
run-time assertions and trace points. The typical way to access the
cabd7a
debug version is to set the environment variable LD_LIBRARY_PATH to
5295ed
/usr/lib64/pmdk_debug.
cabd7a
cabd7a
%files -n libpmemblk-debug
5cd9d2
%defattr(-,root,root,-)
5295ed
%dir %{_libdir}/pmdk_debug
5295ed
%{_libdir}/pmdk_debug/libpmemblk.so
5295ed
%{_libdir}/pmdk_debug/libpmemblk.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemlog
cabd7a
Summary: Persistent Memory Resident Log File library
cabd7a
Group: System Environment/Libraries
5cd9d2
Requires: libpmem = %{version}-%{release}
cabd7a
%description -n libpmemlog
cabd7a
The libpmemlog library provides a pmem-resident log file. This is
cabd7a
useful for programs like databases that append frequently to a log
cabd7a
file.
cabd7a
cabd7a
%files -n libpmemlog
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmemlog.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemlog-devel
cabd7a
Summary: Development files for the Persistent Memory Resident Log File library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmemlog = %{version}-%{release}
cabd7a
Requires: libpmem-devel = %{version}-%{release}
cabd7a
%description -n libpmemlog-devel
cabd7a
The libpmemlog library provides a pmem-resident log file. This
cabd7a
library is provided for cases requiring an append-mostly file to
cabd7a
record variable length entries. Most developers will find higher
cabd7a
level libraries like libpmemobj to be more generally useful.
cabd7a
cabd7a
%files -n libpmemlog-devel
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmemlog.so
cabd7a
%{_libdir}/pkgconfig/libpmemlog.pc
cabd7a
%{_includedir}/libpmemlog.h
5295ed
%{_mandir}/man7/libpmemlog.7.gz
5295ed
%{_mandir}/man5/poolset.5.gz
ae830c
%{_mandir}/man5/pmem_ctl.5.gz
5295ed
%{_mandir}/man3/pmemlog_*.3.gz
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemlog-debug
cabd7a
Summary: Debug variant of the Persistent Memory Resident Log File library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmemlog = %{version}-%{release}
5cd9d2
Requires: libpmem = %{version}-%{release}
cabd7a
%description -n libpmemlog-debug
cabd7a
The libpmemlog library provides a pmem-resident log file. This
cabd7a
library is provided for cases requiring an append-mostly file to
cabd7a
record variable length entries. Most developers will find higher
cabd7a
level libraries like libpmemobj to be more generally useful.
cabd7a
cabd7a
This sub-package contains debug variant of the library, providing
cabd7a
run-time assertions and trace points. The typical way to access the
cabd7a
debug version is to set the environment variable LD_LIBRARY_PATH to
5295ed
/usr/lib64/pmdk_debug.
cabd7a
cabd7a
%files -n libpmemlog-debug
5cd9d2
%defattr(-,root,root,-)
5295ed
%dir %{_libdir}/pmdk_debug
5295ed
%{_libdir}/pmdk_debug/libpmemlog.so
5295ed
%{_libdir}/pmdk_debug/libpmemlog.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemobj
cabd7a
Summary: Persistent Memory Transactional Object Store library
cabd7a
Group: System Environment/Libraries
5cd9d2
Requires: libpmem = %{version}-%{release}
cabd7a
%description -n libpmemobj
cabd7a
The libpmemobj library provides a transactional object store,
cabd7a
providing memory allocation, transactions, and general facilities for
cabd7a
persistent memory programming.
cabd7a
cabd7a
%files -n libpmemobj
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmemobj.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemobj-devel
cabd7a
Summary: Development files for the Persistent Memory Transactional Object Store library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmemobj = %{version}-%{release}
cabd7a
Requires: libpmem-devel = %{version}-%{release}
cabd7a
%description -n libpmemobj-devel
cabd7a
The libpmemobj library provides a transactional object store,
cabd7a
providing memory allocation, transactions, and general facilities for
cabd7a
persistent memory programming. Developers new to persistent memory
cabd7a
probably want to start with this library.
cabd7a
cabd7a
%files -n libpmemobj-devel
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmemobj.so
cabd7a
%{_libdir}/pkgconfig/libpmemobj.pc
cabd7a
%{_includedir}/libpmemobj.h
ae830c
%dir %{_includedir}/libpmemobj
5cd9d2
%{_includedir}/libpmemobj/*.h
5295ed
%{_mandir}/man7/libpmemobj.7.gz
5295ed
%{_mandir}/man5/poolset.5.gz
ae830c
%{_mandir}/man5/pmem_ctl.5.gz
5295ed
%{_mandir}/man3/pmemobj_*.3.gz
5295ed
%{_mandir}/man3/pobj_*.3.gz
5295ed
%{_mandir}/man3/oid_*.3.gz
5295ed
%{_mandir}/man3/toid*.3.gz
5295ed
%{_mandir}/man3/direct_*.3.gz
5295ed
%{_mandir}/man3/d_r*.3.gz
5295ed
%{_mandir}/man3/tx_*.3.gz
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmemobj-debug
cabd7a
Summary: Debug variant of the Persistent Memory Transactional Object Store library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmemobj = %{version}-%{release}
5cd9d2
Requires: libpmem = %{version}-%{release}
cabd7a
%description -n libpmemobj-debug
cabd7a
The libpmemobj library provides a transactional object store,
cabd7a
providing memory allocation, transactions, and general facilities for
cabd7a
persistent memory programming. Developers new to persistent memory
cabd7a
probably want to start with this library.
cabd7a
cabd7a
This sub-package contains debug variant of the library, providing
cabd7a
run-time assertions and trace points. The typical way to access the
cabd7a
debug version is to set the environment variable LD_LIBRARY_PATH to
5295ed
/usr/lib64/pmdk_debug.
cabd7a
cabd7a
%files -n libpmemobj-debug
5cd9d2
%defattr(-,root,root,-)
5295ed
%dir %{_libdir}/pmdk_debug
5295ed
%{_libdir}/pmdk_debug/libpmemobj.so
5295ed
%{_libdir}/pmdk_debug/libpmemobj.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libvmem
cabd7a
Summary: Volatile Memory allocation library
cabd7a
Group: System Environment/Libraries
cabd7a
%description -n libvmem
cabd7a
The libvmem library turns a pool of persistent memory into a volatile
cabd7a
memory pool, similar to the system heap but kept separate and with
cabd7a
its own malloc-style API.
cabd7a
cabd7a
%files -n libvmem
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libvmem.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libvmem-devel
cabd7a
Summary: Development files for the Volatile Memory allocation library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libvmem = %{version}-%{release}
cabd7a
%description -n libvmem-devel
cabd7a
The libvmem library turns a pool of persistent memory into a volatile
cabd7a
memory pool, similar to the system heap but kept separate and with
cabd7a
its own malloc-style API.
cabd7a
cabd7a
This sub-package contains libraries and header files for developing
cabd7a
applications that want to make use of libvmem.
cabd7a
cabd7a
%files -n libvmem-devel
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libvmem.so
cabd7a
%{_libdir}/pkgconfig/libvmem.pc
cabd7a
%{_includedir}/libvmem.h
5295ed
%{_mandir}/man7/libvmem.7.gz
ae830c
%{_mandir}/man5/pmem_ctl.5.gz
5295ed
%{_mandir}/man3/vmem_*.3.gz
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libvmem-debug
cabd7a
Summary: Debug variant of the Volatile Memory allocation library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libvmem = %{version}-%{release}
cabd7a
%description -n libvmem-debug
cabd7a
The libvmem library turns a pool of persistent memory into a volatile
cabd7a
memory pool, similar to the system heap but kept separate and with
cabd7a
its own malloc-style API.
cabd7a
cabd7a
This sub-package contains debug variant of the library, providing
cabd7a
run-time assertions and trace points. The typical way to access the
cabd7a
debug version is to set the environment variable LD_LIBRARY_PATH to
5295ed
/usr/lib64/pmdk_debug.
cabd7a
cabd7a
%files -n libvmem-debug
5cd9d2
%defattr(-,root,root,-)
5295ed
%dir %{_libdir}/pmdk_debug
5295ed
%{_libdir}/pmdk_debug/libvmem.so
5295ed
%{_libdir}/pmdk_debug/libvmem.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libvmmalloc
cabd7a
Summary: Dynamic to Persistent Memory allocation translation library
cabd7a
Group: System Environment/Libraries
cabd7a
%description -n libvmmalloc
cabd7a
The libvmmalloc library transparently converts all the dynamic memory
cabd7a
allocations into persistent memory allocations. This allows the use
cabd7a
of persistent memory as volatile memory without modifying the target
cabd7a
application.
cabd7a
cabd7a
The typical usage of libvmmalloc is to load it via the LD_PRELOAD
cabd7a
environment variable.
cabd7a
cabd7a
%files -n libvmmalloc
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libvmmalloc.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libvmmalloc-devel
cabd7a
Summary: Development files for the Dynamic-to-Persistent allocation library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libvmmalloc = %{version}-%{release}
cabd7a
%description -n libvmmalloc-devel
cabd7a
The libvmmalloc library transparently converts all the dynamic memory
cabd7a
allocations into persistent memory allocations. This allows the use
cabd7a
of persistent memory as volatile memory without modifying the target
cabd7a
application.
cabd7a
cabd7a
This sub-package contains libraries and header files for developing
cabd7a
applications that want to specifically make use of libvmmalloc.
cabd7a
cabd7a
%files -n libvmmalloc-devel
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libvmmalloc.so
cabd7a
%{_libdir}/pkgconfig/libvmmalloc.pc
cabd7a
%{_includedir}/libvmmalloc.h
5295ed
%{_mandir}/man7/libvmmalloc.7.gz
ae830c
%{_mandir}/man5/pmem_ctl.5.gz
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libvmmalloc-debug
cabd7a
Summary: Debug variant of the Dynamic-to-Persistent allocation library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libvmmalloc = %{version}-%{release}
cabd7a
%description -n libvmmalloc-debug
cabd7a
The libvmmalloc library transparently converts all the dynamic memory
cabd7a
allocations into persistent memory allocations. This allows the use
cabd7a
of persistent memory as volatile memory without modifying the target
cabd7a
application.
cabd7a
cabd7a
This sub-package contains debug variant of the library, providing
cabd7a
run-time assertions and trace points. The typical way to access the
cabd7a
debug version is to set the environment variable LD_LIBRARY_PATH to
5295ed
/usr/lib64/pmdk_debug.
cabd7a
cabd7a
%files -n libvmmalloc-debug
5cd9d2
%defattr(-,root,root,-)
5295ed
%dir %{_libdir}/pmdk_debug
5295ed
%{_libdir}/pmdk_debug/libvmmalloc.so
5295ed
%{_libdir}/pmdk_debug/libvmmalloc.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmempool
cabd7a
Summary: Persistent Memory pool management library
cabd7a
Group: System Environment/Libraries
5cd9d2
Requires: libpmem = %{version}-%{release}
cabd7a
%description -n libpmempool
5cd9d2
The libpmempool library provides a set of utilities for off-line
5cd9d2
administration, analysis, diagnostics and repair of persistent memory
5cd9d2
pools created by libpmemlog, libpemblk and libpmemobj libraries.
cabd7a
cabd7a
%files -n libpmempool
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmempool.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmempool-devel
cabd7a
Summary: Development files for Persistent Memory pool management library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmempool = %{version}-%{release}
cabd7a
Requires: libpmem-devel = %{version}-%{release}
cabd7a
%description -n libpmempool-devel
5cd9d2
The libpmempool library provides a set of utilities for off-line
5cd9d2
administration, analysis, diagnostics and repair of persistent memory
5cd9d2
pools created by libpmemlog, libpemblk and libpmemobj libraries.
cabd7a
cabd7a
%files -n libpmempool-devel
5cd9d2
%defattr(-,root,root,-)
cabd7a
%{_libdir}/libpmempool.so
cabd7a
%{_libdir}/pkgconfig/libpmempool.pc
cabd7a
%{_includedir}/libpmempool.h
5295ed
%{_mandir}/man7/libpmempool.7.gz
5295ed
%{_mandir}/man5/poolset.5.gz
ae830c
%{_mandir}/man5/pmem_ctl.5.gz
5295ed
%{_mandir}/man3/pmempool_*.3.gz
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
cabd7a
%package -n libpmempool-debug
cabd7a
Summary: Debug variant of the Persistent Memory pool management library
cabd7a
Group: Development/Libraries
cabd7a
Requires: libpmempool = %{version}-%{release}
5cd9d2
Requires: libpmem = %{version}-%{release}
cabd7a
%description -n libpmempool-debug
5cd9d2
The libpmempool library provides a set of utilities for off-line
5cd9d2
administration, analysis, diagnostics and repair of persistent memory
5cd9d2
pools created by libpmemlog, libpemblk and libpmemobj libraries.
cabd7a
cabd7a
This sub-package contains debug variant of the library, providing
cabd7a
run-time assertions and trace points. The typical way to access the
cabd7a
debug version is to set the environment variable LD_LIBRARY_PATH to
5295ed
/usr/lib64/pmdk_debug.
cabd7a
cabd7a
%files -n libpmempool-debug
5cd9d2
%defattr(-,root,root,-)
5295ed
%dir %{_libdir}/pmdk_debug
5295ed
%{_libdir}/pmdk_debug/libpmempool.so
5295ed
%{_libdir}/pmdk_debug/libpmempool.so.*
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
854292
%package -n librpmem
854292
Summary: Remote Access to Persistent Memory library
854292
Group: System Environment/Libraries
854292
Requires: libfabric >= %{min_libfabric_ver}
854292
Requires: openssh-clients
854292
%description -n librpmem
854292
The librpmem library provides low-level support for remote access
854292
to persistent memory utilizing RDMA-capable NICs. It can be used
ae830c
to replicate persistent memory regions over RDMA protocol.
854292
854292
%files -n librpmem
854292
%defattr(-,root,root,-)
854292
%{_libdir}/librpmem.so.*
854292
%license LICENSE
854292
%doc ChangeLog CONTRIBUTING.md README.md
854292
854292
854292
%package -n librpmem-devel
854292
Summary: Development files for the Remote Access to Persistent Memory library
854292
Group: Development/Libraries
854292
Requires: librpmem = %{version}-%{release}
854292
%description -n librpmem-devel
854292
The librpmem library provides low-level support for remote access
854292
to persistent memory utilizing RDMA-capable NICs. It can be used
ae830c
to replicate persistent memory regions over RDMA protocol.
854292
854292
This sub-package contains libraries and header files for developing
854292
applications that want to specifically make use of librpmem.
854292
854292
%files -n librpmem-devel
854292
%defattr(-,root,root,-)
854292
%{_libdir}/librpmem.so
854292
%{_libdir}/pkgconfig/librpmem.pc
854292
%{_includedir}/librpmem.h
5295ed
%{_mandir}/man7/librpmem.7.gz
ae830c
%{_mandir}/man5/pmem_ctl.5.gz
5295ed
%{_mandir}/man3/rpmem_*.3.gz
854292
%license LICENSE
854292
%doc ChangeLog CONTRIBUTING.md README.md
854292
854292
854292
%package -n librpmem-debug
854292
Summary: Debug variant of the Remote Access to Persistent Memory library
854292
Group: Development/Libraries
854292
Requires: librpmem = %{version}-%{release}
854292
%description -n librpmem-debug
854292
The librpmem library provides low-level support for remote access
854292
to persistent memory utilizing RDMA-capable NICs. It can be used
ae830c
to replicate persistent memory regions over RDMA protocol.
854292
854292
This sub-package contains debug variant of the library, providing
854292
run-time assertions and trace points. The typical way to access the
854292
debug version is to set the environment variable LD_LIBRARY_PATH to
5295ed
/usr/lib64/pmdk_debug.
854292
854292
%files -n librpmem-debug
854292
%defattr(-,root,root,-)
5295ed
%dir %{_libdir}/pmdk_debug
5295ed
%{_libdir}/pmdk_debug/librpmem.so
5295ed
%{_libdir}/pmdk_debug/librpmem.so.*
854292
%license LICENSE
854292
%doc ChangeLog CONTRIBUTING.md README.md
854292
854292
854292
%package -n rpmemd
854292
Group: System Environment/Base
854292
Summary: Target node process executed by librpmem
5295ed
Requires: libpmem = %{version}-%{release}
854292
Requires: libfabric >= %{min_libfabric_ver}
854292
%description -n rpmemd
854292
The rpmemd process is executed on a target node by librpmem library
854292
and facilitates access to persistent memory over RDMA.
854292
854292
%files -n rpmemd
854292
%{_bindir}/rpmemd
854292
%{_mandir}/man1/rpmemd.1.gz
854292
cabd7a
5295ed
%package -n pmempool
cabd7a
Summary: Utilities for Persistent Memory
cabd7a
Group: System Environment/Base
5cd9d2
Requires: libpmem = %{version}-%{release}
5cd9d2
Requires: libpmemlog = %{version}-%{release}
5cd9d2
Requires: libpmemblk = %{version}-%{release}
5cd9d2
Requires: libpmemobj = %{version}-%{release}
5cd9d2
Requires: libpmempool = %{version}-%{release}
5295ed
Obsoletes: nvml-tools < %{version}-%{release}
5295ed
%description -n pmempool
5295ed
The pmempool is a standalone utility for management and off-line analysis
5295ed
of Persistent Memory pools created by PMDK libraries. It provides a set
5295ed
of utilities for administration and diagnostics of Persistent Memory pools.
5295ed
The pmempool may be useful for troubleshooting by system administrators
5295ed
and users of the applications based on PMDK libraries.
5295ed
5295ed
%files -n pmempool
cabd7a
%{_bindir}/pmempool
cabd7a
%{_mandir}/man1/pmempool.1.gz
5295ed
%{_mandir}/man1/pmempool-*.1.gz
ae830c
%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool
cabd7a
%license LICENSE
cabd7a
%doc ChangeLog CONTRIBUTING.md README.md
cabd7a
cabd7a
5295ed
%package -n daxio
5295ed
Summary: Perform I/O on Device DAX devices or zero a Device DAX device
5295ed
Group: System Environment/Base
5295ed
Requires: libpmem = %{version}-%{release}
5295ed
%description -n daxio
5295ed
The daxio utility performs I/O on Device DAX devices or zero
5295ed
a Device DAX device.  Since the standard I/O APIs (read/write) cannot be used
5295ed
with Device DAX, data transfer is performed on a memory-mapped device.
5295ed
The daxio may be used to dump Device DAX data to a file, restore data from
5295ed
a backup copy, move/copy data to another device or to erase data from
5295ed
a device.
5295ed
5295ed
%files -n daxio
5295ed
%{_bindir}/daxio
5295ed
%{_mandir}/man1/daxio.1.gz
5295ed
%license LICENSE
5295ed
%doc ChangeLog CONTRIBUTING.md README.md
5295ed
5295ed
cabd7a
%prep
5295ed
%setup -q -n pmdk-%{version}
cabd7a
cabd7a
%build
cabd7a
# Currently, NVML makefiles do not allow to easily override CFLAGS,
cabd7a
# so the build flags are passed via EXTRA_CFLAGS.  For debug build
cabd7a
# selected flags are overriden to disable compiler optimizations.
cabd7a
EXTRA_CFLAGS_RELEASE="%{optflags}" \
cabd7a
EXTRA_CFLAGS_DEBUG="%{optflags} -Wp,-U_FORTIFY_SOURCE -O0" \
cabd7a
EXTRA_CXXFLAGS="%{optflags}" \
5295ed
NDCTL_ENABLE=y make %{?_smp_mflags}
cabd7a
cabd7a
cabd7a
# Override LIB_AR with empty string to skip installation of static libraries
cabd7a
%install
5295ed
NDCTL_ENABLE=y make install DESTDIR=%{buildroot} \
cabd7a
	LIB_AR= \
cabd7a
	prefix=%{_prefix} \
cabd7a
	libdir=%{_libdir} \
cabd7a
	includedir=%{_includedir} \
cabd7a
	mandir=%{_mandir} \
cabd7a
	bindir=%{_bindir} \
5cd9d2
	sysconfdir=%{_sysconfdir} \
ae830c
	docdir=%{_docdir}
5295ed
mkdir -p %{buildroot}%{_datadir}/pmdk
5295ed
cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/pmdk.magic
cabd7a
ae830c
rm %{buildroot}/usr/bin/pmreorder
ae830c
rm %{buildroot}/usr/share/man/man1/pmreorder.1.gz
ae830c
rm -rf %{buildroot}/usr/share/pmreorder
cabd7a
cabd7a
%post   -n libpmem -p /sbin/ldconfig
cabd7a
%postun -n libpmem -p /sbin/ldconfig
cabd7a
%post   -n libpmemblk -p /sbin/ldconfig
cabd7a
%postun -n libpmemblk -p /sbin/ldconfig
cabd7a
%post   -n libpmemlog -p /sbin/ldconfig
cabd7a
%postun -n libpmemlog -p /sbin/ldconfig
cabd7a
%post   -n libpmemobj -p /sbin/ldconfig
cabd7a
%postun -n libpmemobj -p /sbin/ldconfig
cabd7a
%post   -n libvmem -p /sbin/ldconfig
cabd7a
%postun -n libvmem -p /sbin/ldconfig
cabd7a
%post   -n libvmmalloc -p /sbin/ldconfig
cabd7a
%postun -n libvmmalloc -p /sbin/ldconfig
cabd7a
%post   -n libpmempool -p /sbin/ldconfig
cabd7a
%postun -n libpmempool -p /sbin/ldconfig
854292
%post   -n librpmem -p /sbin/ldconfig
854292
%postun -n librpmem -p /sbin/ldconfig
cabd7a
cabd7a
%if 0%{?__debug_package} == 0
cabd7a
%debug_package
cabd7a
%endif
cabd7a
cabd7a
cabd7a
%changelog
ae830c
* Tue Apr 30 2019 Jeff Moyer <jmoyer@redhat.com> - 1.5.1-2.1.el7
ae830c
- obsolete libpmemcto
ae830c
- Resolves: rhbz#1702932
ae830c
ae830c
* Wed Apr 10 2019 Jeff Moyer <jmoyer@redhat.com> - 1.5.1-2.el7
ae830c
- Fix up unpackaged files
ae830c
- Related: rhbz#1634347
ae830c
ae830c
* Fri Apr 05 2019 Jeff Moyer <jmoyer@redhat.com> - 1.5.1-1.el7
ae830c
- rebase to pmdk 1.5.1
ae830c
  - libpmemobj C++ bindings moved to separate package
ae830c
  - pmempool convert is now a thin wrapper around pmdk-convert
ae830c
  - add ownership information for libpmemobj headers directory
ae830c
  - remove broken pmemcto library
ae830c
- Related: rhbz#1634347
ae830c
5295ed
* Wed Jun 27 2018 Jeff Moyer <jmoyer@redhat.com> - 1.4-3.el7
5295ed
- Fix up rpmemd dependency on libfabric
5295ed
- Resolves: rhbz#1595671
5295ed
5295ed
* Fri Jun 22 2018 Jeff Moyer <jmoyer@redhat.com> - 1.4-2.el7
5295ed
- Make library version dependencies more strict (Jeff Moyer)
5295ed
- Related: rhbz#1487676
5295ed
5295ed
* Fri Jun 08 2018 Jeff Moyer <jmoyer@redhat.com> - 1.4-1.el7
5295ed
- rebase to upstream 1.4
5295ed
- disable make check
5295ed
- Resolves: rhbz#1487676
5295ed
854292
* Thu Oct 19 2017 Jeff Moyer <jmoyer@redhat.com> - 1.3-3.el7
854292
- fix up issues found by the clang static checker
854292
- Related: rhbz#1455216
854292
854292
* Wed Oct 18 2017 Jeff Moyer <jmoyer@redhat.com> - 1.3-2.el7
854292
- pull in spec changes from upstream
854292
- Related: rhbz#1455216
854292
854292
* Mon Oct 16 2017 Jeff Moyer <jmoyer@redhat.com> - 1.3-1.el7
854292
- rebase to version 1.3
854292
- Resolves: rhbz#1455216
854292
5cd9d2
* Wed Apr 05 2017 Jeff Moyer <jmoyer@redhat.com> - 1.2.1-4.el7
5cd9d2
- Fix mapping type in pool params parse
5cd9d2
- Resolves: bz#1436820
5cd9d2
5cd9d2
* Tue Mar 28 2017 Jeff Moyer <jmoyer@redhat.com> - 1.2.1-3.el7
5cd9d2
- Add 'Requires: libpmem' lines for debug packages.
5cd9d2
- Related: bz#1383467 bz#1382407
5cd9d2
5cd9d2
* Tue Mar 28 2017 Jeff Moyer <jmoyer@redhat.com> - 1.2.1-2.el7
5cd9d2
- Actually apply stable update patches
5cd9d2
- Related: bz#1383467 bz#1382407
5cd9d2
5cd9d2
* Tue Mar 28 2017 Jeff Moyer <jmoyer@redhat.com> - 1.2.1-1.el7
5cd9d2
- Update to latest stable release
5cd9d2
- Pull in pending stable patches for the test harness
5cd9d2
- disable % check temporarily until all test issues are resolved
5cd9d2
- Resolves: bz#1383467 bz#1382407
5cd9d2
cabd7a
* Thu Jul 14 2016 Jeff Moyer <jmoyer@redhat.com> - 1.1-4.el7
cabd7a
- Add missing version dependencies between packages
cabd7a
- Resolves: bz#1274541
cabd7a
cabd7a
* Mon Jul 11 2016 Jeff Moyer <jmoyer@redhat.com> - 1.1-3.el7
cabd7a
- Initial import for RHEL 7
cabd7a
- Resolves: bz#1274541
cabd7a
cabd7a
* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo@intel.com> - 1.1-2
cabd7a
- Move debug variants of the libraries to -debug subpackages
cabd7a
cabd7a
* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo@intel.com> - 1.1-1
cabd7a
- NVML 1.1 release
cabd7a
- Update link to source tarball
cabd7a
- Add libpmempool subpackage
cabd7a
- Remove obsolete patches
cabd7a
cabd7a
* Wed Jun 01 2016 Dan HorĂ¡k <dan[at]danny.cz> - 1.0-3
cabd7a
- switch to ExclusiveArch
cabd7a
cabd7a
* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo@intel.com> - 1.0-2
cabd7a
- Exclude PPC architecture
cabd7a
- Add bug numbers for excluded architectures
cabd7a
cabd7a
* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo@intel.com> - 1.0-1
cabd7a
- Initial RPM release