Blame SPECS/libstoragemgmt.spec

5594c9
%bcond_with     test
5594c9
5594c9
Name:           libstoragemgmt
cc5c5e
Version:        1.8.3
28ae2f
Release:        2%{?dist}
5594c9
Summary:        Storage array management library
5594c9
Group:          System Environment/Libraries
5594c9
License:        LGPLv2+
5594c9
URL:            https://github.com/libstorage/libstoragemgmt
5594c9
Source0:        https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
190823
Patch0:         BZ_1710776_change_run_dir.patch
5594c9
Requires:       python3-%{name}
190823
190823
# Netapp 7 mode plugin is no more.
190823
Obsoletes:      %{name}-netapp-plugin
190823
5594c9
BuildRequires:  gcc gcc-c++
5594c9
BuildRequires:  autoconf automake libtool libxml2-devel check-devel perl-interpreter
5594c9
BuildRequires:  openssl-devel
5594c9
BuildRequires:  glib2-devel
5594c9
BuildRequires:  systemd
5594c9
BuildRequires:  bash-completion
5594c9
BuildRequires:  libconfig-devel
5594c9
BuildRequires:  systemd-devel
5594c9
BuildRequires:  procps
5594c9
BuildRequires:  sqlite-devel
5594c9
BuildRequires:  python3-six
5594c9
BuildRequires:  python3-devel
5594c9
5594c9
%{?systemd_requires}
5594c9
BuildRequires:  systemd systemd-devel
5594c9
5594c9
BuildRequires:  chrpath
5594c9
%ifarch %{valgrind_arches}
5594c9
BuildRequires:  valgrind
5594c9
%endif
5594c9
5594c9
%description
5594c9
The libStorageMgmt library will provide a vendor agnostic open source storage
5594c9
application programming interface (API) that will allow management of storage
5594c9
arrays.  The library includes a command line interface for interactive use and
5594c9
scripting (command lsmcli).  The library also has a daemon that is used for
5594c9
executing plug-ins in a separate process (lsmd).
5594c9
5594c9
%package        devel
5594c9
Summary:        Development files for %{name}
5594c9
Group:          Development/Libraries
5594c9
Requires:       %{name}%{?_isa} = %{version}-%{release}
5594c9
5594c9
%description    devel
5594c9
The %{name}-devel package contains libraries and header files for
5594c9
developing applications that use %{name}.
5594c9
5594c9
%package        -n python3-%{name}
5594c9
Summary:        Python 3 client libraries and plug-in support for %{name}
5594c9
Group:          System Environment/Libraries
5594c9
Requires:       %{name} = %{version}-%{release}
5594c9
BuildArch:      noarch
5594c9
Requires:       python3-%{name}-clibs
190823
# If the existing netapp plugin is installed, we need to meet it's requirement
190823
# of having the correct version of this package functionality installed too as
190823
# the update occurs first, before the obsolete removes the obsoleted package.
190823
Provides:       python3-%{name} = 1.6.2-9.el8
5594c9
%{?python_provide:%python_provide python3-%{name}}
5594c9
5594c9
%description    -n python3-%{name}
5594c9
This contains python 3 client libraries as well as python framework
5594c9
support and open source plug-ins written in python 3.
5594c9
5594c9
%package        -n python3-%{name}-clibs
5594c9
Summary:        Python 3 C extension module for %{name}
5594c9
Group:          System Environment/Libraries
cc5c5e
Requires:       %{name}%{?_isa} = %{version}-%{release}
5594c9
%{?python_provide:%python_provide python3-%{name}-clibs}
5594c9
5594c9
%description    -n python3-%{name}-clibs
5594c9
This package contains python 3 client C extension libraries.
5594c9
5594c9
%package        smis-plugin
5594c9
Summary:        Files for SMI-S generic array support for %{name}
5594c9
Group:          System Environment/Libraries
5594c9
BuildRequires:  python3-pywbem
5594c9
Requires:       python3-pywbem
5594c9
BuildArch:      noarch
5594c9
Provides:       %{name}-ibm-v7k-plugin = 2:%{version}-%{release}
5594c9
Obsoletes:      %{name}-ibm-v7k-plugin <= 2:0.1.0-3
5594c9
Requires:       python3-%{name} = %{version}
5594c9
Requires(post): python3-%{name} = %{version}
5594c9
Requires(postun): python3-%{name} = %{version}
5594c9
5594c9
5594c9
%description    smis-plugin
5594c9
The %{name}-smis-plugin package contains plug-in for generic SMI-S array
5594c9
support.
5594c9
5594c9
%package        targetd-plugin
5594c9
Summary:        Files for targetd array support for %{name}
5594c9
Group:          System Environment/Libraries
5594c9
Requires:       python3-%{name} = %{version}
5594c9
Requires(post): python3-%{name} = %{version}
5594c9
Requires(postun): python3-%{name} = %{version}
5594c9
BuildArch:      noarch
5594c9
5594c9
%description    targetd-plugin
5594c9
The %{name}-targetd-plugin package contains plug-in for targetd array
5594c9
support.
5594c9
5594c9
5594c9
%package        nstor-plugin
5594c9
Summary:        Files for NexentaStor array support for %{name}
5594c9
Group:          System Environment/Libraries
5594c9
Requires:       python3-%{name} = %{version}
5594c9
Requires(post): python3-%{name} = %{version}
5594c9
Requires(postun): python3-%{name} = %{version}
5594c9
BuildArch:      noarch
5594c9
5594c9
%description    nstor-plugin
5594c9
The %{name}-nstor-plugin package contains plug-in for NexentaStor array
5594c9
support.
5594c9
5594c9
%package        udev
5594c9
Summary:        Udev files for %{name}
5594c9
Group:          System Environment/Base
5594c9
5594c9
%description    udev
5594c9
The %{name}-udev package contains udev rules and helper utilities for
5594c9
uevents generated by the kernel.
5594c9
5594c9
%package        megaraid-plugin
5594c9
Summary:        Files for LSI MegaRAID support for %{name}
5594c9
Group:          System Environment/Libraries
5594c9
Requires:       python3-%{name} = %{version}
5594c9
Requires(post): python3-%{name} = %{version}
5594c9
Requires(postun): python3-%{name} = %{version}
5594c9
BuildArch:      noarch
5594c9
5594c9
%description    megaraid-plugin
5594c9
The %{name}-megaraid-plugin package contains the plugin for LSI
5594c9
MegaRAID storage management via storcli.
5594c9
5594c9
%package        hpsa-plugin
5594c9
Summary:        Files for HP SmartArray support for %{name}
5594c9
Group:          System Environment/Libraries
5594c9
Requires:       python3-%{name} = %{version}
5594c9
Requires(post): python3-%{name} = %{version}
5594c9
Requires(postun): python3-%{name} = %{version}
5594c9
BuildArch:      noarch
5594c9
5594c9
%description    hpsa-plugin
5594c9
The %{name}-hpsa-plugin package contains the plugin for HP
5594c9
SmartArray storage management via hpssacli.
5594c9
5594c9
%package        arcconf-plugin
5594c9
Summary:        Files for Microsemi Adaptec and Smart Family support for %{name}
5594c9
Group:          System Environment/Libraries
5594c9
Requires:       python3-%{name} = %{version}
5594c9
Requires(post): python3-%{name} = %{version}
5594c9
Requires(postun): python3-%{name} = %{version}
5594c9
BuildArch:      noarch
5594c9
5594c9
%description    arcconf-plugin
5594c9
The %{name}-arcconf-plugin package contains the plugin for Microsemi
5594c9
Adaptec RAID and Smart Family Controller storage management.
5594c9
5594c9
%package        nfs-plugin
5594c9
Summary:        Files for NFS local filesystem support for %{name}
5594c9
Group:          System Environment/Libraries
5594c9
Requires:       python3-%{name} = %{version}
5594c9
Requires:       %{name}-nfs-plugin-clibs = %{version}
190823
Requires:       nfs-utils
5594c9
Requires(post): python3-%{name} = %{version}
5594c9
Requires(postun): python3-%{name} = %{version}
5594c9
BuildArch:      noarch
5594c9
5594c9
%description    nfs-plugin
5594c9
The nfs-plugin package contains plug-in for local NFS exports support.
5594c9
5594c9
%package        nfs-plugin-clibs
5594c9
Summary:        Python C extension module for %{name} NFS plugin
5594c9
Group:          System Environment/Libraries
cc5c5e
Requires:       %{name}%{?_isa} = %{version}-%{release}
5594c9
5594c9
%description    nfs-plugin-clibs
5594c9
The %{name}-nfs-plugin-clibs package contains python C extension for %{name}
5594c9
NFS plugin.
5594c9
5594c9
5594c9
%package        local-plugin
5594c9
Summary:        Files for local pseudo plugin of %{name}
5594c9
Group:          System Environment/Libraries
5594c9
Requires:       python3-%{name} = %{version}
5594c9
Requires(post): python3-%{name} = %{version}
5594c9
Requires(postun): python3-%{name} = %{version}
5594c9
BuildArch:      noarch
5594c9
5594c9
%description    local-plugin
5594c9
The nfs-plugin package contains plug-in for local NFS exports support.
5594c9
LibstorageMgmt local plugin allows user to manage locally storage system
5594c9
without caring which real plugin(s) should be used.
5594c9
5594c9
%prep
5594c9
%autosetup -p1
5594c9
5594c9
%build
5594c9
./autogen.sh
5594c9
190823
%configure PYTHON=%{__python3} --with-python3 --without-ontap --disable-static \
5594c9
%if %{without test}
5594c9
  --without-test
