]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - mdadm/mdadm.nm
ncurses: Package essential terminfo files in -base package.
[people/amarx/ipfire-3.x.git] / mdadm / mdadm.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = mdadm
7 version = 3.2.2
8 release = 2
9
10 groups = System/Base
11 url = http://www.kernel.org/pub/linux/utils/raid/mdadm/
12 license = GPLv2+
13 summary = The mdadm program controls Linux md devices (software RAID arrays).
14
15 description
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.
21 end
22
23 source_dl =
24
25 build
26 requires
27 groff
28 end
29
30 CFLAGS += -fno-strict-aliasing
31
32 prepare_cmds
33 sed -e "s/^INSTALL = .*/INSTALL = install/" -i Makefile
34 end
35
36 build
37 make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \
38 CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1
39 end
40
41 install_cmds
42 mkdir -pv %{BUILDROOT}/var/run/mdadm
43 chmod 700 %{BUILDROOT}/var/run/mdadm
44 end
45 end
46
47 packages
48 package %{name}
49
50 package %{name}-devel
51 template DEVEL
52 end
53
54 package %{name}-debuginfo
55 template DEBUGINFO
56 end
57 end