From b256da8c481aee2506c04496993e4539afec5a20 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 03 2016 06:13:19 +0000 Subject: import ndctl-54-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f8f7b1e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ndctl-54.tar.gz diff --git a/.ndctl.metadata b/.ndctl.metadata new file mode 100644 index 0000000..9050a1c --- /dev/null +++ b/.ndctl.metadata @@ -0,0 +1 @@ +4378cd364f58621f6de1121cf03af2876261053f SOURCES/ndctl-54.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/ndctl.spec b/SPECS/ndctl.spec new file mode 100644 index 0000000..7ce06d9 --- /dev/null +++ b/SPECS/ndctl.spec @@ -0,0 +1,153 @@ +Name: ndctl +Version: 54 +Release: 1%{?dist} +Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory) +License: GPLv2 +Group: System Environment/Base +Url: https://github.com/pmem/ndctl +Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + +Requires: ndctl-libs%{?_isa} = %{version}-%{release} +Requires: daxctl-libs%{?_isa} = %{version}-%{release} +BuildRequires: autoconf +BuildRequires: asciidoc +BuildRequires: xmlto +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libkmod) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(uuid) +BuildRequires: pkgconfig(json-c) +BuildRequires: pkgconfig(bash-completion) + +%description +Utility library for managing the "libnvdimm" subsystem. The "libnvdimm" +subsystem defines a kernel device model and control message interface for +platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM +Firmware Interface Table). + + +%package -n ndctl-devel +Summary: Development files for libndctl +License: LGPLv2 +Group: Development/Libraries +Requires: ndctl-libs%{?_isa} = %{version}-%{release} + +%description -n ndctl-devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package -n daxctl-devel +Summary: Development files for libdaxctl +License: LGPLv2 +Group: Development/Libraries +Requires: daxctl-libs%{?_isa} = %{version}-%{release} + +%description -n daxctl-devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}, a library for enumerating +"Device DAX" devices. Device DAX is a facility for establishing DAX +mappings of performance / feature-differentiated memory. + + +%package -n ndctl-libs +Summary: Management library for "libnvdimm" subsystem devices (Non-volatile Memory) +License: LGPLv2 +Group: System Environment/Libraries +Requires: daxctl-libs%{?_isa} = %{version}-%{release} + + +%description -n ndctl-libs +Libraries for %{name}. + +%package -n daxctl-libs +Summary: Management library for "Device DAX" devices +License: LGPLv2 +Group: System Environment/Libraries + +%description -n daxctl-libs +Device DAX is a facility for establishing DAX mappings of performance / +feature-differentiated memory. daxctl-libs provides an enumeration / +control API for these devices. + + +%prep +%setup -q ndctl-%{version} + +%build +echo %{version} > version +./autogen.sh +%configure --disable-static --enable-local --disable-silent-rules +make %{?_smp_mflags} + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%check +make check + +%post -n ndctl-libs -p /sbin/ldconfig + +%postun -n ndctl-libs -p /sbin/ldconfig + +%post -n daxctl-libs -p /sbin/ldconfig + +%postun -n daxctl-libs -p /sbin/ldconfig + +%define bashcompdir %(pkg-config --variable=completionsdir bash-completion) + +%files +%license licenses/GPLv2 licenses/BSD-MIT licenses/CC0 +%{_bindir}/ndctl +%{_mandir}/man1/* +%{bashcompdir}/ + +%files -n ndctl-libs +%doc README.md +%license COPYING licenses/BSD-MIT licenses/CC0 +%{_libdir}/libndctl.so.* + +%files -n daxctl-libs +%doc README.md +%license COPYING licenses/BSD-MIT licenses/CC0 +%{_libdir}/libdaxctl.so.* + +%files -n ndctl-devel +%license COPYING +%{_includedir}/ndctl/ +%{_libdir}/libndctl.so +%{_libdir}/pkgconfig/libndctl.pc + +%files -n daxctl-devel +%license COPYING +%{_includedir}/daxctl/ +%{_libdir}/libdaxctl.so +%{_libdir}/pkgconfig/libdaxctl.pc + + +%changelog +* Mon Aug 29 2016 Dave Anderson - 54.1 +- Update to 54.1 to address ixpdimm_sw requirements +- Resolves bz#1271425 + +* Wed Jul 6 2016 Jeff Moyer - 53.1-4 +- Fix up duplicate "-v" documentation in man page +- Fix bogus test in invalidate_namespace_options +- Resolves: bz#1350404 bz#1271425 + +* Mon Jun 20 2016 Jeff Moyer - 53.1-3 +- make ndctl Require ndctl-libs-{version}-{release} +- Resolves bz#1271425 + +* Wed Jun 1 2016 Jeff Moyer - 53.1-2 +- initial import for RHEL +- Resolves bz#1271425 + +* Fri May 27 2016 Dan Williams - 53-1 +- add daxctl-libs + daxctl-devel packages +- add bash completion + +* Mon Apr 04 2016 Dan Williams - 52-1 +- Initial rpm submission to Fedora