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 URL: http://luks.endorphin.org/about
11 BuildRequires: device-mapper-static
12 BuildRequires: libgcrypt-static >= 1.1.42
13 BuildRequires: libgpg-error-static
14 BuildRequires: libselinux-static
15 BuildRequires: libuuid-static
16 BuildRequires: popt-static
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _sbindir /sbin
24 LUKS is the upcoming standard for Linux hard disk encryption. By
25 providing a standard on-disk-format, it does not only facilitate
26 compatibility among distributions, but also provide secure management
27 of multiple user passwords. In contrast to existing solution, LUKS
28 stores all setup necessary setup information in the partition header,
29 enabling the user to transport or migrate his data seamlessly.
31 This package contains implementation of LUKS for dm-crypt implemented
35 LUKS to nadchodz±cy standard linuksowego szyfrowania twardego dysku.
36 Dostarczaj±c standardowy format danych na dysku nie tylko u³atwia
37 utrzymanie kompatybilno¶ci miêdzy dystrybucjami, ale tak¿e dostarcza
38 bezpieczne zarz±dzanie wieloma has³ami u¿ytkowników. W przeciwieñstwie
39 do istniej±cego rozwi±zania LUKS przechowuje wszystkie potrzebne
40 informacje o konfiguracji w nag³ówku partycji, pozwalaj±c
41 u¿ytkownikowi przenosiæ lub migrowaæ dane w sposób przezroczysty.
43 Ten pakiet zawiera implementacjê LUKS dla dm-crytpa zaimplementowan± w
47 Summary: Header files for cryptsetup library
48 Summary(pl): Pliki nag³ówkowe biblioteki cryptsetup
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
51 Requires: device-mapper-devel
52 Requires: libgcrypt-devel >= 1.1.42
53 Provides: cryptsetup-devel
54 Obsoletes: cryptsetup-devel
57 Header files for cryptsetup library.
59 %description devel -l pl
60 Pliki nag³ówkowe biblioteki cryptsetup.
63 Summary: Static cryptsetup library
64 Summary(pl): Statyczna biblioteka cryptsetup
65 Group: Development/Libraries
66 Requires: %{name}-devel = %{version}-%{release}
69 Static version of cryptsetup library.
71 %description static -l pl
72 Statyczna wersja biblioteki cryptsetup.
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT/%{_lib}
89 mv -f $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so.*.*.* $RPM_BUILD_ROOT/%{_lib}
90 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libcryptsetup.so.*.*.*) \
91 $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_sbindir}/cryptsetup
105 %attr(755,root,root) /%{_lib}/libcryptsetup.so.*.*.*
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libcryptsetup.so
111 %{_libdir}/libcryptsetup.la
115 %defattr(644,root,root,755)
116 %{_libdir}/libcryptsetup.a