]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - mdadm/mdadm.nm
ncurses: Package essential terminfo files in -base package.
[people/amarx/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
MT
6name = mdadm
7version = 3.2.2
8a645527 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
23source_dl =
5e087958 24
802ea3af
MT
25build
26 requires
27 groff
28 end
5e087958 29
802ea3af 30 CFLAGS += -fno-strict-aliasing
e55af06c 31
802ea3af
MT
32 prepare_cmds
33 sed -e "s/^INSTALL = .*/INSTALL = install/" -i Makefile
34 end
5e087958 35
802ea3af
MT
36 build
37 make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \
8a645527 38 CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1
802ea3af 39 end
5e087958 40
8a645527 41 install_cmds
802ea3af
MT
42 mkdir -pv %{BUILDROOT}/var/run/mdadm
43 chmod 700 %{BUILDROOT}/var/run/mdadm
44 end
45end
5e087958 46
802ea3af
MT
47packages
48 package %{name}
1f9bc2f0 49
802ea3af
MT
50 package %{name}-devel
51 template DEVEL
52 end
1f9bc2f0
MT
53
54 package %{name}-debuginfo
55 template DEBUGINFO
56 end
802ea3af 57end