1 Summary: mdadm is used
for controlling Linux md devices
(aka RAID arrays
)
5 Source: http
://www.kernel.org
/pub
/linux
/utils
/raid
/mdadm
/mdadm
-%{version}.tar.gz
6 URL: http
://neil.brown.name
/blog
/mdadm
8 Group: Utilities
/System
9 BuildRoot: %{_tmppath}/%{name}-root
13 mdadm is a program that can be used to create
, manage
, and monitor
14 Linux MD
(Software RAID
) devices.
18 # we want to install in /sbin, not /usr/sbin...
19 %define _exec_prefix
%{nil}
22 # This is a debatable issue. The author of this RPM spec file feels that
23 # people who install RPMs (especially given that the default RPM options
24 # will strip the binary) are not going to be running gdb against the
26 make CXFLAGS
="$RPM_OPT_FLAGS" SYSCONFDIR
="
%{_sysconfdir}"
29 make DESTDIR
=$RPM_BUILD_ROOT MANDIR
=%{_mandir} BINDIR=%{_sbindir} install
30 install -D
-m644 mdadm.conf
-example $RPM_BUILD_ROOT
/%{_sysconfdir}/mdadm.conf
33 rm -rf $RPM_BUILD_ROOT
37 %doc TODO ChangeLog mdadm.conf
-example COPYING
40 /usr
/lib
/udev
/rules.d
/01-md
-raid
-creating.rules
41 /usr
/lib
/udev
/rules.d
/63-md
-raid
-arrays.rules
42 /usr
/lib
/udev
/rules.d
/64-md
-raid
-assembly.rules
43 /usr
/lib
/udev
/rules.d
/69-md
-clustered
-confirm
-device.rules
44 %config(noreplace
,missingok
)/%{_sysconfdir}/mdadm.conf