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