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