]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = multipath-tools |
8a783036 | 7 | version = 0.9.4 |
802ea3af | 8 | release = 1 |
dc01aad8 | 9 | |
802ea3af MT |
10 | groups = System/Base |
11 | url = http://christophe.varoqui.free.fr/ | |
12 | license = GPL+ | |
13 | summary = Tools to manage multipath devices using device-mapper. | |
dc01aad8 | 14 | |
802ea3af MT |
15 | description |
16 | This package provides tools to manage multipath devices by | |
dc01aad8 | 17 | instructing the device-mapper multipath kernel module what to do. |
802ea3af MT |
18 | end |
19 | ||
8a783036 | 20 | source_dl = https://github.com/opensvc/%{name}/archive/refs/tags/%{version}.tar.gz#/ |
e68f1250 | 21 | sources = %{thisapp}.tar.gz |
802ea3af MT |
22 | |
23 | build | |
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 |
45 | end |
46 | ||
47 | packages | |
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 | 64 | end |