]> git.ipfire.org Git - thirdparty/mdadm.git/blob - mdctl.spec
e1f6eeccbd0ed991f0934e1d9dae874d8009ec3a
[thirdparty/mdadm.git] / mdctl.spec
1 Summary: mdadm is used for controlling Linux md devices (aka RAID arrays)
2 Name: mdadm
3 Version: 0.5
4 Release: 1
5 Source0: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
6 URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
7 Copyright: GPL
8 Group: Utilities/System
9 BuildRoot: /var/tmp/%{name}-root
10 Packager: Danilo Godec <danci@agenda.si>
11
12 %description
13 mdadm 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 mdadm 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 mdadm
29
30 %build
31 make
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 mkdir -p $RPM_BUILD_ROOT/sbin
36 install -m755 mdadm $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