]>
Commit | Line | Data |
---|---|---|
99958222 JB |
1 | # |
2 | # Conditional build: | |
11ae9af9 | 3 | %bcond_without initrd # don't build initrd version |
66800f6a JB |
4 | %bcond_without uClibc # link initrd version with static glibc instead of uClibc |
5 | # | |
6 | %ifarch amd64 | |
7 | %undefine with_uClibc | |
8 | %endif | |
5672aa67 JR |
9 | Summary: The new version of Logical Volume Manager for Linux |
10 | Summary(pl): Nowa wersja Logical Volume Managera dla Linuksa | |
7e72c866 | 11 | Name: lvm2 |
ceea1559 | 12 | Version: 2.00.17 |
cc33451b | 13 | Release: 2 |
7e72c866 JR |
14 | License: GPL |
15 | Group: Applications/System | |
dc5d0e77 | 16 | Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz |
ceea1559 AM |
17 | # Source0-md5: f1a17894ccedc9b55a1f62e6f08a4c4f |
18 | %define devmapper_ver 1.00.18 | |
1ccfba6c | 19 | Source1: ftp://sources.redhat.com/pub/dm/device-mapper.%{devmapper_ver}.tgz |
ceea1559 | 20 | # Source1-md5: ff14891c9a717731289355c334056eb4 |
dc5d0e77 AM |
21 | Patch0: %{name}-opt.patch |
22 | Patch1: %{name}-initrd.patch | |
66800f6a | 23 | Patch2: device-mapper-opt.patch |
dc5d0e77 | 24 | URL: http://sources.redhat.com/lvm2/ |
7e72c866 JR |
25 | BuildRequires: autoconf |
26 | BuildRequires: automake | |
f4dbeb6f | 27 | BuildRequires: device-mapper-devel >= 1.00.07 |
1ccfba6c AM |
28 | BuildRequires: libselinux-devel >= 1.10 |
29 | %if %{with initrd} | |
66800f6a JB |
30 | %{!?with_uClibc:BuildRequires: glibc-static} |
31 | %{?with_uClibc:BuildRequires: uClibc-static >= 0.9.26} | |
1ccfba6c | 32 | %endif |
99958222 | 33 | Requires: device-mapper |
6a921306 | 34 | Requires: libselinux >= 1.10 |
25b6b609 | 35 | Obsoletes: lvm |
7e72c866 JR |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %define _sbindir /sbin | |
39 | %define _libdir /lib | |
40 | ||
41 | %description | |
42 | This package includes a number of utilities for creating, checking, | |
43 | and repairing logical volumes. | |
44 | ||
45 | %description -l pl | |
46 |