1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 compat_version = 1.1.0
12 groups = System/Filesystems
13 url = http://cryptsetup.googlecode.com/
15 summary = A utility for setting up encrypted filesystems.
18 This package contains cryptsetup, a utility for setting up
19 encrypted filesystems using Device Mapper and the dm-crypt target.
22 source_dl = http://cryptsetup.googlecode.com/files/
25 cryptsetup-%{version}.tar.bz2 \
26 cryptsetup-%{compat_version}.tar.bz2
37 DIR_APP = %{DIR_SRC}/cryptsetup-%{version}
39 configure_options += \
42 # Build compat version of libcryptsetup.
44 cd %{DIR_SRC}/cryptsetup-%{compat_version}
48 make %{PARALLELISMFLAGS}
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
62 package %{name}-compat
63 summary = Compat libraries of %{thisapp}.
66 %{libdir}/libcryptsetup.so.1*
74 package %{name}-debuginfo