]>
Commit | Line | Data |
---|---|---|
23d76f1c | 1 | Summary: Device-mapper RAID tool and library |
2 | Name: dmraid | |
3 | Version: 1.0.0 | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: Base | |
7 | Source0: http://people.redhat.com/~heinzm/sw/dmraid/src/%{name}-%{version}-rc4.tar.bz2 | |
8 | # Source0-md5: 96ab9ad2891045a28688f84c5329cedc | |
9 | URL: http://people.redhat.com/~heinzm/sw/dmraid/ | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: device-mapper-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | DMRAID supports device discovery, set activation and display of | |
16 | properties for ATARAID on Linux >= 2.4 using device-mapper. | |
17 | ||
18 | %prep | |
19 | %setup -q -n %{name} | |
20 | mv */* ./ | |
21 | ||
22 | %build | |
23 | ||
24 | %{__gettextize} | |
25 | %{__aclocal} | |
26 | %{__autoconf} | |
27 | ||
28 | %configure | |
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | install -D tools/dmraid $RPM_BUILD_ROOT%{_sbindir}/dmraid | |
35 | install -D man/dmraid.8 $RPM_BUILD_ROOT%{_mandir}/man8/dmraid.8 | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc README TODO doc/dmraid_design.txt | |
43 | %attr(755,root,root) %{_sbindir}/* | |
44 | %attr(644,root,root) %{_mandir}/man8/* |