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