5 Summary: LUKS for dm-crypt implemented in cryptsetup
11 Source0: http://luks.endorphin.org/source/%{name}-%{version}.tar.bz2
12 # Source0-md5: 62c4bff081e470fb2c9a0f2cb890e613
13 URL: http://luks.endorphin.org/about
14 BuildRequires: device-mapper-devel
15 BuildRequires: libgcrypt-devel >= 1.1.42
16 BuildRequires: libuuid-devel
17 BuildRequires: popt-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _sbindir /sbin
25 LUKS is the upcoming standard for Linux hard disk encryption. By providing
26 a standard on-disk-format, it does not only facilitate compatibility among
27 distributions, but also provide secure management of multiple user
28 passwords. In contrast to existing solution, LUKS stores all setup
29 necessary setup information in the partition header, enabling the user to
30 transport or migrate his data seamlessly.
32 This package contains implementation of LUKS for dm-crypt implemented in
36 Summary: Header files for cryptsetup library
37 Summary(pl): Pliki nag³ówkowe biblioteki cryptsetup
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: device-mapper-devel
41 Requires: libgcrypt-devel >= 1.1.42
42 Obsoletes: cryptsetup-devel
43 Provides: cryptsetup-devel
46 Header files for cryptsetup library.
48 %description devel -l pl
49 Pliki nag³ówkowe biblioteki cryptsetup.
52 Summary: Static cryptsetup library
53 Summary(pl): Statyczna biblioteka cryptsetup
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 Static version of cryptsetup library.
60 %description static -l pl
61 Statyczna wersja biblioteki cryptsetup.
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT/%{_lib}
78 mv -f $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so.*.*.* $RPM_BUILD_ROOT/%{_lib}
79 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libcryptsetup.so.*.*.*) \
80 $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_sbindir}/cryptsetup
94 %attr(755,root,root) /%{_lib}/libcryptsetup.so.*.*.*
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libcryptsetup.so
100 %{_libdir}/libcryptsetup.la
104 %defattr(644,root,root,755)
105 #%{_libdir}/libcryptsetup.a