]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - lvm2/lvm2.nm
Add a -debuginfo for every package that is not noarch.
[people/arne_f/ipfire-3.x.git] / lvm2 / lvm2.nm
CommitLineData
49ff56a7 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
49ff56a7
MT
4###############################################################################
5
802ea3af
MT
6name = LVM2
7version = 2.02.54
8release = 1
49ff56a7 9
802ea3af
MT
10groups = System/Base
11url = http://sources.redhat.com/lvm2/
12license = GPLv2
13summary = Userland logical volume management tools.
49ff56a7 14
802ea3af 15description
49ff56a7
MT
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.
802ea3af
MT
22end
23
24thisapp = %{name}.%{version}
25
26source_dl =
27sources = %{thisapp}.tgz
28
29build
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
50end
51
52packages
53 package %{name}
54 end
1f9bc2f0 55
802ea3af
MT
56 package libdevmapper
57 template LIBS
58 end
1f9bc2f0 59
802ea3af
MT
60 package libdevmapper-devel
61 template DEVEL
62 end
1f9bc2f0
MT
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
802ea3af 67end