]> git.ipfire.org Git - ipfire-3.x.git/blob - multipath-tools/multipath-tools.nm
perl-WWW-Curl: Enable testsuite
[ipfire-3.x.git] / multipath-tools / multipath-tools.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = multipath-tools
7 version = 0.9.4
8 release = 1
9
10 groups = System/Base
11 url = http://christophe.varoqui.free.fr/
12 license = GPL+
13 summary = Tools to manage multipath devices using device-mapper.
14
15 description
16 This package provides tools to manage multipath devices by
17 instructing the device-mapper multipath kernel module what to do.
18 end
19
20 source_dl = https://github.com/opensvc/%{name}/archive/refs/tags/%{version}.tar.gz#/
21 sources = %{thisapp}.tar.gz
22
23 build
24 requires
25 gzip
26 json-c-devel
27 libaio-devel
28 libdevmapper-devel
29 libudev-devel
30 liburcu-devel
31 ncurses-devel
32 readline-devel
33 end
34
35 make_build_targets += kpartx LIB=%{lib} LDFLAGS="%{LDFLAGS} -ldevmapper"
36
37 # Install everything to the correct locations.
38 make_install_targets += \
39 -C kpartx \
40 bindir=%{sbindir} \
41 syslibdir=%{libdir} \
42 mandir=%{mandir} \
43 libdir=%{libdir}/multipath \
44 unitdir=%{unitdir}
45 end
46
47 packages
48 package kpartx
49 summary = Partition manager for device-mapper devices.
50 description
51 kpartx manages partition creation and removal for device-mapper devices.
52 end
53
54 files
55 /usr/lib/udev
56 %{sbindir}/kpartx
57 %{mandir}/man8/kpartx.8*
58 end
59 end
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
64 end