]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - lvm2/lvm2.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/ipfire-3.x.git] / lvm2 / lvm2.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = LVM2
7 version = 2.02.54
8 release = 1
9
10 groups = System/Base
11 url = http://sources.redhat.com/lvm2/
12 license = GPLv2
13 summary = Userland logical volume management tools.
14
15 description
16 LVM2 includes all of the support for handling read/write operations on \
17 physical volumes (hard disks, RAID-Systems, magneto optical, etc., \
18 multiple devices (MD), see mdadd(8) or even loop devices, see \
19 losetup(8)), creating volume groups (kind of virtual disks) from one \
20 or more physical volumes and creating one or more logical volumes \
21 (kind of logical partitions) in volume groups.
22 end
23
24 thisapp = %{name}.%{version}
25
26 source_dl =
27 sources = %{thisapp}.tgz
28
29 build
30 requires
31 libselinux-devel
32 pkg-config
33 ncurses-devel
34 readline-devel
35 end
36
37 configure_options += \
38 --bindir=/bin \
39 --sbindir=/sbin \
40 --exec-prefix=/ \
41 --libdir=/lib \
42 --enable-pkgconfig
43
44 install_cmds
45 mkdir -pv %{BUILDROOT}/usr/lib
46 rm -vf %{BUILDROOT}/lib/libdevmapper.so
47 ln -svf libdevmapper.so.1.02 %{BUILDROOT}/lib/libdevmapper.so.1
48 ln -svf ../../lib/libdevmapper.so.1 %{BUILDROOT}/usr/lib/libdevmapper.so
49 end
50 end
51
52 packages
53 package %{name}
54 end
55
56 package libdevmapper
57 template LIBS
58 end
59
60 package libdevmapper-devel
61 template DEVEL
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67 end