]> git.ipfire.org Git - ipfire-3.x.git/blame - mdadm/mdadm.nm
json-c: Update to version 0.17-20230812
[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
db16a110 7version = 4.2
3b750b7c 8release = 2
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
db16a110 28 libudev-devel
802ea3af
MT
29 groff
30 end
5e087958 31
802ea3af 32 CFLAGS += -fno-strict-aliasing
e55af06c 33
802ea3af
MT
34 prepare_cmds
35 sed -e "s/^INSTALL = .*/INSTALL = install/" -i Makefile
36 end
5e087958 37
802ea3af 38 build
db16a110
SS
39 make %{PARALLELISMFLAGS} \
40 CXFLAGS="%{CFLAGS}" \
41 CWFLAGS= \
42 SYSCONFDIR="%{sysconfdir}" \
43 MDASSEMBLE_AUTO=1
802ea3af 44 end
5e087958 45
db16a110
SS
46 make_install_targets += \
47 install-systemd \
48 BINDIR=%{sbindir} \
49 UDEVDIR=%{prefix}/%{lib}/udev \
50 SYSTEMD_DIR="%{unitdir}"
802ea3af 51end
5e087958 52
802ea3af
MT
53packages
54 package %{name}
1f9bc2f0 55
802ea3af
MT
56 package %{name}-devel
57 template DEVEL
58 end
1f9bc2f0
MT
59
60 package %{name}-debuginfo
61 template DEBUGINFO
62 end
802ea3af 63end