5594c9
%endif
5594c9
5594c9
V=1 make %{?_smp_mflags}
5594c9
5594c9
%install
5594c9
rm -rf %{buildroot}
5594c9
5594c9
make install DESTDIR=%{buildroot}
5594c9
5594c9
find %{buildroot} -name '*.la' -exec rm -f {} ';'
5594c9
5594c9
#Files for udev handling
5594c9
mkdir -p %{buildroot}/%{_udevrulesdir}
5594c9
install -m 644 tools/udev/90-scsi-ua.rules \
5594c9
    %{buildroot}/%{_udevrulesdir}/90-scsi-ua.rules
5594c9
install -m 755 tools/udev/scan-scsi-target \
5594c9
    %{buildroot}/%{_udevrulesdir}/../scan-scsi-target
5594c9
5594c9
# Fix shebangs using the proper %%{__python3} macro
5594c9
pathfix.py -pni "%{__python3}" \
5594c9
    %{buildroot}/usr/bin/nfs_lsmplugin \
5594c9
    %{buildroot}/usr/bin/lsmcli \
5594c9
    %{buildroot}/usr/bin/arcconf_lsmplugin \
5594c9
    %{buildroot}/usr/bin/targetd_lsmplugin \
5594c9
    %{buildroot}/usr/bin/sim_lsmplugin \
