]> git.pld-linux.org Git - packages/cryptsetup.git/blame - cryptsetup.spec
- added nostatic patch and static bcond (link cryptsetup dynamically by default)
[packages/cryptsetup.git] / cryptsetup.spec
CommitLineData
5eb10616
JB
1#
2# Conditonal build:
3%bcond_with static # link cryptsetup statically
4#
2488c838 5Summary: LUKS for dm-crypt implemented in cryptsetup
12cca230 6Summary(pl): LUKS dla dm-crypta zaimplementowany w cryptsetup
6351d6a5 7Name: cryptsetup-luks
516a2b2d 8Version: 1.0.3
9Release: 1
6351d6a5 10License: GPL
11Group: Base
12Source0: http://luks.endorphin.org/source/%{name}-%{version}.tar.bz2
516a2b2d 13# Source0-md5: e134b82b4706a28ba1d73b9176d5ad0c
8d9e50de 14Patch0: %{name}-sepol.patch
5eb10616 15Patch1: %{name}-nostatic.patch
6351d6a5 16URL: http://luks.endorphin.org/about
5fe93676
JB
17BuildRequires: autoconf
18BuildRequires: automake
5fe93676 19BuildRequires: gettext-devel
5eb10616
JB
20%if %{with static}
21BuildRequires: device-mapper-static >= 1.02.07
a6fd3218 22BuildRequires: libgcrypt-static >= 1.1.42
23BuildRequires: libgpg-error-static
24BuildRequires: libselinux-static
8d9e50de 25BuildRequires: libsepol-static
a6fd3218 26BuildRequires: libuuid-static
27BuildRequires: popt-static
5eb10616 28%endif
fca9458b 29Provides: cryptsetup = 0.2-1.pre1.8
12cca230 30Obsoletes: cryptsetup
6351d6a5 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%define _sbindir /sbin
34
35%description
6e98e6fb 36LUKS is the upcoming standard for Linux hard disk encryption. By
37providing a standard on-disk-format, it does not only facilitate
38compatibility among distributions, but also provide secure management
39of multiple user passwords. In contrast to existing solution, LUKS
40stores all setup necessary setup information in the partition header,
41enabling the user to transport or migrate his data seamlessly.
6351d6a5 42
6e98e6fb 43This package contains implementation of LUKS for dm-crypt implemented
44in cryptsetup.
6351d6a5 45
12cca230
JB
46%description -l pl
47