]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - cryptsetup-luks/cryptsetup-luks.nm
ppp: Re-add ifname patch
[people/ms/ipfire-3.x.git] / cryptsetup-luks / cryptsetup-luks.nm
CommitLineData
11c61e23 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
11c61e23
SS
4###############################################################################
5
802ea3af 6name = cryptsetup-luks
8c34b384
SS
7version = 1.4.2
8release = 1
9
10compat_version = 1.1.0
11c61e23 11
802ea3af
MT
12groups = System/Filesystems
13url = http://cryptsetup.googlecode.com/
14license = GPLv2+
15summary = A utility for setting up encrypted filesystems.
11c61e23 16
802ea3af 17description
8c34b384 18 This package contains cryptsetup, a utility for setting up
11c61e23 19 encrypted filesystems using Device Mapper and the dm-crypt target.
802ea3af 20end
11c61e23 21
8c34b384
SS
22source_dl = http://cryptsetup.googlecode.com/files/
23
24sources = \
25 cryptsetup-%{version}.tar.bz2 \
26 cryptsetup-%{compat_version}.tar.bz2
11c61e23 27
802ea3af
MT
28build
29 requires
30 libdevmapper-devel
31 libgcrypt-devel
32 libgpg-error-devel
33 libuuid-devel
34 popt-devel
35 end
50ad4471 36
802ea3af 37 DIR_APP = %{DIR_SRC}/cryptsetup-%{version}
11c61e23 38
802ea3af 39 configure_options += \
11c61e23 40 --disable-static
8c34b384
SS
41
42 # Build compat version of libcryptsetup.
43 build_cmds
44 cd %{DIR_SRC}/cryptsetup-%{compat_version}
45 ./configure \
46 %{configure_options}
47
1429c856 48 make %{PARALLELISMFLAGS}
8c34b384
SS
49 end
50
51 install_cmds
52 # Install compat version of libcyptsetup.
53 cd %{DIR_SRC}/cryptsetup-%{compat_version}
54 install -m 644 lib/.libs/libcryptsetup.so.1.0.0 %{BUILDROOT}%{libdir}
55 ln -svf libcryptsetup.so.1.0.0 %{BUILDROOT}%{libdir}/libcryptsetup.so.1
56 end
802ea3af
MT
57end
58
59packages
60 package %{name}
1f9bc2f0 61
8c34b384
SS
62 package %{name}-compat
63 summary = Compat libraries of %{thisapp}.
64
65 files
66 %{libdir}/libcryptsetup.so.1*
67 end
68 end
69
802ea3af
MT
70 package %{name}-devel
71 template DEVEL
72 end
1f9bc2f0
MT
73
74 package %{name}-debuginfo
75 template DEBUGINFO
76 end
802ea3af 77end