Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3:ARM
ndctl.9206
ndctl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ndctl.spec of Package ndctl.9206
# # spec file for package ndctl # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 Intel Corporation # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define lname libndctl6 %define dname libndctl-devel Name: ndctl Version: 63 Release: 0 Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory) License: GPL-2.0-only Group: Hardware/Other Url: https://github.com/pmem/ndctl # Snapshot tarball can be created using: ./make-git-shapshot.sh [gitcommit] Source0: %{name}-%{version}.tar.gz Patch0: 0001-ndctl-monitor-use-type-simple-instead-of-type-forkin.patch ExclusiveArch: x86_64 ppc64le # required for documentation #if 0%{?suse_version} >= 1330 %if %{defined rubygem(asciidoctor)} BuildRequires: rubygem(asciidoctor) %else BuildRequires: asciidoc BuildRequires: libxslt-tools %endif BuildRequires: autoconf BuildRequires: automake BuildRequires: libjson-c-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: xmlto BuildRequires: pkgconfig(libkmod) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(bash-completion) %{?systemd_requires} %description Utility library for managing the "libnvdimm" subsystem, used for platform NVDIMM resources like those defined by the ACPI 6.0 NFIT (NVDIMM Firmware Interface Table). %package -n %dname Summary: Development files for libndctl License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Requires: %lname = %version-%release %description -n %dname Utility library for managing the "libnvdimm" subsystem, which defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the ACPI 6.0 NFIT (NVDIMM Firmware Interface Table). The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n %lname Summary: Management library for "libnvdimm" subsystem devices (Non-volatile Memory) License: LGPL-2.1-or-later Group: System/Libraries %description -n %lname Utility library for managing the "libnvdimm" subsystem, which defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the ACPI 6.0 NFIT (NVDIMM Firmware Interface Table). %prep %setup %patch0 -p1 %build echo "%{version}" > version ./autogen.sh CONF_FLAGS="--disable-static" %if ! %{defined rubygem(asciidoctor)} CONF_FLAGS="$CONF_FLAGS --disable-asciidoctor" %endif %configure $CONF_FLAGS make %{?_smp_mflags} %install %make_install find "%buildroot" -type f -name "*.la" -delete mkdir -p %{buildroot}%{_sbindir} ln -sf service %{buildroot}%{_sbindir}/rcndctl-monitor %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %pre %service_add_pre ndctl-monitor.service %post %service_add_post ndctl-monitor.service %preun %service_del_preun ndctl-monitor.service %postun %service_del_postun ndctl-monitor.service %files %defattr(-,root,root) %doc licenses/BSD-MIT licenses/CC0 %{_bindir}/ndctl %{_bindir}/daxctl %{_sbindir}/rcndctl-monitor %{_mandir}/man1/* %dir %{_sysconfdir}/ndctl %config %{_sysconfdir}/ndctl/monitor.conf %{_unitdir}/ndctl-monitor.service %dir %{_datadir}/bash-completion/ %dir %{_datadir}/bash-completion/completions/ %{_datadir}/bash-completion/completions/ndctl %files -n %lname %defattr(-,root,root) %doc README.md %doc COPYING licenses/BSD-MIT licenses/CC0 %{_libdir}/libndctl.so.* %{_libdir}/libdaxctl.so.* %files -n %dname %defattr(-,root,root) %doc COPYING %{_includedir}/ndctl/ %{_libdir}/libndctl.so %{_libdir}/pkgconfig/libndctl.pc %{_includedir}/daxctl/ %{_libdir}/libdaxctl.so %{_libdir}/pkgconfig/libdaxctl.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor