summaryrefslogtreecommitdiff
path: root/multipath-tools.spec.in
blob: 389c07c5c7f01289fe3fea48f004e2d5ec631506 (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
%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
* 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.