1 Summary: Tools to manage multipath devices using device-mapper
7 URL: http://christophe.varoqui.free.fr/
8 Source0: http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-%{version}.tar.bz2
10 Requires: device-mapper >= 1.02.02-2
11 BuildRequires: device-mapper-devel
12 BuildRequires: readline-devel, ncurses-devel
13 BuildRequires: readline-devel
14 BuildRequires: ncurses-devel
15 Obsoletes: device-mapper-multipath
18 %{name} provides tools to manage multipath devices by
19 instructing the device-mapper multipath kernel module what to do.
21 * multipath : Scan the system for multipath devices and assemble them.
22 * multipathd : Detects when paths fail and execs multipath to update things.
25 %setup -q -c -n multipath-tools-%{version}
33 rm -rf $RPM_BUILD_ROOT
35 make install DESTDIR=$RPM_BUILD_ROOT bindir=/sbin
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(-,root,root,-)
43 %{_libdir}/udev/rules.d/kpartx.rules
44 /%{_lib}/udev/kpartx_id
45 %{_mandir}/man8/kpartx.8.gz