]>
Commit | Line | Data |
---|---|---|
52826846 NB |
1 | Summary: mdctl is used for controlling Linux md devices (aka RAID arrays) |
2 | Name: mdctl | |
3 | Version: 0.5 | |
4 | Release: 1 | |
5 | Source0: http://www.cse.unsw.edu.au/~neilb/source/mdctl/mdctl-%{version}.tgz | |
6 | URL: http://www.cse.unsw.edu.au/~neilb/source/mdctl/ | |
7 | Copyright: GPL | |
8 | Group: Utilities/System | |
9 | BuildRoot: /var/tmp/%{name}-root | |
10 | Packager: Danilo Godec <danci@agenda.si> | |
11 | ||
12 | %description | |
13 | mdctl is a single program that can be used to control Linux md devices. It | |
14 | is intended to provide all the functionality of the mdtools and raidtools | |
15 | but with a very different interface. | |
16 | ||
17 | mdctl can perform all functions without a configuration file. There is the | |
18 | option of using a configuration file, but not in the same way that raidtools | |
19 | uses one. | |
20 | ||
21 | raidtools uses a configuration file to describe how to create a RAID array, | |
22 | and also uses this file partially to start a previously created RAID array. | |
23 | Further, raidtools requires the configuration file for such things as | |
24 | stopping a raid array, which needs to know nothing about the array. | |
25 | ||
26 | ||
27 | %prep | |
28 | %setup -q -n mdctl | |
29 | ||
30 | %build | |
31 | make | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | mkdir -p $RPM_BUILD_ROOT/sbin | |
36 | install -m755 mdctl $RPM_BUILD_ROOT/sbin/ | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %doc TODO testconfig testconfig2 | |
43 | /sbin/* | |
44 | ||
45 | %changelog | |
46 | * Tue Aug 07 2001 Danilo Godec <danci@agenda.si> | |
47 | - initial RPM build |