Initial import (#1246792).
This commit is contained in:
parent
23e5d52973
commit
f74c1dd6ea
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/v52.tar.gz
|
85
ndctl.spec
Normal file
85
ndctl.spec
Normal file
@ -0,0 +1,85 @@
|
||||
Name: ndctl
|
||||
Version: 52
|
||||
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/ndctl/archive/v%{version}.tar.gz
|
||||
|
||||
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)
|
||||
|
||||
%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 ndctl-libs
|
||||
Summary: Management library for "libnvdimm" subsystem devices (Non-volatile Memory)
|
||||
License: LGPLv2
|
||||
Group: System Environment/Libraries
|
||||
|
||||
%description -n ndctl-libs
|
||||
Libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q v%{version}
|
||||
|
||||
%build
|
||||
echo "52" > 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
|
||||
|
||||
%files
|
||||
%license licenses/GPLv2 licenses/BSD-MIT licenses/CC0
|
||||
%{_bindir}/ndctl
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%files -n ndctl-libs
|
||||
%doc README.md
|
||||
%license COPYING licenses/BSD-MIT licenses/CC0
|
||||
%{_libdir}/libndctl.so.*
|
||||
|
||||
%files -n ndctl-devel
|
||||
%license COPYING
|
||||
%{_includedir}/ndctl/
|
||||
%{_libdir}/libndctl.so
|
||||
%{_libdir}/pkgconfig/libndctl.pc
|
||||
|
||||
%changelog
|
||||
* Mon Apr 04 2016 Dan Williams <dan.j.williams@intel.com> - 52-1
|
||||
- Initial rpm submission to Fedora
|
Loading…
Reference in New Issue
Block a user