1 Summary: LUKS for dm-crypt implemented in cryptsetup
2 Summary(pl): LUKS dla dm-crypta zaimplementowany w cryptsetup
8 Source0: http://luks.endorphin.org/source/%{name}-%{version}.tar.bz2
9 # Source0-md5: b2415f67ceed3ad2c7dd2e878cf7787d
10 Patch0: %{name}-sepol.patch
11 URL: http://luks.endorphin.org/about
12 BuildRequires: device-mapper-static
13 BuildRequires: libgcrypt-static >= 1.1.42
14 BuildRequires: libgpg-error-static
15 BuildRequires: libselinux-static
16 BuildRequires: libsepol-static
17 BuildRequires: libuuid-static
18 BuildRequires: popt-static
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _sbindir /sbin
26 LUKS is the upcoming standard for Linux hard disk encryption. By
27 providing a standard on-disk-format, it does not only facilitate
28 compatibility among distributions, but also provide secure management
29 of multiple user passwords. In contrast to existing solution, LUKS
30 stores all setup necessary setup information in the partition header,
31 enabling the user to transport or migrate his data seamlessly.
33 This package contains implementation of LUKS for dm-crypt implemented
37 LUKS to nadchodz±cy standard linuksowego szyfrowania twardego dysku.
38 Dostarczaj±c standardowy format danych na dysku nie tylko u³atwia
39 utrzymanie kompatybilno¶ci miêdzy dystrybucjami, ale tak¿e dostarcza
40 bezpieczne zarz±dzanie wieloma has³ami u¿ytkowników. W przeciwieñstwie
41 do istniej±cego rozwi±zania LUKS przechowuje wszystkie potrzebne
42 informacje o konfiguracji w nag³ówku partycji, pozwalaj±c
43 u¿ytkownikowi przenosiæ lub migrowaæ dane w sposób przezroczysty.
45 Ten pakiet zawiera implementacjê LUKS dla dm-crytpa zaimplementowan± w
49 Summary: Header files for cryptsetup library
50 Summary(pl): Pliki nag³ówkowe biblioteki cryptsetup
51 Group: Development/Libraries
52 Requires: %{name} = %{version}-%{release}
53 Requires: device-mapper-devel
54 Requires: libgcrypt-devel >= 1.1.42
55 Provides: cryptsetup-devel
56 Obsoletes: cryptsetup-devel
59 Header files for cryptsetup library.
61 %description devel -l pl
62 Pliki nag³ówkowe biblioteki cryptsetup.
65 Summary: Static cryptsetup library
66 Summary(pl): Statyczna biblioteka cryptsetup
67 Group: Development/Libraries
68 Requires: %{name}-devel = %{version}-%{release}
71 Static version of cryptsetup library.
73 %description static -l pl
74 Statyczna wersja biblioteki cryptsetup.
91 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT
96 install -d $RPM_BUILD_ROOT/%{_lib}
97 mv -f $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so.*.*.* $RPM_BUILD_ROOT/%{_lib}
98 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libcryptsetup.so.*.*.*) \
99 $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so
104 rm -rf $RPM_BUILD_ROOT
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_sbindir}/cryptsetup
113 %attr(755,root,root) /%{_lib}/libcryptsetup.so.*.*.*
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libcryptsetup.so
119 %{_libdir}/libcryptsetup.la
123 %defattr(644,root,root,755)
124 %{_libdir}/libcryptsetup.a