summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@fedoraproject.org>2005-03-01 22:57:20 +0000
committerAlasdair Kergon <agk@fedoraproject.org>2005-03-01 22:57:20 +0000
commit262563228ec77e92e6fcfee9c26b3221b2617d7f (patch)
tree91dbe8dc4cec8b0f5410e789c91f4cbfe5e593dc
parentafc0718bd0073c922cb866e25a1af0d49c5d93b2 (diff)
downloaddevice-mapper-multipath-262563228ec77e92e6fcfee9c26b3221b2617d7f.tar.gz
device-mapper-multipath-262563228ec77e92e6fcfee9c26b3221b2617d7f.tar.xz
device-mapper-multipath-262563228ec77e92e6fcfee9c26b3221b2617d7f.zip
auto-import device-mapper-multipath-0.4.2-1.0 on branch devel fromRHEL-4-split
device-mapper-multipath-0.4.2-1.0.src.rpm
-rw-r--r--.cvsignore1
-rw-r--r--device-mapper-multipath.spec61
-rw-r--r--sources1
3 files changed, 63 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index e69de29..d551b65 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+multipath-tools-0.4.2.tar.bz2
diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec
new file mode 100644
index 0000000..f2f124b
--- /dev/null
+++ b/device-mapper-multipath.spec
@@ -0,0 +1,61 @@
+Summary: Tools to manage multipath devices using device-mapper.
+Name: device-mapper-multipath
+Version: 0.4.2
+Release: 1.0
+License: GPL
+Group: System Environment/Base
+URL: http://christophe.varoqui.free.fr/
+Source0: multipath-tools-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+#BuildRequires: device-mapper >= 1.01
+#BuildRequires: libselinux-devel
+#BuildRequires: dlm
+#Requires: lvm2 >= 2.01
+#ExcludeArch: s390 s390x ppc
+#%define _exec_prefix /usr
+
+%description
+%{name} provides tools to manage multipath devices by instructing the
+device-mapper multipath kernel module what to do.
+The tools are :
+* multipath : Scan the system for multipath devices and assemble them.
+* multipathd : Detects when paths fail and execs multipath to update things.
+* kpartx : Makes multipath devices partitionable.
+
+%prep
+%setup -q -n multipath-tools-%{version}
+
+%build
+#%configure --with-clvmd=all --with-cluster=shared --with-user= --with-group=
+make DESTDIR=$RPM_BUILD_ROOT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+#mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
+#install scripts/clvmd_init_rhel4 $RPM_BUILD_ROOT/etc/rc.d/init.d/clvmd
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+#%post
+#/sbin/chkconfig --add clvmd
+
+#%preun
+#if [ "$1" = 0 ]; then
+# /sbin/chkconfig --del clvmd
+#fi
+
+%files
+%defattr(-,root,root,-)
+/sbin/multipath
+/sbin/kpartx
+/sbin/multipathd
+%{_mandir}/man8/multipath.8.gz
+%config /etc/hotplug.d/scsi/multipath.hotplug
+%config /etc/rc.d/init.d/multipathd
+
+%changelog
+* Tue Mar 01 2005 Alasdair Kergon <agk@redhat.com> - 0.4.2-1.0
+- Initial import based on Christophe Varoqui's spec file.
diff --git a/sources b/sources
index e69de29..0a13d9d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+48a1174ed4a6afb30f80764a5e67285a multipath-tools-0.4.2.tar.bz2