]> git.ipfire.org Git - thirdparty/mdadm.git/blame - mdadm.spec
mdadm-0.8.1
[thirdparty/mdadm.git] / mdadm.spec
CommitLineData
11a3e71d
NB
1Summary: mdadm is used for controlling Linux md devices (aka RAID arrays)
2Name: mdadm
c913b90e 3Version: 0.8.1
11a3e71d
NB
4Release: 1
5Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
6URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
7License: GPL
8Group: Utilities/System
e0d19036 9BuildRoot: %{_tmppath}/%{name}-root
11a3e71d 10Obsoletes: mdctl
56eb10c0
NB
11
12%description
11a3e71d
NB
13mdadm is a program that can be used to create, manage, and monitor
14Linux MD (Software RAID) devices.
15As such is provides similar functionality to the raidtools packages.
16The particular differences to raidtools is that mdadm is a single
17program, and it can perform (almost) all functions without a
18configuration file (that a config file can be used to help with
19some common tasks).
56eb10c0
NB
20
21%prep
22%setup -q
23
24%build
25# This is a debatable issue. The author of this RPM spec file feels that
26# people who install RPMs (especially given that the default RPM options
27# will strip the binary) are not going to be running gdb against the
28# program.
11a3e71d 29make CFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}"
56eb10c0
NB
30
31%install
c913b90e
NB
32make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} BINDIR=%{_sbindir} install
33install -D -m644 mdadm.conf-example $RPM_BUILD_ROOT/%{_sysconfdir}/mdadm.conf
56eb10c0
NB
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(-,root,root)
c913b90e 40%doc TODO ChangeLog mdadm.conf-example COPYING
11a3e71d
NB
41%{_sbindir}/mdadm
42%config(noreplace,missingok)/%{_sysconfdir}/mdadm.conf
56eb10c0
NB
43%{_mandir}/man*/md*
44
45%changelog
c913b90e
NB
46* Sat Apr 6 2002 <neilb@cse.unsw.edu.au>
47- change %install to use "make install"
48
11a3e71d
NB
49* Fri Mar 15 2002 <gleblanc@localhost.localdomain>
50- beautification
51- made mdadm.conf non-replaceable config
52- renamed Copyright to License in the header
53- added missing license file
54- used macros for file paths
55
56* Fri Mar 15 2002 Luca Berra <bluca@comedia.it>
57- Added Obsoletes: mdctl
58- missingok for configfile
59
56eb10c0
NB
60* Wed Mar 12 2002 NeilBrown <neilb@cse.unsw.edu.au>
61- Add md.4 and mdadm.conf.5 man pages
11a3e71d 62
56eb10c0
NB
63* Fri Mar 08 2002 Chris Siebenmann <cks@cquest.utoronto.ca>
64- builds properly as non-root.
11a3e71d 65
56eb10c0
NB
66* Fri Mar 08 2002 Derek Vadala <derek@cynicism.com>
67- updated for 0.7, fixed /usr/share/doc and added manpage
11a3e71d 68
56eb10c0
NB
69* Tue Aug 07 2001 Danilo Godec <danci@agenda.si>
70- initial RPM build