]> git.ipfire.org Git - ipfire-3.x.git/blame - multipath-tools/multipath-tools.nm
libuv: New package
[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
e68f1250 7version = 0.6.3
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
e68f1250
MT
20# git archive 0.6.3 --prefix=multipath-tools-0.6.3/ --format=tar | gzip --best > multipath-tools-0.6.3.tar.gz
21sources = %{thisapp}.tar.gz
802ea3af
MT
22
23build
24 requires
25 gzip
26 libaio-devel
27 libdevmapper-devel
d8602e2a 28 libudev-devel
802ea3af
MT
29 ncurses-devel
30 readline-devel
31 end
32
e68f1250 33 make_build_targets += -C kpartx LIB=%{lib} LDFLAGS="%{LDFLAGS} -ldevmapper"
d8602e2a
SS
34
35 # Install everything to the correct locations.
289c5516 36 make_install_targets += \
e68f1250 37 -C kpartx \
d8602e2a
SS
38 bindir=%{sbindir} \
39 syslibdir=%{libdir} \
40 libdir=%{libdir}/multipath \
41 unitdir=%{unitdir}
802ea3af
MT
42end
43
44packages
d8602e2a
SS
45 package kpartx
46 summary = Partition manager for device-mapper devices.
47 description
48 kpartx manages partition creation and removal for device-mapper devices.
49 end
50
51 files
52 %{sbindir}/kpartx
53 %{mandir}/man8/kpartx.8*
54 end
55 end
1f9bc2f0 56
1f9bc2f0
MT
57 package %{name}-debuginfo
58 template DEBUGINFO
59 end
802ea3af 60end