5594c9
    %{buildroot}/usr/bin/nstor_lsmplugin \
5594c9
    %{buildroot}/usr/bin/megaraid_lsmplugin \
5594c9
    %{buildroot}/usr/bin/hpsa_lsmplugin \
5594c9
    %{buildroot}/usr/bin/local_lsmplugin \
5594c9
    %{buildroot}/usr/bin/smispy_lsmplugin
5594c9
5594c9
5594c9
%if 0%{with test}
5594c9
%check
5594c9
if ! make check
5594c9
then
5594c9
  cat test-suite.log || true
5594c9
  exit 1
5594c9
fi
5594c9
%endif
5594c9
5594c9
%pre
5594c9
getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
5594c9
getent passwd libstoragemgmt >/dev/null || \
5594c9
    useradd -r -g libstoragemgmt -d /var/run/lsm -s /sbin/nologin \
5594c9
    -c "daemon account for libstoragemgmt" libstoragemgmt
5594c9
5594c9
%post
5594c9
/sbin/ldconfig
5594c9
# Create tmp socket folders.
5594c9
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
5594c9
%systemd_post %{name}.service
5594c9
5594c9
%preun
5594c9
%systemd_preun %{name}.service
5594c9
5594c9
%postun
5594c9
/sbin/ldconfig
5594c9
%systemd_postun %{name}.service
5594c9
5594c9
# Need to restart lsmd if plugin is new installed or removed.
5594c9
%post smis-plugin
5594c9
if [ $1 -eq 1 ]; then
5594c9
    # New install.
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
%postun smis-plugin
5594c9
if [ $1 -eq 0 ]; then
5594c9
    # Remove
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
# Need to restart lsmd if plugin is new installed or removed.
5594c9
%post targetd-plugin
5594c9
if [ $1 -eq 1 ]; then
5594c9
    # New install.
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
%postun targetd-plugin
5594c9
if [ $1 -eq 0 ]; then
5594c9
    # Remove
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
# Need to restart lsmd if plugin is new installed or removed.
5594c9
%post nstor-plugin
5594c9
if [ $1 -eq 1 ]; then
5594c9
    # New install.
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
%postun nstor-plugin
5594c9
if [ $1 -eq 0 ]; then
5594c9
    # Remove
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
# Need to restart lsmd if plugin is new installed or removed.
5594c9
%post megaraid-plugin
5594c9
if [ $1 -eq 1 ]; then
5594c9
    # New install.
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
%postun megaraid-plugin
5594c9
if [ $1 -eq 0 ]; then
5594c9
    # Remove
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
# Need to restart lsmd if plugin is new installed or removed.
5594c9
%post hpsa-plugin
5594c9
if [ $1 -eq 1 ]; then
5594c9
    # New install.
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
%postun hpsa-plugin
5594c9
if [ $1 -eq 0 ]; then
5594c9
    # Remove
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
# Need to restart lsmd if plugin is new installed or removed.
5594c9
%post arcconf-plugin
5594c9
if [ $1 -eq 1 ]; then
5594c9
    # New install.
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
%postun arcconf-plugin
5594c9
if [ $1 -eq 0 ]; then
5594c9
    # Remove
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
# Need to restart lsmd if plugin is new installed or removed.
5594c9
%post nfs-plugin
5594c9
if [ $1 -eq 1 ]; then
5594c9
    # New install.
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
%postun nfs-plugin
5594c9
if [ $1 -eq 0 ]; then
5594c9
    # Remove
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
# Need to restart lsmd if plugin is new installed or removed.
5594c9
%post local-plugin
5594c9
if [ $1 -eq 1 ]; then
5594c9
    # New install.
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
%postun local-plugin
5594c9
if [ $1 -eq 0 ]; then
5594c9
    # Remove
