[commops] Re: Introduction email
by Kanika Murarka
----- Original Message -----
From: "Justin W. Flory" <jflory7(a)gmail.com>
To: commops(a)lists.fedoraproject.org
Cc: diversity(a)lists.fedoraproject.org
Sent: Tuesday, August 9, 2016 3:13:10 AM
Subject: [commops] Re: Introduction email
On 08/02/2016 05:15 AM, Kanika Murarka wrote:
> Hey,
>
> Ya I am looking forward to join Fedora Women, Diversity communities.
> I am currently pursing my bachelors degree in Computer Science. Designing stuff as well as back-end programming interest me. I am also interested to bring new contributors on board and guide them to contribute. I have contributed to open source projects like PyDSA, Qutebrowser and Fedora QA.
>
>
> ----- Original Message -----
> From: "A. Mani" <a.mani.cms(a)gmail.com>
> To: "Fedora + Community + Operations = Fedora CommOps" <commops(a)lists.fedoraproject.org>
> Sent: Tuesday, August 2, 2016 6:54:12 AM
> Subject: [commops] Re: Introduction email
>
> On Mon, Aug 1, 2016 at 4:22 PM, Kanika Murarka <kmurarka(a)redhat.com> wrote:
>> My name is Kanika Murarka. I have been contribute to Fedora QA and joined as an intern at Red Hat Bangalore for the same. I have been actively involved to engage more women in tech. I have been contributing to FOSS for last 2 yrs and I would like to contribute to community operations in Fedora.
>
>
> Welcome !
>
> Do consider joining Fedora Women, Diversity, <communities_of_your_interest>.
>
> What kind of tasks might interest you/ are compatible with your existing goals?
>
>
> Best
>
> A. Mani
>
Hi Kanika, and welcome to the CommOps team! Glad to have you joining us. :)
I'm a little late to respond and lots of others have already linked
fantastic resources or pointers for getting involved.
Thankyou Justin !!
== Diversity ==
If you're interested in the Diversity efforts within the project, I
definitely *also* recommend checking out the Diversity team. You can
find more information about the team at the following places. I also
recommend subscribing to their mailing list!
https://fedoraproject.org/wiki/Diversity
https://lists.fedoraproject.org/admin/lists/diversity@lists.fedoraproject...
Some of the work the Diversity team is doing includes the first-ever
Fedora Women Day, which happened a few weeks ago in July. There's also
plans on creating a survey to better understand our contributors and
their backgrounds to help create a better environment for the community.
There's also other plans coming down soon that you may be interested in
too. :)
I have subscribed to diversity mailing list, will be posting my intro soon. I have conducted a new women contributor meetup on Hangouts to introduce them to FOSS and open source and how can they contribute to Fedora. I too have written a [1]blog post about it in community blog.
[1]https://communityblog.fedoraproject.org/?p=2039&preview_id=2039
== CommOps ==
We could definitely use extra hands for feedback regarding the
on-boarding process for the different sub-projects in Fedora
(particularly Quality Assurance – we haven't worked our way to them yet,
but we also don't have a point of contact for someone who could offer
feedback and ideas for their process). You can see the grand, master
ticket for all things on-boarding here:
https://fedorahosted.org/fedora-commops/ticket/34
As for the rest, are there any other specific areas in CommOps that you
may be interested in contributing to? You can get an idea for the
different things we're working on here:
https://fedoraproject.org/wiki/CommOps#Things_we_help_with
I pretty much want to try everything, but for time being I want to go for Badges requests, On-boarding via Fedora Hubs and Wiki.
Also, if you haven't yet seen, our Join page may also be useful for you,
but I'm pretty sure others have linked that already, so it might be
nothing new for you. :)
https://fedoraproject.org/wiki/CommOps/Join
We have our weekly meetings on Tuesdays, 17:00 UTC (or 12:00pm US EST).
If you're available at this time, feel free to log onto freenode IRC and
find us in the #fedora-meeting channel. Soo, tomorrow! Feel free to come
by if you're around, we'd love to see you there. :)
I'd love to know what kind of things you may be interested in helping
with too. Hopefully all this info is helpful towards guiding you towards
something that interests you in contributing. If you have any questions,
feel free to ask here on the list or on IRC in #fedora-commops. We're
here to help! :)
Looking forward to seeing you around!
Ya sure, I am looking forward to join the meeting.
Thanks once again :).
--
Cheers,
Justin W. Flory
jflory7(a)gmail.com
_______________________________________________
Fedora Community Operations (CommOps) mailing list
commops(a)lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/commops@lists.fedoraproject.org
7 years, 9 months
[Arch-excludes] Architecture specific change in rpms/nvml.git
by githook-noreply@fedoraproject.org
The package rpms/nvml.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nvml.git/commit/?id=69c4e5835e2c5...
https://src.fedoraproject.org/cgit/rpms/nvml.git/commit/?id=4c9749f56c02c....
Change:
+ExclusiveArch: x86_64
-ExclusiveArch: x86_64
Thanks.
Full change:
============
commit 4c9749f56c02c79df3d3327986694d3a1c7151a7
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Fri Mar 30 11:44:27 2018 +0200
Temporarily revert package name change
diff --git a/.gitignore b/.gitignore
index 8e808ce..f9e5c64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/nvml-1.3.tar.gz
/nvml-1.3.1.tar.gz
/pmdk-1.4.tar.gz
+/nvml-1.4.tar.gz
diff --git a/nvml.spec b/nvml.spec
new file mode 100644
index 0000000..5bb41b4
--- /dev/null
+++ b/nvml.spec
@@ -0,0 +1,882 @@
+
+# rpmbuild options:
+# --with | --without fabric
+# --with | --without ndctl
+# --define _testconfig <path to custom testconfig.sh>
+
+# do not terminate build if files in the $RPM_BUILD_ROOT
+# directory are not found in %%files (without fabric case)
+%define _unpackaged_files_terminate_build 0
+
+# disable 'make check' on suse
+%if %{defined suse_version}
+ %define _skip_check 1
+ %define dist .suse%{suse_version}
+%endif
+
+%if (0%{?suse_version} > 1315) || (0%{?fedora} >= 27) || (0%{?rhel} >= 7)
+%bcond_without fabric
+%else
+%bcond_with fabric
+%endif
+
+# by default build w/o ndctl, unless explicitly enabled
+%bcond_with ndctl
+
+%define min_libfabric_ver 1.4.2
+%define min_ndctl_ver 59.2
+
+Name: nvml
+Version: 1.4
+Release: 3%{?dist}
+Summary: Persistent Memory Development Kit (former NVML)
+License: BSD
+URL: http://pmem.io/pmdk
+
+Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{vers...
+
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: glibc-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: man
+BuildRequires: pkgconfig
+BuildRequires: doxygen
+BuildRequires: gdb
+
+%if %{with ndctl}
+BuildRequires: ndctl-devel >= %{min_ndctl_ver}
+BuildRequires: daxctl-devel >= %{min_ndctl_ver}
+%endif
+
+%if %{with fabric}
+BuildRequires: libfabric-devel >= %{min_libfabric_ver}
+%endif
+
+
+# Debug variants of the libraries should be filtered out of the provides.
+%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
+
+# By design, PMDK does not support any 32-bit architecture.
+# Due to dependency on xmmintrin.h and some inline assembly, it can be
+# compiled only for x86_64 at the moment.
+# Other 64-bit architectures could also be supported, if only there is
+# a request for that, and if somebody provides the arch-specific
+# implementation of the low-level routines for flushing to persistent
+# memory.
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
+
+ExclusiveArch: x86_64
+
+%description
+The Persistent Memory Development Kit is a collection of libraries for
+using memory-mapped persistence, optimized specifically for persistent memory.
+
+
+%package -n libpmem
+Summary: Low-level persistent memory support library
+Group: System Environment/Libraries
+%description -n libpmem
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+%files -n libpmem
+%defattr(-,root,root,-)
+%dir %{_datadir}/pmdk
+%{_libdir}/libpmem.so.*
+%{_datadir}/pmdk/pmdk.magic
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmem-devel
+Summary: Development files for the low-level persistent memory library
+Group: Development/Libraries
+Requires: libpmem = %{version}-%{release}
+%description -n libpmem-devel
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+This library is provided for software which tracks every store to
+pmem and needs to flush those changes to durability. Most developers
+will find higher level libraries like libpmemobj to be much more
+convenient.
+
+%files -n libpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmem.so
+%{_libdir}/pkgconfig/libpmem.pc
+%{_includedir}/libpmem.h
+%{_mandir}/man7/libpmem.7.gz
+%{_mandir}/man3/pmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmem-debug
+Summary: Debug variant of the low-level persistent memory library
+Group: Development/Libraries
+Requires: libpmem = %{version}-%{release}
+%description -n libpmem-debug
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmem.so
+%{_libdir}/pmdk_debug/libpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk
+Summary: Persistent Memory Resident Array of Blocks library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemblk
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+%files -n libpmemblk
+%defattr(-,root,root,-)
+%{_libdir}/libpmemblk.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk-devel
+Summary: Development files for the Persistent Memory Resident Array of Blocks library
+Group: Development/Libraries
+Requires: libpmemblk = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemblk-devel
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+For example, a program keeping a cache of fixed-size objects in pmem
+might find this library useful. This library is provided for cases
+requiring large arrays of objects at least 512 bytes each. Most
+developers will find higher level libraries like libpmemobj to be
+more generally useful.
+
+%files -n libpmemblk-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemblk.so
+%{_libdir}/pkgconfig/libpmemblk.pc
+%{_includedir}/libpmemblk.h
+%{_mandir}/man7/libpmemblk.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemblk_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk-debug
+Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
+Group: Development/Libraries
+Requires: libpmemblk = %{version}-%{release}
+%description -n libpmemblk-debug
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemblk-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemblk.so
+%{_libdir}/pmdk_debug/libpmemblk.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog
+Summary: Persistent Memory Resident Log File library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemlog
+The libpmemlog library provides a pmem-resident log file. This is
+useful for programs like databases that append frequently to a log
+file.
+
+%files -n libpmemlog
+%defattr(-,root,root,-)
+%{_libdir}/libpmemlog.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog-devel
+Summary: Development files for the Persistent Memory Resident Log File library
+Group: Development/Libraries
+Requires: libpmemlog = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemlog-devel
+The libpmemlog library provides a pmem-resident log file. This
+library is provided for cases requiring an append-mostly file to
+record variable length entries. Most developers will find higher
+level libraries like libpmemobj to be more generally useful.
+
+%files -n libpmemlog-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemlog.so
+%{_libdir}/pkgconfig/libpmemlog.pc
+%{_includedir}/libpmemlog.h
+%{_mandir}/man7/libpmemlog.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemlog_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog-debug
+Summary: Debug variant of the Persistent Memory Resident Log File library
+Group: Development/Libraries
+Requires: libpmemlog = %{version}-%{release}
+%description -n libpmemlog-debug
+The libpmemlog library provides a pmem-resident log file. This
+library is provided for cases requiring an append-mostly file to
+record variable length entries. Most developers will find higher
+level libraries like libpmemobj to be more generally useful.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemlog-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemlog.so
+%{_libdir}/pmdk_debug/libpmemlog.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj
+Summary: Persistent Memory Transactional Object Store library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemobj
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming.
+
+%files -n libpmemobj
+%defattr(-,root,root,-)
+%{_libdir}/libpmemobj.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj-devel
+Summary: Development files for the Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Requires: libpmemobj = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemobj-devel
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming. Developers new to persistent memory
+probably want to start with this library.
+
+%files -n libpmemobj-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemobj.so
+%{_libdir}/pkgconfig/libpmemobj.pc
+%{_includedir}/libpmemobj.h
+%{_includedir}/libpmemobj/*.h
+%{_mandir}/man7/libpmemobj.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemobj_*.3.gz
+%{_mandir}/man3/pobj_*.3.gz
+%{_mandir}/man3/oid_*.3.gz
+%{_mandir}/man3/toid*.3.gz
+%{_mandir}/man3/direct_*.3.gz
+%{_mandir}/man3/d_r*.3.gz
+%{_mandir}/man3/tx_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj-debug
+Summary: Debug variant of the Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Requires: libpmemobj = %{version}-%{release}
+%description -n libpmemobj-debug
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming. Developers new to persistent memory
+probably want to start with this library.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemobj-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemobj.so
+%{_libdir}/pmdk_debug/libpmemobj.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem
+Summary: Volatile Memory allocation library
+Group: System Environment/Libraries
+%description -n libvmem
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+%files -n libvmem
+%defattr(-,root,root,-)
+%{_libdir}/libvmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem-devel
+Summary: Development files for the Volatile Memory allocation library
+Group: Development/Libraries
+Requires: libvmem = %{version}-%{release}
+%description -n libvmem-devel
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+This sub-package contains libraries and header files for developing
+applications that want to make use of libvmem.
+
+%files -n libvmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/libvmem.so
+%{_libdir}/pkgconfig/libvmem.pc
+%{_includedir}/libvmem.h
+%{_mandir}/man7/libvmem.7.gz
+%{_mandir}/man3/vmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem-debug
+Summary: Debug variant of the Volatile Memory allocation library
+Group: Development/Libraries
+Requires: libvmem = %{version}-%{release}
+%description -n libvmem-debug
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libvmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libvmem.so
+%{_libdir}/pmdk_debug/libvmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc
+Summary: Dynamic to Persistent Memory allocation translation library
+Group: System Environment/Libraries
+%description -n libvmmalloc
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+The typical usage of libvmmalloc is to load it via the LD_PRELOAD
+environment variable.
+
+%files -n libvmmalloc
+%defattr(-,root,root,-)
+%{_libdir}/libvmmalloc.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc-devel
+Summary: Development files for the Dynamic-to-Persistent allocation library
+Group: Development/Libraries
+Requires: libvmmalloc = %{version}-%{release}
+%description -n libvmmalloc-devel
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of libvmmalloc.
+
+%files -n libvmmalloc-devel
+%defattr(-,root,root,-)
+%{_libdir}/libvmmalloc.so
+%{_libdir}/pkgconfig/libvmmalloc.pc
+%{_includedir}/libvmmalloc.h
+%{_mandir}/man7/libvmmalloc.7.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc-debug
+Summary: Debug variant of the Dynamic-to-Persistent allocation library
+Group: Development/Libraries
+Requires: libvmmalloc = %{version}-%{release}
+%description -n libvmmalloc-debug
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libvmmalloc-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libvmmalloc.so
+%{_libdir}/pmdk_debug/libvmmalloc.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+# Specify a virtual Provide for libpmemobj++-static package, so the package
+# usage can be tracked.
+%package -n libpmemobj++-devel
+Summary: C++ bindings for Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Provides: libpmemobj++-static = %{version}-%{release}
+Requires: libpmemobj-devel = %{version}-%{release}
+%description -n libpmemobj++-devel
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming.
+
+This sub-package contains header files for libpmemobj C++ bindings.
+
+%files -n libpmemobj++-devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/libpmemobj++.pc
+%{_includedir}/libpmemobj++/*.hpp
+%{_includedir}/libpmemobj++/detail/*.hpp
+%{_docdir}/libpmemobj++-devel/*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool
+Summary: Persistent Memory pool management library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmempool
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+%files -n libpmempool
+%defattr(-,root,root,-)
+%{_libdir}/libpmempool.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool-devel
+Summary: Development files for Persistent Memory pool management library
+Group: Development/Libraries
+Requires: libpmempool = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmempool-devel
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+%files -n libpmempool-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmempool.so
+%{_libdir}/pkgconfig/libpmempool.pc
+%{_includedir}/libpmempool.h
+%{_mandir}/man7/libpmempool.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmempool_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool-debug
+Summary: Debug variant of the Persistent Memory pool management library
+Group: Development/Libraries
+Requires: libpmempool = %{version}-%{release}
+%description -n libpmempool-debug
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmempool-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmempool.so
+%{_libdir}/pmdk_debug/libpmempool.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%if %{with fabric}
+
+%package -n librpmem
+Summary: Remote Access to Persistent Memory library
+Group: System Environment/Libraries
+Requires: libfabric >= %{min_libfabric_ver}
+Requires: openssh-clients
+%description -n librpmem
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+%files -n librpmem
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-devel
+Summary: Development files for the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-devel
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of librpmem.
+
+%files -n librpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so
+%{_libdir}/pkgconfig/librpmem.pc
+%{_includedir}/librpmem.h
+%{_mandir}/man7/librpmem.7.gz
+%{_mandir}/man3/rpmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-debug
+Summary: Debug variant of the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-debug
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n librpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/librpmem.so
+%{_libdir}/pmdk_debug/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n rpmemd
+Group: System Environment/Base
+Summary: Target node process executed by librpmem
+Requires: libfabric >= %{min_libfabric_ver}
+%description -n rpmemd
+The rpmemd process is executed on a target node by librpmem library
+and facilitates access to persistent memory over RDMA.
+
+%files -n rpmemd
+%{_bindir}/rpmemd
+%{_mandir}/man1/rpmemd.1.gz
+
+%endif # _with_fabric
+
+
+%package -n libpmemcto
+Summary: Close-to-Open Persistence library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemcto
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+%files -n libpmemcto
+%defattr(-,root,root,-)
+%{_libdir}/libpmemcto.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemcto-devel
+Summary: Development files for Close-to-Open Persistence library
+Group: Development/Libraries
+Requires: libpmemcto = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemcto-devel
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+%files -n libpmemcto-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemcto.so
+%{_libdir}/pkgconfig/libpmemcto.pc
+%{_includedir}/libpmemcto.h
+%{_mandir}/man7/libpmemcto.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemcto*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemcto-debug
+Summary: Debug variant of the Close-to-Open Persistence library
+Group: Development/Libraries
+Requires: libpmemcto = %{version}-%{release}
+%description -n libpmemcto-debug
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemcto-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemcto.so
+%{_libdir}/pmdk_debug/libpmemcto.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n pmempool
+Summary: Utilities for Persistent Memory
+Group: System Environment/Base
+Requires: libpmem >= %{version}-%{release}
+Requires: libpmemlog >= %{version}-%{release}
+Requires: libpmemblk >= %{version}-%{release}
+Requires: libpmemobj >= %{version}-%{release}
+Requires: libpmempool >= %{version}-%{release}
+Requires: libpmemcto >= %{version}-%{release}
+Obsoletes: nvml-tools < %{version}-%{release}
+%description -n pmempool
+The pmempool is a standalone utility for management and off-line analysis
+of Persistent Memory pools created by PMDK libraries. It provides a set
+of utilities for administration and diagnostics of Persistent Memory pools.
+The pmempool may be useful for troubleshooting by system administrators
+and users of the applications based on PMDK libraries.
+
+%files -n pmempool
+%{_bindir}/pmempool
+%{_mandir}/man1/pmempool.1.gz
+%{_mandir}/man1/pmempool-*.1.gz
+%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool.sh
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%if %{with ndctl}
+
+%package -n daxio
+Summary: Perform I/O on Device DAX devices or zero a Device DAX device
+Group: System Environment/Base
+Requires: libpmem >= %{version}-%{release}
+%description -n daxio
+The daxio utility performs I/O on Device DAX devices or zero
+a Device DAX device. Since the standard I/O APIs (read/write) cannot be used
+with Device DAX, data transfer is performed on a memory-mapped device.
+The daxio may be used to dump Device DAX data to a file, restore data from
+a backup copy, move/copy data to another device or to erase data from
+a device.
+
+%files -n daxio
+%{_bindir}/daxio
+%{_mandir}/man1/daxio.1.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+%endif # _with_ndctl
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+# For debug build default flags may be overriden to disable compiler
+# optimizations.
+CFLAGS="%{optflags}" \
+LDFLAGS="%{?__global_ldflags}" \
+make %{?_smp_mflags} NORPATH=1
+
+
+# Override LIB_AR with empty string to skip installation of static libraries
+%install
+make install DESTDIR=%{buildroot} \
+ LIB_AR= \
+ prefix=%{_prefix} \
+ libdir=%{_libdir} \
+ includedir=%{_includedir} \
+ mandir=%{_mandir} \
+ bindir=%{_bindir} \
+ sysconfdir=%{_sysconfdir} \
+ docdir=%{_docdir} \
+ CPP_DOC_DIR=libpmemobj++-devel
+mkdir -p %{buildroot}%{_datadir}/pmdk
+cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
+
+
+
+%check
+%if 0%{?_skip_check} == 1
+ echo "Check skipped"
+%else
+ %if %{defined _testconfig}
+ cp %{_testconfig} src/test/testconfig.sh
+ %else
+ echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
+ echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
+ %endif
+ make check
+%endif
+
+%post -n libpmem -p /sbin/ldconfig
+%postun -n libpmem -p /sbin/ldconfig
+%post -n libpmemblk -p /sbin/ldconfig
+%postun -n libpmemblk -p /sbin/ldconfig
+%post -n libpmemlog -p /sbin/ldconfig
+%postun -n libpmemlog -p /sbin/ldconfig
+%post -n libpmemobj -p /sbin/ldconfig
+%postun -n libpmemobj -p /sbin/ldconfig
+%post -n libvmem -p /sbin/ldconfig
+%postun -n libvmem -p /sbin/ldconfig
+%post -n libvmmalloc -p /sbin/ldconfig
+%postun -n libvmmalloc -p /sbin/ldconfig
+%post -n libpmempool -p /sbin/ldconfig
+%postun -n libpmempool -p /sbin/ldconfig
+%post -n libpmemcto -p /sbin/ldconfig
+%postun -n libpmemcto -p /sbin/ldconfig
+
+%if %{with fabric}
+%post -n librpmem -p /sbin/ldconfig
+%postun -n librpmem -p /sbin/ldconfig
+%endif
+
+%if 0%{?__debug_package} == 0
+%debug_package
+%endif
+
+
+%changelog
+* Fri Mar 30 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-3
+- Revert package name change
+- Re-enable check
+
+* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-2
+- Fix issues found by rpmlint
+
+* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-1
+- Rename NVML project to PMDK
+- Update to PMDK version 1.4 (RHBZ #1480578, #1539562, #1539564)
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
+- Update to NVML version 1.3.1 (RHBZ #1480578)
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
+- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
+- Add librpmem and rpmemd sub-packages
+- Force file system to appear as PMEM for make check
+
+* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
+- Update to NVML version 1.2.3 (RHBZ #1451741)
+
+* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
+- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
+
+* Thu Mar 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.1-1
+- Update to NVML version 1.2.1 (RHBZ #1425038)
+
+* Tue Feb 21 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-3
+- Fix compilation under gcc 7.0.x (RHBZ #1424004)
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Dec 30 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-1
+- Update to NVML version 1.2 (RHBZ #1383467)
+- Add libpmemobj C++ bindings
+
+* Thu Jul 14 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-3
+- Add missing package version requirements
+
+* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-2
+- Move debug variants of the libraries to -debug subpackages
+
+* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-1
+- NVML 1.1 release
+- Update link to source tarball
+- Add libpmempool subpackage
+- Remove obsolete patches
+
+* Wed Jun 01 2016 Dan Horák <dan[at]danny.cz> - 1.0-3
+- switch to ExclusiveArch
+
+* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-2
+- Exclude PPC architecture
+- Add bug numbers for excluded architectures
+
+* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-1
+- Initial RPM release
diff --git a/pmdk.spec b/pmdk.spec
deleted file mode 100644
index 5aebf71..0000000
--- a/pmdk.spec
+++ /dev/null
@@ -1,880 +0,0 @@
-
-# rpmbuild options:
-# --with | --without fabric
-# --with | --without ndctl
-# --define "_testconfig <path to custom testconfig.sh or 'default'>"
-# --define "_check <1|0>" - run make check or not
-#
-
-# do not terminate build if files in the $RPM_BUILD_ROOT
-# directory are not found in %%files (without fabric case)
-%define _unpackaged_files_terminate_build 0
-
-# disable 'make check' on suse
-%if %{defined suse_version}
- %define _check 0
- %define dist .suse%{suse_version}
-%endif
-
-%if (0%{?suse_version} > 1315) || (0%{?fedora} >= 27) || (0%{?rhel} >= 7)
-%bcond_without fabric
-%else
-%bcond_with fabric
-%endif
-
-# by default build w/o ndctl, unless explicitly enabled
-%bcond_with ndctl
-
-%define min_libfabric_ver 1.4.2
-%define min_ndctl_ver 59.2
-
-Name: pmdk
-Version: 1.4
-Release: 2%{?dist}
-Summary: Persistent Memory Development Kit
-License: BSD
-URL: http://pmem.io/pmdk
-
-Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{vers...
-
-BuildRequires: gcc
-BuildRequires: make
-BuildRequires: glibc-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: man
-BuildRequires: pkgconfig
-BuildRequires: doxygen
-BuildRequires: gdb
-
-%if %{with ndctl}
-BuildRequires: ndctl-devel >= %{min_ndctl_ver}
-BuildRequires: daxctl-devel >= %{min_ndctl_ver}
-%endif
-
-%if %{with fabric}
-BuildRequires: libfabric-devel >= %{min_libfabric_ver}
-%endif
-
-
-# Debug variants of the libraries should be filtered out of the provides.
-%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
-
-# By design, PMDK does not support any 32-bit architecture.
-# Due to dependency on xmmintrin.h and some inline assembly, it can be
-# compiled only for x86_64 at the moment.
-# Other 64-bit architectures could also be supported, if only there is
-# a request for that, and if somebody provides the arch-specific
-# implementation of the low-level routines for flushing to persistent
-# memory.
-
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
-
-ExclusiveArch: x86_64
-
-%description
-The Persistent Memory Development Kit is a collection of libraries for
-using memory-mapped persistence, optimized specifically for persistent memory.
-
-
-%package -n libpmem
-Summary: Low-level persistent memory support library
-Group: System Environment/Libraries
-%description -n libpmem
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-%files -n libpmem
-%defattr(-,root,root,-)
-%dir %{_datadir}/pmdk
-%{_libdir}/libpmem.so.*
-%{_datadir}/pmdk/pmdk.magic
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmem-devel
-Summary: Development files for the low-level persistent memory library
-Group: Development/Libraries
-Requires: libpmem = %{version}-%{release}
-%description -n libpmem-devel
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-This library is provided for software which tracks every store to
-pmem and needs to flush those changes to durability. Most developers
-will find higher level libraries like libpmemobj to be much more
-convenient.
-
-%files -n libpmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmem.so
-%{_libdir}/pkgconfig/libpmem.pc
-%{_includedir}/libpmem.h
-%{_mandir}/man7/libpmem.7.gz
-%{_mandir}/man3/pmem_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmem-debug
-Summary: Debug variant of the low-level persistent memory library
-Group: Development/Libraries
-Requires: libpmem = %{version}-%{release}
-%description -n libpmem-debug
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmem.so
-%{_libdir}/pmdk_debug/libpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk
-Summary: Persistent Memory Resident Array of Blocks library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemblk
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-%files -n libpmemblk
-%defattr(-,root,root,-)
-%{_libdir}/libpmemblk.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk-devel
-Summary: Development files for the Persistent Memory Resident Array of Blocks library
-Group: Development/Libraries
-Requires: libpmemblk = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemblk-devel
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-For example, a program keeping a cache of fixed-size objects in pmem
-might find this library useful. This library is provided for cases
-requiring large arrays of objects at least 512 bytes each. Most
-developers will find higher level libraries like libpmemobj to be
-more generally useful.
-
-%files -n libpmemblk-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemblk.so
-%{_libdir}/pkgconfig/libpmemblk.pc
-%{_includedir}/libpmemblk.h
-%{_mandir}/man7/libpmemblk.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmemblk_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk-debug
-Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
-Group: Development/Libraries
-Requires: libpmemblk = %{version}-%{release}
-%description -n libpmemblk-debug
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmemblk-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmemblk.so
-%{_libdir}/pmdk_debug/libpmemblk.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog
-Summary: Persistent Memory Resident Log File library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemlog
-The libpmemlog library provides a pmem-resident log file. This is
-useful for programs like databases that append frequently to a log
-file.
-
-%files -n libpmemlog
-%defattr(-,root,root,-)
-%{_libdir}/libpmemlog.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog-devel
-Summary: Development files for the Persistent Memory Resident Log File library
-Group: Development/Libraries
-Requires: libpmemlog = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemlog-devel
-The libpmemlog library provides a pmem-resident log file. This
-library is provided for cases requiring an append-mostly file to
-record variable length entries. Most developers will find higher
-level libraries like libpmemobj to be more generally useful.
-
-%files -n libpmemlog-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemlog.so
-%{_libdir}/pkgconfig/libpmemlog.pc
-%{_includedir}/libpmemlog.h
-%{_mandir}/man7/libpmemlog.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmemlog_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog-debug
-Summary: Debug variant of the Persistent Memory Resident Log File library
-Group: Development/Libraries
-Requires: libpmemlog = %{version}-%{release}
-%description -n libpmemlog-debug
-The libpmemlog library provides a pmem-resident log file. This
-library is provided for cases requiring an append-mostly file to
-record variable length entries. Most developers will find higher
-level libraries like libpmemobj to be more generally useful.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmemlog-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmemlog.so
-%{_libdir}/pmdk_debug/libpmemlog.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj
-Summary: Persistent Memory Transactional Object Store library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemobj
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming.
-
-%files -n libpmemobj
-%defattr(-,root,root,-)
-%{_libdir}/libpmemobj.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj-devel
-Summary: Development files for the Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Requires: libpmemobj = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemobj-devel
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming. Developers new to persistent memory
-probably want to start with this library.
-
-%files -n libpmemobj-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemobj.so
-%{_libdir}/pkgconfig/libpmemobj.pc
-%{_includedir}/libpmemobj.h
-%{_includedir}/libpmemobj/*.h
-%{_mandir}/man7/libpmemobj.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmemobj_*.3.gz
-%{_mandir}/man3/pobj_*.3.gz
-%{_mandir}/man3/oid_*.3.gz
-%{_mandir}/man3/toid*.3.gz
-%{_mandir}/man3/direct_*.3.gz
-%{_mandir}/man3/d_r*.3.gz
-%{_mandir}/man3/tx_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj-debug
-Summary: Debug variant of the Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Requires: libpmemobj = %{version}-%{release}
-%description -n libpmemobj-debug
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming. Developers new to persistent memory
-probably want to start with this library.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmemobj-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmemobj.so
-%{_libdir}/pmdk_debug/libpmemobj.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem
-Summary: Volatile Memory allocation library
-Group: System Environment/Libraries
-%description -n libvmem
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-%files -n libvmem
-%defattr(-,root,root,-)
-%{_libdir}/libvmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem-devel
-Summary: Development files for the Volatile Memory allocation library
-Group: Development/Libraries
-Requires: libvmem = %{version}-%{release}
-%description -n libvmem-devel
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-This sub-package contains libraries and header files for developing
-applications that want to make use of libvmem.
-
-%files -n libvmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/libvmem.so
-%{_libdir}/pkgconfig/libvmem.pc
-%{_includedir}/libvmem.h
-%{_mandir}/man7/libvmem.7.gz
-%{_mandir}/man3/vmem_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem-debug
-Summary: Debug variant of the Volatile Memory allocation library
-Group: Development/Libraries
-Requires: libvmem = %{version}-%{release}
-%description -n libvmem-debug
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libvmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libvmem.so
-%{_libdir}/pmdk_debug/libvmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc
-Summary: Dynamic to Persistent Memory allocation translation library
-Group: System Environment/Libraries
-%description -n libvmmalloc
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-The typical usage of libvmmalloc is to load it via the LD_PRELOAD
-environment variable.
-
-%files -n libvmmalloc
-%defattr(-,root,root,-)
-%{_libdir}/libvmmalloc.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc-devel
-Summary: Development files for the Dynamic-to-Persistent allocation library
-Group: Development/Libraries
-Requires: libvmmalloc = %{version}-%{release}
-%description -n libvmmalloc-devel
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-This sub-package contains libraries and header files for developing
-applications that want to specifically make use of libvmmalloc.
-
-%files -n libvmmalloc-devel
-%defattr(-,root,root,-)
-%{_libdir}/libvmmalloc.so
-%{_libdir}/pkgconfig/libvmmalloc.pc
-%{_includedir}/libvmmalloc.h
-%{_mandir}/man7/libvmmalloc.7.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc-debug
-Summary: Debug variant of the Dynamic-to-Persistent allocation library
-Group: Development/Libraries
-Requires: libvmmalloc = %{version}-%{release}
-%description -n libvmmalloc-debug
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libvmmalloc-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libvmmalloc.so
-%{_libdir}/pmdk_debug/libvmmalloc.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-# Specify a virtual Provide for libpmemobj++-static package, so the package
-# usage can be tracked.
-%package -n libpmemobj++-devel
-Summary: C++ bindings for Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Provides: libpmemobj++-static = %{version}-%{release}
-Requires: libpmemobj-devel = %{version}-%{release}
-%description -n libpmemobj++-devel
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming.
-
-This sub-package contains header files for libpmemobj C++ bindings.
-
-%files -n libpmemobj++-devel
-%defattr(-,root,root,-)
-%{_libdir}/pkgconfig/libpmemobj++.pc
-%{_includedir}/libpmemobj++/*.hpp
-%{_includedir}/libpmemobj++/detail/*.hpp
-%{_docdir}/libpmemobj++-devel/*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool
-Summary: Persistent Memory pool management library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmempool
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-%files -n libpmempool
-%defattr(-,root,root,-)
-%{_libdir}/libpmempool.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool-devel
-Summary: Development files for Persistent Memory pool management library
-Group: Development/Libraries
-Requires: libpmempool = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmempool-devel
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-%files -n libpmempool-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmempool.so
-%{_libdir}/pkgconfig/libpmempool.pc
-%{_includedir}/libpmempool.h
-%{_mandir}/man7/libpmempool.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmempool_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool-debug
-Summary: Debug variant of the Persistent Memory pool management library
-Group: Development/Libraries
-Requires: libpmempool = %{version}-%{release}
-%description -n libpmempool-debug
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmempool-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmempool.so
-%{_libdir}/pmdk_debug/libpmempool.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%if %{with fabric}
-
-%package -n librpmem
-Summary: Remote Access to Persistent Memory library
-Group: System Environment/Libraries
-Requires: libfabric >= %{min_libfabric_ver}
-Requires: openssh-clients
-%description -n librpmem
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-%files -n librpmem
-%defattr(-,root,root,-)
-%{_libdir}/librpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem-devel
-Summary: Development files for the Remote Access to Persistent Memory library
-Group: Development/Libraries
-Requires: librpmem = %{version}-%{release}
-%description -n librpmem-devel
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-This sub-package contains libraries and header files for developing
-applications that want to specifically make use of librpmem.
-
-%files -n librpmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/librpmem.so
-%{_libdir}/pkgconfig/librpmem.pc
-%{_includedir}/librpmem.h
-%{_mandir}/man7/librpmem.7.gz
-%{_mandir}/man3/rpmem_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem-debug
-Summary: Debug variant of the Remote Access to Persistent Memory library
-Group: Development/Libraries
-Requires: librpmem = %{version}-%{release}
-%description -n librpmem-debug
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n librpmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/librpmem.so
-%{_libdir}/pmdk_debug/librpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n rpmemd
-Group: System Environment/Base
-Summary: Target node process executed by librpmem
-Requires: libfabric >= %{min_libfabric_ver}
-%description -n rpmemd
-The rpmemd process is executed on a target node by librpmem library
-and facilitates access to persistent memory over RDMA.
-
-%files -n rpmemd
-%{_bindir}/rpmemd
-%{_mandir}/man1/rpmemd.1.gz
-
-%endif # _with_fabric
-
-
-%package -n libpmemcto
-Summary: Close-to-Open Persistence library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemcto
-The libpmemcto library is a Persistent Memory allocator with no overhead
-imposed by run-time flushing or transactional updates.
-
-%files -n libpmemcto
-%defattr(-,root,root,-)
-%{_libdir}/libpmemcto.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemcto-devel
-Summary: Development files for Close-to-Open Persistence library
-Group: Development/Libraries
-Requires: libpmemcto = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemcto-devel
-The libpmemcto library is a Persistent Memory allocator with no overhead
-imposed by run-time flushing or transactional updates.
-
-%files -n libpmemcto-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemcto.so
-%{_libdir}/pkgconfig/libpmemcto.pc
-%{_includedir}/libpmemcto.h
-%{_mandir}/man7/libpmemcto.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmemcto*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemcto-debug
-Summary: Debug variant of the Close-to-Open Persistence library
-Group: Development/Libraries
-Requires: libpmemcto = %{version}-%{release}
-%description -n libpmemcto-debug
-The libpmemcto library is a Persistent Memory allocator with no overhead
-imposed by run-time flushing or transactional updates.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmemcto-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmemcto.so
-%{_libdir}/pmdk_debug/libpmemcto.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n pmempool
-Summary: Utilities for Persistent Memory
-Group: System Environment/Base
-Requires: libpmem >= %{version}-%{release}
-Requires: libpmemlog >= %{version}-%{release}
-Requires: libpmemblk >= %{version}-%{release}
-Requires: libpmemobj >= %{version}-%{release}
-Requires: libpmempool >= %{version}-%{release}
-Requires: libpmemcto >= %{version}-%{release}
-Obsoletes: nvml-tools < %{version}-%{release}
-%description -n pmempool
-The pmempool is a standalone utility for management and off-line analysis
-of Persistent Memory pools created by PMDK libraries. It provides a set
-of utilities for administration and diagnostics of Persistent Memory pools.
-The pmempool may be useful for troubleshooting by system administrators
-and users of the applications based on PMDK libraries.
-
-%files -n pmempool
-%{_bindir}/pmempool
-%{_mandir}/man1/pmempool.1.gz
-%{_mandir}/man1/pmempool-*.1.gz
-%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool.sh
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%if %{with ndctl}
-
-%package -n daxio
-Summary: Perform I/O on Device DAX devices or zero a Device DAX device
-Group: System Environment/Base
-Requires: libpmem >= %{version}-%{release}
-%description -n daxio
-The daxio utility performs I/O on Device DAX devices or zero
-a Device DAX device. Since the standard I/O APIs (read/write) cannot be used
-with Device DAX, data transfer is performed on a memory-mapped device.
-The daxio may be used to dump Device DAX data to a file, restore data from
-a backup copy, move/copy data to another device or to erase data from
-a device.
-
-%files -n daxio
-%{_bindir}/daxio
-%{_mandir}/man1/daxio.1.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-%endif # _with_ndctl
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-
-%build
-# For debug build default flags may be overriden to disable compiler
-# optimizations.
-CFLAGS="%{optflags}" \
-LDFLAGS="%{?__global_ldflags}" \
-make %{?_smp_mflags} NORPATH=1
-
-
-# Override LIB_AR with empty string to skip installation of static libraries
-%install
-make install DESTDIR=%{buildroot} \
- LIB_AR= \
- prefix=%{_prefix} \
- libdir=%{_libdir} \
- includedir=%{_includedir} \
- mandir=%{_mandir} \
- bindir=%{_bindir} \
- sysconfdir=%{_sysconfdir} \
- docdir=%{_docdir} \
- CPP_DOC_DIR=libpmemobj++-devel
-mkdir -p %{buildroot}%{_datadir}/pmdk
-cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
-
-
-
-%check
-%if "%{_check}" == "1"
- %if "%{_testconfig}" != "default"
- cp %{_testconfig} src/test/testconfig.sh
- %else
- echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
- echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
- %endif
- make check
-%else
- echo "Check skipped"
-%endif
-
-%post -n libpmem -p /sbin/ldconfig
-%postun -n libpmem -p /sbin/ldconfig
-%post -n libpmemblk -p /sbin/ldconfig
-%postun -n libpmemblk -p /sbin/ldconfig
-%post -n libpmemlog -p /sbin/ldconfig
-%postun -n libpmemlog -p /sbin/ldconfig
-%post -n libpmemobj -p /sbin/ldconfig
-%postun -n libpmemobj -p /sbin/ldconfig
-%post -n libvmem -p /sbin/ldconfig
-%postun -n libvmem -p /sbin/ldconfig
-%post -n libvmmalloc -p /sbin/ldconfig
-%postun -n libvmmalloc -p /sbin/ldconfig
-%post -n libpmempool -p /sbin/ldconfig
-%postun -n libpmempool -p /sbin/ldconfig
-%post -n libpmemcto -p /sbin/ldconfig
-%postun -n libpmemcto -p /sbin/ldconfig
-
-%if %{with fabric}
-%post -n librpmem -p /sbin/ldconfig
-%postun -n librpmem -p /sbin/ldconfig
-%endif
-
-%if 0%{?__debug_package} == 0
-%debug_package
-%endif
-
-
-%changelog
-* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-2
-- Fix issues found by rpmlint
-
-* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-1
-- Rename NVML project to PMDK
-- Update to PMDK version 1.4 (RHBZ #1480578, #1539562, #1539564)
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
-- Update to NVML version 1.3.1 (RHBZ #1480578)
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
-- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
-- Add librpmem and rpmemd sub-packages
-- Force file system to appear as PMEM for make check
-
-* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
-- Update to NVML version 1.2.3 (RHBZ #1451741)
-
-* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
-- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
-
-* Thu Mar 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.1-1
-- Update to NVML version 1.2.1 (RHBZ #1425038)
-
-* Tue Feb 21 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-3
-- Fix compilation under gcc 7.0.x (RHBZ #1424004)
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Fri Dec 30 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-1
-- Update to NVML version 1.2 (RHBZ #1383467)
-- Add libpmemobj C++ bindings
-
-* Thu Jul 14 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-3
-- Add missing package version requirements
-
-* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-2
-- Move debug variants of the libraries to -debug subpackages
-
-* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-1
-- NVML 1.1 release
-- Update link to source tarball
-- Add libpmempool subpackage
-- Remove obsolete patches
-
-* Wed Jun 01 2016 Dan Horák <dan[at]danny.cz> - 1.0-3
-- switch to ExclusiveArch
-
-* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-2
-- Exclude PPC architecture
-- Add bug numbers for excluded architectures
-
-* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-1
-- Initial RPM release
diff --git a/sources b/sources
index 087d117..f7c359f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pmdk-1.4.tar.gz) = 95dbea9acfea4a6cb433a25f56f7484946a93fbce1c5e0e1d6ff36e0824e3e0e9f28f37024918998358f8ff12e69d0902fcf88357b9ad12695f32e06e86ffac8
+SHA512 (nvml-1.4.tar.gz) = 80065f954383ff75091ded14b17e32019ade6bbac9d5cd634331516d8253a0cf1689335a1a9e418e42a34e01d162bff7f76f96ae488115d9016a91d34f6fda5c
commit bf94a0ea0d87ee562e1e3256f704fefe74ae97d5
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Thu Mar 29 21:26:59 2018 +0200
Fix issues found by rpmlint
diff --git a/pmdk.spec b/pmdk.spec
index dee0362..5aebf71 100644
--- a/pmdk.spec
+++ b/pmdk.spec
@@ -7,7 +7,7 @@
#
# do not terminate build if files in the $RPM_BUILD_ROOT
-# directory are not found in the %files (without fabric case)
+# directory are not found in %%files (without fabric case)
%define _unpackaged_files_terminate_build 0
# disable 'make check' on suse
@@ -30,7 +30,7 @@
Name: pmdk
Version: 1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Persistent Memory Development Kit
License: BSD
URL: http://pmem.io/pmdk
@@ -704,7 +704,7 @@ Requires: libpmemblk >= %{version}-%{release}
Requires: libpmemobj >= %{version}-%{release}
Requires: libpmempool >= %{version}-%{release}
Requires: libpmemcto >= %{version}-%{release}
-Obsoletes: nvml-tools
+Obsoletes: nvml-tools < %{version}-%{release}
%description -n pmempool
The pmempool is a standalone utility for management and off-line analysis
of Persistent Memory pools created by PMDK libraries. It provides a set
@@ -814,6 +814,9 @@ cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
%changelog
+* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-2
+- Fix issues found by rpmlint
+
* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-1
- Rename NVML project to PMDK
- Update to PMDK version 1.4 (RHBZ #1480578, #1539562, #1539564)
commit 69c4e5835e2c5e23e44e6ade250ea4beada91cf0
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Thu Mar 29 21:13:43 2018 +0200
PMDK 1.4 release
diff --git a/.gitignore b/.gitignore
index bd78bc5..8e808ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/nvml-1.2.3.tar.gz
/nvml-1.3.tar.gz
/nvml-1.3.1.tar.gz
+/pmdk-1.4.tar.gz
diff --git a/nvml.spec b/nvml.spec
deleted file mode 100644
index 86f5c86..0000000
--- a/nvml.spec
+++ /dev/null
@@ -1,720 +0,0 @@
-
-Name: nvml
-Version: 1.3.1
-Release: 2%{?dist}
-Summary: Non-Volatile Memory Library
-License: BSD
-URL: http://pmem.io/nvml
-Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{vers...
-
-BuildRequires: glibc-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: man
-BuildRequires: pkgconfig
-BuildRequires: doxygen
-BuildRequires: gdb
-
-%define min_libfabric_ver 1.4.2
-BuildRequires: libfabric-devel >= %{min_libfabric_ver}
-
-
-# Debug variants of the libraries should be filtered out of the provides.
-%global __provides_exclude_from ^%{_libdir}/nvml_debug/.*\\.so.*$
-
-# By design, NVML does not support any 32-bit architecture.
-# Due to dependency on xmmintrin.h and some inline assembly, it can be
-# compiled only for x86_64 at the moment.
-# Other 64-bit architectures could also be supported, if only there is
-# a request for that, and if somebody provides the arch-specific
-# implementation of the low-level routines for flushing to persistent
-# memory.
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
-ExclusiveArch: x86_64
-
-%description
-The NVM Library is a collection of libraries for using memory-mapped
-persistence, optimized specifically for persistent memory.
-
-
-%package -n libpmem
-Summary: Low-level persistent memory support library
-Group: System Environment/Libraries
-%description -n libpmem
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-%files -n libpmem
-%defattr(-,root,root,-)
-%dir %{_datadir}/nvml
-%{_libdir}/libpmem.so.*
-%{_datadir}/nvml/nvml.magic
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmem-devel
-Summary: Development files for the low-level persistent memory library
-Group: Development/Libraries
-Requires: libpmem = %{version}-%{release}
-%description -n libpmem-devel
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-This library is provided for software which tracks every store to
-pmem and needs to flush those changes to durability. Most developers
-will find higher level libraries like libpmemobj to be much more
-convenient.
-
-%files -n libpmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmem.so
-%{_libdir}/pkgconfig/libpmem.pc
-%{_includedir}/libpmem.h
-%{_mandir}/man3/libpmem.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmem-debug
-Summary: Debug variant of the low-level persistent memory library
-Group: Development/Libraries
-Requires: libpmem = %{version}-%{release}
-%description -n libpmem-debug
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmem.so
-%{_libdir}/nvml_debug/libpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk
-Summary: Persistent Memory Resident Array of Blocks library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemblk
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-%files -n libpmemblk
-%defattr(-,root,root,-)
-%{_libdir}/libpmemblk.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk-devel
-Summary: Development files for the Persistent Memory Resident Array of Blocks library
-Group: Development/Libraries
-Requires: libpmemblk = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemblk-devel
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-For example, a program keeping a cache of fixed-size objects in pmem
-might find this library useful. This library is provided for cases
-requiring large arrays of objects at least 512 bytes each. Most
-developers will find higher level libraries like libpmemobj to be
-more generally useful.
-
-%files -n libpmemblk-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemblk.so
-%{_libdir}/pkgconfig/libpmemblk.pc
-%{_includedir}/libpmemblk.h
-%{_mandir}/man3/libpmemblk.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk-debug
-Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
-Group: Development/Libraries
-Requires: libpmemblk = %{version}-%{release}
-%description -n libpmemblk-debug
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmemblk-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmemblk.so
-%{_libdir}/nvml_debug/libpmemblk.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog
-Summary: Persistent Memory Resident Log File library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemlog
-The libpmemlog library provides a pmem-resident log file. This is
-useful for programs like databases that append frequently to a log
-file.
-
-%files -n libpmemlog
-%defattr(-,root,root,-)
-%{_libdir}/libpmemlog.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog-devel
-Summary: Development files for the Persistent Memory Resident Log File library
-Group: Development/Libraries
-Requires: libpmemlog = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemlog-devel
-The libpmemlog library provides a pmem-resident log file. This
-library is provided for cases requiring an append-mostly file to
-record variable length entries. Most developers will find higher
-level libraries like libpmemobj to be more generally useful.
-
-%files -n libpmemlog-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemlog.so
-%{_libdir}/pkgconfig/libpmemlog.pc
-%{_includedir}/libpmemlog.h
-%{_mandir}/man3/libpmemlog.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog-debug
-Summary: Debug variant of the Persistent Memory Resident Log File library
-Group: Development/Libraries
-Requires: libpmemlog = %{version}-%{release}
-%description -n libpmemlog-debug
-The libpmemlog library provides a pmem-resident log file. This
-library is provided for cases requiring an append-mostly file to
-record variable length entries. Most developers will find higher
-level libraries like libpmemobj to be more generally useful.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmemlog-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmemlog.so
-%{_libdir}/nvml_debug/libpmemlog.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj
-Summary: Persistent Memory Transactional Object Store library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemobj
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming.
-
-%files -n libpmemobj
-%defattr(-,root,root,-)
-%{_libdir}/libpmemobj.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj-devel
-Summary: Development files for the Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Requires: libpmemobj = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemobj-devel
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming. Developers new to persistent memory
-probably want to start with this library.
-
-%files -n libpmemobj-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemobj.so
-%{_libdir}/pkgconfig/libpmemobj.pc
-%{_includedir}/libpmemobj.h
-%{_includedir}/libpmemobj/*.h
-%{_mandir}/man3/libpmemobj.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj-debug
-Summary: Debug variant of the Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Requires: libpmemobj = %{version}-%{release}
-%description -n libpmemobj-debug
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming. Developers new to persistent memory
-probably want to start with this library.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmemobj-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmemobj.so
-%{_libdir}/nvml_debug/libpmemobj.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem
-Summary: Volatile Memory allocation library
-Group: System Environment/Libraries
-%description -n libvmem
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-%files -n libvmem
-%defattr(-,root,root,-)
-%{_libdir}/libvmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem-devel
-Summary: Development files for the Volatile Memory allocation library
-Group: Development/Libraries
-Requires: libvmem = %{version}-%{release}
-%description -n libvmem-devel
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-This sub-package contains libraries and header files for developing
-applications that want to make use of libvmem.
-
-%files -n libvmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/libvmem.so
-%{_libdir}/pkgconfig/libvmem.pc
-%{_includedir}/libvmem.h
-%{_mandir}/man3/libvmem.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem-debug
-Summary: Debug variant of the Volatile Memory allocation library
-Group: Development/Libraries
-Requires: libvmem = %{version}-%{release}
-%description -n libvmem-debug
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libvmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libvmem.so
-%{_libdir}/nvml_debug/libvmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc
-Summary: Dynamic to Persistent Memory allocation translation library
-Group: System Environment/Libraries
-%description -n libvmmalloc
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-The typical usage of libvmmalloc is to load it via the LD_PRELOAD
-environment variable.
-
-%files -n libvmmalloc
-%defattr(-,root,root,-)
-%{_libdir}/libvmmalloc.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc-devel
-Summary: Development files for the Dynamic-to-Persistent allocation library
-Group: Development/Libraries
-Requires: libvmmalloc = %{version}-%{release}
-%description -n libvmmalloc-devel
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-This sub-package contains libraries and header files for developing
-applications that want to specifically make use of libvmmalloc.
-
-%files -n libvmmalloc-devel
-%defattr(-,root,root,-)
-%{_libdir}/libvmmalloc.so
-%{_libdir}/pkgconfig/libvmmalloc.pc
-%{_includedir}/libvmmalloc.h
-%{_mandir}/man3/libvmmalloc.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc-debug
-Summary: Debug variant of the Dynamic-to-Persistent allocation library
-Group: Development/Libraries
-Requires: libvmmalloc = %{version}-%{release}
-%description -n libvmmalloc-debug
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libvmmalloc-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libvmmalloc.so
-%{_libdir}/nvml_debug/libvmmalloc.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-# Specify a virtual Provide for libpmemobj++-static package, so the package
-# usage can be tracked.
-%package -n libpmemobj++-devel
-Summary: C++ bindings for Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Provides: libpmemobj++-static = %{version}-%{release}
-Requires: libpmemobj-devel = %{version}-%{release}
-%description -n libpmemobj++-devel
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming.
-
-This sub-package contains header files for libpmemobj C++ bindings.
-
-%files -n libpmemobj++-devel
-%defattr(-,root,root,-)
-%{_libdir}/pkgconfig/libpmemobj++.pc
-%{_includedir}/libpmemobj++/*.hpp
-%{_includedir}/libpmemobj++/detail/*.hpp
-%{_docdir}/libpmemobj++-devel/*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool
-Summary: Persistent Memory pool management library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmempool
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-%files -n libpmempool
-%defattr(-,root,root,-)
-%{_libdir}/libpmempool.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool-devel
-Summary: Development files for Persistent Memory pool management library
-Group: Development/Libraries
-Requires: libpmempool = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmempool-devel
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-%files -n libpmempool-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmempool.so
-%{_libdir}/pkgconfig/libpmempool.pc
-%{_includedir}/libpmempool.h
-%{_mandir}/man3/libpmempool.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool-debug
-Summary: Debug variant of the Persistent Memory pool management library
-Group: Development/Libraries
-Requires: libpmempool = %{version}-%{release}
-%description -n libpmempool-debug
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmempool-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmempool.so
-%{_libdir}/nvml_debug/libpmempool.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem
-Summary: Remote Access to Persistent Memory library
-Group: System Environment/Libraries
-Requires: libfabric >= %{min_libfabric_ver}
-Requires: openssh-clients
-%description -n librpmem
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-%files -n librpmem
-%defattr(-,root,root,-)
-%{_libdir}/librpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem-devel
-Summary: Development files for the Remote Access to Persistent Memory library
-Group: Development/Libraries
-Requires: librpmem = %{version}-%{release}
-%description -n librpmem-devel
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-This sub-package contains libraries and header files for developing
-applications that want to specifically make use of librpmem.
-
-%files -n librpmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/librpmem.so
-%{_libdir}/pkgconfig/librpmem.pc
-%{_includedir}/librpmem.h
-%{_mandir}/man3/librpmem.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem-debug
-Summary: Debug variant of the Remote Access to Persistent Memory library
-Group: Development/Libraries
-Requires: librpmem = %{version}-%{release}
-%description -n librpmem-debug
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n librpmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/librpmem.so
-%{_libdir}/nvml_debug/librpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n rpmemd
-Group: System Environment/Base
-Summary: Target node process executed by librpmem
-Requires: libfabric >= %{min_libfabric_ver}
-%description -n rpmemd
-The rpmemd process is executed on a target node by librpmem library
-and facilitates access to persistent memory over RDMA.
-
-%files -n rpmemd
-%{_bindir}/rpmemd
-%{_mandir}/man1/rpmemd.1.gz
-
-
-%package tools
-Summary: Utilities for Persistent Memory
-Group: System Environment/Base
-Requires: libpmem >= %{version}-%{release}
-Requires: libpmemlog >= %{version}-%{release}
-Requires: libpmemblk >= %{version}-%{release}
-Requires: libpmemobj >= %{version}-%{release}
-Requires: libpmempool >= %{version}-%{release}
-%description tools
-Useful applications for administration and diagnosis of persistent memory.
-
-%files tools
-%{_bindir}/pmempool
-%{_mandir}/man1/pmempool.1.gz
-%{_mandir}/man1/pmempool-check.1.gz
-%{_mandir}/man1/pmempool-convert.1.gz
-%{_mandir}/man1/pmempool-create.1.gz
-%{_mandir}/man1/pmempool-dump.1.gz
-%{_mandir}/man1/pmempool-info.1.gz
-%{_mandir}/man1/pmempool-rm.1.gz
-%{_mandir}/man1/pmempool-sync.1.gz
-%{_mandir}/man1/pmempool-transform.1.gz
-%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool.sh
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-%build
-# Currently, NVML makefiles do not allow to easily override CFLAGS,
-# so the build flags are passed via EXTRA_CFLAGS. For debug build
-# selected flags are overriden to disable compiler optimizations.
-EXTRA_CFLAGS_RELEASE="%{optflags}" \
-EXTRA_CFLAGS_DEBUG="%{optflags} -Wp,-U_FORTIFY_SOURCE -O0" \
-EXTRA_CXXFLAGS="%{optflags}" \
-make %{?_smp_mflags}
-
-
-# Override LIB_AR with empty string to skip installation of static libraries
-%install
-make install DESTDIR=%{buildroot} \
- LIB_AR= \
- prefix=%{_prefix} \
- libdir=%{_libdir} \
- includedir=%{_includedir} \
- mandir=%{_mandir} \
- bindir=%{_bindir} \
- sysconfdir=%{_sysconfdir} \
- docdir=%{_docdir} \
- CPP_DOC_DIR=libpmemobj++-devel
-mkdir -p %{buildroot}%{_datadir}/nvml
-cp utils/nvml.magic %{buildroot}%{_datadir}/nvml/
-
-
-%check
-echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
-echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
-make check
-
-
-%post -n libpmem -p /sbin/ldconfig
-%postun -n libpmem -p /sbin/ldconfig
-%post -n libpmemblk -p /sbin/ldconfig
-%postun -n libpmemblk -p /sbin/ldconfig
-%post -n libpmemlog -p /sbin/ldconfig
-%postun -n libpmemlog -p /sbin/ldconfig
-%post -n libpmemobj -p /sbin/ldconfig
-%postun -n libpmemobj -p /sbin/ldconfig
-%post -n libvmem -p /sbin/ldconfig
-%postun -n libvmem -p /sbin/ldconfig
-%post -n libvmmalloc -p /sbin/ldconfig
-%postun -n libvmmalloc -p /sbin/ldconfig
-%post -n libpmempool -p /sbin/ldconfig
-%postun -n libpmempool -p /sbin/ldconfig
-%post -n librpmem -p /sbin/ldconfig
-%postun -n librpmem -p /sbin/ldconfig
-
-%if 0%{?__debug_package} == 0
-%debug_package
-%endif
-
-
-%changelog
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
-- Update to NVML version 1.3.1 (RHBZ #1480578)
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
-- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
-- Add librpmem and rpmemd sub-packages
-- Force file system to appear as PMEM for make check
-
-* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
-- Update to NVML version 1.2.3 (RHBZ #1451741)
-
-* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
-- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
-
-* Thu Mar 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.1-1
-- Update to NVML version 1.2.1 (RHBZ #1425038)
-
-* Tue Feb 21 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-3
-- Fix compilation under gcc 7.0.x (RHBZ #1424004)
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Fri Dec 30 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-1
-- Update to NVML version 1.2 (RHBZ #1383467)
-- Add libpmemobj C++ bindings
-
-* Thu Jul 14 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-3
-- Add missing package version requirements
-
-* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-2
-- Move debug variants of the libraries to -debug subpackages
-
-* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-1
-- NVML 1.1 release
-- Update link to source tarball
-- Add libpmempool subpackage
-- Remove obsolete patches
-
-* Wed Jun 01 2016 Dan Horák <dan[at]danny.cz> - 1.0-3
-- switch to ExclusiveArch
-
-* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-2
-- Exclude PPC architecture
-- Add bug numbers for excluded architectures
-
-* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-1
-- Initial RPM release
diff --git a/pmdk.spec b/pmdk.spec
new file mode 100644
index 0000000..dee0362
--- /dev/null
+++ b/pmdk.spec
@@ -0,0 +1,877 @@
+
+# rpmbuild options:
+# --with | --without fabric
+# --with | --without ndctl
+# --define "_testconfig <path to custom testconfig.sh or 'default'>"
+# --define "_check <1|0>" - run make check or not
+#
+
+# do not terminate build if files in the $RPM_BUILD_ROOT
+# directory are not found in the %files (without fabric case)
+%define _unpackaged_files_terminate_build 0
+
+# disable 'make check' on suse
+%if %{defined suse_version}
+ %define _check 0
+ %define dist .suse%{suse_version}
+%endif
+
+%if (0%{?suse_version} > 1315) || (0%{?fedora} >= 27) || (0%{?rhel} >= 7)
+%bcond_without fabric
+%else
+%bcond_with fabric
+%endif
+
+# by default build w/o ndctl, unless explicitly enabled
+%bcond_with ndctl
+
+%define min_libfabric_ver 1.4.2
+%define min_ndctl_ver 59.2
+
+Name: pmdk
+Version: 1.4
+Release: 1%{?dist}
+Summary: Persistent Memory Development Kit
+License: BSD
+URL: http://pmem.io/pmdk
+
+Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{vers...
+
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: glibc-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: man
+BuildRequires: pkgconfig
+BuildRequires: doxygen
+BuildRequires: gdb
+
+%if %{with ndctl}
+BuildRequires: ndctl-devel >= %{min_ndctl_ver}
+BuildRequires: daxctl-devel >= %{min_ndctl_ver}
+%endif
+
+%if %{with fabric}
+BuildRequires: libfabric-devel >= %{min_libfabric_ver}
+%endif
+
+
+# Debug variants of the libraries should be filtered out of the provides.
+%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
+
+# By design, PMDK does not support any 32-bit architecture.
+# Due to dependency on xmmintrin.h and some inline assembly, it can be
+# compiled only for x86_64 at the moment.
+# Other 64-bit architectures could also be supported, if only there is
+# a request for that, and if somebody provides the arch-specific
+# implementation of the low-level routines for flushing to persistent
+# memory.
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
+
+ExclusiveArch: x86_64
+
+%description
+The Persistent Memory Development Kit is a collection of libraries for
+using memory-mapped persistence, optimized specifically for persistent memory.
+
+
+%package -n libpmem
+Summary: Low-level persistent memory support library
+Group: System Environment/Libraries
+%description -n libpmem
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+%files -n libpmem
+%defattr(-,root,root,-)
+%dir %{_datadir}/pmdk
+%{_libdir}/libpmem.so.*
+%{_datadir}/pmdk/pmdk.magic
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmem-devel
+Summary: Development files for the low-level persistent memory library
+Group: Development/Libraries
+Requires: libpmem = %{version}-%{release}
+%description -n libpmem-devel
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+This library is provided for software which tracks every store to
+pmem and needs to flush those changes to durability. Most developers
+will find higher level libraries like libpmemobj to be much more
+convenient.
+
+%files -n libpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmem.so
+%{_libdir}/pkgconfig/libpmem.pc
+%{_includedir}/libpmem.h
+%{_mandir}/man7/libpmem.7.gz
+%{_mandir}/man3/pmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmem-debug
+Summary: Debug variant of the low-level persistent memory library
+Group: Development/Libraries
+Requires: libpmem = %{version}-%{release}
+%description -n libpmem-debug
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmem.so
+%{_libdir}/pmdk_debug/libpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk
+Summary: Persistent Memory Resident Array of Blocks library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemblk
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+%files -n libpmemblk
+%defattr(-,root,root,-)
+%{_libdir}/libpmemblk.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk-devel
+Summary: Development files for the Persistent Memory Resident Array of Blocks library
+Group: Development/Libraries
+Requires: libpmemblk = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemblk-devel
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+For example, a program keeping a cache of fixed-size objects in pmem
+might find this library useful. This library is provided for cases
+requiring large arrays of objects at least 512 bytes each. Most
+developers will find higher level libraries like libpmemobj to be
+more generally useful.
+
+%files -n libpmemblk-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemblk.so
+%{_libdir}/pkgconfig/libpmemblk.pc
+%{_includedir}/libpmemblk.h
+%{_mandir}/man7/libpmemblk.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemblk_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk-debug
+Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
+Group: Development/Libraries
+Requires: libpmemblk = %{version}-%{release}
+%description -n libpmemblk-debug
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemblk-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemblk.so
+%{_libdir}/pmdk_debug/libpmemblk.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog
+Summary: Persistent Memory Resident Log File library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemlog
+The libpmemlog library provides a pmem-resident log file. This is
+useful for programs like databases that append frequently to a log
+file.
+
+%files -n libpmemlog
+%defattr(-,root,root,-)
+%{_libdir}/libpmemlog.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog-devel
+Summary: Development files for the Persistent Memory Resident Log File library
+Group: Development/Libraries
+Requires: libpmemlog = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemlog-devel
+The libpmemlog library provides a pmem-resident log file. This
+library is provided for cases requiring an append-mostly file to
+record variable length entries. Most developers will find higher
+level libraries like libpmemobj to be more generally useful.
+
+%files -n libpmemlog-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemlog.so
+%{_libdir}/pkgconfig/libpmemlog.pc
+%{_includedir}/libpmemlog.h
+%{_mandir}/man7/libpmemlog.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemlog_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog-debug
+Summary: Debug variant of the Persistent Memory Resident Log File library
+Group: Development/Libraries
+Requires: libpmemlog = %{version}-%{release}
+%description -n libpmemlog-debug
+The libpmemlog library provides a pmem-resident log file. This
+library is provided for cases requiring an append-mostly file to
+record variable length entries. Most developers will find higher
+level libraries like libpmemobj to be more generally useful.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemlog-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemlog.so
+%{_libdir}/pmdk_debug/libpmemlog.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj
+Summary: Persistent Memory Transactional Object Store library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemobj
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming.
+
+%files -n libpmemobj
+%defattr(-,root,root,-)
+%{_libdir}/libpmemobj.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj-devel
+Summary: Development files for the Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Requires: libpmemobj = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemobj-devel
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming. Developers new to persistent memory
+probably want to start with this library.
+
+%files -n libpmemobj-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemobj.so
+%{_libdir}/pkgconfig/libpmemobj.pc
+%{_includedir}/libpmemobj.h
+%{_includedir}/libpmemobj/*.h
+%{_mandir}/man7/libpmemobj.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemobj_*.3.gz
+%{_mandir}/man3/pobj_*.3.gz
+%{_mandir}/man3/oid_*.3.gz
+%{_mandir}/man3/toid*.3.gz
+%{_mandir}/man3/direct_*.3.gz
+%{_mandir}/man3/d_r*.3.gz
+%{_mandir}/man3/tx_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj-debug
+Summary: Debug variant of the Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Requires: libpmemobj = %{version}-%{release}
+%description -n libpmemobj-debug
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming. Developers new to persistent memory
+probably want to start with this library.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemobj-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemobj.so
+%{_libdir}/pmdk_debug/libpmemobj.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem
+Summary: Volatile Memory allocation library
+Group: System Environment/Libraries
+%description -n libvmem
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+%files -n libvmem
+%defattr(-,root,root,-)
+%{_libdir}/libvmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem-devel
+Summary: Development files for the Volatile Memory allocation library
+Group: Development/Libraries
+Requires: libvmem = %{version}-%{release}
+%description -n libvmem-devel
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+This sub-package contains libraries and header files for developing
+applications that want to make use of libvmem.
+
+%files -n libvmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/libvmem.so
+%{_libdir}/pkgconfig/libvmem.pc
+%{_includedir}/libvmem.h
+%{_mandir}/man7/libvmem.7.gz
+%{_mandir}/man3/vmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem-debug
+Summary: Debug variant of the Volatile Memory allocation library
+Group: Development/Libraries
+Requires: libvmem = %{version}-%{release}
+%description -n libvmem-debug
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libvmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libvmem.so
+%{_libdir}/pmdk_debug/libvmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc
+Summary: Dynamic to Persistent Memory allocation translation library
+Group: System Environment/Libraries
+%description -n libvmmalloc
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+The typical usage of libvmmalloc is to load it via the LD_PRELOAD
+environment variable.
+
+%files -n libvmmalloc
+%defattr(-,root,root,-)
+%{_libdir}/libvmmalloc.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc-devel
+Summary: Development files for the Dynamic-to-Persistent allocation library
+Group: Development/Libraries
+Requires: libvmmalloc = %{version}-%{release}
+%description -n libvmmalloc-devel
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of libvmmalloc.
+
+%files -n libvmmalloc-devel
+%defattr(-,root,root,-)
+%{_libdir}/libvmmalloc.so
+%{_libdir}/pkgconfig/libvmmalloc.pc
+%{_includedir}/libvmmalloc.h
+%{_mandir}/man7/libvmmalloc.7.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc-debug
+Summary: Debug variant of the Dynamic-to-Persistent allocation library
+Group: Development/Libraries
+Requires: libvmmalloc = %{version}-%{release}
+%description -n libvmmalloc-debug
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libvmmalloc-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libvmmalloc.so
+%{_libdir}/pmdk_debug/libvmmalloc.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+# Specify a virtual Provide for libpmemobj++-static package, so the package
+# usage can be tracked.
+%package -n libpmemobj++-devel
+Summary: C++ bindings for Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Provides: libpmemobj++-static = %{version}-%{release}
+Requires: libpmemobj-devel = %{version}-%{release}
+%description -n libpmemobj++-devel
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming.
+
+This sub-package contains header files for libpmemobj C++ bindings.
+
+%files -n libpmemobj++-devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/libpmemobj++.pc
+%{_includedir}/libpmemobj++/*.hpp
+%{_includedir}/libpmemobj++/detail/*.hpp
+%{_docdir}/libpmemobj++-devel/*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool
+Summary: Persistent Memory pool management library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmempool
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+%files -n libpmempool
+%defattr(-,root,root,-)
+%{_libdir}/libpmempool.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool-devel
+Summary: Development files for Persistent Memory pool management library
+Group: Development/Libraries
+Requires: libpmempool = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmempool-devel
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+%files -n libpmempool-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmempool.so
+%{_libdir}/pkgconfig/libpmempool.pc
+%{_includedir}/libpmempool.h
+%{_mandir}/man7/libpmempool.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmempool_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool-debug
+Summary: Debug variant of the Persistent Memory pool management library
+Group: Development/Libraries
+Requires: libpmempool = %{version}-%{release}
+%description -n libpmempool-debug
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmempool-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmempool.so
+%{_libdir}/pmdk_debug/libpmempool.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%if %{with fabric}
+
+%package -n librpmem
+Summary: Remote Access to Persistent Memory library
+Group: System Environment/Libraries
+Requires: libfabric >= %{min_libfabric_ver}
+Requires: openssh-clients
+%description -n librpmem
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+%files -n librpmem
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-devel
+Summary: Development files for the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-devel
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of librpmem.
+
+%files -n librpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so
+%{_libdir}/pkgconfig/librpmem.pc
+%{_includedir}/librpmem.h
+%{_mandir}/man7/librpmem.7.gz
+%{_mandir}/man3/rpmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-debug
+Summary: Debug variant of the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-debug
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n librpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/librpmem.so
+%{_libdir}/pmdk_debug/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n rpmemd
+Group: System Environment/Base
+Summary: Target node process executed by librpmem
+Requires: libfabric >= %{min_libfabric_ver}
+%description -n rpmemd
+The rpmemd process is executed on a target node by librpmem library
+and facilitates access to persistent memory over RDMA.
+
+%files -n rpmemd
+%{_bindir}/rpmemd
+%{_mandir}/man1/rpmemd.1.gz
+
+%endif # _with_fabric
+
+
+%package -n libpmemcto
+Summary: Close-to-Open Persistence library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemcto
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+%files -n libpmemcto
+%defattr(-,root,root,-)
+%{_libdir}/libpmemcto.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemcto-devel
+Summary: Development files for Close-to-Open Persistence library
+Group: Development/Libraries
+Requires: libpmemcto = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemcto-devel
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+%files -n libpmemcto-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemcto.so
+%{_libdir}/pkgconfig/libpmemcto.pc
+%{_includedir}/libpmemcto.h
+%{_mandir}/man7/libpmemcto.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemcto*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemcto-debug
+Summary: Debug variant of the Close-to-Open Persistence library
+Group: Development/Libraries
+Requires: libpmemcto = %{version}-%{release}
+%description -n libpmemcto-debug
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemcto-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemcto.so
+%{_libdir}/pmdk_debug/libpmemcto.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n pmempool
+Summary: Utilities for Persistent Memory
+Group: System Environment/Base
+Requires: libpmem >= %{version}-%{release}
+Requires: libpmemlog >= %{version}-%{release}
+Requires: libpmemblk >= %{version}-%{release}
+Requires: libpmemobj >= %{version}-%{release}
+Requires: libpmempool >= %{version}-%{release}
+Requires: libpmemcto >= %{version}-%{release}
+Obsoletes: nvml-tools
+%description -n pmempool
+The pmempool is a standalone utility for management and off-line analysis
+of Persistent Memory pools created by PMDK libraries. It provides a set
+of utilities for administration and diagnostics of Persistent Memory pools.
+The pmempool may be useful for troubleshooting by system administrators
+and users of the applications based on PMDK libraries.
+
+%files -n pmempool
+%{_bindir}/pmempool
+%{_mandir}/man1/pmempool.1.gz
+%{_mandir}/man1/pmempool-*.1.gz
+%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool.sh
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%if %{with ndctl}
+
+%package -n daxio
+Summary: Perform I/O on Device DAX devices or zero a Device DAX device
+Group: System Environment/Base
+Requires: libpmem >= %{version}-%{release}
+%description -n daxio
+The daxio utility performs I/O on Device DAX devices or zero
+a Device DAX device. Since the standard I/O APIs (read/write) cannot be used
+with Device DAX, data transfer is performed on a memory-mapped device.
+The daxio may be used to dump Device DAX data to a file, restore data from
+a backup copy, move/copy data to another device or to erase data from
+a device.
+
+%files -n daxio
+%{_bindir}/daxio
+%{_mandir}/man1/daxio.1.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+%endif # _with_ndctl
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+# For debug build default flags may be overriden to disable compiler
+# optimizations.
+CFLAGS="%{optflags}" \
+LDFLAGS="%{?__global_ldflags}" \
+make %{?_smp_mflags} NORPATH=1
+
+
+# Override LIB_AR with empty string to skip installation of static libraries
+%install
+make install DESTDIR=%{buildroot} \
+ LIB_AR= \
+ prefix=%{_prefix} \
+ libdir=%{_libdir} \
+ includedir=%{_includedir} \
+ mandir=%{_mandir} \
+ bindir=%{_bindir} \
+ sysconfdir=%{_sysconfdir} \
+ docdir=%{_docdir} \
+ CPP_DOC_DIR=libpmemobj++-devel
+mkdir -p %{buildroot}%{_datadir}/pmdk
+cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
+
+
+
+%check
+%if "%{_check}" == "1"
+ %if "%{_testconfig}" != "default"
+ cp %{_testconfig} src/test/testconfig.sh
+ %else
+ echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
+ echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
+ %endif
+ make check
+%else
+ echo "Check skipped"
+%endif
+
+%post -n libpmem -p /sbin/ldconfig
+%postun -n libpmem -p /sbin/ldconfig
+%post -n libpmemblk -p /sbin/ldconfig
+%postun -n libpmemblk -p /sbin/ldconfig
+%post -n libpmemlog -p /sbin/ldconfig
+%postun -n libpmemlog -p /sbin/ldconfig
+%post -n libpmemobj -p /sbin/ldconfig
+%postun -n libpmemobj -p /sbin/ldconfig
+%post -n libvmem -p /sbin/ldconfig
+%postun -n libvmem -p /sbin/ldconfig
+%post -n libvmmalloc -p /sbin/ldconfig
+%postun -n libvmmalloc -p /sbin/ldconfig
+%post -n libpmempool -p /sbin/ldconfig
+%postun -n libpmempool -p /sbin/ldconfig
+%post -n libpmemcto -p /sbin/ldconfig
+%postun -n libpmemcto -p /sbin/ldconfig
+
+%if %{with fabric}
+%post -n librpmem -p /sbin/ldconfig
+%postun -n librpmem -p /sbin/ldconfig
+%endif
+
+%if 0%{?__debug_package} == 0
+%debug_package
+%endif
+
+
+%changelog
+* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-1
+- Rename NVML project to PMDK
+- Update to PMDK version 1.4 (RHBZ #1480578, #1539562, #1539564)
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
+- Update to NVML version 1.3.1 (RHBZ #1480578)
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
+- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
+- Add librpmem and rpmemd sub-packages
+- Force file system to appear as PMEM for make check
+
+* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
+- Update to NVML version 1.2.3 (RHBZ #1451741)
+
+* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
+- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
+
+* Thu Mar 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.1-1
+- Update to NVML version 1.2.1 (RHBZ #1425038)
+
+* Tue Feb 21 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-3
+- Fix compilation under gcc 7.0.x (RHBZ #1424004)
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Dec 30 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-1
+- Update to NVML version 1.2 (RHBZ #1383467)
+- Add libpmemobj C++ bindings
+
+* Thu Jul 14 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-3
+- Add missing package version requirements
+
+* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-2
+- Move debug variants of the libraries to -debug subpackages
+
+* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-1
+- NVML 1.1 release
+- Update link to source tarball
+- Add libpmempool subpackage
+- Remove obsolete patches
+
+* Wed Jun 01 2016 Dan Horák <dan[at]danny.cz> - 1.0-3
+- switch to ExclusiveArch
+
+* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-2
+- Exclude PPC architecture
+- Add bug numbers for excluded architectures
+
+* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-1
+- Initial RPM release
diff --git a/sources b/sources
index ab9af0d..087d117 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvml-1.3.1.tar.gz) = 1ba8a846f6e0c41af1ec4d6a8db8ec4775a09525caa6d5a4b63df9f11d9f9b541c2968430a5802a529081c2f37e7375ee2c527fc6ff73bde34ddadd27295e4ec
+SHA512 (pmdk-1.4.tar.gz) = 95dbea9acfea4a6cb433a25f56f7484946a93fbce1c5e0e1d6ff36e0824e3e0e9f28f37024918998358f8ff12e69d0902fcf88357b9ad12695f32e06e86ffac8
commit 0b43337c7519fcadb93aa8fa9af70a0aa99ab4ed
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Feb 8 08:39:38 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/nvml.spec b/nvml.spec
index 3c19ba7..86f5c86 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
Version: 1.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -661,6 +661,9 @@ make check
%changelog
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
- Update to NVML version 1.3.1 (RHBZ #1480578)
commit 365af7daa5376462e19407d77ef996cadc969a31
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Sat Jan 27 14:49:55 2018 +0100
NVML 1.3.1 release
diff --git a/.gitignore b/.gitignore
index b7c4364..bd78bc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/nvml-1.2.2.tar.gz
/nvml-1.2.3.tar.gz
/nvml-1.3.tar.gz
+/nvml-1.3.1.tar.gz
diff --git a/nvml.spec b/nvml.spec
index c7055fe..3c19ba7 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
-Version: 1.3
-Release: 3%{?dist}
+Version: 1.3.1
+Release: 1%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -661,6 +661,9 @@ make check
%changelog
+* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
+- Update to NVML version 1.3.1 (RHBZ #1480578)
+
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/sources b/sources
index cb65b14..ab9af0d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvml-1.3.tar.gz) = 59fb552c693d5279ec86eff8eb1c36832c9c5beb6492a64b54b21c09d90ed52cba22d57912a304cf1ec17c4633da641200fd50dbe4a38355f43c674842f991bd
+SHA512 (nvml-1.3.1.tar.gz) = 1ba8a846f6e0c41af1ec4d6a8db8ec4775a09525caa6d5a4b63df9f11d9f9b541c2968430a5802a529081c2f37e7375ee2c527fc6ff73bde34ddadd27295e4ec
commit 9b53fa62700e9656adf2dac39df3aae44808175c
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Aug 3 04:11:00 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/nvml.spec b/nvml.spec
index bba25f0..c7055fe 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
Version: 1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -661,6 +661,9 @@ make check
%changelog
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
commit c67349e76004207b750ac439b9a57775bf55703a
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jul 27 01:22:41 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/nvml.spec b/nvml.spec
index ca983f2..bba25f0 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
Version: 1.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -661,6 +661,9 @@ make check
%changelog
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
- Add librpmem and rpmemd sub-packages
commit 2b28a6f5c64a14cc17dfae88a12eb9cc07d80d0b
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Mon Jul 17 17:08:15 2017 +0200
NVML 1.3 release
diff --git a/.gitignore b/.gitignore
index e126c82..b7c4364 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/nvml-1.2.1.tar.gz
/nvml-1.2.2.tar.gz
/nvml-1.2.3.tar.gz
+/nvml-1.3.tar.gz
diff --git a/nvml.spec b/nvml.spec
index 446e5f9..ca983f2 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
-Version: 1.2.3
-Release: 2%{?dist}
+Version: 1.3
+Release: 1%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -13,12 +13,15 @@ BuildRequires: automake
BuildRequires: man
BuildRequires: pkgconfig
BuildRequires: doxygen
+BuildRequires: gdb
+
+%define min_libfabric_ver 1.4.2
+BuildRequires: libfabric-devel >= %{min_libfabric_ver}
# Debug variants of the libraries should be filtered out of the provides.
%global __provides_exclude_from ^%{_libdir}/nvml_debug/.*\\.so.*$
-
# By design, NVML does not support any 32-bit architecture.
# Due to dependency on xmmintrin.h and some inline assembly, it can be
# compiled only for x86_64 at the moment.
@@ -498,6 +501,81 @@ debug version is to set the environment variable LD_LIBRARY_PATH to
%doc ChangeLog CONTRIBUTING.md README.md
+%package -n librpmem
+Summary: Remote Access to Persistent Memory library
+Group: System Environment/Libraries
+Requires: libfabric >= %{min_libfabric_ver}
+Requires: openssh-clients
+%description -n librpmem
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+%files -n librpmem
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-devel
+Summary: Development files for the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-devel
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of librpmem.
+
+%files -n librpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so
+%{_libdir}/pkgconfig/librpmem.pc
+%{_includedir}/librpmem.h
+%{_mandir}/man3/librpmem.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-debug
+Summary: Debug variant of the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-debug
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/nvml_debug.
+
+%files -n librpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/nvml_debug
+%{_libdir}/nvml_debug/librpmem.so
+%{_libdir}/nvml_debug/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n rpmemd
+Group: System Environment/Base
+Summary: Target node process executed by librpmem
+Requires: libfabric >= %{min_libfabric_ver}
+%description -n rpmemd
+The rpmemd process is executed on a target node by librpmem library
+and facilitates access to persistent memory over RDMA.
+
+%files -n rpmemd
+%{_bindir}/rpmemd
+%{_mandir}/man1/rpmemd.1.gz
+
+
%package tools
Summary: Utilities for Persistent Memory
Group: System Environment/Base
@@ -555,7 +633,8 @@ cp utils/nvml.magic %{buildroot}%{_datadir}/nvml/
%check
-cp src/test/testconfig.sh.example src/test/testconfig.sh
+echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
+echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
make check
@@ -573,7 +652,8 @@ make check
%postun -n libvmmalloc -p /sbin/ldconfig
%post -n libpmempool -p /sbin/ldconfig
%postun -n libpmempool -p /sbin/ldconfig
-
+%post -n librpmem -p /sbin/ldconfig
+%postun -n librpmem -p /sbin/ldconfig
%if 0%{?__debug_package} == 0
%debug_package
@@ -581,6 +661,11 @@ make check
%changelog
+* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
+- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
+- Add librpmem and rpmemd sub-packages
+- Force file system to appear as PMEM for make check
+
* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
- Update to NVML version 1.2.3 (RHBZ #1451741)
diff --git a/sources b/sources
index c519f81..cb65b14 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvml-1.2.3.tar.gz) = 17119a2bf4b7b790c63ecec98eb4a0d46e81d99b5f38c12933a07c8119ce95c3623285795b02d65d5a02ff1507f71faa8dde7284241d340913fabe1475d8f735
+SHA512 (nvml-1.3.tar.gz) = 59fb552c693d5279ec86eff8eb1c36832c9c5beb6492a64b54b21c09d90ed52cba22d57912a304cf1ec17c4633da641200fd50dbe4a38355f43c674842f991bd
commit 7e411eb92c77e4c892dca8e3f2e839f809af6e22
Author: Krzysztof Czurylo <krzycz(a)krzycz-fedora25.igk.intel.com>
Date: Fri Jun 16 12:06:13 2017 +0200
NVML 1.2.3 release
diff --git a/.gitignore b/.gitignore
index 64077fd..e126c82 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/nvml-1.2.tar.gz
/nvml-1.2.1.tar.gz
/nvml-1.2.2.tar.gz
+/nvml-1.2.3.tar.gz
diff --git a/nvml.spec b/nvml.spec
index e77745c..446e5f9 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
Version: 1.2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -581,6 +581,9 @@ make check
%changelog
+* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
+- Update to NVML version 1.2.3 (RHBZ #1451741)
+
* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
diff --git a/sources b/sources
index aeb986e..c519f81 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvml-1.2.2.tar.gz) = 1cca38e579307308ac9be1e1e648893707f19b62f0d5d9377db38a8a4a1f16352c8d731fa76d4ba31b57a0bbace02ba6127b9bf2d03fe0f92a45f1f4c8b24ed6
+SHA512 (nvml-1.2.3.tar.gz) = 17119a2bf4b7b790c63ecec98eb4a0d46e81d99b5f38c12933a07c8119ce95c3623285795b02d65d5a02ff1507f71faa8dde7284241d340913fabe1475d8f735
commit 0f82edfeaa831e90c412dc062fc255fed8c9f491
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Mon Jun 12 22:20:34 2017 +0200
NVML 1.2.3 release
diff --git a/nvml.spec b/nvml.spec
index a36774e..e77745c 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,6 +1,6 @@
Name: nvml
-Version: 1.2.2
+Version: 1.2.3
Release: 1%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
6 years, 1 month
[Arch-excludes] Architecture specific change in rpms/nvml.git
by githook-noreply@fedoraproject.org
The package rpms/nvml.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nvml.git/commit/?id=69c4e5835e2c5...
https://src.fedoraproject.org/cgit/rpms/nvml.git/commit/?id=4c9749f56c02c....
Change:
+ExclusiveArch: x86_64
-ExclusiveArch: x86_64
Thanks.
Full change:
============
commit 4c9749f56c02c79df3d3327986694d3a1c7151a7
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Fri Mar 30 11:44:27 2018 +0200
Temporarily revert package name change
diff --git a/.gitignore b/.gitignore
index 8e808ce..f9e5c64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/nvml-1.3.tar.gz
/nvml-1.3.1.tar.gz
/pmdk-1.4.tar.gz
+/nvml-1.4.tar.gz
diff --git a/nvml.spec b/nvml.spec
new file mode 100644
index 0000000..5bb41b4
--- /dev/null
+++ b/nvml.spec
@@ -0,0 +1,882 @@
+
+# rpmbuild options:
+# --with | --without fabric
+# --with | --without ndctl
+# --define _testconfig <path to custom testconfig.sh>
+
+# do not terminate build if files in the $RPM_BUILD_ROOT
+# directory are not found in %%files (without fabric case)
+%define _unpackaged_files_terminate_build 0
+
+# disable 'make check' on suse
+%if %{defined suse_version}
+ %define _skip_check 1
+ %define dist .suse%{suse_version}
+%endif
+
+%if (0%{?suse_version} > 1315) || (0%{?fedora} >= 27) || (0%{?rhel} >= 7)
+%bcond_without fabric
+%else
+%bcond_with fabric
+%endif
+
+# by default build w/o ndctl, unless explicitly enabled
+%bcond_with ndctl
+
+%define min_libfabric_ver 1.4.2
+%define min_ndctl_ver 59.2
+
+Name: nvml
+Version: 1.4
+Release: 3%{?dist}
+Summary: Persistent Memory Development Kit (former NVML)
+License: BSD
+URL: http://pmem.io/pmdk
+
+Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{vers...
+
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: glibc-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: man
+BuildRequires: pkgconfig
+BuildRequires: doxygen
+BuildRequires: gdb
+
+%if %{with ndctl}
+BuildRequires: ndctl-devel >= %{min_ndctl_ver}
+BuildRequires: daxctl-devel >= %{min_ndctl_ver}
+%endif
+
+%if %{with fabric}
+BuildRequires: libfabric-devel >= %{min_libfabric_ver}
+%endif
+
+
+# Debug variants of the libraries should be filtered out of the provides.
+%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
+
+# By design, PMDK does not support any 32-bit architecture.
+# Due to dependency on xmmintrin.h and some inline assembly, it can be
+# compiled only for x86_64 at the moment.
+# Other 64-bit architectures could also be supported, if only there is
+# a request for that, and if somebody provides the arch-specific
+# implementation of the low-level routines for flushing to persistent
+# memory.
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
+
+ExclusiveArch: x86_64
+
+%description
+The Persistent Memory Development Kit is a collection of libraries for
+using memory-mapped persistence, optimized specifically for persistent memory.
+
+
+%package -n libpmem
+Summary: Low-level persistent memory support library
+Group: System Environment/Libraries
+%description -n libpmem
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+%files -n libpmem
+%defattr(-,root,root,-)
+%dir %{_datadir}/pmdk
+%{_libdir}/libpmem.so.*
+%{_datadir}/pmdk/pmdk.magic
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmem-devel
+Summary: Development files for the low-level persistent memory library
+Group: Development/Libraries
+Requires: libpmem = %{version}-%{release}
+%description -n libpmem-devel
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+This library is provided for software which tracks every store to
+pmem and needs to flush those changes to durability. Most developers
+will find higher level libraries like libpmemobj to be much more
+convenient.
+
+%files -n libpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmem.so
+%{_libdir}/pkgconfig/libpmem.pc
+%{_includedir}/libpmem.h
+%{_mandir}/man7/libpmem.7.gz
+%{_mandir}/man3/pmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmem-debug
+Summary: Debug variant of the low-level persistent memory library
+Group: Development/Libraries
+Requires: libpmem = %{version}-%{release}
+%description -n libpmem-debug
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmem.so
+%{_libdir}/pmdk_debug/libpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk
+Summary: Persistent Memory Resident Array of Blocks library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemblk
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+%files -n libpmemblk
+%defattr(-,root,root,-)
+%{_libdir}/libpmemblk.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk-devel
+Summary: Development files for the Persistent Memory Resident Array of Blocks library
+Group: Development/Libraries
+Requires: libpmemblk = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemblk-devel
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+For example, a program keeping a cache of fixed-size objects in pmem
+might find this library useful. This library is provided for cases
+requiring large arrays of objects at least 512 bytes each. Most
+developers will find higher level libraries like libpmemobj to be
+more generally useful.
+
+%files -n libpmemblk-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemblk.so
+%{_libdir}/pkgconfig/libpmemblk.pc
+%{_includedir}/libpmemblk.h
+%{_mandir}/man7/libpmemblk.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemblk_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk-debug
+Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
+Group: Development/Libraries
+Requires: libpmemblk = %{version}-%{release}
+%description -n libpmemblk-debug
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemblk-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemblk.so
+%{_libdir}/pmdk_debug/libpmemblk.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog
+Summary: Persistent Memory Resident Log File library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemlog
+The libpmemlog library provides a pmem-resident log file. This is
+useful for programs like databases that append frequently to a log
+file.
+
+%files -n libpmemlog
+%defattr(-,root,root,-)
+%{_libdir}/libpmemlog.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog-devel
+Summary: Development files for the Persistent Memory Resident Log File library
+Group: Development/Libraries
+Requires: libpmemlog = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemlog-devel
+The libpmemlog library provides a pmem-resident log file. This
+library is provided for cases requiring an append-mostly file to
+record variable length entries. Most developers will find higher
+level libraries like libpmemobj to be more generally useful.
+
+%files -n libpmemlog-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemlog.so
+%{_libdir}/pkgconfig/libpmemlog.pc
+%{_includedir}/libpmemlog.h
+%{_mandir}/man7/libpmemlog.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemlog_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog-debug
+Summary: Debug variant of the Persistent Memory Resident Log File library
+Group: Development/Libraries
+Requires: libpmemlog = %{version}-%{release}
+%description -n libpmemlog-debug
+The libpmemlog library provides a pmem-resident log file. This
+library is provided for cases requiring an append-mostly file to
+record variable length entries. Most developers will find higher
+level libraries like libpmemobj to be more generally useful.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemlog-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemlog.so
+%{_libdir}/pmdk_debug/libpmemlog.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj
+Summary: Persistent Memory Transactional Object Store library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemobj
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming.
+
+%files -n libpmemobj
+%defattr(-,root,root,-)
+%{_libdir}/libpmemobj.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj-devel
+Summary: Development files for the Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Requires: libpmemobj = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemobj-devel
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming. Developers new to persistent memory
+probably want to start with this library.
+
+%files -n libpmemobj-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemobj.so
+%{_libdir}/pkgconfig/libpmemobj.pc
+%{_includedir}/libpmemobj.h
+%{_includedir}/libpmemobj/*.h
+%{_mandir}/man7/libpmemobj.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemobj_*.3.gz
+%{_mandir}/man3/pobj_*.3.gz
+%{_mandir}/man3/oid_*.3.gz
+%{_mandir}/man3/toid*.3.gz
+%{_mandir}/man3/direct_*.3.gz
+%{_mandir}/man3/d_r*.3.gz
+%{_mandir}/man3/tx_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj-debug
+Summary: Debug variant of the Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Requires: libpmemobj = %{version}-%{release}
+%description -n libpmemobj-debug
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming. Developers new to persistent memory
+probably want to start with this library.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemobj-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemobj.so
+%{_libdir}/pmdk_debug/libpmemobj.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem
+Summary: Volatile Memory allocation library
+Group: System Environment/Libraries
+%description -n libvmem
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+%files -n libvmem
+%defattr(-,root,root,-)
+%{_libdir}/libvmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem-devel
+Summary: Development files for the Volatile Memory allocation library
+Group: Development/Libraries
+Requires: libvmem = %{version}-%{release}
+%description -n libvmem-devel
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+This sub-package contains libraries and header files for developing
+applications that want to make use of libvmem.
+
+%files -n libvmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/libvmem.so
+%{_libdir}/pkgconfig/libvmem.pc
+%{_includedir}/libvmem.h
+%{_mandir}/man7/libvmem.7.gz
+%{_mandir}/man3/vmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem-debug
+Summary: Debug variant of the Volatile Memory allocation library
+Group: Development/Libraries
+Requires: libvmem = %{version}-%{release}
+%description -n libvmem-debug
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libvmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libvmem.so
+%{_libdir}/pmdk_debug/libvmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc
+Summary: Dynamic to Persistent Memory allocation translation library
+Group: System Environment/Libraries
+%description -n libvmmalloc
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+The typical usage of libvmmalloc is to load it via the LD_PRELOAD
+environment variable.
+
+%files -n libvmmalloc
+%defattr(-,root,root,-)
+%{_libdir}/libvmmalloc.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc-devel
+Summary: Development files for the Dynamic-to-Persistent allocation library
+Group: Development/Libraries
+Requires: libvmmalloc = %{version}-%{release}
+%description -n libvmmalloc-devel
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of libvmmalloc.
+
+%files -n libvmmalloc-devel
+%defattr(-,root,root,-)
+%{_libdir}/libvmmalloc.so
+%{_libdir}/pkgconfig/libvmmalloc.pc
+%{_includedir}/libvmmalloc.h
+%{_mandir}/man7/libvmmalloc.7.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc-debug
+Summary: Debug variant of the Dynamic-to-Persistent allocation library
+Group: Development/Libraries
+Requires: libvmmalloc = %{version}-%{release}
+%description -n libvmmalloc-debug
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libvmmalloc-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libvmmalloc.so
+%{_libdir}/pmdk_debug/libvmmalloc.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+# Specify a virtual Provide for libpmemobj++-static package, so the package
+# usage can be tracked.
+%package -n libpmemobj++-devel
+Summary: C++ bindings for Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Provides: libpmemobj++-static = %{version}-%{release}
+Requires: libpmemobj-devel = %{version}-%{release}
+%description -n libpmemobj++-devel
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming.
+
+This sub-package contains header files for libpmemobj C++ bindings.
+
+%files -n libpmemobj++-devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/libpmemobj++.pc
+%{_includedir}/libpmemobj++/*.hpp
+%{_includedir}/libpmemobj++/detail/*.hpp
+%{_docdir}/libpmemobj++-devel/*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool
+Summary: Persistent Memory pool management library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmempool
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+%files -n libpmempool
+%defattr(-,root,root,-)
+%{_libdir}/libpmempool.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool-devel
+Summary: Development files for Persistent Memory pool management library
+Group: Development/Libraries
+Requires: libpmempool = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmempool-devel
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+%files -n libpmempool-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmempool.so
+%{_libdir}/pkgconfig/libpmempool.pc
+%{_includedir}/libpmempool.h
+%{_mandir}/man7/libpmempool.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmempool_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool-debug
+Summary: Debug variant of the Persistent Memory pool management library
+Group: Development/Libraries
+Requires: libpmempool = %{version}-%{release}
+%description -n libpmempool-debug
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmempool-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmempool.so
+%{_libdir}/pmdk_debug/libpmempool.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%if %{with fabric}
+
+%package -n librpmem
+Summary: Remote Access to Persistent Memory library
+Group: System Environment/Libraries
+Requires: libfabric >= %{min_libfabric_ver}
+Requires: openssh-clients
+%description -n librpmem
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+%files -n librpmem
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-devel
+Summary: Development files for the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-devel
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of librpmem.
+
+%files -n librpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so
+%{_libdir}/pkgconfig/librpmem.pc
+%{_includedir}/librpmem.h
+%{_mandir}/man7/librpmem.7.gz
+%{_mandir}/man3/rpmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-debug
+Summary: Debug variant of the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-debug
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n librpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/librpmem.so
+%{_libdir}/pmdk_debug/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n rpmemd
+Group: System Environment/Base
+Summary: Target node process executed by librpmem
+Requires: libfabric >= %{min_libfabric_ver}
+%description -n rpmemd
+The rpmemd process is executed on a target node by librpmem library
+and facilitates access to persistent memory over RDMA.
+
+%files -n rpmemd
+%{_bindir}/rpmemd
+%{_mandir}/man1/rpmemd.1.gz
+
+%endif # _with_fabric
+
+
+%package -n libpmemcto
+Summary: Close-to-Open Persistence library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemcto
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+%files -n libpmemcto
+%defattr(-,root,root,-)
+%{_libdir}/libpmemcto.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemcto-devel
+Summary: Development files for Close-to-Open Persistence library
+Group: Development/Libraries
+Requires: libpmemcto = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemcto-devel
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+%files -n libpmemcto-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemcto.so
+%{_libdir}/pkgconfig/libpmemcto.pc
+%{_includedir}/libpmemcto.h
+%{_mandir}/man7/libpmemcto.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemcto*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemcto-debug
+Summary: Debug variant of the Close-to-Open Persistence library
+Group: Development/Libraries
+Requires: libpmemcto = %{version}-%{release}
+%description -n libpmemcto-debug
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemcto-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemcto.so
+%{_libdir}/pmdk_debug/libpmemcto.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n pmempool
+Summary: Utilities for Persistent Memory
+Group: System Environment/Base
+Requires: libpmem >= %{version}-%{release}
+Requires: libpmemlog >= %{version}-%{release}
+Requires: libpmemblk >= %{version}-%{release}
+Requires: libpmemobj >= %{version}-%{release}
+Requires: libpmempool >= %{version}-%{release}
+Requires: libpmemcto >= %{version}-%{release}
+Obsoletes: nvml-tools < %{version}-%{release}
+%description -n pmempool
+The pmempool is a standalone utility for management and off-line analysis
+of Persistent Memory pools created by PMDK libraries. It provides a set
+of utilities for administration and diagnostics of Persistent Memory pools.
+The pmempool may be useful for troubleshooting by system administrators
+and users of the applications based on PMDK libraries.
+
+%files -n pmempool
+%{_bindir}/pmempool
+%{_mandir}/man1/pmempool.1.gz
+%{_mandir}/man1/pmempool-*.1.gz
+%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool.sh
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%if %{with ndctl}
+
+%package -n daxio
+Summary: Perform I/O on Device DAX devices or zero a Device DAX device
+Group: System Environment/Base
+Requires: libpmem >= %{version}-%{release}
+%description -n daxio
+The daxio utility performs I/O on Device DAX devices or zero
+a Device DAX device. Since the standard I/O APIs (read/write) cannot be used
+with Device DAX, data transfer is performed on a memory-mapped device.
+The daxio may be used to dump Device DAX data to a file, restore data from
+a backup copy, move/copy data to another device or to erase data from
+a device.
+
+%files -n daxio
+%{_bindir}/daxio
+%{_mandir}/man1/daxio.1.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+%endif # _with_ndctl
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+# For debug build default flags may be overriden to disable compiler
+# optimizations.
+CFLAGS="%{optflags}" \
+LDFLAGS="%{?__global_ldflags}" \
+make %{?_smp_mflags} NORPATH=1
+
+
+# Override LIB_AR with empty string to skip installation of static libraries
+%install
+make install DESTDIR=%{buildroot} \
+ LIB_AR= \
+ prefix=%{_prefix} \
+ libdir=%{_libdir} \
+ includedir=%{_includedir} \
+ mandir=%{_mandir} \
+ bindir=%{_bindir} \
+ sysconfdir=%{_sysconfdir} \
+ docdir=%{_docdir} \
+ CPP_DOC_DIR=libpmemobj++-devel
+mkdir -p %{buildroot}%{_datadir}/pmdk
+cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
+
+
+
+%check
+%if 0%{?_skip_check} == 1
+ echo "Check skipped"
+%else
+ %if %{defined _testconfig}
+ cp %{_testconfig} src/test/testconfig.sh
+ %else
+ echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
+ echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
+ %endif
+ make check
+%endif
+
+%post -n libpmem -p /sbin/ldconfig
+%postun -n libpmem -p /sbin/ldconfig
+%post -n libpmemblk -p /sbin/ldconfig
+%postun -n libpmemblk -p /sbin/ldconfig
+%post -n libpmemlog -p /sbin/ldconfig
+%postun -n libpmemlog -p /sbin/ldconfig
+%post -n libpmemobj -p /sbin/ldconfig
+%postun -n libpmemobj -p /sbin/ldconfig
+%post -n libvmem -p /sbin/ldconfig
+%postun -n libvmem -p /sbin/ldconfig
+%post -n libvmmalloc -p /sbin/ldconfig
+%postun -n libvmmalloc -p /sbin/ldconfig
+%post -n libpmempool -p /sbin/ldconfig
+%postun -n libpmempool -p /sbin/ldconfig
+%post -n libpmemcto -p /sbin/ldconfig
+%postun -n libpmemcto -p /sbin/ldconfig
+
+%if %{with fabric}
+%post -n librpmem -p /sbin/ldconfig
+%postun -n librpmem -p /sbin/ldconfig
+%endif
+
+%if 0%{?__debug_package} == 0
+%debug_package
+%endif
+
+
+%changelog
+* Fri Mar 30 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-3
+- Revert package name change
+- Re-enable check
+
+* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-2
+- Fix issues found by rpmlint
+
+* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-1
+- Rename NVML project to PMDK
+- Update to PMDK version 1.4 (RHBZ #1480578, #1539562, #1539564)
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
+- Update to NVML version 1.3.1 (RHBZ #1480578)
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
+- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
+- Add librpmem and rpmemd sub-packages
+- Force file system to appear as PMEM for make check
+
+* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
+- Update to NVML version 1.2.3 (RHBZ #1451741)
+
+* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
+- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
+
+* Thu Mar 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.1-1
+- Update to NVML version 1.2.1 (RHBZ #1425038)
+
+* Tue Feb 21 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-3
+- Fix compilation under gcc 7.0.x (RHBZ #1424004)
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Dec 30 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-1
+- Update to NVML version 1.2 (RHBZ #1383467)
+- Add libpmemobj C++ bindings
+
+* Thu Jul 14 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-3
+- Add missing package version requirements
+
+* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-2
+- Move debug variants of the libraries to -debug subpackages
+
+* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-1
+- NVML 1.1 release
+- Update link to source tarball
+- Add libpmempool subpackage
+- Remove obsolete patches
+
+* Wed Jun 01 2016 Dan Horák <dan[at]danny.cz> - 1.0-3
+- switch to ExclusiveArch
+
+* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-2
+- Exclude PPC architecture
+- Add bug numbers for excluded architectures
+
+* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-1
+- Initial RPM release
diff --git a/pmdk.spec b/pmdk.spec
deleted file mode 100644
index 5aebf71..0000000
--- a/pmdk.spec
+++ /dev/null
@@ -1,880 +0,0 @@
-
-# rpmbuild options:
-# --with | --without fabric
-# --with | --without ndctl
-# --define "_testconfig <path to custom testconfig.sh or 'default'>"
-# --define "_check <1|0>" - run make check or not
-#
-
-# do not terminate build if files in the $RPM_BUILD_ROOT
-# directory are not found in %%files (without fabric case)
-%define _unpackaged_files_terminate_build 0
-
-# disable 'make check' on suse
-%if %{defined suse_version}
- %define _check 0
- %define dist .suse%{suse_version}
-%endif
-
-%if (0%{?suse_version} > 1315) || (0%{?fedora} >= 27) || (0%{?rhel} >= 7)
-%bcond_without fabric
-%else
-%bcond_with fabric
-%endif
-
-# by default build w/o ndctl, unless explicitly enabled
-%bcond_with ndctl
-
-%define min_libfabric_ver 1.4.2
-%define min_ndctl_ver 59.2
-
-Name: pmdk
-Version: 1.4
-Release: 2%{?dist}
-Summary: Persistent Memory Development Kit
-License: BSD
-URL: http://pmem.io/pmdk
-
-Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{vers...
-
-BuildRequires: gcc
-BuildRequires: make
-BuildRequires: glibc-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: man
-BuildRequires: pkgconfig
-BuildRequires: doxygen
-BuildRequires: gdb
-
-%if %{with ndctl}
-BuildRequires: ndctl-devel >= %{min_ndctl_ver}
-BuildRequires: daxctl-devel >= %{min_ndctl_ver}
-%endif
-
-%if %{with fabric}
-BuildRequires: libfabric-devel >= %{min_libfabric_ver}
-%endif
-
-
-# Debug variants of the libraries should be filtered out of the provides.
-%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
-
-# By design, PMDK does not support any 32-bit architecture.
-# Due to dependency on xmmintrin.h and some inline assembly, it can be
-# compiled only for x86_64 at the moment.
-# Other 64-bit architectures could also be supported, if only there is
-# a request for that, and if somebody provides the arch-specific
-# implementation of the low-level routines for flushing to persistent
-# memory.
-
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
-
-ExclusiveArch: x86_64
-
-%description
-The Persistent Memory Development Kit is a collection of libraries for
-using memory-mapped persistence, optimized specifically for persistent memory.
-
-
-%package -n libpmem
-Summary: Low-level persistent memory support library
-Group: System Environment/Libraries
-%description -n libpmem
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-%files -n libpmem
-%defattr(-,root,root,-)
-%dir %{_datadir}/pmdk
-%{_libdir}/libpmem.so.*
-%{_datadir}/pmdk/pmdk.magic
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmem-devel
-Summary: Development files for the low-level persistent memory library
-Group: Development/Libraries
-Requires: libpmem = %{version}-%{release}
-%description -n libpmem-devel
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-This library is provided for software which tracks every store to
-pmem and needs to flush those changes to durability. Most developers
-will find higher level libraries like libpmemobj to be much more
-convenient.
-
-%files -n libpmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmem.so
-%{_libdir}/pkgconfig/libpmem.pc
-%{_includedir}/libpmem.h
-%{_mandir}/man7/libpmem.7.gz
-%{_mandir}/man3/pmem_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmem-debug
-Summary: Debug variant of the low-level persistent memory library
-Group: Development/Libraries
-Requires: libpmem = %{version}-%{release}
-%description -n libpmem-debug
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmem.so
-%{_libdir}/pmdk_debug/libpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk
-Summary: Persistent Memory Resident Array of Blocks library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemblk
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-%files -n libpmemblk
-%defattr(-,root,root,-)
-%{_libdir}/libpmemblk.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk-devel
-Summary: Development files for the Persistent Memory Resident Array of Blocks library
-Group: Development/Libraries
-Requires: libpmemblk = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemblk-devel
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-For example, a program keeping a cache of fixed-size objects in pmem
-might find this library useful. This library is provided for cases
-requiring large arrays of objects at least 512 bytes each. Most
-developers will find higher level libraries like libpmemobj to be
-more generally useful.
-
-%files -n libpmemblk-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemblk.so
-%{_libdir}/pkgconfig/libpmemblk.pc
-%{_includedir}/libpmemblk.h
-%{_mandir}/man7/libpmemblk.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmemblk_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk-debug
-Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
-Group: Development/Libraries
-Requires: libpmemblk = %{version}-%{release}
-%description -n libpmemblk-debug
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmemblk-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmemblk.so
-%{_libdir}/pmdk_debug/libpmemblk.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog
-Summary: Persistent Memory Resident Log File library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemlog
-The libpmemlog library provides a pmem-resident log file. This is
-useful for programs like databases that append frequently to a log
-file.
-
-%files -n libpmemlog
-%defattr(-,root,root,-)
-%{_libdir}/libpmemlog.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog-devel
-Summary: Development files for the Persistent Memory Resident Log File library
-Group: Development/Libraries
-Requires: libpmemlog = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemlog-devel
-The libpmemlog library provides a pmem-resident log file. This
-library is provided for cases requiring an append-mostly file to
-record variable length entries. Most developers will find higher
-level libraries like libpmemobj to be more generally useful.
-
-%files -n libpmemlog-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemlog.so
-%{_libdir}/pkgconfig/libpmemlog.pc
-%{_includedir}/libpmemlog.h
-%{_mandir}/man7/libpmemlog.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmemlog_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog-debug
-Summary: Debug variant of the Persistent Memory Resident Log File library
-Group: Development/Libraries
-Requires: libpmemlog = %{version}-%{release}
-%description -n libpmemlog-debug
-The libpmemlog library provides a pmem-resident log file. This
-library is provided for cases requiring an append-mostly file to
-record variable length entries. Most developers will find higher
-level libraries like libpmemobj to be more generally useful.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmemlog-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmemlog.so
-%{_libdir}/pmdk_debug/libpmemlog.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj
-Summary: Persistent Memory Transactional Object Store library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemobj
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming.
-
-%files -n libpmemobj
-%defattr(-,root,root,-)
-%{_libdir}/libpmemobj.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj-devel
-Summary: Development files for the Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Requires: libpmemobj = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemobj-devel
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming. Developers new to persistent memory
-probably want to start with this library.
-
-%files -n libpmemobj-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemobj.so
-%{_libdir}/pkgconfig/libpmemobj.pc
-%{_includedir}/libpmemobj.h
-%{_includedir}/libpmemobj/*.h
-%{_mandir}/man7/libpmemobj.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmemobj_*.3.gz
-%{_mandir}/man3/pobj_*.3.gz
-%{_mandir}/man3/oid_*.3.gz
-%{_mandir}/man3/toid*.3.gz
-%{_mandir}/man3/direct_*.3.gz
-%{_mandir}/man3/d_r*.3.gz
-%{_mandir}/man3/tx_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj-debug
-Summary: Debug variant of the Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Requires: libpmemobj = %{version}-%{release}
-%description -n libpmemobj-debug
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming. Developers new to persistent memory
-probably want to start with this library.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmemobj-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmemobj.so
-%{_libdir}/pmdk_debug/libpmemobj.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem
-Summary: Volatile Memory allocation library
-Group: System Environment/Libraries
-%description -n libvmem
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-%files -n libvmem
-%defattr(-,root,root,-)
-%{_libdir}/libvmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem-devel
-Summary: Development files for the Volatile Memory allocation library
-Group: Development/Libraries
-Requires: libvmem = %{version}-%{release}
-%description -n libvmem-devel
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-This sub-package contains libraries and header files for developing
-applications that want to make use of libvmem.
-
-%files -n libvmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/libvmem.so
-%{_libdir}/pkgconfig/libvmem.pc
-%{_includedir}/libvmem.h
-%{_mandir}/man7/libvmem.7.gz
-%{_mandir}/man3/vmem_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem-debug
-Summary: Debug variant of the Volatile Memory allocation library
-Group: Development/Libraries
-Requires: libvmem = %{version}-%{release}
-%description -n libvmem-debug
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libvmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libvmem.so
-%{_libdir}/pmdk_debug/libvmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc
-Summary: Dynamic to Persistent Memory allocation translation library
-Group: System Environment/Libraries
-%description -n libvmmalloc
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-The typical usage of libvmmalloc is to load it via the LD_PRELOAD
-environment variable.
-
-%files -n libvmmalloc
-%defattr(-,root,root,-)
-%{_libdir}/libvmmalloc.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc-devel
-Summary: Development files for the Dynamic-to-Persistent allocation library
-Group: Development/Libraries
-Requires: libvmmalloc = %{version}-%{release}
-%description -n libvmmalloc-devel
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-This sub-package contains libraries and header files for developing
-applications that want to specifically make use of libvmmalloc.
-
-%files -n libvmmalloc-devel
-%defattr(-,root,root,-)
-%{_libdir}/libvmmalloc.so
-%{_libdir}/pkgconfig/libvmmalloc.pc
-%{_includedir}/libvmmalloc.h
-%{_mandir}/man7/libvmmalloc.7.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc-debug
-Summary: Debug variant of the Dynamic-to-Persistent allocation library
-Group: Development/Libraries
-Requires: libvmmalloc = %{version}-%{release}
-%description -n libvmmalloc-debug
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libvmmalloc-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libvmmalloc.so
-%{_libdir}/pmdk_debug/libvmmalloc.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-# Specify a virtual Provide for libpmemobj++-static package, so the package
-# usage can be tracked.
-%package -n libpmemobj++-devel
-Summary: C++ bindings for Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Provides: libpmemobj++-static = %{version}-%{release}
-Requires: libpmemobj-devel = %{version}-%{release}
-%description -n libpmemobj++-devel
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming.
-
-This sub-package contains header files for libpmemobj C++ bindings.
-
-%files -n libpmemobj++-devel
-%defattr(-,root,root,-)
-%{_libdir}/pkgconfig/libpmemobj++.pc
-%{_includedir}/libpmemobj++/*.hpp
-%{_includedir}/libpmemobj++/detail/*.hpp
-%{_docdir}/libpmemobj++-devel/*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool
-Summary: Persistent Memory pool management library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmempool
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-%files -n libpmempool
-%defattr(-,root,root,-)
-%{_libdir}/libpmempool.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool-devel
-Summary: Development files for Persistent Memory pool management library
-Group: Development/Libraries
-Requires: libpmempool = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmempool-devel
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-%files -n libpmempool-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmempool.so
-%{_libdir}/pkgconfig/libpmempool.pc
-%{_includedir}/libpmempool.h
-%{_mandir}/man7/libpmempool.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmempool_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool-debug
-Summary: Debug variant of the Persistent Memory pool management library
-Group: Development/Libraries
-Requires: libpmempool = %{version}-%{release}
-%description -n libpmempool-debug
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmempool-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmempool.so
-%{_libdir}/pmdk_debug/libpmempool.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%if %{with fabric}
-
-%package -n librpmem
-Summary: Remote Access to Persistent Memory library
-Group: System Environment/Libraries
-Requires: libfabric >= %{min_libfabric_ver}
-Requires: openssh-clients
-%description -n librpmem
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-%files -n librpmem
-%defattr(-,root,root,-)
-%{_libdir}/librpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem-devel
-Summary: Development files for the Remote Access to Persistent Memory library
-Group: Development/Libraries
-Requires: librpmem = %{version}-%{release}
-%description -n librpmem-devel
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-This sub-package contains libraries and header files for developing
-applications that want to specifically make use of librpmem.
-
-%files -n librpmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/librpmem.so
-%{_libdir}/pkgconfig/librpmem.pc
-%{_includedir}/librpmem.h
-%{_mandir}/man7/librpmem.7.gz
-%{_mandir}/man3/rpmem_*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem-debug
-Summary: Debug variant of the Remote Access to Persistent Memory library
-Group: Development/Libraries
-Requires: librpmem = %{version}-%{release}
-%description -n librpmem-debug
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n librpmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/librpmem.so
-%{_libdir}/pmdk_debug/librpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n rpmemd
-Group: System Environment/Base
-Summary: Target node process executed by librpmem
-Requires: libfabric >= %{min_libfabric_ver}
-%description -n rpmemd
-The rpmemd process is executed on a target node by librpmem library
-and facilitates access to persistent memory over RDMA.
-
-%files -n rpmemd
-%{_bindir}/rpmemd
-%{_mandir}/man1/rpmemd.1.gz
-
-%endif # _with_fabric
-
-
-%package -n libpmemcto
-Summary: Close-to-Open Persistence library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemcto
-The libpmemcto library is a Persistent Memory allocator with no overhead
-imposed by run-time flushing or transactional updates.
-
-%files -n libpmemcto
-%defattr(-,root,root,-)
-%{_libdir}/libpmemcto.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemcto-devel
-Summary: Development files for Close-to-Open Persistence library
-Group: Development/Libraries
-Requires: libpmemcto = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemcto-devel
-The libpmemcto library is a Persistent Memory allocator with no overhead
-imposed by run-time flushing or transactional updates.
-
-%files -n libpmemcto-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemcto.so
-%{_libdir}/pkgconfig/libpmemcto.pc
-%{_includedir}/libpmemcto.h
-%{_mandir}/man7/libpmemcto.7.gz
-%{_mandir}/man5/poolset.5.gz
-%{_mandir}/man3/pmemcto*.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemcto-debug
-Summary: Debug variant of the Close-to-Open Persistence library
-Group: Development/Libraries
-Requires: libpmemcto = %{version}-%{release}
-%description -n libpmemcto-debug
-The libpmemcto library is a Persistent Memory allocator with no overhead
-imposed by run-time flushing or transactional updates.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/pmdk_debug.
-
-%files -n libpmemcto-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/pmdk_debug
-%{_libdir}/pmdk_debug/libpmemcto.so
-%{_libdir}/pmdk_debug/libpmemcto.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n pmempool
-Summary: Utilities for Persistent Memory
-Group: System Environment/Base
-Requires: libpmem >= %{version}-%{release}
-Requires: libpmemlog >= %{version}-%{release}
-Requires: libpmemblk >= %{version}-%{release}
-Requires: libpmemobj >= %{version}-%{release}
-Requires: libpmempool >= %{version}-%{release}
-Requires: libpmemcto >= %{version}-%{release}
-Obsoletes: nvml-tools < %{version}-%{release}
-%description -n pmempool
-The pmempool is a standalone utility for management and off-line analysis
-of Persistent Memory pools created by PMDK libraries. It provides a set
-of utilities for administration and diagnostics of Persistent Memory pools.
-The pmempool may be useful for troubleshooting by system administrators
-and users of the applications based on PMDK libraries.
-
-%files -n pmempool
-%{_bindir}/pmempool
-%{_mandir}/man1/pmempool.1.gz
-%{_mandir}/man1/pmempool-*.1.gz
-%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool.sh
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%if %{with ndctl}
-
-%package -n daxio
-Summary: Perform I/O on Device DAX devices or zero a Device DAX device
-Group: System Environment/Base
-Requires: libpmem >= %{version}-%{release}
-%description -n daxio
-The daxio utility performs I/O on Device DAX devices or zero
-a Device DAX device. Since the standard I/O APIs (read/write) cannot be used
-with Device DAX, data transfer is performed on a memory-mapped device.
-The daxio may be used to dump Device DAX data to a file, restore data from
-a backup copy, move/copy data to another device or to erase data from
-a device.
-
-%files -n daxio
-%{_bindir}/daxio
-%{_mandir}/man1/daxio.1.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-%endif # _with_ndctl
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-
-%build
-# For debug build default flags may be overriden to disable compiler
-# optimizations.
-CFLAGS="%{optflags}" \
-LDFLAGS="%{?__global_ldflags}" \
-make %{?_smp_mflags} NORPATH=1
-
-
-# Override LIB_AR with empty string to skip installation of static libraries
-%install
-make install DESTDIR=%{buildroot} \
- LIB_AR= \
- prefix=%{_prefix} \
- libdir=%{_libdir} \
- includedir=%{_includedir} \
- mandir=%{_mandir} \
- bindir=%{_bindir} \
- sysconfdir=%{_sysconfdir} \
- docdir=%{_docdir} \
- CPP_DOC_DIR=libpmemobj++-devel
-mkdir -p %{buildroot}%{_datadir}/pmdk
-cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
-
-
-
-%check
-%if "%{_check}" == "1"
- %if "%{_testconfig}" != "default"
- cp %{_testconfig} src/test/testconfig.sh
- %else
- echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
- echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
- %endif
- make check
-%else
- echo "Check skipped"
-%endif
-
-%post -n libpmem -p /sbin/ldconfig
-%postun -n libpmem -p /sbin/ldconfig
-%post -n libpmemblk -p /sbin/ldconfig
-%postun -n libpmemblk -p /sbin/ldconfig
-%post -n libpmemlog -p /sbin/ldconfig
-%postun -n libpmemlog -p /sbin/ldconfig
-%post -n libpmemobj -p /sbin/ldconfig
-%postun -n libpmemobj -p /sbin/ldconfig
-%post -n libvmem -p /sbin/ldconfig
-%postun -n libvmem -p /sbin/ldconfig
-%post -n libvmmalloc -p /sbin/ldconfig
-%postun -n libvmmalloc -p /sbin/ldconfig
-%post -n libpmempool -p /sbin/ldconfig
-%postun -n libpmempool -p /sbin/ldconfig
-%post -n libpmemcto -p /sbin/ldconfig
-%postun -n libpmemcto -p /sbin/ldconfig
-
-%if %{with fabric}
-%post -n librpmem -p /sbin/ldconfig
-%postun -n librpmem -p /sbin/ldconfig
-%endif
-
-%if 0%{?__debug_package} == 0
-%debug_package
-%endif
-
-
-%changelog
-* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-2
-- Fix issues found by rpmlint
-
-* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-1
-- Rename NVML project to PMDK
-- Update to PMDK version 1.4 (RHBZ #1480578, #1539562, #1539564)
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
-- Update to NVML version 1.3.1 (RHBZ #1480578)
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
-- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
-- Add librpmem and rpmemd sub-packages
-- Force file system to appear as PMEM for make check
-
-* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
-- Update to NVML version 1.2.3 (RHBZ #1451741)
-
-* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
-- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
-
-* Thu Mar 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.1-1
-- Update to NVML version 1.2.1 (RHBZ #1425038)
-
-* Tue Feb 21 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-3
-- Fix compilation under gcc 7.0.x (RHBZ #1424004)
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Fri Dec 30 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-1
-- Update to NVML version 1.2 (RHBZ #1383467)
-- Add libpmemobj C++ bindings
-
-* Thu Jul 14 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-3
-- Add missing package version requirements
-
-* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-2
-- Move debug variants of the libraries to -debug subpackages
-
-* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-1
-- NVML 1.1 release
-- Update link to source tarball
-- Add libpmempool subpackage
-- Remove obsolete patches
-
-* Wed Jun 01 2016 Dan Horák <dan[at]danny.cz> - 1.0-3
-- switch to ExclusiveArch
-
-* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-2
-- Exclude PPC architecture
-- Add bug numbers for excluded architectures
-
-* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-1
-- Initial RPM release
diff --git a/sources b/sources
index 087d117..f7c359f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pmdk-1.4.tar.gz) = 95dbea9acfea4a6cb433a25f56f7484946a93fbce1c5e0e1d6ff36e0824e3e0e9f28f37024918998358f8ff12e69d0902fcf88357b9ad12695f32e06e86ffac8
+SHA512 (nvml-1.4.tar.gz) = 80065f954383ff75091ded14b17e32019ade6bbac9d5cd634331516d8253a0cf1689335a1a9e418e42a34e01d162bff7f76f96ae488115d9016a91d34f6fda5c
commit bf94a0ea0d87ee562e1e3256f704fefe74ae97d5
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Thu Mar 29 21:26:59 2018 +0200
Fix issues found by rpmlint
diff --git a/pmdk.spec b/pmdk.spec
index dee0362..5aebf71 100644
--- a/pmdk.spec
+++ b/pmdk.spec
@@ -7,7 +7,7 @@
#
# do not terminate build if files in the $RPM_BUILD_ROOT
-# directory are not found in the %files (without fabric case)
+# directory are not found in %%files (without fabric case)
%define _unpackaged_files_terminate_build 0
# disable 'make check' on suse
@@ -30,7 +30,7 @@
Name: pmdk
Version: 1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Persistent Memory Development Kit
License: BSD
URL: http://pmem.io/pmdk
@@ -704,7 +704,7 @@ Requires: libpmemblk >= %{version}-%{release}
Requires: libpmemobj >= %{version}-%{release}
Requires: libpmempool >= %{version}-%{release}
Requires: libpmemcto >= %{version}-%{release}
-Obsoletes: nvml-tools
+Obsoletes: nvml-tools < %{version}-%{release}
%description -n pmempool
The pmempool is a standalone utility for management and off-line analysis
of Persistent Memory pools created by PMDK libraries. It provides a set
@@ -814,6 +814,9 @@ cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
%changelog
+* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-2
+- Fix issues found by rpmlint
+
* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-1
- Rename NVML project to PMDK
- Update to PMDK version 1.4 (RHBZ #1480578, #1539562, #1539564)
commit 69c4e5835e2c5e23e44e6ade250ea4beada91cf0
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Thu Mar 29 21:13:43 2018 +0200
PMDK 1.4 release
diff --git a/.gitignore b/.gitignore
index bd78bc5..8e808ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/nvml-1.2.3.tar.gz
/nvml-1.3.tar.gz
/nvml-1.3.1.tar.gz
+/pmdk-1.4.tar.gz
diff --git a/nvml.spec b/nvml.spec
deleted file mode 100644
index 86f5c86..0000000
--- a/nvml.spec
+++ /dev/null
@@ -1,720 +0,0 @@
-
-Name: nvml
-Version: 1.3.1
-Release: 2%{?dist}
-Summary: Non-Volatile Memory Library
-License: BSD
-URL: http://pmem.io/nvml
-Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{vers...
-
-BuildRequires: glibc-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: man
-BuildRequires: pkgconfig
-BuildRequires: doxygen
-BuildRequires: gdb
-
-%define min_libfabric_ver 1.4.2
-BuildRequires: libfabric-devel >= %{min_libfabric_ver}
-
-
-# Debug variants of the libraries should be filtered out of the provides.
-%global __provides_exclude_from ^%{_libdir}/nvml_debug/.*\\.so.*$
-
-# By design, NVML does not support any 32-bit architecture.
-# Due to dependency on xmmintrin.h and some inline assembly, it can be
-# compiled only for x86_64 at the moment.
-# Other 64-bit architectures could also be supported, if only there is
-# a request for that, and if somebody provides the arch-specific
-# implementation of the low-level routines for flushing to persistent
-# memory.
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
-# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
-ExclusiveArch: x86_64
-
-%description
-The NVM Library is a collection of libraries for using memory-mapped
-persistence, optimized specifically for persistent memory.
-
-
-%package -n libpmem
-Summary: Low-level persistent memory support library
-Group: System Environment/Libraries
-%description -n libpmem
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-%files -n libpmem
-%defattr(-,root,root,-)
-%dir %{_datadir}/nvml
-%{_libdir}/libpmem.so.*
-%{_datadir}/nvml/nvml.magic
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmem-devel
-Summary: Development files for the low-level persistent memory library
-Group: Development/Libraries
-Requires: libpmem = %{version}-%{release}
-%description -n libpmem-devel
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-This library is provided for software which tracks every store to
-pmem and needs to flush those changes to durability. Most developers
-will find higher level libraries like libpmemobj to be much more
-convenient.
-
-%files -n libpmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmem.so
-%{_libdir}/pkgconfig/libpmem.pc
-%{_includedir}/libpmem.h
-%{_mandir}/man3/libpmem.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmem-debug
-Summary: Debug variant of the low-level persistent memory library
-Group: Development/Libraries
-Requires: libpmem = %{version}-%{release}
-%description -n libpmem-debug
-The libpmem provides low level persistent memory support. In particular,
-support for the persistent memory instructions for flushing changes
-to pmem is provided.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmem.so
-%{_libdir}/nvml_debug/libpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk
-Summary: Persistent Memory Resident Array of Blocks library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemblk
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-%files -n libpmemblk
-%defattr(-,root,root,-)
-%{_libdir}/libpmemblk.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk-devel
-Summary: Development files for the Persistent Memory Resident Array of Blocks library
-Group: Development/Libraries
-Requires: libpmemblk = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemblk-devel
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-For example, a program keeping a cache of fixed-size objects in pmem
-might find this library useful. This library is provided for cases
-requiring large arrays of objects at least 512 bytes each. Most
-developers will find higher level libraries like libpmemobj to be
-more generally useful.
-
-%files -n libpmemblk-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemblk.so
-%{_libdir}/pkgconfig/libpmemblk.pc
-%{_includedir}/libpmemblk.h
-%{_mandir}/man3/libpmemblk.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemblk-debug
-Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
-Group: Development/Libraries
-Requires: libpmemblk = %{version}-%{release}
-%description -n libpmemblk-debug
-The libpmemblk implements a pmem-resident array of blocks, all the same
-size, where a block is updated atomically with respect to power
-failure or program interruption (no torn blocks).
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmemblk-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmemblk.so
-%{_libdir}/nvml_debug/libpmemblk.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog
-Summary: Persistent Memory Resident Log File library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemlog
-The libpmemlog library provides a pmem-resident log file. This is
-useful for programs like databases that append frequently to a log
-file.
-
-%files -n libpmemlog
-%defattr(-,root,root,-)
-%{_libdir}/libpmemlog.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog-devel
-Summary: Development files for the Persistent Memory Resident Log File library
-Group: Development/Libraries
-Requires: libpmemlog = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemlog-devel
-The libpmemlog library provides a pmem-resident log file. This
-library is provided for cases requiring an append-mostly file to
-record variable length entries. Most developers will find higher
-level libraries like libpmemobj to be more generally useful.
-
-%files -n libpmemlog-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemlog.so
-%{_libdir}/pkgconfig/libpmemlog.pc
-%{_includedir}/libpmemlog.h
-%{_mandir}/man3/libpmemlog.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemlog-debug
-Summary: Debug variant of the Persistent Memory Resident Log File library
-Group: Development/Libraries
-Requires: libpmemlog = %{version}-%{release}
-%description -n libpmemlog-debug
-The libpmemlog library provides a pmem-resident log file. This
-library is provided for cases requiring an append-mostly file to
-record variable length entries. Most developers will find higher
-level libraries like libpmemobj to be more generally useful.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmemlog-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmemlog.so
-%{_libdir}/nvml_debug/libpmemlog.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj
-Summary: Persistent Memory Transactional Object Store library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmemobj
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming.
-
-%files -n libpmemobj
-%defattr(-,root,root,-)
-%{_libdir}/libpmemobj.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj-devel
-Summary: Development files for the Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Requires: libpmemobj = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmemobj-devel
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming. Developers new to persistent memory
-probably want to start with this library.
-
-%files -n libpmemobj-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmemobj.so
-%{_libdir}/pkgconfig/libpmemobj.pc
-%{_includedir}/libpmemobj.h
-%{_includedir}/libpmemobj/*.h
-%{_mandir}/man3/libpmemobj.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmemobj-debug
-Summary: Debug variant of the Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Requires: libpmemobj = %{version}-%{release}
-%description -n libpmemobj-debug
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming. Developers new to persistent memory
-probably want to start with this library.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmemobj-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmemobj.so
-%{_libdir}/nvml_debug/libpmemobj.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem
-Summary: Volatile Memory allocation library
-Group: System Environment/Libraries
-%description -n libvmem
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-%files -n libvmem
-%defattr(-,root,root,-)
-%{_libdir}/libvmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem-devel
-Summary: Development files for the Volatile Memory allocation library
-Group: Development/Libraries
-Requires: libvmem = %{version}-%{release}
-%description -n libvmem-devel
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-This sub-package contains libraries and header files for developing
-applications that want to make use of libvmem.
-
-%files -n libvmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/libvmem.so
-%{_libdir}/pkgconfig/libvmem.pc
-%{_includedir}/libvmem.h
-%{_mandir}/man3/libvmem.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmem-debug
-Summary: Debug variant of the Volatile Memory allocation library
-Group: Development/Libraries
-Requires: libvmem = %{version}-%{release}
-%description -n libvmem-debug
-The libvmem library turns a pool of persistent memory into a volatile
-memory pool, similar to the system heap but kept separate and with
-its own malloc-style API.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libvmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libvmem.so
-%{_libdir}/nvml_debug/libvmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc
-Summary: Dynamic to Persistent Memory allocation translation library
-Group: System Environment/Libraries
-%description -n libvmmalloc
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-The typical usage of libvmmalloc is to load it via the LD_PRELOAD
-environment variable.
-
-%files -n libvmmalloc
-%defattr(-,root,root,-)
-%{_libdir}/libvmmalloc.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc-devel
-Summary: Development files for the Dynamic-to-Persistent allocation library
-Group: Development/Libraries
-Requires: libvmmalloc = %{version}-%{release}
-%description -n libvmmalloc-devel
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-This sub-package contains libraries and header files for developing
-applications that want to specifically make use of libvmmalloc.
-
-%files -n libvmmalloc-devel
-%defattr(-,root,root,-)
-%{_libdir}/libvmmalloc.so
-%{_libdir}/pkgconfig/libvmmalloc.pc
-%{_includedir}/libvmmalloc.h
-%{_mandir}/man3/libvmmalloc.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libvmmalloc-debug
-Summary: Debug variant of the Dynamic-to-Persistent allocation library
-Group: Development/Libraries
-Requires: libvmmalloc = %{version}-%{release}
-%description -n libvmmalloc-debug
-The libvmmalloc library transparently converts all the dynamic memory
-allocations into persistent memory allocations. This allows the use
-of persistent memory as volatile memory without modifying the target
-application.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libvmmalloc-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libvmmalloc.so
-%{_libdir}/nvml_debug/libvmmalloc.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-# Specify a virtual Provide for libpmemobj++-static package, so the package
-# usage can be tracked.
-%package -n libpmemobj++-devel
-Summary: C++ bindings for Persistent Memory Transactional Object Store library
-Group: Development/Libraries
-Provides: libpmemobj++-static = %{version}-%{release}
-Requires: libpmemobj-devel = %{version}-%{release}
-%description -n libpmemobj++-devel
-The libpmemobj library provides a transactional object store,
-providing memory allocation, transactions, and general facilities for
-persistent memory programming.
-
-This sub-package contains header files for libpmemobj C++ bindings.
-
-%files -n libpmemobj++-devel
-%defattr(-,root,root,-)
-%{_libdir}/pkgconfig/libpmemobj++.pc
-%{_includedir}/libpmemobj++/*.hpp
-%{_includedir}/libpmemobj++/detail/*.hpp
-%{_docdir}/libpmemobj++-devel/*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool
-Summary: Persistent Memory pool management library
-Group: System Environment/Libraries
-Requires: libpmem >= %{version}-%{release}
-%description -n libpmempool
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-%files -n libpmempool
-%defattr(-,root,root,-)
-%{_libdir}/libpmempool.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool-devel
-Summary: Development files for Persistent Memory pool management library
-Group: Development/Libraries
-Requires: libpmempool = %{version}-%{release}
-Requires: libpmem-devel = %{version}-%{release}
-%description -n libpmempool-devel
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-%files -n libpmempool-devel
-%defattr(-,root,root,-)
-%{_libdir}/libpmempool.so
-%{_libdir}/pkgconfig/libpmempool.pc
-%{_includedir}/libpmempool.h
-%{_mandir}/man3/libpmempool.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n libpmempool-debug
-Summary: Debug variant of the Persistent Memory pool management library
-Group: Development/Libraries
-Requires: libpmempool = %{version}-%{release}
-%description -n libpmempool-debug
-The libpmempool library provides a set of utilities for off-line
-administration, analysis, diagnostics and repair of persistent memory
-pools created by libpmemlog, libpemblk and libpmemobj libraries.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n libpmempool-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/libpmempool.so
-%{_libdir}/nvml_debug/libpmempool.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem
-Summary: Remote Access to Persistent Memory library
-Group: System Environment/Libraries
-Requires: libfabric >= %{min_libfabric_ver}
-Requires: openssh-clients
-%description -n librpmem
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-%files -n librpmem
-%defattr(-,root,root,-)
-%{_libdir}/librpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem-devel
-Summary: Development files for the Remote Access to Persistent Memory library
-Group: Development/Libraries
-Requires: librpmem = %{version}-%{release}
-%description -n librpmem-devel
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-This sub-package contains libraries and header files for developing
-applications that want to specifically make use of librpmem.
-
-%files -n librpmem-devel
-%defattr(-,root,root,-)
-%{_libdir}/librpmem.so
-%{_libdir}/pkgconfig/librpmem.pc
-%{_includedir}/librpmem.h
-%{_mandir}/man3/librpmem.3.gz
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n librpmem-debug
-Summary: Debug variant of the Remote Access to Persistent Memory library
-Group: Development/Libraries
-Requires: librpmem = %{version}-%{release}
-%description -n librpmem-debug
-The librpmem library provides low-level support for remote access
-to persistent memory utilizing RDMA-capable NICs. It can be used
-to replicate peristent memory regions over RDMA protocol.
-
-This sub-package contains debug variant of the library, providing
-run-time assertions and trace points. The typical way to access the
-debug version is to set the environment variable LD_LIBRARY_PATH to
-/usr/lib64/nvml_debug.
-
-%files -n librpmem-debug
-%defattr(-,root,root,-)
-%dir %{_libdir}/nvml_debug
-%{_libdir}/nvml_debug/librpmem.so
-%{_libdir}/nvml_debug/librpmem.so.*
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%package -n rpmemd
-Group: System Environment/Base
-Summary: Target node process executed by librpmem
-Requires: libfabric >= %{min_libfabric_ver}
-%description -n rpmemd
-The rpmemd process is executed on a target node by librpmem library
-and facilitates access to persistent memory over RDMA.
-
-%files -n rpmemd
-%{_bindir}/rpmemd
-%{_mandir}/man1/rpmemd.1.gz
-
-
-%package tools
-Summary: Utilities for Persistent Memory
-Group: System Environment/Base
-Requires: libpmem >= %{version}-%{release}
-Requires: libpmemlog >= %{version}-%{release}
-Requires: libpmemblk >= %{version}-%{release}
-Requires: libpmemobj >= %{version}-%{release}
-Requires: libpmempool >= %{version}-%{release}
-%description tools
-Useful applications for administration and diagnosis of persistent memory.
-
-%files tools
-%{_bindir}/pmempool
-%{_mandir}/man1/pmempool.1.gz
-%{_mandir}/man1/pmempool-check.1.gz
-%{_mandir}/man1/pmempool-convert.1.gz
-%{_mandir}/man1/pmempool-create.1.gz
-%{_mandir}/man1/pmempool-dump.1.gz
-%{_mandir}/man1/pmempool-info.1.gz
-%{_mandir}/man1/pmempool-rm.1.gz
-%{_mandir}/man1/pmempool-sync.1.gz
-%{_mandir}/man1/pmempool-transform.1.gz
-%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool.sh
-%license LICENSE
-%doc ChangeLog CONTRIBUTING.md README.md
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-%build
-# Currently, NVML makefiles do not allow to easily override CFLAGS,
-# so the build flags are passed via EXTRA_CFLAGS. For debug build
-# selected flags are overriden to disable compiler optimizations.
-EXTRA_CFLAGS_RELEASE="%{optflags}" \
-EXTRA_CFLAGS_DEBUG="%{optflags} -Wp,-U_FORTIFY_SOURCE -O0" \
-EXTRA_CXXFLAGS="%{optflags}" \
-make %{?_smp_mflags}
-
-
-# Override LIB_AR with empty string to skip installation of static libraries
-%install
-make install DESTDIR=%{buildroot} \
- LIB_AR= \
- prefix=%{_prefix} \
- libdir=%{_libdir} \
- includedir=%{_includedir} \
- mandir=%{_mandir} \
- bindir=%{_bindir} \
- sysconfdir=%{_sysconfdir} \
- docdir=%{_docdir} \
- CPP_DOC_DIR=libpmemobj++-devel
-mkdir -p %{buildroot}%{_datadir}/nvml
-cp utils/nvml.magic %{buildroot}%{_datadir}/nvml/
-
-
-%check
-echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
-echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
-make check
-
-
-%post -n libpmem -p /sbin/ldconfig
-%postun -n libpmem -p /sbin/ldconfig
-%post -n libpmemblk -p /sbin/ldconfig
-%postun -n libpmemblk -p /sbin/ldconfig
-%post -n libpmemlog -p /sbin/ldconfig
-%postun -n libpmemlog -p /sbin/ldconfig
-%post -n libpmemobj -p /sbin/ldconfig
-%postun -n libpmemobj -p /sbin/ldconfig
-%post -n libvmem -p /sbin/ldconfig
-%postun -n libvmem -p /sbin/ldconfig
-%post -n libvmmalloc -p /sbin/ldconfig
-%postun -n libvmmalloc -p /sbin/ldconfig
-%post -n libpmempool -p /sbin/ldconfig
-%postun -n libpmempool -p /sbin/ldconfig
-%post -n librpmem -p /sbin/ldconfig
-%postun -n librpmem -p /sbin/ldconfig
-
-%if 0%{?__debug_package} == 0
-%debug_package
-%endif
-
-
-%changelog
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
-- Update to NVML version 1.3.1 (RHBZ #1480578)
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
-- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
-- Add librpmem and rpmemd sub-packages
-- Force file system to appear as PMEM for make check
-
-* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
-- Update to NVML version 1.2.3 (RHBZ #1451741)
-
-* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
-- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
-
-* Thu Mar 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.1-1
-- Update to NVML version 1.2.1 (RHBZ #1425038)
-
-* Tue Feb 21 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-3
-- Fix compilation under gcc 7.0.x (RHBZ #1424004)
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Fri Dec 30 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-1
-- Update to NVML version 1.2 (RHBZ #1383467)
-- Add libpmemobj C++ bindings
-
-* Thu Jul 14 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-3
-- Add missing package version requirements
-
-* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-2
-- Move debug variants of the libraries to -debug subpackages
-
-* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-1
-- NVML 1.1 release
-- Update link to source tarball
-- Add libpmempool subpackage
-- Remove obsolete patches
-
-* Wed Jun 01 2016 Dan Horák <dan[at]danny.cz> - 1.0-3
-- switch to ExclusiveArch
-
-* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-2
-- Exclude PPC architecture
-- Add bug numbers for excluded architectures
-
-* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-1
-- Initial RPM release
diff --git a/pmdk.spec b/pmdk.spec
new file mode 100644
index 0000000..dee0362
--- /dev/null
+++ b/pmdk.spec
@@ -0,0 +1,877 @@
+
+# rpmbuild options:
+# --with | --without fabric
+# --with | --without ndctl
+# --define "_testconfig <path to custom testconfig.sh or 'default'>"
+# --define "_check <1|0>" - run make check or not
+#
+
+# do not terminate build if files in the $RPM_BUILD_ROOT
+# directory are not found in the %files (without fabric case)
+%define _unpackaged_files_terminate_build 0
+
+# disable 'make check' on suse
+%if %{defined suse_version}
+ %define _check 0
+ %define dist .suse%{suse_version}
+%endif
+
+%if (0%{?suse_version} > 1315) || (0%{?fedora} >= 27) || (0%{?rhel} >= 7)
+%bcond_without fabric
+%else
+%bcond_with fabric
+%endif
+
+# by default build w/o ndctl, unless explicitly enabled
+%bcond_with ndctl
+
+%define min_libfabric_ver 1.4.2
+%define min_ndctl_ver 59.2
+
+Name: pmdk
+Version: 1.4
+Release: 1%{?dist}
+Summary: Persistent Memory Development Kit
+License: BSD
+URL: http://pmem.io/pmdk
+
+Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{vers...
+
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: glibc-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: man
+BuildRequires: pkgconfig
+BuildRequires: doxygen
+BuildRequires: gdb
+
+%if %{with ndctl}
+BuildRequires: ndctl-devel >= %{min_ndctl_ver}
+BuildRequires: daxctl-devel >= %{min_ndctl_ver}
+%endif
+
+%if %{with fabric}
+BuildRequires: libfabric-devel >= %{min_libfabric_ver}
+%endif
+
+
+# Debug variants of the libraries should be filtered out of the provides.
+%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
+
+# By design, PMDK does not support any 32-bit architecture.
+# Due to dependency on xmmintrin.h and some inline assembly, it can be
+# compiled only for x86_64 at the moment.
+# Other 64-bit architectures could also be supported, if only there is
+# a request for that, and if somebody provides the arch-specific
+# implementation of the low-level routines for flushing to persistent
+# memory.
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
+# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
+
+ExclusiveArch: x86_64
+
+%description
+The Persistent Memory Development Kit is a collection of libraries for
+using memory-mapped persistence, optimized specifically for persistent memory.
+
+
+%package -n libpmem
+Summary: Low-level persistent memory support library
+Group: System Environment/Libraries
+%description -n libpmem
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+%files -n libpmem
+%defattr(-,root,root,-)
+%dir %{_datadir}/pmdk
+%{_libdir}/libpmem.so.*
+%{_datadir}/pmdk/pmdk.magic
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmem-devel
+Summary: Development files for the low-level persistent memory library
+Group: Development/Libraries
+Requires: libpmem = %{version}-%{release}
+%description -n libpmem-devel
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+This library is provided for software which tracks every store to
+pmem and needs to flush those changes to durability. Most developers
+will find higher level libraries like libpmemobj to be much more
+convenient.
+
+%files -n libpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmem.so
+%{_libdir}/pkgconfig/libpmem.pc
+%{_includedir}/libpmem.h
+%{_mandir}/man7/libpmem.7.gz
+%{_mandir}/man3/pmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmem-debug
+Summary: Debug variant of the low-level persistent memory library
+Group: Development/Libraries
+Requires: libpmem = %{version}-%{release}
+%description -n libpmem-debug
+The libpmem provides low level persistent memory support. In particular,
+support for the persistent memory instructions for flushing changes
+to pmem is provided.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmem.so
+%{_libdir}/pmdk_debug/libpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk
+Summary: Persistent Memory Resident Array of Blocks library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemblk
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+%files -n libpmemblk
+%defattr(-,root,root,-)
+%{_libdir}/libpmemblk.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk-devel
+Summary: Development files for the Persistent Memory Resident Array of Blocks library
+Group: Development/Libraries
+Requires: libpmemblk = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemblk-devel
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+For example, a program keeping a cache of fixed-size objects in pmem
+might find this library useful. This library is provided for cases
+requiring large arrays of objects at least 512 bytes each. Most
+developers will find higher level libraries like libpmemobj to be
+more generally useful.
+
+%files -n libpmemblk-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemblk.so
+%{_libdir}/pkgconfig/libpmemblk.pc
+%{_includedir}/libpmemblk.h
+%{_mandir}/man7/libpmemblk.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemblk_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemblk-debug
+Summary: Debug variant of the Persistent Memory Resident Array of Blocks library
+Group: Development/Libraries
+Requires: libpmemblk = %{version}-%{release}
+%description -n libpmemblk-debug
+The libpmemblk implements a pmem-resident array of blocks, all the same
+size, where a block is updated atomically with respect to power
+failure or program interruption (no torn blocks).
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemblk-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemblk.so
+%{_libdir}/pmdk_debug/libpmemblk.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog
+Summary: Persistent Memory Resident Log File library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemlog
+The libpmemlog library provides a pmem-resident log file. This is
+useful for programs like databases that append frequently to a log
+file.
+
+%files -n libpmemlog
+%defattr(-,root,root,-)
+%{_libdir}/libpmemlog.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog-devel
+Summary: Development files for the Persistent Memory Resident Log File library
+Group: Development/Libraries
+Requires: libpmemlog = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemlog-devel
+The libpmemlog library provides a pmem-resident log file. This
+library is provided for cases requiring an append-mostly file to
+record variable length entries. Most developers will find higher
+level libraries like libpmemobj to be more generally useful.
+
+%files -n libpmemlog-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemlog.so
+%{_libdir}/pkgconfig/libpmemlog.pc
+%{_includedir}/libpmemlog.h
+%{_mandir}/man7/libpmemlog.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemlog_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemlog-debug
+Summary: Debug variant of the Persistent Memory Resident Log File library
+Group: Development/Libraries
+Requires: libpmemlog = %{version}-%{release}
+%description -n libpmemlog-debug
+The libpmemlog library provides a pmem-resident log file. This
+library is provided for cases requiring an append-mostly file to
+record variable length entries. Most developers will find higher
+level libraries like libpmemobj to be more generally useful.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemlog-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemlog.so
+%{_libdir}/pmdk_debug/libpmemlog.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj
+Summary: Persistent Memory Transactional Object Store library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemobj
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming.
+
+%files -n libpmemobj
+%defattr(-,root,root,-)
+%{_libdir}/libpmemobj.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj-devel
+Summary: Development files for the Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Requires: libpmemobj = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemobj-devel
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming. Developers new to persistent memory
+probably want to start with this library.
+
+%files -n libpmemobj-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemobj.so
+%{_libdir}/pkgconfig/libpmemobj.pc
+%{_includedir}/libpmemobj.h
+%{_includedir}/libpmemobj/*.h
+%{_mandir}/man7/libpmemobj.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemobj_*.3.gz
+%{_mandir}/man3/pobj_*.3.gz
+%{_mandir}/man3/oid_*.3.gz
+%{_mandir}/man3/toid*.3.gz
+%{_mandir}/man3/direct_*.3.gz
+%{_mandir}/man3/d_r*.3.gz
+%{_mandir}/man3/tx_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemobj-debug
+Summary: Debug variant of the Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Requires: libpmemobj = %{version}-%{release}
+%description -n libpmemobj-debug
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming. Developers new to persistent memory
+probably want to start with this library.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemobj-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemobj.so
+%{_libdir}/pmdk_debug/libpmemobj.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem
+Summary: Volatile Memory allocation library
+Group: System Environment/Libraries
+%description -n libvmem
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+%files -n libvmem
+%defattr(-,root,root,-)
+%{_libdir}/libvmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem-devel
+Summary: Development files for the Volatile Memory allocation library
+Group: Development/Libraries
+Requires: libvmem = %{version}-%{release}
+%description -n libvmem-devel
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+This sub-package contains libraries and header files for developing
+applications that want to make use of libvmem.
+
+%files -n libvmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/libvmem.so
+%{_libdir}/pkgconfig/libvmem.pc
+%{_includedir}/libvmem.h
+%{_mandir}/man7/libvmem.7.gz
+%{_mandir}/man3/vmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmem-debug
+Summary: Debug variant of the Volatile Memory allocation library
+Group: Development/Libraries
+Requires: libvmem = %{version}-%{release}
+%description -n libvmem-debug
+The libvmem library turns a pool of persistent memory into a volatile
+memory pool, similar to the system heap but kept separate and with
+its own malloc-style API.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libvmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libvmem.so
+%{_libdir}/pmdk_debug/libvmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc
+Summary: Dynamic to Persistent Memory allocation translation library
+Group: System Environment/Libraries
+%description -n libvmmalloc
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+The typical usage of libvmmalloc is to load it via the LD_PRELOAD
+environment variable.
+
+%files -n libvmmalloc
+%defattr(-,root,root,-)
+%{_libdir}/libvmmalloc.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc-devel
+Summary: Development files for the Dynamic-to-Persistent allocation library
+Group: Development/Libraries
+Requires: libvmmalloc = %{version}-%{release}
+%description -n libvmmalloc-devel
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of libvmmalloc.
+
+%files -n libvmmalloc-devel
+%defattr(-,root,root,-)
+%{_libdir}/libvmmalloc.so
+%{_libdir}/pkgconfig/libvmmalloc.pc
+%{_includedir}/libvmmalloc.h
+%{_mandir}/man7/libvmmalloc.7.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libvmmalloc-debug
+Summary: Debug variant of the Dynamic-to-Persistent allocation library
+Group: Development/Libraries
+Requires: libvmmalloc = %{version}-%{release}
+%description -n libvmmalloc-debug
+The libvmmalloc library transparently converts all the dynamic memory
+allocations into persistent memory allocations. This allows the use
+of persistent memory as volatile memory without modifying the target
+application.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libvmmalloc-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libvmmalloc.so
+%{_libdir}/pmdk_debug/libvmmalloc.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+# Specify a virtual Provide for libpmemobj++-static package, so the package
+# usage can be tracked.
+%package -n libpmemobj++-devel
+Summary: C++ bindings for Persistent Memory Transactional Object Store library
+Group: Development/Libraries
+Provides: libpmemobj++-static = %{version}-%{release}
+Requires: libpmemobj-devel = %{version}-%{release}
+%description -n libpmemobj++-devel
+The libpmemobj library provides a transactional object store,
+providing memory allocation, transactions, and general facilities for
+persistent memory programming.
+
+This sub-package contains header files for libpmemobj C++ bindings.
+
+%files -n libpmemobj++-devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/libpmemobj++.pc
+%{_includedir}/libpmemobj++/*.hpp
+%{_includedir}/libpmemobj++/detail/*.hpp
+%{_docdir}/libpmemobj++-devel/*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool
+Summary: Persistent Memory pool management library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmempool
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+%files -n libpmempool
+%defattr(-,root,root,-)
+%{_libdir}/libpmempool.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool-devel
+Summary: Development files for Persistent Memory pool management library
+Group: Development/Libraries
+Requires: libpmempool = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmempool-devel
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+%files -n libpmempool-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmempool.so
+%{_libdir}/pkgconfig/libpmempool.pc
+%{_includedir}/libpmempool.h
+%{_mandir}/man7/libpmempool.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmempool_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmempool-debug
+Summary: Debug variant of the Persistent Memory pool management library
+Group: Development/Libraries
+Requires: libpmempool = %{version}-%{release}
+%description -n libpmempool-debug
+The libpmempool library provides a set of utilities for off-line
+administration, analysis, diagnostics and repair of persistent memory
+pools created by libpmemlog, libpemblk and libpmemobj libraries.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmempool-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmempool.so
+%{_libdir}/pmdk_debug/libpmempool.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%if %{with fabric}
+
+%package -n librpmem
+Summary: Remote Access to Persistent Memory library
+Group: System Environment/Libraries
+Requires: libfabric >= %{min_libfabric_ver}
+Requires: openssh-clients
+%description -n librpmem
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+%files -n librpmem
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-devel
+Summary: Development files for the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-devel
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of librpmem.
+
+%files -n librpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so
+%{_libdir}/pkgconfig/librpmem.pc
+%{_includedir}/librpmem.h
+%{_mandir}/man7/librpmem.7.gz
+%{_mandir}/man3/rpmem_*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-debug
+Summary: Debug variant of the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-debug
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n librpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/librpmem.so
+%{_libdir}/pmdk_debug/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n rpmemd
+Group: System Environment/Base
+Summary: Target node process executed by librpmem
+Requires: libfabric >= %{min_libfabric_ver}
+%description -n rpmemd
+The rpmemd process is executed on a target node by librpmem library
+and facilitates access to persistent memory over RDMA.
+
+%files -n rpmemd
+%{_bindir}/rpmemd
+%{_mandir}/man1/rpmemd.1.gz
+
+%endif # _with_fabric
+
+
+%package -n libpmemcto
+Summary: Close-to-Open Persistence library
+Group: System Environment/Libraries
+Requires: libpmem >= %{version}-%{release}
+%description -n libpmemcto
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+%files -n libpmemcto
+%defattr(-,root,root,-)
+%{_libdir}/libpmemcto.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemcto-devel
+Summary: Development files for Close-to-Open Persistence library
+Group: Development/Libraries
+Requires: libpmemcto = %{version}-%{release}
+Requires: libpmem-devel = %{version}-%{release}
+%description -n libpmemcto-devel
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+%files -n libpmemcto-devel
+%defattr(-,root,root,-)
+%{_libdir}/libpmemcto.so
+%{_libdir}/pkgconfig/libpmemcto.pc
+%{_includedir}/libpmemcto.h
+%{_mandir}/man7/libpmemcto.7.gz
+%{_mandir}/man5/poolset.5.gz
+%{_mandir}/man3/pmemcto*.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n libpmemcto-debug
+Summary: Debug variant of the Close-to-Open Persistence library
+Group: Development/Libraries
+Requires: libpmemcto = %{version}-%{release}
+%description -n libpmemcto-debug
+The libpmemcto library is a Persistent Memory allocator with no overhead
+imposed by run-time flushing or transactional updates.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/pmdk_debug.
+
+%files -n libpmemcto-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/pmdk_debug
+%{_libdir}/pmdk_debug/libpmemcto.so
+%{_libdir}/pmdk_debug/libpmemcto.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n pmempool
+Summary: Utilities for Persistent Memory
+Group: System Environment/Base
+Requires: libpmem >= %{version}-%{release}
+Requires: libpmemlog >= %{version}-%{release}
+Requires: libpmemblk >= %{version}-%{release}
+Requires: libpmemobj >= %{version}-%{release}
+Requires: libpmempool >= %{version}-%{release}
+Requires: libpmemcto >= %{version}-%{release}
+Obsoletes: nvml-tools
+%description -n pmempool
+The pmempool is a standalone utility for management and off-line analysis
+of Persistent Memory pools created by PMDK libraries. It provides a set
+of utilities for administration and diagnostics of Persistent Memory pools.
+The pmempool may be useful for troubleshooting by system administrators
+and users of the applications based on PMDK libraries.
+
+%files -n pmempool
+%{_bindir}/pmempool
+%{_mandir}/man1/pmempool.1.gz
+%{_mandir}/man1/pmempool-*.1.gz
+%config(noreplace) %{_sysconfdir}/bash_completion.d/pmempool.sh
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%if %{with ndctl}
+
+%package -n daxio
+Summary: Perform I/O on Device DAX devices or zero a Device DAX device
+Group: System Environment/Base
+Requires: libpmem >= %{version}-%{release}
+%description -n daxio
+The daxio utility performs I/O on Device DAX devices or zero
+a Device DAX device. Since the standard I/O APIs (read/write) cannot be used
+with Device DAX, data transfer is performed on a memory-mapped device.
+The daxio may be used to dump Device DAX data to a file, restore data from
+a backup copy, move/copy data to another device or to erase data from
+a device.
+
+%files -n daxio
+%{_bindir}/daxio
+%{_mandir}/man1/daxio.1.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+%endif # _with_ndctl
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+# For debug build default flags may be overriden to disable compiler
+# optimizations.
+CFLAGS="%{optflags}" \
+LDFLAGS="%{?__global_ldflags}" \
+make %{?_smp_mflags} NORPATH=1
+
+
+# Override LIB_AR with empty string to skip installation of static libraries
+%install
+make install DESTDIR=%{buildroot} \
+ LIB_AR= \
+ prefix=%{_prefix} \
+ libdir=%{_libdir} \
+ includedir=%{_includedir} \
+ mandir=%{_mandir} \
+ bindir=%{_bindir} \
+ sysconfdir=%{_sysconfdir} \
+ docdir=%{_docdir} \
+ CPP_DOC_DIR=libpmemobj++-devel
+mkdir -p %{buildroot}%{_datadir}/pmdk
+cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
+
+
+
+%check
+%if "%{_check}" == "1"
+ %if "%{_testconfig}" != "default"
+ cp %{_testconfig} src/test/testconfig.sh
+ %else
+ echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
+ echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
+ %endif
+ make check
+%else
+ echo "Check skipped"
+%endif
+
+%post -n libpmem -p /sbin/ldconfig
+%postun -n libpmem -p /sbin/ldconfig
+%post -n libpmemblk -p /sbin/ldconfig
+%postun -n libpmemblk -p /sbin/ldconfig
+%post -n libpmemlog -p /sbin/ldconfig
+%postun -n libpmemlog -p /sbin/ldconfig
+%post -n libpmemobj -p /sbin/ldconfig
+%postun -n libpmemobj -p /sbin/ldconfig
+%post -n libvmem -p /sbin/ldconfig
+%postun -n libvmem -p /sbin/ldconfig
+%post -n libvmmalloc -p /sbin/ldconfig
+%postun -n libvmmalloc -p /sbin/ldconfig
+%post -n libpmempool -p /sbin/ldconfig
+%postun -n libpmempool -p /sbin/ldconfig
+%post -n libpmemcto -p /sbin/ldconfig
+%postun -n libpmemcto -p /sbin/ldconfig
+
+%if %{with fabric}
+%post -n librpmem -p /sbin/ldconfig
+%postun -n librpmem -p /sbin/ldconfig
+%endif
+
+%if 0%{?__debug_package} == 0
+%debug_package
+%endif
+
+
+%changelog
+* Thu Mar 29 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.4-1
+- Rename NVML project to PMDK
+- Update to PMDK version 1.4 (RHBZ #1480578, #1539562, #1539564)
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
+- Update to NVML version 1.3.1 (RHBZ #1480578)
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
+- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
+- Add librpmem and rpmemd sub-packages
+- Force file system to appear as PMEM for make check
+
+* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
+- Update to NVML version 1.2.3 (RHBZ #1451741)
+
+* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
+- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
+
+* Thu Mar 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.1-1
+- Update to NVML version 1.2.1 (RHBZ #1425038)
+
+* Tue Feb 21 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-3
+- Fix compilation under gcc 7.0.x (RHBZ #1424004)
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Dec 30 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2-1
+- Update to NVML version 1.2 (RHBZ #1383467)
+- Add libpmemobj C++ bindings
+
+* Thu Jul 14 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-3
+- Add missing package version requirements
+
+* Mon Jul 11 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-2
+- Move debug variants of the libraries to -debug subpackages
+
+* Sun Jun 26 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.1-1
+- NVML 1.1 release
+- Update link to source tarball
+- Add libpmempool subpackage
+- Remove obsolete patches
+
+* Wed Jun 01 2016 Dan Horák <dan[at]danny.cz> - 1.0-3
+- switch to ExclusiveArch
+
+* Sun May 29 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-2
+- Exclude PPC architecture
+- Add bug numbers for excluded architectures
+
+* Tue May 24 2016 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.0-1
+- Initial RPM release
diff --git a/sources b/sources
index ab9af0d..087d117 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvml-1.3.1.tar.gz) = 1ba8a846f6e0c41af1ec4d6a8db8ec4775a09525caa6d5a4b63df9f11d9f9b541c2968430a5802a529081c2f37e7375ee2c527fc6ff73bde34ddadd27295e4ec
+SHA512 (pmdk-1.4.tar.gz) = 95dbea9acfea4a6cb433a25f56f7484946a93fbce1c5e0e1d6ff36e0824e3e0e9f28f37024918998358f8ff12e69d0902fcf88357b9ad12695f32e06e86ffac8
commit 0b43337c7519fcadb93aa8fa9af70a0aa99ab4ed
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Feb 8 08:39:38 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/nvml.spec b/nvml.spec
index 3c19ba7..86f5c86 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
Version: 1.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -661,6 +661,9 @@ make check
%changelog
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
- Update to NVML version 1.3.1 (RHBZ #1480578)
commit 365af7daa5376462e19407d77ef996cadc969a31
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Sat Jan 27 14:49:55 2018 +0100
NVML 1.3.1 release
diff --git a/.gitignore b/.gitignore
index b7c4364..bd78bc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/nvml-1.2.2.tar.gz
/nvml-1.2.3.tar.gz
/nvml-1.3.tar.gz
+/nvml-1.3.1.tar.gz
diff --git a/nvml.spec b/nvml.spec
index c7055fe..3c19ba7 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
-Version: 1.3
-Release: 3%{?dist}
+Version: 1.3.1
+Release: 1%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -661,6 +661,9 @@ make check
%changelog
+* Sat Jan 27 2018 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3.1-1
+- Update to NVML version 1.3.1 (RHBZ #1480578)
+
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/sources b/sources
index cb65b14..ab9af0d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvml-1.3.tar.gz) = 59fb552c693d5279ec86eff8eb1c36832c9c5beb6492a64b54b21c09d90ed52cba22d57912a304cf1ec17c4633da641200fd50dbe4a38355f43c674842f991bd
+SHA512 (nvml-1.3.1.tar.gz) = 1ba8a846f6e0c41af1ec4d6a8db8ec4775a09525caa6d5a4b63df9f11d9f9b541c2968430a5802a529081c2f37e7375ee2c527fc6ff73bde34ddadd27295e4ec
commit 9b53fa62700e9656adf2dac39df3aae44808175c
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Aug 3 04:11:00 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/nvml.spec b/nvml.spec
index bba25f0..c7055fe 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
Version: 1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -661,6 +661,9 @@ make check
%changelog
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
commit c67349e76004207b750ac439b9a57775bf55703a
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jul 27 01:22:41 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/nvml.spec b/nvml.spec
index ca983f2..bba25f0 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
Version: 1.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -661,6 +661,9 @@ make check
%changelog
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
- Add librpmem and rpmemd sub-packages
commit 2b28a6f5c64a14cc17dfae88a12eb9cc07d80d0b
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Mon Jul 17 17:08:15 2017 +0200
NVML 1.3 release
diff --git a/.gitignore b/.gitignore
index e126c82..b7c4364 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/nvml-1.2.1.tar.gz
/nvml-1.2.2.tar.gz
/nvml-1.2.3.tar.gz
+/nvml-1.3.tar.gz
diff --git a/nvml.spec b/nvml.spec
index 446e5f9..ca983f2 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
-Version: 1.2.3
-Release: 2%{?dist}
+Version: 1.3
+Release: 1%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -13,12 +13,15 @@ BuildRequires: automake
BuildRequires: man
BuildRequires: pkgconfig
BuildRequires: doxygen
+BuildRequires: gdb
+
+%define min_libfabric_ver 1.4.2
+BuildRequires: libfabric-devel >= %{min_libfabric_ver}
# Debug variants of the libraries should be filtered out of the provides.
%global __provides_exclude_from ^%{_libdir}/nvml_debug/.*\\.so.*$
-
# By design, NVML does not support any 32-bit architecture.
# Due to dependency on xmmintrin.h and some inline assembly, it can be
# compiled only for x86_64 at the moment.
@@ -498,6 +501,81 @@ debug version is to set the environment variable LD_LIBRARY_PATH to
%doc ChangeLog CONTRIBUTING.md README.md
+%package -n librpmem
+Summary: Remote Access to Persistent Memory library
+Group: System Environment/Libraries
+Requires: libfabric >= %{min_libfabric_ver}
+Requires: openssh-clients
+%description -n librpmem
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+%files -n librpmem
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-devel
+Summary: Development files for the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-devel
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains libraries and header files for developing
+applications that want to specifically make use of librpmem.
+
+%files -n librpmem-devel
+%defattr(-,root,root,-)
+%{_libdir}/librpmem.so
+%{_libdir}/pkgconfig/librpmem.pc
+%{_includedir}/librpmem.h
+%{_mandir}/man3/librpmem.3.gz
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n librpmem-debug
+Summary: Debug variant of the Remote Access to Persistent Memory library
+Group: Development/Libraries
+Requires: librpmem = %{version}-%{release}
+%description -n librpmem-debug
+The librpmem library provides low-level support for remote access
+to persistent memory utilizing RDMA-capable NICs. It can be used
+to replicate peristent memory regions over RDMA protocol.
+
+This sub-package contains debug variant of the library, providing
+run-time assertions and trace points. The typical way to access the
+debug version is to set the environment variable LD_LIBRARY_PATH to
+/usr/lib64/nvml_debug.
+
+%files -n librpmem-debug
+%defattr(-,root,root,-)
+%dir %{_libdir}/nvml_debug
+%{_libdir}/nvml_debug/librpmem.so
+%{_libdir}/nvml_debug/librpmem.so.*
+%license LICENSE
+%doc ChangeLog CONTRIBUTING.md README.md
+
+
+%package -n rpmemd
+Group: System Environment/Base
+Summary: Target node process executed by librpmem
+Requires: libfabric >= %{min_libfabric_ver}
+%description -n rpmemd
+The rpmemd process is executed on a target node by librpmem library
+and facilitates access to persistent memory over RDMA.
+
+%files -n rpmemd
+%{_bindir}/rpmemd
+%{_mandir}/man1/rpmemd.1.gz
+
+
%package tools
Summary: Utilities for Persistent Memory
Group: System Environment/Base
@@ -555,7 +633,8 @@ cp utils/nvml.magic %{buildroot}%{_datadir}/nvml/
%check
-cp src/test/testconfig.sh.example src/test/testconfig.sh
+echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
+echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
make check
@@ -573,7 +652,8 @@ make check
%postun -n libvmmalloc -p /sbin/ldconfig
%post -n libpmempool -p /sbin/ldconfig
%postun -n libpmempool -p /sbin/ldconfig
-
+%post -n librpmem -p /sbin/ldconfig
+%postun -n librpmem -p /sbin/ldconfig
%if 0%{?__debug_package} == 0
%debug_package
@@ -581,6 +661,11 @@ make check
%changelog
+* Mon Jul 17 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.3-1
+- Update to NVML version 1.3 (RHBZ #1451741, RHBZ #1455216)
+- Add librpmem and rpmemd sub-packages
+- Force file system to appear as PMEM for make check
+
* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
- Update to NVML version 1.2.3 (RHBZ #1451741)
diff --git a/sources b/sources
index c519f81..cb65b14 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvml-1.2.3.tar.gz) = 17119a2bf4b7b790c63ecec98eb4a0d46e81d99b5f38c12933a07c8119ce95c3623285795b02d65d5a02ff1507f71faa8dde7284241d340913fabe1475d8f735
+SHA512 (nvml-1.3.tar.gz) = 59fb552c693d5279ec86eff8eb1c36832c9c5beb6492a64b54b21c09d90ed52cba22d57912a304cf1ec17c4633da641200fd50dbe4a38355f43c674842f991bd
commit 7e411eb92c77e4c892dca8e3f2e839f809af6e22
Author: Krzysztof Czurylo <krzycz(a)krzycz-fedora25.igk.intel.com>
Date: Fri Jun 16 12:06:13 2017 +0200
NVML 1.2.3 release
diff --git a/.gitignore b/.gitignore
index 64077fd..e126c82 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/nvml-1.2.tar.gz
/nvml-1.2.1.tar.gz
/nvml-1.2.2.tar.gz
+/nvml-1.2.3.tar.gz
diff --git a/nvml.spec b/nvml.spec
index e77745c..446e5f9 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,7 +1,7 @@
Name: nvml
Version: 1.2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
URL: http://pmem.io/nvml
@@ -581,6 +581,9 @@ make check
%changelog
+* Fri Jun 16 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.3-2
+- Update to NVML version 1.2.3 (RHBZ #1451741)
+
* Sat Apr 15 2017 Krzysztof Czurylo <krzysztof.czurylo(a)intel.com> - 1.2.2-1
- Update to NVML version 1.2.2 (RHBZ #1436820, RHBZ #1425038)
diff --git a/sources b/sources
index aeb986e..c519f81 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvml-1.2.2.tar.gz) = 1cca38e579307308ac9be1e1e648893707f19b62f0d5d9377db38a8a4a1f16352c8d731fa76d4ba31b57a0bbace02ba6127b9bf2d03fe0f92a45f1f4c8b24ed6
+SHA512 (nvml-1.2.3.tar.gz) = 17119a2bf4b7b790c63ecec98eb4a0d46e81d99b5f38c12933a07c8119ce95c3623285795b02d65d5a02ff1507f71faa8dde7284241d340913fabe1475d8f735
commit 0f82edfeaa831e90c412dc062fc255fed8c9f491
Author: Krzysztof Czurylo <krzysztof.czurylo(a)intel.com>
Date: Mon Jun 12 22:20:34 2017 +0200
NVML 1.2.3 release
diff --git a/nvml.spec b/nvml.spec
index a36774e..e77745c 100644
--- a/nvml.spec
+++ b/nvml.spec
@@ -1,6 +1,6 @@
Name: nvml
-Version: 1.2.2
+Version: 1.2.3
Release: 1%{?dist}
Summary: Non-Volatile Memory Library
License: BSD
6 years, 1 month
Re: GSoC EKG project
by Yaakov Nemoy
2009/3/22 Hayden, Katherine M. <KHayden(a)bennington.edu>:
> Hi Michael, Max and Karsten,
>
> I've read through this mailing list and spoken with Yaakov on IRC already
> about contributing to this project over the summer.
Yup.
> We went through some basic interview questions and left off with this
> request from Yaakov:
>
> "The application itself, as you've read on the wiki, is going to look
> for original analysis ideas. Last summer, i tried to get a student for
> another data analysis project to contribute, but that failed. I had
> asked him to put together a few mockups, and the only code i received
> in the end was a CSS stylesheet that matched the mockups. Instead, i
> would like you to focus on the the following.
>
> What kind of data is important for us to be looking at. You're going
> to collect data from mailing lists, wikis, version control systems,
> message boards, irc channels, and other possible sources of input.
> What kind of data is important and what is chaff?"
>
>
> These are my thoughts on the above.
>
>
> >From reading through the EKG mailing list archives, it seems that everyone
> agrees that EKG's focus is, as Michael put it:
>
> 1) To learn about projects people are interested in and have strong
> communities around
> 2) To learn which projects could use more help on the community side and to
> point to other projects they could look to as examples
>
> To look for projects that have strong communities we have to decide how we
> evaluate a community and decide whether it's strong or not. Is that
> defined by having a lot of members on the mailing list? What if 75% of the
> mailing list members never contribute? Or maybe it's the frequency of a
> project's discussion on IRC. Or the amount of quality documentation?
It could be a number of factors, but we're looking at a few primary ones.
The biggest one is where is most of the contributions coming from, and
what does the breakdown look like over time? Are they all coming from
Red Hat or IBM? or is it a healthy mix of multiple organisations and
private contributers? How many contributers from each org do we have?
Is the project dominated by one or two 'heros' or is there a very
broad contribution?
Using multiple sources for a project, where is there contribution? Do
most of the mailing list members also contribute code? Do they send
patches over the ML or is there a lot of access to
git/svn/cvs/whatever? Does higher mailing list traffic correlate to
higher numbers of commits? Higher numbers by one or two people?
On related projects, where has the development shifted? For example,
oVirt, KVM, Xen and libvirt are all related. Is there a shift of
people from Xen to KVM that follows the current market conditions? How
active is Xen after Red Hat bought Qumranet, etc..
Plus we have room for alot more things. We're not expecting to have
all these questions answered right away, especially not in just two
months of development. Ideally, Max and i are reevaluating our
priorities once every 2-4 weeks, based on what we can do, and what is
needed most at the moment.
> Here are some data I think are work collecting:
>
> Breakdown of members
>
> Mailing lists:
>
> Number of posts (on it's own and/or discounted by number of members)
> Average time between an original post and a follow-up post
> Average number of times a user posts. Also the ranges: most and least posts
> by a user. Could do box plots
Good ideas, we haven't thought of these yet.
> Number of joins/leaves in a month (or whatever greater time slice you
> select)
Currently that data is not made available on all mailing lists. We
would have to figure out some extensions to what we have, although i
think it should be possible.
> And what's already incorporated:
> Total number of members
> Members by email
>
>
> IRC:
>
> A graph of the number of users on over a 24 hour period
> Average number of users on at any given time
> Length of time a user spends on channel for a given session
> If we didn't mind keeping track of users:
> Length of time a user spends on channel in a month (or whatever greater time
> slice you select)
> The frequency of new users
> Number of posts (posts might be the wrong terminology here, would ims be
> better?)
> Average time between an original post and a follow-up post
> Average number of times a user posts. Also the ranges: most and least posts
> by a user. Could do box plots
Not all IRC channels keep publicly available logs. While users are
free to log things, publically publishing details are one of those
things that's on shaky ethical ground. (Does IRC count as a temporal
discussion such as a phone call, or a more permanent discussion such
as by mail?) The typical freenode response is don't publish without a
really good reason. It's preferable to only publish excerpts when
duely expected and mentioned, such as lessons given in
#fedora-classroom.
Noteable exceptions are channels like #haskell where the channel is as
much as a learning aid as anything else.
Since our results have to be reprodueable i'm not 100% sure we want to
include IRC stats in this just yet.
> Version control systems:
> Number of commits
> Time since last commit
>
>
> Wikis:
>
> Number of page visits
> Length of average visit
This information, like IRC, might be kept private for various reasons.
> Number of wiki edits
This is a more important statistic to us.
> Message boards:
>
> Number of threads, replies, views
Same as wiki applies here.
> What are your critiques/feedback? Is that what you were looking for Yaakov?
For a summer project, this seems like it could be quite time
consuming. Looking on my own count, i've just spent the past 3 hours
debugging a parser for just one mailman instance. You only have two
months, although we would love for you to continue contributing after
the project. What i think is most important is to pick a scope,
perhaps a certain kind of analysis that you want to focus on, and is
relevant to your studies in school for your proposal, and we can
evaluate from there.
Like max mentioned in his response in that we tried to pick a general
purpose architecture for many different kinds of sources of
information. What is most relevant at the moment is the kinds of
analysis we can do, because any good general purpose algorithm can be
extended to any good general purpose design.
-Yaakov
15 years, 2 months
Re: How to just report/fix one mistake on the wiki?
by Petr Bokoc
Hi Matt,
Our contributor docs aren't really up to date at all. We're aware of the
mess, it should hopefully change in the near future, but right now it's
really bad as you found out.
I added the missing link to the common bugs page, thanks for reporting it.
Regarding wiki edit rights for any future contributions you might want
to make: the requirement for a non-CLA group membership is unfortunate
but it's here to stay, and yes, the docs group (and this list) seems
like a good place to ask questions. The problem is, we just cleaned up
the group maybe a month ago and removed something like 80% of all
members because they were no longer active at all, and going forward
we'd like to be able to rely on the people in that group being somewhat
active, so I'm wary of adding people who state upfront they don't want
to do that, although I do understand your situation.
Anyway: there is a group called "wikiedit", a membership in that will
give you wiki edit rights without any expectation of active
participation, as far as I'm aware. Open an issue against the
fedora-infrastructure repo on Pagure to gain access. Here's an example
of such a ticket: https://pagure.io/fedora-infrastructure/issue/6841
Hope that helps; let me know if I can do anything else for you.
Petr
On 05/20/2018 09:44 PM, Matt McCutchen wrote:
> Dear docs team,
>
> I found a mistake on the wiki (Fedora 28 needs to be added to
> https://fedoraproject.org/wiki/Common_bugs) and wanted to report or fix
> it, but it looks like to fix it, I now need one non-CLA group. The
> Docs group looked the most likely for this scenario, but based on
> https://fedoraproject.org/wiki/Join_the_Docs_Project , it looks like
> you expect an introduction and ongoing involvement, which I'm not
> willing to commit to.
> https://fedoraproject.org/wiki/Reporting_problems_with_Docs#I_found_a_pro...
> didn't give me any help either.
>
> Is there a process for people who just want to report or fix one
> mistake on the wiki? Have I missed a previous discussion of this? Or
> should I pose the question elsewhere? I didn't find anything useful
> here:
>
> https://www.google.com/search?q=what+group+to+join+if+I+just+want+to+cont...
> https://lists.fedoraproject.org/archives/search?q=contribute+to+wiki
> https://lists.fedoraproject.org/archives/search?q=contribute+to+wiki+group
>
> If you are willing to count this as my introduction and grant me access
> (FAS mattmccutchen) without an expectation of ongoing involvement, I
> will be happy to update the relevant places on the wiki. I've been
> using Fedora for 13 years and have a modest history of useful wiki
> contributions from before the restriction was introduced, though I've
> never been involved deeply enough with anything to join a non-CLA
> group:
>
> https://fedoraproject.org/w/index.php?title=Special%3AContributions&contr...
>
> However, my question stands what new users should do.
>
> Thanks for your attention!
>
> Matt
> _______________________________________________
> docs mailing list -- docs(a)lists.fedoraproject.org
> To unsubscribe send an email to docs-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/docs@lists.fedoraproject.or...
6 years
[Fedora-join] Re: Old Fedora guy but new to fedora group - How to contribute?
by Justin W. Flory
On 06/09/2016 07:10 AM, Manvendra Bhangui wrote:
> I have been using Fedora for ages right from the first release. I am a C programmer since 1989. I know how to build RPM and Debian packages. I use the gnu autoconf, automake, libtool to build most of my work. I use vi and I use combination of RCS and git for version control. I am quite familiar with using many of the system calls. I strive to write portable code that compiles on linux and OSX. All my laptops, my mediacenter runs on Fedora and so I am familiar with Fedora for more than a decade. I want to contribute one of my major work - indimail-mta (a replacement for sendmail/postfix). indimail-mta has been built upon the original work by DJ Bernstein's qmail which was released to public domain in 2007 AFAIK.
> qmail as released by DJB is not FHS compliant. Also over the years, many have contributed to the source code in form of patches. I have fixed these issues (minor IMHO) and I do have RPMs released in public domain with the help of opensuse build service. Just recently I have been fixing things to make qmail FHS compliant and I thought I could also start working towards making a small contribution to fedora. But I am a newbie as far as the wonderful behind-the-scene-packaging that happens on Fedora.
>
> I have just created a fedora id and bugzilla id. Also I have been reading on how to contribute. I have so far read the following
>
> https://fedoraproject.org/wiki/Join_the_package_collection_maintainers
> and
> https://fedoraproject.org/wiki/Package_Review_Process
>
> I find the information overwhelming and I am not sure if I am reading the right documentation OR maybe it is my old dying grey cells. Any pointers on showing me the way would help me and I will try my best to meet the expectations and quality guidelines of the community. Also I am not sure if I can do this alone. So any help is welcome, especially from someone who loves qmail.
>
> Thank you in advance
> Regards Manvendra
Hello, Manvendra, and welcome to Fedora! We're always happy to see new
faces. :)
Creating your Fedora account in FAS was the first step to beginning your
journey to contributing. A FAS account is the key to doing any form of
contributing in Fedora.
Packaging is a great way to get involved with the project and help make
an impact fairly quickly. There are some guidelines for getting started
with packaging as you listed, but I know they can probably come off
overwhelming a little bit.
A good first step might be to subscribe to the development mailing list
for Fedora and hang out in IRC channels on freenode relevant for
packaging and development in Fedora. For starters, check out this
mailing list and consider subscribing to it to connect to other
developers and packagers in Fedora.
https://lists.fedoraproject.org/admin/lists/devel.lists.fedoraproject.org/
Once subscribing to the mailing list, you should also consider hanging
out in some IRC channels for Fedora, like #fedora-devel. If you are not
that familiar with IRC, consider reading this handy guide on getting
started with it.
https://fedoramagazine.org/beginners-guide-irc/
I am not personally familiar with the packaging process for Fedora as
I'm not as heavily involved with that side of the project, but hopefully
someone else on this can help offer some pointers for how you can get
started contributing as a packager in Fedora. If you have any other
questions about contributing to Fedora, please let us know and we'd be
happy to help!
Again, welcome to the Fedora Project. :)
--
Cheers,
Justin W. Flory
jflory7(a)gmail.com
7 years, 11 months
Re: [Ambassadors] About Fedora Contribution and probation
by gnu boi
Ok thanks, everyone for reply to my post.
I have also been contributing and will be contributing to open-source
and fedora project. And finally i myself is happy to join fedora
project as fedora ambassador. And hope this time release party will
find my presentation great. And after doing something i will be
posting to the list. And again thanks
GNuBOi
Ujjwol Lamichhane
On 11/16/08, JoergSimon <jsimon(a)fedoraproject.org> wrote:
> Am Sonntag, 16. November 2008 16:41:35 schrieb gnu boi:
>> Hi Everybody,
>> I am Ujjwol Lamichhane <https://fedoraproject.org/wiki/Ujjwol>. In the
>> fedora wiki it is written that,
>> *------------
>> For the first 30 days, the status of a newbie Ambassador will be "on
>> probation", during which time they have a chance to prove themselves to
>> the
>> group by contributing to the project.
>> -------------------
>> *What does contributing here means?
>
> Thanks Ujjwol, for bringing this up - we work on better mentoring for new
> Ambassadors and your Input shows to me, that this is really needed!
>
> You are a Ambassador right from the Moment you are sponsored with all rights
> and responsibilities and if you do not harm to the Fedora Project there is
> no
> reason to kick someone out!
>
> We can help you to find your personal way of being an Ambassador. There are
> many possibilities - but it is your way of life who is the key and only you
> can decide how you will bring the Fedora Message to the world. A Ambassador
> who talks regularly once a week with a new potential Contributor within his
>
> area of life or university is as valuable as a Ambassador who can afford
> money for traveling around the world and explore new Fedora-Areas or has a
> lot of time to organize a large Event. There is only one rule, keep in touch
> with us over Ambassador List from Time to Time and follow our Code of
> Conduct
> nothing more!
>
> Read and explore the Welcome Message where you can find usefull
> informations,
> show up to the Regional IRC Meetings, contact the fellow Ambassadors in your
> Region and offer your help to them. Become a active Member of the Team! Tell
> us your Idea, your Vision! Explore the Fedora Wiki - to learn more about
> other Groups. Look around on IRC #fedora-mktg, #fedora-ambassadors. Enhance
> Fedora´s presence - hire more Contributors around you. Learn from the
> EventReports that expirienced Contributors should have on their WikiPage.
>
> From what i can read, you do great, with all your activities! And we are
> happy
> to have you on Board!
>
> CU Joerg
>
>
>
>
> --
> Joerg (kital) Simon
> jsimon(a)fedoraproject.org
> http://fedoraproject.org/wiki/JoergSimon
> http://kitall.blogspot.com
> Key Fingerprint:
> 3691 0989 2DCA 58A2 8D1F 2CAC C823 558E 5B5B 5688
>
15 years, 6 months
Re: [Fedora-legal-list] How to make a Pagure Pull Request and How it
is licensed by default for contributors outside of 'packagers' group ?
by Vít Ondruch
Dne 22. 03. 22 v 19:18 Michal Schorm napsal(a):
> On Tue, Mar 22, 2022 at 7:06 PM Richard Fontana <rfontana(a)redhat.com> wrote:
>> I would assert that the "unlicensed
>> contribution" scenario contemplated by the FPCA is actually going to
>> be fairly rare apart from the special case of spec files, which the
>> FPCA was particularly aimed at. In the typical case, a Fedora-related
>> project makes clear what the applicable license of a repository (or of
>> files within a repository) is/are, and under the "inbound=outbound"
>> convention, that will be understood to be the license of the
>> contribution.
> I've never heard about "inbound=outbound convention".
I think you can get more information about this concept in Richard's
article:
https://opensource.com/article/19/2/cla-problems
>
> I understand your answer as that:
> it is irrelevant whether the contributor specified the license (e.g.
> text "I submit this under GPL-2.0 license" in the pull request
> comment)
If somebody states license of the contribution, then it has to be
respected. Otherwise it is assumed that the contribution has similar
licensing conditions as the target project.
Vít
> or whether none was specified, or whether the FPCA was
> accepted by the contributor; since every contributor to a code (let's
> say a single package repository) is always legally assumed to be under
> the license othe code of that package has, unless specified
> differently by the contributor.
>
> Is my understanding correct ?
>
> Michal
>
> --
>
> Michal Schorm
> Software Engineer
> Core Services - Databases Team
> Red Hat
>
> --
>
> On Tue, Mar 22, 2022 at 7:06 PM Richard Fontana <rfontana(a)redhat.com> wrote:
>> On Tue, Mar 22, 2022 at 12:25 PM Michal Schorm <mschorm(a)redhat.com> wrote:
>>> Hello,
>>>
>>> I'm trying to answer this question:
>>> "Under which license are the contributions done to Fedora Project,
>>> unless license is specified - and how make this clear to the
>>> contributors (or whether we make this clear enough)".
>>> The answer is _probably_ FPCA [1].
>> The FPCA basically says that there's a particular default license that
>> applies in cases where the contribution is not "covered by explicit
>> licensing terms that are conspicuous and readily discernible to
>> recipients." This does not spell out what "explicit", "conspicuous"
>> and "readily discernible" actually mean, much as you haven't explained
>> what you mean by "specified". I would assert that the "unlicensed
>> contribution" scenario contemplated by the FPCA is actually going to
>> be fairly rare apart from the special case of spec files, which the
>> FPCA was particularly aimed at. In the typical case, a Fedora-related
>> project makes clear what the applicable license of a repository (or of
>> files within a repository) is/are, and under the "inbound=outbound"
>> convention, that will be understood to be the license of the
>> contribution.
>>
>> I'm not aware of any reason to make anything clearer that it currently
>> is. I think at this point the FPCA is sort of a historical curiosity
>> that lives on because of inertia (other than as an indirect statement
>> of licensing policy around certain special things like spec files but
>> those could be addressed in a different way).
>>
>>> And this HTTPS workflow leads back to my original question - since FAS
>>> users outside of 'packager' group AFAIK don't need to sign FPCA [1],
>>> but can contribute a code - under which license or agreement it is
>>> contributed ? If it is FPCA - are such contributors aware ?
>> If contributors haven't signed the FPCA, the FPCA doesn't apply to
>> their contributions. But this is most likely unproblematic, for much
>> the same reason that Fedora could abandon use of the FPCA altogether
>> without causing any significant problem.
>>
>> Richard
>>
>>
>>> [1] https://fedoraproject.org/wiki/Legal:Fedora_Project_Contributor_Agreement
>>> [2] https://docs.fedoraproject.org/en-US/ci/pull-requests/
>>> [3] https://fedoraproject.org/wiki/Infrastructure/HTTPS-commits
>>>
>>> --
>>>
>>> Michal Schorm
>>> Software Engineer
>>> Core Services - Databases Team
>>> Red Hat
>>>
>>> --
>>> _______________________________________________
>>> legal mailing list -- legal(a)lists.fedoraproject.org
>>> To unsubscribe send an email to legal-leave(a)lists.fedoraproject.org
>>> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>>> List Archives: https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org
>>> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
> _______________________________________________
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
2 years, 2 months
Re: [Fedora-legal-list] Wiki page : https://fedoraproject.org/wiki/Fedora_print_magazine_proposal
by Tom Callaway
On 09/04/2009 02:51 PM, Paul wrote:
> Here I'd disagree. While for software, folks are happy for anyone to use
> it as they like. However, for written work, people become protective. It
> is better have something which says "by contributing this piece, you are
> giving Fedora to publish once and republish once by any means". That way
> the author knows exactly what terms they are contributing by.
I'm torn here. I want to believe that protective authors will be
intelligent enough to set licensing terms for their copyrighted works.
Also, I don't want to say "these are the terms under which you give us
these works", because then those protective people just complain and
moan about how they're either too restrictive or too permissive.
My instinct is to say that the contributing authors have to tell us the
license under which we can use their contributions.
Alternately, we could use unlicensed contributions of articles under the
CLA, which allows us an extremely permissive license.
Also, I'm not sure that LPM will be okay with using material under
CC-BY-SA, for example (which is Free). If I had to guess, I'd say they
would want something with the Non Commercial restriction (and a specific
exclusion for them).
But lets keep in mind that as far as I know, it is not clear where the
content for this magazine will come from. Mel, maybe you can shed some
light here?
~spot
14 years, 9 months
Re: [SSSD] [WIKI] Contribute and DevelTips are duplicate
by Jakub Hrozek
On Wed, Sep 02, 2015 at 05:18:24PM +0200, Michal Židek wrote:
> On 08/17/2015 02:21 PM, Petr Cech wrote:
> >On 07/17/2015 01:26 PM, Petr Cech wrote:
> >>Hi,
> >>
> >>I have read the wiki pages. And I have the edited version. It would be
> >>difficult to send the diff, so I started a new pages where you can
> >>view the result.
> >>
> >>Original pages:
> >>[ 1] https://fedorahosted.org/sssd/wiki/Contribute
> >>[ 2] https://fedorahosted.org/sssd/wiki/DevelTips
> >>[ 3] https://fedorahosted.org/sssd/wiki/DevelTutorials
> >>[ 4] https://fedorahosted.org/sssd/wiki/Reporting_sssd_bugs
> >>[ 5] https://fedorahosted.org/sssd/wiki/BugLifecycle
> >>[ 6] https://fedorahosted.org/sssd/wiki/Repositories
> >>
> >>Content of [3] has been divided between [1] and [3], content of [5]
> >>has been divided between [1] and [4]. Then [3,5,6] will be deleted.
> >>
> >>Test of new pages:
> >>[ 7] https://fedorahosted.org/sssd/wiki/pcech_test_contribute
> >>[ 8] https://fedorahosted.org/sssd/wiki/pcech_test_devel_tips
> >>[ 9] https://fedorahosted.org/sssd/wiki/pcech_test_reporting_sssd_bugs
> >>
> >>Note that the links lead to the original pages.
> >>At [7] you can find "COPR Repository" section, but I am not sure with
> >>text here. Please look at it.
> >>I did not pass the whole wiki. I think there might be a link from [8]
> >>(perhaps [9]) on Troubleshooting.
> >>
> >>I look forward to your comments, I need the opinions of another persons.
> >>
> >>Petr
> >
> >Hi,
> >
> >a did some little edits according to talk with Jakub:
> > * deleting Code Submission Process in Contribute
> > * simplifying the structure of the headings in Contribute
> > * adding link to tevent documentation in Devel tips
> > * merging SSSD bug report
> >and we would like to move link to COPR repo to the homepage (and add
> >note about Ubuntu package, is it right?)
> >
> >So new version (without homepage and link to Ubuntu repo) is on the same
> >place:
> >[ 7] https://fedorahosted.org/sssd/wiki/pcech_test_contribute
> >[ 8] https://fedorahosted.org/sssd/wiki/pcech_test_devel_tips
> >[ 9] https://fedorahosted.org/sssd/wiki/pcech_test_reporting_sssd_bugs
> >
> >Petr
>
> Hi!
>
> I think that Petr's changes to Wiki are improvement over the
> current state. He removes a lot of duplicated and outdated
> info. So if nobody objects I would like Petr to go ahead
> and replace the current pages with the new ones.
Thank you very much for review, they looked good to me as well when we
discussed the changes in person last time.
Petr, please move the pages and then send a mail to the list about the
update, we can always change more stuff or even roll back.
>
> I have one comment: Does somebody know how to move the
> table of contents to the left? Currently it is in the upper
> right corner and I think (especially on bigger monitors)
> it is really not easy to spot. The table is IMO very important
> and gives good outline of what to expect from the page
> so I would really like to have it on the left nice and
> visible.
I only found http://trac.edgewall.org/wiki/PageOutline about the macro.
>
> Also I like the idea of revisiting the wiki pages regularly
> in order to further improve them and keep them up-to-date.
> I think the overall navigation on our wiki has room for
> improvement, but we do not need to do everything at once.
Hmm I guess I missed that how exactly are we going to update them
regularly? (I agree we should, I'm just interested in the mechanics)
8 years, 9 months