]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = mdadm |
99f1d55b EK |
7 | version = 3.2.6 |
8 | release = 1 | |
5e087958 | 9 | |
802ea3af MT |
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). | |
5e087958 | 14 | |
802ea3af MT |
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 | |
5e087958 | 20 | file can be used to help with some common tasks. |
802ea3af MT |
21 | end |
22 | ||
99f1d55b EK |
23 | source_dl = https://www.kernel.org/pub/linux/utils/raid/mdadm/ |
24 | sources = %{thisapp}.tar.xz | |
5e087958 | 25 | |
802ea3af MT |
26 | build |
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 | |
46 | end | |
5e087958 | 47 | |
802ea3af MT |
48 | packages |
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 | 58 | end |