summaryrefslogtreecommitdiff
path: root/multipath-tools.spec.in
diff options
context:
space:
mode:
authorChristophe Varoqui <cvaroqui@hera.kernel.org>2005-05-01 15:05:22 -0700
committerChristophe Varoqui <cvaroqui@hera.kernel.org>2005-05-01 15:05:22 -0700
commite1233f6e33c6034e8718b396c59cdf5040ac1122 (patch)
tree42bd8e6e6d5ed3d493d0bae936a1df02944c12de /multipath-tools.spec.in
downloadmultipath-tools-e1233f6e33c6034e8718b396c59cdf5040ac1122.tar.gz
multipath-tools-e1233f6e33c6034e8718b396c59cdf5040ac1122.tar.bz2
multipath-tools-e1233f6e33c6034e8718b396c59cdf5040ac1122.zip
Initial git import.
Release 0.4.5-pre2
Diffstat (limited to 'multipath-tools.spec.in')
-rw-r--r--multipath-tools.spec.in56
1 files changed, 56 insertions, 0 deletions
diff --git a/multipath-tools.spec.in b/multipath-tools.spec.in
new file mode 100644
index 0000000..092091e
--- /dev/null
+++ b/multipath-tools.spec.in
@@ -0,0 +1,56 @@
+%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 <christophe.varoqui@free.fr>
+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
+* devmap-name : provides a meaningful device name to udev for devmaps
+* 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/devmap_name
+%{prefix}/sbin/multipath
+%{prefix}/sbin/kpartx
+%{prefix}/usr/share/man/man8/devmap_name.8.gz
+%{prefix}/usr/share/man/man8/multipath.8.gz
+%{prefix}/usr/bin/multipathd
+%{prefix}/etc/hotplug.d/scsi/multipath.hotplug
+%{prefix}/etc/init.d/multipathd
+
+
+%changelog
+* Sat May 14 2004 Christophe Varoqui
+- Initial build.