%define _rpmdir rpms %define _builddir . Summary: Tools to manage multipathed devices with the device-mapper. Name: multipath-tools Version: __VERSION__ Release: 1 License: GPL Group: Utilities/System URL: http://christophe.varoqui.free.fr Source: /dev/null BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Packager: Christophe Varoqui Prefix: / Vendor: Starving Linux Artists (tm Brian O'Sullivan) ExclusiveOS: linux %description %{name} provides the tools to manage multipathed devices by instructing the device-mapper multipath module what to do. The tools are : * multipath : scan the system for multipathed devices, assembles them and update the device-mapper's maps * multipathd : wait for maps events, then execs multipath * kpartx : maps linear devmaps upon device partitions, which makes multipath maps partionable %prep mkdir -p %{buildroot} %{_rpmdir} %build make %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{prefix}/sbin/multipath %{prefix}/sbin/kpartx %{prefix}/usr/share/man/man8/multipath.8.gz %{prefix}/usr/share/man/man8/kpartx.8.gz %{prefix}/usr/share/man/man8/multipathd.8.gz %{prefix}/usr/share/man/man5/multipath.conf.5.gz %{prefix}/sbin/multipathd %{prefix}/etc/udev/rules.d/multipath.rules %{prefix}/etc/udev/rules.d/kpartx.rules %{prefix}/lib/udev/kpartx_id %{prefix}/lib/multipath/*.so %changelog * Sat May 14 2004 Christophe Varoqui - Initial build.