]> git.ipfire.org Git - ipfire-3.x.git/blame - mdadm/mdadm.nm
kernel: udpate to 5.2
[ipfire-3.x.git] / mdadm / mdadm.nm
CommitLineData
5e087958 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
5e087958
MT
4###############################################################################
5
802ea3af 6name = mdadm
8dd4ce22 7version = 3.4
99f1d55b 8release = 1
5e087958 9
802ea3af
MT
10groups = System/Base
11url = http://www.kernel.org/pub/linux/utils/raid/mdadm/
12license = GPLv2+
13summary = The mdadm program controls Linux md devices (software RAID arrays).
5e087958 14
802ea3af
MT
15description
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
5e087958 20 file can be used to help with some common tasks.
802ea3af
MT
21end
22
99f1d55b
EK
23source_dl = https://www.kernel.org/pub/linux/utils/raid/mdadm/
24sources = %{thisapp}.tar.xz
5e087958 25
802ea3af
MT
26build
27 requires
28 groff
29 end
5e087958 30
802ea3af 31 CFLAGS += -fno-strict-aliasing
e55af06c 32
802ea3af
MT
33 prepare_cmds
34 sed -e "s/^INSTALL = .*/INSTALL = install/" -i Makefile
35 end
5e087958 36
802ea3af
MT
37 build
38 make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \
8a645527 39 CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1
802ea3af 40 end
5e087958 41
8a645527 42 install_cmds
802ea3af
MT
43 mkdir -pv %{BUILDROOT}/var/run/mdadm
44 chmod 700 %{BUILDROOT}/var/run/mdadm
45 end
46end
5e087958 47
802ea3af
MT
48packages
49 package %{name}
1f9bc2f0 50
802ea3af
MT
51 package %{name}-devel
52 template DEVEL
53 end
1f9bc2f0
MT
54
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
802ea3af 58end