Bump to multipath-tools 0.8.8 23/269423/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix sandbox/backup/multipath-tools_0.8.8_20230113 sandbox/dh0128.kwak/multipath-tools-0.8.8-20220114 tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062939 accepted/tizen/7.0/unified/hotfix/20221116.111147 accepted/tizen/unified/20220117.235239 submit/tizen/20220117.050309 tizen_7.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 14 Jan 2022 05:12:33 +0000 (14:12 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 14 Jan 2022 05:12:50 +0000 (14:12 +0900)
Change-Id: If2f8840e38145eeff5cb7aebe9240634cd2a750a

packaging/multipath-tools.manifest [new file with mode: 0644]
packaging/multipath-tools.spec [new file with mode: 0644]

diff --git a/packaging/multipath-tools.manifest b/packaging/multipath-tools.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/multipath-tools.spec b/packaging/multipath-tools.spec
new file mode 100644 (file)
index 0000000..f52abd2
--- /dev/null
@@ -0,0 +1,76 @@
+Name:           multipath-tools
+Url:            http://christophe.varoqui.free.fr/
+Version:        0.8.8
+Release:        0
+Summary:        Tools to Manage Multipathed Devices with the device-mapper
+License:        GPL-2.0+ and LGPL-2.1+
+Group:          System/Base
+Source:         multipath-tools-%{version}.tar.bz2
+Source1001:    multipath-tools.manifest
+
+BuildRequires:  device-mapper-devel
+BuildRequires:  libaio-devel
+BuildRequires:  readline-devel
+
+Requires:       device-mapper
+Requires:       kpartx
+Requires(pre):  coreutils grep
+
+%description
+This package provides the tools to manage multipathed devices by
+instructing the device-mapper multipath module what to do. The tools
+are:
+
+- multipath: scans the system for multipathed devices, assembles
+   them, and updates the device-mapper's maps
+
+- multipathd: waits for maps events then execs multipath
+
+- devmap-name: provides a meaningful device name to udev for devmaps
+
+- kpartx: maps linear devmaps to device partitions, which makes
+multipath maps partionable
+
+
+
+%package -n kpartx
+Summary:        Manages partition tables on device-mapper devices
+Group:          System/Base
+Requires:       device-mapper
+
+%description -n kpartx
+The kpartx program maps linear devmaps to device partitions, which
+makes multipath maps partionable.
+
+Authors:
+--------
+    Christophe Varoqui <christophe.varoqui@free.fr>
+
+%prep
+%setup -q -n multipath-tools-%{version}
+cp %{SOURCE1001} .
+%build
+cd kpartx
+make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%_libdir
+
+%install
+pushd kpartx
+make DESTDIR=$RPM_BUILD_ROOT LIB=%_libdir install
+popd
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT;
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+
+%files -n kpartx
+%manifest %{name}.manifest
+%license COPYING
+%config /usr/lib/udev/rules.d/*.rules
+/sbin/kpartx
+%dir /usr/lib/udev
+/usr/lib/udev/kpartx_id
+%{_mandir}/man8/kpartx.8*