]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = LVM2 |
7 | version = 2.02.54 | |
8 | release = 1 | |
49ff56a7 | 9 | |
802ea3af MT |
10 | groups = System/Base |
11 | url = http://sources.redhat.com/lvm2/ | |
12 | license = GPLv2 | |
13 | summary = Userland logical volume management tools. | |
49ff56a7 | 14 | |
802ea3af | 15 | description |
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 |
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 | |
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 | 67 | end |