1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.kernel.org/pub/linux/utils/raid/mdadm/
13 summary = The mdadm program controls Linux md devices (software RAID arrays).
16 The mdadm program is used to create, manage, and monitor Linux MD (software
17 RAID) devices. As such, it provides similar functionality to the raidtools
18 package. However, mdadm is a single program, and it can perform
19 almost all functions without a configuration file, though a configuration
20 file can be used to help with some common tasks.
30 CFLAGS += -fno-strict-aliasing
33 sed -e "s/^INSTALL = .*/INSTALL = install/" -i Makefile
37 make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \
38 CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1
42 mkdir -pv %{BUILDROOT}/var/run/mdadm
43 chmod 700 %{BUILDROOT}/var/run/mdadm
54 package %{name}-debuginfo