Name: multipath-tools URL: http://christophe.varoqui.free.fr/multipath-tools/ License: GPL Group: System/Kernel and hardware Version: 0.4.2.7 Release: 3mdk Summary: Tools to manage multipathed devices with the device-mapper Source: http://christophe.varoqui.free.fr/multipath-tools/%name-%version.tar.bz2 Source1: multipathd.init.bz2 Patch0: multipath-tools-0.4.2.7-fix-build.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: dmsetup BuildRequires: libdevmapper-devel Requires(preun): rpm-helper Requires(post): rpm-helper %description This package 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 - devmap-name: provides a meaningful device name to udev for devmaps - kpartx: maps linear devmaps upon device partitions, which makes multipath maps partionable %prep %setup -q %patch0 -p0 %build # parallel build support is broken: make BUILD="glibc" %install rm -fR $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -rf $RPM_BUILD_ROOT/etc/hotplug.d mkdir -p $RPM_BUILD_ROOT/etc/init.d bzip2 -dc %{SOURCE1} > $RPM_BUILD_ROOT/etc/init.d/multipathd %clean rm -rf $RPM_BUILD_ROOT %preun %_preun_service multipathd %post %_post_service multipathd %files %defattr(-,root,root,755) %doc AUTHOR COPYING README ChangeLog %config(noreplace) /etc/init.d/multipathd %config(noreplace) /etc/dev.d/block/multipath.dev %config(noreplace) /etc/udev/rules.d/multipath.rules /sbin/devmap_name /sbin/kpartx /sbin/multipath /sbin/pp_balance_units %_mandir/man8/* %_bindir/multipathd %changelog * Tue Jun 28 2005 Pascal Terjan <pterjan@mandriva.org> 0.4.2.7-3mdk - BuildRequires libdevmapper-devel - PreReq -> Requires(post) * Sat Mar 05 2005 Luca Berra <bluca@vodka.it> 0.4.2.7-2mdk - rebuild for new libdevmapper - use a mandrakelinux initscript - specfile cleanup * Thu Jan 20 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.4.2.7-1mdk - new release - automatically updatable - patch 0: fix build * Thu Dec 23 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.4.2.0-1mdk - new release * Thu Nov 25 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.3.8-1mdk - new release * Fri Nov 05 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.3.6-1mdk - initial releaee