2020-10-06 19:47:45 +00:00
|
|
|
#global commit 13a0dd86874b5d7558a0e131f3deaa42cd7d9d23
|
|
|
|
%{?commit:%global shortcommit %(c=%{commit}; echo ${c:0:7})}
|
|
|
|
%{?commit:%global commitdate 20200828}
|
|
|
|
%{?commit:%global scmsnap %{commitdate}git%{shortcommit}}
|
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
%global enable_mod_dummies 1
|
|
|
|
%global enable_mod_block_blkid 1
|
|
|
|
%global enable_mod_block_dm_mpath 1
|
|
|
|
%global enable_mod_type_dm 1
|
|
|
|
%global enable_mod_type_dm__lvm 1
|
2020-10-06 19:47:45 +00:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
Name: sid
|
2021-01-29 10:46:08 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
Epoch: %{rhel}
|
|
|
|
%endif
|
2024-02-09 14:56:34 +00:00
|
|
|
Version: 0.0.6
|
|
|
|
Release: 1%{?scmsnap:.%{scmsnap}}%{?dist}
|
2020-10-06 19:47:45 +00:00
|
|
|
Summary: Storage Instantiation Daemon (SID)
|
|
|
|
|
2023-01-03 12:45:36 +00:00
|
|
|
License: GPL-2.0-or-later
|
2020-10-06 19:47:45 +00:00
|
|
|
URL: http://sid-project.github.io
|
|
|
|
%if %{defined commit}
|
|
|
|
Source0: https://github.com/sid-project/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
|
|
|
%else
|
|
|
|
Source0: https://github.com/sid-project/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2021-04-06 12:06:45 +00:00
|
|
|
BuildRequires: gperf
|
|
|
|
BuildRequires: libtool
|
2024-02-09 14:56:34 +00:00
|
|
|
BuildRequires: multilib-rpm-config
|
|
|
|
BuildRequires: gcc
|
2020-10-06 19:47:45 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
BuildRequires: systemd-devel >= 221
|
|
|
|
BuildRequires: libudev-devel >= 174
|
|
|
|
BuildRequires: libuuid-devel
|
2024-02-09 14:56:34 +00:00
|
|
|
%if %{enable_mod_block_blkid}
|
2020-10-06 19:47:45 +00:00
|
|
|
BuildRequires: libblkid-devel
|
2024-02-09 14:56:34 +00:00
|
|
|
%endif
|
|
|
|
%if %{enable_mod_block_dm_mpath}
|
2020-10-06 19:47:45 +00:00
|
|
|
BuildRequires: device-mapper-multipath-devel >= 0.8.4-7
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Requires: systemd
|
|
|
|
Requires: systemd-udev
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-tools = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Storage Instantiation Daemon (SID) aims to help with Linux storage
|
|
|
|
device state tracking that encompasses device layers, groups and whole
|
|
|
|
stacks by monitoring progression of events. Based on monitored states
|
|
|
|
and further recorded information, it is able to trigger associated
|
|
|
|
actions for well-defined triggers, including activation and deactivation
|
|
|
|
of devices and their layers in the stack.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%if %{defined commit}
|
|
|
|
%autosetup -p1 -n sid-%{commit}
|
|
|
|
%else
|
|
|
|
%autosetup -p1 -n sid-%{version}
|
|
|
|
%endif
|
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
%if %{enable_mod_block_blkid}
|
|
|
|
%global configure_mod_block_blkid --enable-mod-block-blkid
|
|
|
|
%else
|
|
|
|
%global configure_mod_block_dm_mpath --disable-mod-block-blkid
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{enable_mod_block_dm_mpath}
|
|
|
|
%global configure_mod_block_dm_mpath --enable-mod-block-dm_mpath
|
|
|
|
%else
|
|
|
|
%global configure_mod_block_dm_mpath --disable-mod-block-dm_mpath
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{enable_mod_type_dm}
|
|
|
|
%global configure_mod_type_dm --enable-mod-type-dm
|
|
|
|
%else
|
|
|
|
%global configure_mod_type_dm --disable-mod-type-dm
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{enable_mod_type_dm__lvm}
|
|
|
|
%global configure_mod_type_dm__lvm --enable-mod-type-dm-lvm
|
|
|
|
%else
|
|
|
|
%global configure_mod_type_dm__lvm --disable-mod-type-dm-lvm
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{enable_mod_dummies}
|
|
|
|
%global configure_mod_dummies --enable-mod-block-dummy --enable-mod-type-dummy
|
|
|
|
%else
|
|
|
|
%global configure_mod_dummies --disable-mod-block-dummy --disable-mod-type-dummy
|
2020-10-06 19:47:45 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
2024-02-09 14:56:34 +00:00
|
|
|
autoreconf -ivf
|
|
|
|
%configure %{?configure_mod_block_blkid} %{?configure_mod_block_dm_mpath} %{?configure_mod_type_dm} %{?configure_mod_type_dm__lvm} %{?configure_mod_dummies}
|
|
|
|
|
2020-10-06 19:47:45 +00:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
2024-02-09 14:56:34 +00:00
|
|
|
make DESTDIR=%{buildroot} install
|
2020-10-06 19:47:45 +00:00
|
|
|
rm -f %{buildroot}/%{_libdir}/sid/*.{a,la}
|
|
|
|
rm -f %{buildroot}/%{_libdir}/sid/modules/ucmd/block/*.{a,la}
|
|
|
|
rm -f %{buildroot}/%{_libdir}/sid/modules/ucmd/type/*.{a,la}
|
2024-02-09 14:56:34 +00:00
|
|
|
rm -f %{buildroot}/%{_libdir}/sid/modules/ucmd/type/dm/*.{a,la}
|
2020-10-06 19:47:45 +00:00
|
|
|
|
|
|
|
%files
|
2024-02-09 14:56:34 +00:00
|
|
|
%license COPYING BSD_LICENSE
|
2020-10-06 19:47:45 +00:00
|
|
|
%{_sbindir}/sid
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/sid.sysconfig
|
|
|
|
%{_udevrulesdir}/00-sid.rules
|
|
|
|
%{_unitdir}/sid.socket
|
|
|
|
%{_unitdir}/sid.service
|
|
|
|
%{_mandir}/man8/sid.8.gz
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post sid.socket sid.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun sid.service sid.socket
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun sid.service sid.socket
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-BASE-LIBS
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package base-libs
|
|
|
|
Summary: Libraries for Storage Instantiation Daemon (SID) base
|
2024-02-09 14:56:34 +00:00
|
|
|
License: GPL-2.0-or-later AND BSD-3-Clause
|
2020-10-06 19:47:45 +00:00
|
|
|
%description base-libs
|
|
|
|
This package contains shared libraries with low-level functionality needed for
|
|
|
|
Storage Instantiation Daemon (SID), its modules and related tools. Currently,
|
2024-02-09 14:56:34 +00:00
|
|
|
it contains basic support for buffering, IPC, base64 encoding and other helper
|
|
|
|
functions.
|
2020-10-06 19:47:45 +00:00
|
|
|
|
|
|
|
%files base-libs
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidbase.so.*
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-BASE-LIBS-DEVEL
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package base-libs-devel
|
|
|
|
Summary: Development files for Storage Instantiation Daemon (SID) base
|
2024-02-09 14:56:34 +00:00
|
|
|
License: GPL-2.0-or-later AND BSD-3-Clause
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-base-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
%description base-libs-devel
|
|
|
|
This package contains development files for Storage Instantiation Daemon (SID)
|
|
|
|
base libraries.
|
|
|
|
|
|
|
|
%files base-libs-devel
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidbase.so
|
|
|
|
%dir %{_includedir}/sid
|
|
|
|
%dir %{_includedir}/sid/base
|
2024-02-09 14:56:34 +00:00
|
|
|
%{_includedir}/sid/base/binary.h
|
2020-10-06 19:47:45 +00:00
|
|
|
%{_includedir}/sid/base/buffer-common.h
|
2024-02-09 14:56:34 +00:00
|
|
|
%{_includedir}/sid/base/buffer-type.h
|
2020-10-06 19:47:45 +00:00
|
|
|
%{_includedir}/sid/base/buffer.h
|
|
|
|
%{_includedir}/sid/base/comms.h
|
|
|
|
%{_includedir}/sid/base/util.h
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
##############################################################################
|
|
|
|
# SID-INTERNAL-LIBS
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package internal-libs
|
|
|
|
Summary: Development files for Storage Instantiation Daemon (SID) internal
|
|
|
|
License: GPL-2.0-or-later AND BSD-3-Clause
|
|
|
|
Requires: %{name}-base-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
|
|
|
%description internal-libs
|
|
|
|
This package contains shared libraries with low-level functionality needed for
|
|
|
|
Storage Instantiation Daemon (SID) and its modules. Currently, it contains
|
|
|
|
basic support for bitmaps, hashing, lists, memory handling and other helper
|
|
|
|
functions.
|
|
|
|
|
|
|
|
%files internal-libs
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidinternal.so.*
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-INTERNAL-LIBS-DEVEL
|
|
|
|
##############################################################################
|
|
|
|
%package internal-libs-devel
|
|
|
|
Summary: Development files for Storage Instantiation Daemon (SID) internal
|
|
|
|
License: GPL-2.0-or-later AND BSD-3-Clause
|
|
|
|
%description internal-libs-devel
|
|
|
|
This package contains development files for Storage Instantiation Daemon (SID)
|
|
|
|
internal libraries.
|
|
|
|
|
|
|
|
%files internal-libs-devel
|
|
|
|
%dir %{_includedir}/sid/internal
|
|
|
|
%{_includedir}/sid/internal/bitmap.h
|
|
|
|
%{_includedir}/sid/internal/bptree.h
|
|
|
|
%{_includedir}/sid/internal/common.h
|
|
|
|
%{_includedir}/sid/internal/comp-attrs.h
|
|
|
|
%{_includedir}/sid/internal/formatter.h
|
|
|
|
%{_includedir}/sid/internal/hash.h
|
|
|
|
%{_includedir}/sid/internal/list.h
|
|
|
|
%{_includedir}/sid/internal/mem.h
|
|
|
|
%{_includedir}/sid/internal/util.h
|
|
|
|
%{_libdir}/sid/libsidinternal.so
|
|
|
|
|
|
|
|
|
2020-10-06 19:47:45 +00:00
|
|
|
##############################################################################
|
|
|
|
# SID-LOG-LIBS
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package log-libs
|
|
|
|
Summary: Libraries for Storage Instantiation Daemon (SID) logging
|
2023-01-03 12:45:36 +00:00
|
|
|
License: GPL-2.0-or-later
|
2020-10-06 19:47:45 +00:00
|
|
|
%description log-libs
|
|
|
|
This package contains shared libraries with logging support needed for Storage
|
|
|
|
Instantiation daemon (SID), its modules and related tools.
|
|
|
|
|
|
|
|
%files log-libs
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidlog.so.*
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-LOG-LIBS-DEVEL
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package log-libs-devel
|
|
|
|
Summary: Development files for Storage Instantiation Daemon (SID) logging
|
2023-01-03 12:45:36 +00:00
|
|
|
License: GPL-2.0-or-later
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-log-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
%description log-libs-devel
|
|
|
|
This package contains development files for Storage Instantiation Daemon (SID)
|
|
|
|
logging libraries.
|
|
|
|
|
|
|
|
%files log-libs-devel
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidlog.so
|
|
|
|
%dir %{_includedir}/sid
|
|
|
|
%dir %{_includedir}/sid/log
|
|
|
|
%{_includedir}/sid/log/log.h
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-IFACE-LIBS
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package iface-libs
|
|
|
|
Summary: Libraries for Storage Instantiation Daemon (SID) interfaces
|
2023-01-03 12:45:36 +00:00
|
|
|
License: GPL-2.0-or-later
|
2024-02-09 14:56:34 +00:00
|
|
|
Requires: %{name}-internal-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-log-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
%description iface-libs
|
|
|
|
This package contains shared libraries to support interfaces used in Storage
|
|
|
|
Instantiation Daemon (SID), its modules and related tools.
|
|
|
|
|
|
|
|
%files iface-libs
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidiface_servicelink.so.*
|
2024-02-09 14:56:34 +00:00
|
|
|
%{_libdir}/sid/libsidiface.so.*
|
2020-10-06 19:47:45 +00:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-IFACE-LIBS-DEVEL
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package iface-libs-devel
|
|
|
|
Summary: Development files for Storage Instantiation Daemon (SID) interfaces
|
2023-01-03 12:45:36 +00:00
|
|
|
License: GPL-2.0-or-later
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-iface-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
%description iface-libs-devel
|
|
|
|
This package contains development files for Storage Instantiation Daemon (SID)
|
|
|
|
interface libraries.
|
|
|
|
|
|
|
|
%files iface-libs-devel
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidiface_servicelink.so
|
2024-02-09 14:56:34 +00:00
|
|
|
%{_libdir}/sid/libsidiface.so
|
2020-10-06 19:47:45 +00:00
|
|
|
%dir %{_includedir}/sid
|
|
|
|
%dir %{_includedir}/sid/iface
|
|
|
|
%{_includedir}/sid/iface/service-link.h
|
2024-02-09 14:56:34 +00:00
|
|
|
%{_includedir}/sid/iface/iface.h
|
|
|
|
%{_includedir}/sid/iface/iface_internal.h
|
2020-10-06 19:47:45 +00:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-RESOURCE-LIBS
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package resource-libs
|
|
|
|
Summary: Libraries for Storage Instantiation Daemon (SID) resources
|
2023-01-03 12:45:36 +00:00
|
|
|
License: GPL-2.0-or-later
|
2024-02-09 14:56:34 +00:00
|
|
|
Requires: %{name}-internal-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-iface-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
# Systemd supports event loop since v221
|
|
|
|
Requires: systemd-libs >= 221
|
|
|
|
%description resource-libs
|
|
|
|
This package contains shared libraries to support high-level resources that
|
|
|
|
represent hierarchical units of reusable code used in Storage Instantiation
|
|
|
|
Daemon (SID), its modules and related tools. Currently, it contains support
|
|
|
|
for aggregation, key-value store, module loading and registry, worker process
|
|
|
|
control, bridging SID core and udev and creating an instance of SID as a whole.
|
|
|
|
|
|
|
|
%files resource-libs
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidresource.so.*
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-RESOURCE-LIBS-DEVEL
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package resource-libs-devel
|
|
|
|
Summary: Development files for Storage Instantiation Daemon (SID) resources
|
2023-01-03 12:45:36 +00:00
|
|
|
License: GPL-2.0-or-later
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
%description resource-libs-devel
|
|
|
|
This package contains development files for Storage Instantiation Daemon (SID)
|
|
|
|
resource libraries.
|
|
|
|
|
|
|
|
%files resource-libs-devel
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%{_libdir}/sid/libsidresource.so
|
|
|
|
%dir %{_includedir}/sid
|
|
|
|
%dir %{_includedir}/sid/resource
|
|
|
|
%{_includedir}/sid/resource/kv-store.h
|
|
|
|
%{_includedir}/sid/resource/module-registry.h
|
|
|
|
%{_includedir}/sid/resource/module.h
|
|
|
|
%{_includedir}/sid/resource/resource-type-regs.h
|
|
|
|
%{_includedir}/sid/resource/resource.h
|
|
|
|
%{_includedir}/sid/resource/ucmd-module.h
|
2024-02-09 14:56:34 +00:00
|
|
|
%{_includedir}/sid/resource/ubridge.h
|
2020-10-06 19:47:45 +00:00
|
|
|
%{_includedir}/sid/resource/worker-control.h
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-TOOLS
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: Storage Instantiation Daemon (SID) supporting tools
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-iface-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
Requires: systemd-udev
|
|
|
|
%description tools
|
|
|
|
This package contains tools to support Storage Instantiation Daemon (SID).
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
2021-04-06 12:06:45 +00:00
|
|
|
%{_sbindir}/sidctl
|
2020-10-06 19:47:45 +00:00
|
|
|
%{_udevrulesdir}/../usid
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-MOD-DUMMIES
|
|
|
|
##############################################################################
|
2024-02-09 14:56:34 +00:00
|
|
|
|
|
|
|
%if %{enable_mod_dummies}
|
|
|
|
|
2020-10-06 19:47:45 +00:00
|
|
|
%package mod-dummies
|
|
|
|
Summary: Dummy block and type module for Storage Instantiation Daemon (SID)
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
%description mod-dummies
|
|
|
|
This package contains dummy block and type modules for Storage Instantiation
|
|
|
|
Daemon (SID). Their only purpose is to test SID module functionality and hook
|
|
|
|
execution.
|
|
|
|
|
|
|
|
%files mod-dummies
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%dir %{_libdir}/sid/modules/
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd/block
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd/type
|
|
|
|
%{_libdir}/sid/modules/ucmd/block/dummy_block.so
|
|
|
|
%{_libdir}/sid/modules/ucmd/type/dummy_type.so
|
|
|
|
%doc README.md
|
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
%endif
|
|
|
|
|
2020-10-06 19:47:45 +00:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-MOD-BLOCK-BLKID
|
|
|
|
##############################################################################
|
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
%if %{enable_mod_block_blkid}
|
|
|
|
|
2020-10-06 19:47:45 +00:00
|
|
|
%package mod-block-blkid
|
|
|
|
Summary: Blkid block module for Storage Instantiation Daemon (SID)
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
%description mod-block-blkid
|
|
|
|
This package contains blkid block module for Storage Instantiation Daemon (SID).
|
|
|
|
|
|
|
|
%files mod-block-blkid
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%dir %{_libdir}/sid/modules
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd/block
|
|
|
|
%{_libdir}/sid/modules/ucmd/block/blkid.so
|
|
|
|
%doc README.md
|
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
%endif
|
|
|
|
|
2020-10-06 19:47:45 +00:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-MOD-BLOCK-DM_MPATH
|
|
|
|
##############################################################################
|
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
%if %{enable_mod_block_dm_mpath}
|
2020-10-06 19:47:45 +00:00
|
|
|
|
|
|
|
%package mod-block-dm-mpath
|
|
|
|
Summary: Device-mapper multipath block module for Storage Instantiation Daemon (SID)
|
2021-01-29 10:46:08 +00:00
|
|
|
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
2020-10-06 19:47:45 +00:00
|
|
|
Requires: device-mapper-multipath-libs >= 0.8.4-7
|
|
|
|
%description mod-block-dm-mpath
|
|
|
|
This package contains device-mapper multipath block module for Storage
|
|
|
|
Instantiation Daemon (SID).
|
|
|
|
|
|
|
|
%files mod-block-dm-mpath
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%dir %{_libdir}/sid/modules
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd/block
|
|
|
|
%{_libdir}/sid/modules/ucmd/block/dm_mpath.so
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2021-04-06 12:06:45 +00:00
|
|
|
##############################################################################
|
|
|
|
# SID-MOD-TYPE-DM
|
|
|
|
##############################################################################
|
2021-01-29 10:46:08 +00:00
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
%if %{enable_mod_type_dm}
|
|
|
|
|
2021-04-06 12:06:45 +00:00
|
|
|
%package mod-type-dm
|
|
|
|
Summary: Device-mapper type module for Storage Instantiation Daemon (SID)
|
|
|
|
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
|
|
|
%description mod-type-dm
|
|
|
|
This package contains device-mapper type module for Storage Instantiation
|
|
|
|
Daemon (SID).
|
|
|
|
|
|
|
|
%files mod-type-dm
|
|
|
|
%dir %{_libdir}/sid
|
|
|
|
%dir %{_libdir}/sid/modules
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd/type
|
|
|
|
%dir %{_libdir}/sid/modules/ucmd/type/dm
|
|
|
|
%{_libdir}/sid/modules/ucmd/type/dm.so
|
|
|
|
%doc README.md
|
|
|
|
|
2024-02-09 14:56:34 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# SID-MOD-TYPE-DM-LVM
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%if %{enable_mod_type_dm__lvm}
|
|
|
|
|
|
|
|
%package mod-type-dm-lvm
|
|
|
|
Summary: LVM type module for Storage Instantiation Daemon (SID)
|
|
|
|
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-mod-type-dm%{?_isa} = %{?epoch}:%{version}-%{release}
|
|
|
|
%description mod-type-dm-lvm
|
|
|
|
This package contains LVM type module for Storage Instantiation
|
|
|
|
Daemon (SID).
|
|
|
|
|
|
|
|
%files mod-type-dm-lvm
|
|
|
|
%{_libdir}/sid/modules/ucmd/type/dm/lvm.so
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2021-04-06 12:06:45 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-02-09 14:56:34 +00:00
|
|
|
* Fri Feb 9 2024 Peter Rajnoha <prajnoha@redhat.com> - 0.0.6-1
|
|
|
|
- Update to latest upstream release.
|
|
|
|
|
2024-01-27 03:02:15 +00:00
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-22 01:37:37 +00:00
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-21 03:12:52 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2023-01-03 12:45:36 +00:00
|
|
|
* Tue Jan 03 2023 Peter Rajnoha <prajnoha@redhat.com> - 0.0.5-6
|
|
|
|
- Use SPDX values for License fields in RPM spec file.
|
|
|
|
|
2022-07-23 08:34:05 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-22 00:51:50 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 17:32:13 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-14 14:46:02 +00:00
|
|
|
* Fri May 14 2021 Timm Bäder <tbaeder@redhat.com> - 0.0.5-2
|
|
|
|
- Use make_install macro
|
|
|
|
|
2021-04-06 12:06:45 +00:00
|
|
|
* Tue Apr 06 2021 Peter Rajnoha <prajnoha@redhat.com> - 0.0.5-1
|
|
|
|
- Update to latest upstream release.
|
2021-01-29 09:39:59 +00:00
|
|
|
|
2021-01-27 20:22:03 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-10-06 19:47:45 +00:00
|
|
|
* Tue Oct 06 2020 Peter Rajnoha <prajnoha@redhat.com> - 0.0.4-1
|
|
|
|
- Initial release.
|