summaryrefslogtreecommitdiff
path: root/multipath-tools.spec.in
blob: 3caede6be732556be9f6c5155871537f41ddbd1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%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}/sbin/mpath_prio_alua
%{prefix}/sbin/mpath_prio_emc
%{prefix}/sbin/mpath_prio_random
%{prefix}/sbin/mpath_prio_balance_units
%{prefix}/sbin/mpath_prio_netapp
%{prefix}/sbin/mpath_prio_rdac
%{prefix}/sbin/mpath_prio_hds_modular
%{prefix}/usr/share/man/man8/devmap_name.8.gz
%{prefix}/usr/share/man/man8/multipath.8.gz
%{prefix}/usr/share/man/man8/kpartx.8.gz
%{prefix}/usr/share/man/man8/mpath_prio_alua.8.gz
%{prefix}/usr/share/man/man8/multipathd.8.gz
%{prefix}/sbin/multipathd
%{prefix}/etc/udev/rules.d/multipath.rules


%changelog
* Sat May 14 2004 Christophe Varoqui
- Initial build.