]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - lvm2/lvm2.nm
libsemanage: Make package work on x86_64.
[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
98583dbe 6name = lvm2
802ea3af 7version = 2.02.54
98583dbe
MT
8release = 2
9thisapp = LVM2.%{version}
49ff56a7 10
802ea3af
MT
11groups = System/Base
12url = http://sources.redhat.com/lvm2/
13license = GPLv2
14summary = Userland logical volume management tools.
49ff56a7 15
802ea3af 16description
49ff56a7
MT
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.
802ea3af
MT
23end
24
802ea3af
MT
25source_dl =
26sources = %{thisapp}.tgz
27
28build
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=/ \
98583dbe 40 --libdir=/%{lib} \
802ea3af
MT
41 --enable-pkgconfig
42
43 install_cmds
98583dbe
MT
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
802ea3af
MT
48 end
49end
50
51packages
52 package %{name}
1f9bc2f0 53
802ea3af
MT
54 package libdevmapper
55 template LIBS
56 end
1f9bc2f0 57
802ea3af
MT
58 package libdevmapper-devel
59 template DEVEL
60 end
1f9bc2f0
MT
61
62 package %{name}-debuginfo
63 template DEBUGINFO
64 end
802ea3af 65end