]>
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 | ||
98583dbe | 6 | name = lvm2 |
802ea3af | 7 | version = 2.02.54 |
98583dbe MT |
8 | release = 2 |
9 | thisapp = LVM2.%{version} | |
49ff56a7 | 10 | |
802ea3af MT |
11 | groups = System/Base |
12 | url = http://sources.redhat.com/lvm2/ | |
13 | license = GPLv2 | |
14 | summary = Userland logical volume management tools. | |
49ff56a7 | 15 | |
802ea3af | 16 | description |
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 |
23 | end |
24 | ||
802ea3af MT |
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=/ \ | |
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 |
49 | end | |
50 | ||
51 | packages | |
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 | 65 | end |