5594c9
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
5594c9
fi
5594c9
5594c9
%files
5594c9
%defattr(-,root,root,-)
5594c9
%doc README COPYING.LIB NEWS
5594c9
%{_mandir}/man1/lsmcli.1*
5594c9
%{_mandir}/man1/lsmd.1*
5594c9
%{_mandir}/man5/lsmd.conf.5*
5594c9
%{_libdir}/*.so.*
5594c9
%{_bindir}/lsmcli
5594c9
%{_datadir}/bash-completion/completions/lsmcli
5594c9
%{_bindir}/lsmd
5594c9
%{_bindir}/simc_lsmplugin
5594c9
%dir %{_sysconfdir}/lsm
5594c9
%dir %{_sysconfdir}/lsm/pluginconf.d
5594c9
%config(noreplace) %{_sysconfdir}/lsm/lsmd.conf
5594c9
%{_mandir}/man1/simc_lsmplugin.1*
5594c9
5594c9
%{_unitdir}/%{name}.service
5594c9
cc5c5e
%ghost %dir %attr(0775, root, libstoragemgmt) /run/lsm/
cc5c5e
%ghost %dir %attr(0775, root, libstoragemgmt) /run/lsm/ipc
5594c9
5594c9
%attr(0644, root, root) %{_tmpfilesdir}/%{name}.conf
5594c9
5594c9
%files devel
5594c9
%defattr(-,root,root,-)
5594c9
%{_includedir}/*
5594c9
%{_libdir}/*.so
5594c9
%{_libdir}/pkgconfig/%{name}.pc
5594c9
%{_mandir}/man3/lsm_*
5594c9
%{_mandir}/man3/libstoragemgmt*
5594c9
5594c9
%files -n python3-%{name}
5594c9
%dir %{python3_sitelib}/lsm
5594c9
%{python3_sitelib}/lsm/__init__.*
5594c9
%dir %{python3_sitelib}/lsm/external
5594c9
%{python3_sitelib}/lsm/external/*
5594c9
%{python3_sitelib}/lsm/_client.*
5594c9
%{python3_sitelib}/lsm/_common.*
5594c9
%{python3_sitelib}/lsm/_local_disk.*
5594c9
%{python3_sitelib}/lsm/_data.*
5594c9
%{python3_sitelib}/lsm/_iplugin.*
5594c9
%{python3_sitelib}/lsm/_pluginrunner.*
5594c9
%{python3_sitelib}/lsm/_transport.*
5594c9
%{python3_sitelib}/lsm/__pycache__/
5594c9
%{python3_sitelib}/lsm/version.*
5594c9
%dir %{python3_sitelib}/lsm/plugin
5594c9
%{python3_sitelib}/lsm/plugin/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/__pycache__/
5594c9
%dir %{python3_sitelib}/lsm/plugin/sim
5594c9
%{python3_sitelib}/lsm/plugin/sim/__pycache__/
5594c9
%{python3_sitelib}/lsm/plugin/sim/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/sim/simulator.*
5594c9
%{python3_sitelib}/lsm/plugin/sim/simarray.*
5594c9
%dir %{python3_sitelib}/lsm/lsmcli
5594c9
%{python3_sitelib}/lsm/lsmcli/__init__.*
5594c9
%{python3_sitelib}/lsm/lsmcli/__pycache__/
5594c9
%{python3_sitelib}/lsm/lsmcli/data_display.*
5594c9
%{python3_sitelib}/lsm/lsmcli/cmdline.*
5594c9
%{_bindir}/sim_lsmplugin
5594c9
%dir %{_libexecdir}/lsm.d
5594c9
%{_libexecdir}/lsm.d/find_unused_lun.py
5594c9
%{_libexecdir}/lsm.d/local_sanity_check.py
5594c9
%{_sysconfdir}/lsm/pluginconf.d/sim.conf
5594c9
%{_mandir}/man1/sim_lsmplugin.1*
5594c9
5594c9
%files -n python3-%{name}-clibs
5594c9
%{python3_sitelib}/lsm/_clib.*
5594c9
5594c9
%files smis-plugin
5594c9
%defattr(-,root,root,-)
5594c9
%dir %{python3_sitelib}/lsm/plugin/smispy
5594c9
%dir %{python3_sitelib}/lsm/plugin/smispy/__pycache__
5594c9
%{python3_sitelib}/lsm/plugin/smispy/__pycache__/*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/smis.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/dmtf.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/utils.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/smis_common.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/smis_cap.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/smis_sys.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/smis_pool.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/smis_disk.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/smis_vol.*
5594c9
%{python3_sitelib}/lsm/plugin/smispy/smis_ag.*
5594c9
%{_bindir}/smispy_lsmplugin
5594c9
%{_mandir}/man1/smispy_lsmplugin.1*
5594c9
5594c9
%files targetd-plugin
5594c9
%defattr(-,root,root,-)
5594c9
%dir %{python3_sitelib}/lsm/plugin/targetd
5594c9
%dir %{python3_sitelib}/lsm/plugin/targetd/__pycache__
5594c9
%{python3_sitelib}/lsm/plugin/targetd/__pycache__/*
5594c9
%{python3_sitelib}/lsm/plugin/targetd/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/targetd/targetd.*
5594c9
%{_bindir}/targetd_lsmplugin
5594c9
%{_mandir}/man1/targetd_lsmplugin.1*
5594c9
5594c9
%files nstor-plugin
5594c9
%defattr(-,root,root,-)
5594c9
%dir %{python3_sitelib}/lsm/plugin/nstor
5594c9
%dir %{python3_sitelib}/lsm/plugin/nstor/__pycache__
5594c9
%{python3_sitelib}/lsm/plugin/nstor/__pycache__/*
5594c9
%{python3_sitelib}/lsm/plugin/nstor/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/nstor/nstor.*
5594c9
%{_bindir}/nstor_lsmplugin
5594c9
%{_mandir}/man1/nstor_lsmplugin.1*
5594c9
5594c9
%files udev
5594c9
%defattr(-,root,root,-)
5594c9
%{_udevrulesdir}/../scan-scsi-target
5594c9
%{_udevrulesdir}/90-scsi-ua.rules
5594c9
5594c9
%files megaraid-plugin
5594c9
%defattr(-,root,root,-)
5594c9
%dir %{python3_sitelib}/lsm/plugin/megaraid
5594c9
%dir %{python3_sitelib}/lsm/plugin/megaraid/__pycache__
5594c9
%{python3_sitelib}/lsm/plugin/megaraid/__pycache__/*
5594c9
%{python3_sitelib}/lsm/plugin/megaraid/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/megaraid/megaraid.*
5594c9
%{python3_sitelib}/lsm/plugin/megaraid/utils.*
5594c9
%{_bindir}/megaraid_lsmplugin
5594c9
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/megaraid.conf
5594c9
%{_mandir}/man1/megaraid_lsmplugin.1*
5594c9
5594c9
%files hpsa-plugin
5594c9
%defattr(-,root,root,-)
5594c9
%dir %{python3_sitelib}/lsm/plugin/hpsa
5594c9
%dir %{python3_sitelib}/lsm/plugin/hpsa/__pycache__
5594c9
%{python3_sitelib}/lsm/plugin/hpsa/__pycache__/*
5594c9
%{python3_sitelib}/lsm/plugin/hpsa/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/hpsa/hpsa.*
5594c9
%{python3_sitelib}/lsm/plugin/hpsa/utils.*
5594c9
%{_bindir}/hpsa_lsmplugin
5594c9
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/hpsa.conf
5594c9
%{_mandir}/man1/hpsa_lsmplugin.1*
5594c9
5594c9
%files nfs-plugin
5594c9
%defattr(-,root,root,-)
5594c9
%dir %{python3_sitelib}/lsm/plugin/nfs
5594c9
%dir %{python3_sitelib}/lsm/plugin/nfs/__pycache__
5594c9
%{python3_sitelib}/lsm/plugin/nfs/__pycache__/*
5594c9
%{python3_sitelib}/lsm/plugin/nfs/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/nfs/nfs.*
5594c9
%{_sysconfdir}/lsm/pluginconf.d/nfs.conf
5594c9
%{_bindir}/nfs_lsmplugin
5594c9
%{_mandir}/man1/nfs_lsmplugin.1*
5594c9
5594c9
%files nfs-plugin-clibs
5594c9
%{python3_sitelib}/lsm/plugin/nfs/nfs_clib.*
5594c9
5594c9
%files arcconf-plugin
5594c9
%defattr(-,root,root,-)
5594c9
%dir %{python3_sitelib}/lsm/plugin/arcconf
5594c9
%dir %{python3_sitelib}/lsm/plugin/arcconf/__pycache__
5594c9
%{python3_sitelib}/lsm/plugin/arcconf/__pycache__/*
5594c9
%{python3_sitelib}/lsm/plugin/arcconf/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/arcconf/arcconf.*
5594c9
%{python3_sitelib}/lsm/plugin/arcconf/utils.*
5594c9
%{_bindir}/arcconf_lsmplugin
5594c9
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/arcconf.conf
5594c9
%{_mandir}/man1/arcconf_lsmplugin.1*
5594c9
5594c9
%files local-plugin
5594c9
%defattr(-,root,root,-)
5594c9
%dir %{python3_sitelib}/lsm/plugin/local
5594c9
%dir %{python3_sitelib}/lsm/plugin/local/__pycache__
5594c9
%{python3_sitelib}/lsm/plugin/local/__pycache__/*
5594c9
%{python3_sitelib}/lsm/plugin/local/__init__.*
5594c9
%{python3_sitelib}/lsm/plugin/local/local.*
5594c9
%{_sysconfdir}/lsm/pluginconf.d/local.conf
5594c9
%{_bindir}/local_lsmplugin
5594c9
%{_mandir}/man1/local_lsmplugin.1*
5594c9
5594c9
%changelog
28ae2f
* Wed Jul 1 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-2
28ae2f
- Version bump for (RHBZ #1792447)
28ae2f
cc5c5e
* Thu Feb 13 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-1
cc5c5e
- Upgrade to 1.8.3 (RHBZ #1741288)
cc5c5e
cc5c5e
* Thu Feb 13 2020 Tony Asleson <tasleson@redhat.com> - 1.8.1-4
cc5c5e
- Fix dnf groupinstall base (RHBZ #1792370)
cc5c5e
cc5c5e
* Wed Oct 30 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-3
cc5c5e
- Correct rpm -V (RHBZ #1726209)
cc5c5e
190823
* Thu Jun 13 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-2
190823
- Correct gating.yaml (RHBZ #1720284)
190823
190823
* Tue Jun 11 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-1
190823
- Obsolete the netapp plugin.
190823
190823
* Fri May 24 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-0
190823
- Upgrade to 1.8.1
190823
190823
* Wed May 22 2019 Tony Asleson <tasleson@redhat.com> - 1.6.2-11
190823
- Fix tmpfiles run directory (RHBZ #1710776)
190823
- Add nfs-utils dependency (RHBZ #1657407)
190823
190823
* Tue Oct 16 2018 Tony Asleson <tasleson@redhat.com> - 1.6.2-10
190823
- Remove NetApp Ontap plugin. (RHBZ #1626415)
190823
5594c9
* Tue Sep 25 2018 Gris Ge <fge@redhat.com> - 1.6.2-9
5594c9
- Fix the manapge of lsmd.conf. (RHBZ #1612755)
5594c9
5594c9
* Tue Sep 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-8
5594c9
- Fix the `rpm -V` failures. (RHBZ #1630114)
5594c9
5594c9
* Tue Sep 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-7
5594c9
- Add explicit package version requirement to libstoragemgmt-nfs-plugin-clibs.
5594c9
5594c9
* Mon Sep 03 2018 Gris Ge <fge@redhat.com> - 1.6.2-6
5594c9
- Move lsm utils to /usr/libexec/lsm.d folder. (RHBZ #1623506)
5594c9
5594c9
* Mon Sep 03 2018 Gris Ge <fge@redhat.com> - 1.6.2-5
5594c9
- Removed the dependency of yajl. (RHBZ #1560205)
5594c9
5594c9
* Fri Aug 10 2018 Gris Ge <fge@redhat.com> 1.6.2-4
5594c9
- Removed the requirement of initscripts.
5594c9
- Remove python2 sub-packages.
5594c9
5594c9
* Fri Aug  3 2018 Florian Weimer <fweimer@redhat.com> - 1.6.2-3
5594c9
- Honor %%{valgrind_arches}
5594c9
- De-configure the test suite unless building with testing
5594c9
5594c9
* Tue Jul 03 2018 Tomas Orsava <torsava@redhat.com> - 1.6.2-2
5594c9
- Switch hardcoded python3 path into the %%{__python3} macro
5594c9
- Fix shebangs accordingly
5594c9
5594c9
* Fri May 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-1
5594c9
- Upgrade to 1.6.2.
5594c9
5594c9
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-7
5594c9
- Fix incorect memset size.
5594c9
5594c9
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-6
5594c9
- Add ./autogen.sh back to fix the version diff on autotools.
5594c9
5594c9
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-5
5594c9
- Add missing rpm script for arcconf, nfs, local plugins.
5594c9
5594c9
* Thu Mar 22 2018 Gris Ge <fge@redhat.com> - 1.6.1-4
5594c9
- Fix build on GCC 8
5594c9
5594c9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-3
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5594c9
5594c9
* Wed Jan 03 2018 LumĂ­r Balhar <lbalhar@redhat.com> - 1.6.1-2
5594c9
- Fix directory ownership in python subpackages
5594c9
5594c9
* Tue Oct 31 2017 Gris Ge <fge@redhat.com> - 1.6.1-1
5594c9
- Upgrade to 1.6.1
5594c9
5594c9
* Thu Oct 19 2017 Gris Ge <fge@redhat.com> - 1.6.0-1
5594c9
- Upgrade to 1.6.0
5594c9
5594c9
* Sun Oct 15 2017 Gris Ge <fge@redhat.com> - 1.5.0-3
5594c9
- Specify Python version in SPEC Requires.
5594c9
5594c9
* Wed Oct 11 2017 Gris Ge <fge@redhat.com> - 1.5.0-2
5594c9
- Fix multilib confliction of nfs-plugin by move binrary file to
5594c9
  another subpackage libstoragemgmt-nfs-plugin-clibs
5594c9
5594c9
* Tue Oct 10 2017 Gris Ge <fge@redhat.com> - 1.5.0-0
5594c9
- New upstream release 1.5.0:
5594c9
    * New sub-package libstoragemgmt-nfs-plugin, libstoragemgmt-arcconf-plugin,
5594c9
      and libstoragemgmt-local-plugin.
5594c9
    * C API manpages for libstoragemgmt-devel package.
5594c9
5594c9
* Tue Oct 3 2017 Tony Asleson <tasleson@redhat.com> - 1.4.0-5
5594c9
- Remove m2crypto requirement
5594c9
5594c9
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.4.0-4
5594c9
- Python 2 binary packages renamed to python2-libstoragemgmt and python2-libstoragemgmt-clibs
5594c9
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
5594c9
- %%python_provide added for all four python subpackages
5594c9
5594c9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5594c9
5594c9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5594c9
5594c9
5594c9
* Tue Feb 21 2017 Gris Ge <fge@redhat.com> 1.4.0-1
5594c9
- Add Python3 support.
5594c9
- New sub rpm package python3-libstoragemgmt.
5594c9
- Add support of lmiwbem(this rpm use pywbem instead).
5594c9
- Allow plugin test to be run concurrently.
5594c9
- Bug fixes:
5594c9
    * Fix megaraid plugin for dell PERC.
5594c9
    * Fix local disk rotation speed query on NVMe disk.
5594c9
    * Fix lsmcli incorrect try-expect on local disk query.
5594c9
    * Fix all the gcc compile warnings.
5594c9
    * Fix the obsolete usage of AC_OUTPUT in configure.ac.
5594c9
- Library adds:
5594c9
    * Query serial of local disk:
5594c9
        lsm_local_disk_serial_num_get()/lsm.LocalDisk.serial_num_get()
5594c9
    * Query LED status of local disk:
5594c9
        lsm_local_disk_led_status_get()/lsm.LocalDisk.led_status_get()
5594c9
    * Query link speed of local disk:
5594c9
        lsm_local_disk_link_speed_get()/lsm.LocalDisk.link_speed_get()
5594c9
5594c9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-2
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5594c9
5594c9
* Tue Sep 27 2016 Gris Ge <fge@redhat.com> 1.3.5-1
5594c9
- New upstream release 1.3.5
5594c9
5594c9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
5594c9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5594c9
5594c9
* Wed May 18 2016 Tony Asleson <tasleson@redhat.com> 1.3.2-1
5594c9
- New upstream release 1.3.2
5594c9
5594c9
* Fri May 13 2016 Tony Asleson <tasleson@redhat.com> 1.3.1-2
5594c9
- Disable make check as we are hitting a valgrind memleak in ld.so
5594c9
  on arm arch.
5594c9
5594c9
* Fri May 13 2016 Tony Asleson <tasleson@redhat.com> 1.3.1-1
5594c9
- New upstream release 1.3.1
5594c9
5594c9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5594c9
5594c9
* Wed Jun 24 2015 Gris Ge <fge@redhat.com> 1.2.3-1
5594c9
- New upstream release 1.2.3:
5594c9
    * Bug fixes:
5594c9
        * lsmcli bash completion: Fix syntax error.
5594c9
        * lsmcli bash completion: Fix volume-delete.
5594c9
        * lsmcli bash completion: Add missing completions.
5594c9
        * Fix: selinux dac_override
5594c9
        * Manpage: Update hpsa and megaraid plugin manpages.
5594c9
        * HP Smart Array Plugin: Fix pool querying on P410i.
5594c9
        * MegaRAID Plugin: Fix bug when no volume configured.
5594c9
5594c9
* Fri Jun 19 2015 Gris Ge <fge@redhat.com> - 1.2.1-1
5594c9
- New upstream release 1.2.1.
5594c9
- Changed upstream URL and source URL to github.
5594c9
- New sub-pacakges:
5594c9
    * libstoragemgmt-megaraid-plugin
5594c9
        New plugin in 1.2.0 release.
5594c9
    * libstoragemgmt-hpsa-plugin
5594c9
        New plugin in 1.2.0 release.
5594c9
- Add bash-completion script for lsmcli.
5594c9
- New rpmbuild switch: 
5594c9
    * '--without test'
5594c9
        Use to skip 'make check' test to save debug time.
5594c9
    * '--without megaraid'
5594c9
        Don't compile megaraid plugin.
5594c9
    * '--without hpsa'
5594c9
        Don't compile hpsa plugin.
5594c9
- Remove PyYAML BuildRequires.
5594c9
- Add NEWS(changelog) to document folder.
5594c9
- Replace the hardcoded udev path with <percent>{_udevrulesdir}.
5594c9
- Fix rpmlint error 'dir-or-file-in-var-run'.
5594c9
- Mark /run/lsm and /run/lsm/ipc as <percent>ghost folder.
5594c9
- Fix rpmlint warnning 'W: non-standard-uid /run/lsm libstoragemgmt'.
5594c9
- Add 'Requires(post)' and 'Requires(postun)' to plugins in order
5594c9
  to make sure plugin is installed after libstoragemgmt and removed before
5594c9
  libstoragemgmt.
5594c9
- Fix the incorrect use of <percent>bcond_with and <percent>bcond_without.
5594c9
- Removed autogen.sh which is not required for release version any more.
5594c9
5594c9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5594c9
5594c9
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1.0-3
5594c9
- Rebuilt for GCC 5 C++11 ABI change
5594c9
5594c9
* Fri Jan 16 2015 Tony Asleson <tasleson@redhat.com> 1.1.0-2
5594c9
- Make updates work correctly for removed sub package
5594c9
  libstoragemgmt-ibm-v7k-plugin
5594c9
5594c9
* Thu Dec 4 2014 Tony Asleson <tasleson@redhat.com> 1.1.0-1
5594c9
- New upstream release
5594c9
- Fix udev files directory
5594c9
- Move command line files to python package
5594c9
5594c9
* Wed Oct 8 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-3
5594c9
- Specify udev files to /usr/lib dir instead of /lib
5594c9
- Move command line python files to python package
5594c9
5594c9
* Wed Oct 1 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-2
5594c9
- BZ 850185, Use new systemd rpm macros
5594c9
- BZ 1122117, Use correct tmpfiles.d dir
5594c9
5594c9
* Sun Sep 7 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-1
5594c9
- New upstream release
5594c9
5594c9
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5594c9
5594c9
* Thu Jul 3 2014 Tony Asleson <tasleson@redhat.com> - 0.1.0-1
5594c9
- New upstream release
5594c9
5594c9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.24-2
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5594c9
5594c9
* Thu Jan 30 2014 Tony Asleson <tasleson@redhat.com> 0.0.24-1
5594c9
- New upstream release
5594c9
5594c9
* Wed Nov 27 2013 Tony Asleson <tasleson@redhat.com> 0.0.23-1
5594c9
- New upstream release
5594c9
5594c9
* Mon Aug 12 2013 Tony Asleson <tasleson@redhat.com> 0.0.22-1
5594c9
- New upstream release
5594c9
5594c9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.21-2
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5594c9
5594c9
* Tue Jul 16 2013 Tony Asleson <tasleson@redhat.com> 0.0.21-1
5594c9
- New upstream release
5594c9
- Put plug-ins in separate sub packages
5594c9
- Don't include IBM plug-in on RHEL > 6, missing paramiko
5594c9
5594c9
* Tue May 28 2013 Tony Asleson <tasleson@redhat.com> - 0.0.20-1
5594c9
- New upstream release
5594c9
- Separate package for python libraries
5594c9
- Make timestamps match on version.py in library
5594c9
- Add python-paramiko requirement for IBM plug-in
5594c9
5594c9
* Mon Apr 22 2013 Tony Asleson <tasleson@redhat.com> - 0.0.19-1
5594c9
- New upstream release
5594c9
5594c9
* Fri Mar 8 2013 Tony Asleson <tasleson@redhat.com> - 0.0.18-1
5594c9
- New upstream release
5594c9
5594c9
* Thu Jan 31 2013 Tony Asleson <tasleson@redhat.com> - 0.0.17-1
5594c9
- New upstream release
5594c9
5594c9
* Wed Jan 2 2013 Tony Asleson <tasleson@redhat.com> - 0.0.16-1
5594c9
- New upstream release
5594c9
5594c9
* Tue Nov 27 2012 Tony Asleson <tasleson@redhat.com> - 0.0.15-1
5594c9
- New upstream release
5594c9
5594c9
* Wed Oct 3 2012 Tony Asleson <tasleson@redhat.com> - 0.0.13-1
5594c9
- New upstream release
5594c9
5594c9
* Tue Sep 18 2012 Tony Asleson <tasleson@redhat.com> - 0.0.12-1
5594c9
- New upstream release
5594c9
5594c9
* Mon Aug 13 2012 Tony Asleson <tasleson@redhat.com> 0.0.11-1
5594c9
- New upstream release
5594c9
5594c9
* Fri Jul 27 2012 Dan HorĂ¡k <dan[at]danny.cz> - 0.0.9-3
5594c9
- detect also non-x86 arches in Pegasus check
5594c9
5594c9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
5594c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5594c9
5594c9
* Tue Jun 12 2012 Tony Asleson <tasleson@redhat.com> 0.0.9-1
5594c9
- Initial checkin of lio plug-in
5594c9
- System filtering via URI (smispy)
5594c9
- Error code mapping (ontap)
5594c9
- Fixed build so same build tarball is used for all binaries
5594c9
5594c9
* Mon Jun 4 2012 Tony Asleson <tasleson@redhat.com> 0.0.8-1
5594c9
- Make building of SMI-S CPP plugin optional
5594c9
- Add pkg-config file
5594c9
- SMIS: Fix exception while retrieving Volumes
5594c9
- SMIS: Fix exception while retrieving Volumes
5594c9
- lsm: Add package imports
5594c9
- Make Smis class available in lsm python package
5594c9
- Add option to disable building C unit test
5594c9
- Make simulator classes available in lsm python package
5594c9
- Make ontap class available in lsm python package
5594c9
- Changes to support building on Fedora 17 (v2)
5594c9
- Spec. file updates from feedback from T. Callaway (spot)
5594c9
- F17 linker symbol visibility correction
5594c9
- Remove unneeded build dependencies and cleaned up some warnings
5594c9
- C Updates, client C library feature parity with python
5594c9
5594c9
* Fri May 11 2012 Tony Asleson <tasleson@redhat.com> 0.0.7-1
5594c9
- Bug fix for smi-s constants
5594c9
- Display formatting improvements
5594c9
- Added header option for lsmcli
5594c9
- Improved version handling for builds
5594c9
- Made terminology consistent
5594c9
- Ability to list visibility for access groups and volumes
5594c9
- Simulator plug-in fully supports all block operations
5594c9
- Added support for multiple systems with a single plug-in instance
5594c9
5594c9
* Fri Apr 20 2012 Tony Asleson <tasleson@redhat.com> 0.0.6-1
5594c9
- Documentation improvements (man & source code)
5594c9
- Support for access groups
5594c9
- Unified spec files Fedora/RHEL
5594c9
- Package version auto generate
5594c9
- Rpm target added to make
5594c9
- Bug fix for missing optional property on volume retrieval (smispy plug-in)
5594c9
5594c9
* Fri Apr 6 2012 Tony Asleson <tasleson@redhat.com> 0.0.5-1
5594c9
- Spec file clean-up improvements
5594c9
- Async. operation added to lsmcli and ability to check on job status
5594c9
- Sub volume replication support
5594c9
- Ability to check for child dependencies on VOLUMES, FS and files
5594c9
- SMI-S Bug fixes and improvements
5594c9
5594c9
* Mon Mar 26 2012 Tony Asleson <tasleson@redhat.com> 0.0.4-1
5594c9
- Restore from snapshot
5594c9
- Job identifiers string instead of integer
5594c9
- Updated license address
5594c9
5594c9
* Wed Mar 14 2012 Tony Asleson <tasleson@redhat.com> 0.0.3-1
5594c9
- Changes to installer, daemon uid, gid, /var/run/lsm/*
5594c9
- NFS improvements and bug fixes
5594c9
- Python library clean up (rpmlint errors)
5594c9
5594c9
* Sun Mar 11 2012 Tony Asleson <tasleson@redhat.com> 0.0.2-1
5594c9
- Added NetApp native plugin
5594c9
5594c9
* Mon Feb 6 2012 Tony Asleson <tasleson@redhat.com>  0.0.1alpha-1
5594c9
- Initial version of package
5594c9