]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - cryptsetup-luks/cryptsetup-luks.nm
systemd: Remove udev rules for "predictable" network device names
[people/ms/ipfire-3.x.git] / cryptsetup-luks / cryptsetup-luks.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = cryptsetup-luks
7 version = 1.4.2
8 release = 1
9
10 compat_version = 1.1.0
11
12 groups = System/Filesystems
13 url = http://cryptsetup.googlecode.com/
14 license = GPLv2+
15 summary = A utility for setting up encrypted filesystems.
16
17 description
18 This package contains cryptsetup, a utility for setting up
19 encrypted filesystems using Device Mapper and the dm-crypt target.
20 end
21
22 source_dl = http://cryptsetup.googlecode.com/files/
23
24 sources = \
25 cryptsetup-%{version}.tar.bz2 \
26 cryptsetup-%{compat_version}.tar.bz2
27
28 build
29 requires
30 libdevmapper-devel
31 libgcrypt-devel
32 libgpg-error-devel
33 libuuid-devel
34 popt-devel
35 end
36
37 DIR_APP = %{DIR_SRC}/cryptsetup-%{version}
38
39 configure_options += \
40 --disable-static
41
42 # Build compat version of libcryptsetup.
43 build_cmds
44 cd %{DIR_SRC}/cryptsetup-%{compat_version}
45 ./configure \
46 %{configure_options}
47
48 make %{PARALLELISMFLAGS}
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
57 end
58
59 packages
60 package %{name}
61
62 package %{name}-compat
63 summary = Compat libraries of %{thisapp}.
64
65 files
66 %{libdir}/libcryptsetup.so.1*
67 end
68 end
69
70 package %{name}-devel
71 template DEVEL
72 end
73
74 package %{name}-debuginfo
75 template DEBUGINFO
76 end
77 end