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: autoconf
13 BuildRequires: automake
14 BuildRequires: device-mapper-static >= 1.02.07
15 BuildRequires: gettext-devel
16 BuildRequires: libgcrypt-static >= 1.1.42
17 BuildRequires: libgpg-error-static
18 BuildRequires: libselinux-static
19 BuildRequires: libsepol-static
20 BuildRequires: libuuid-static
21 BuildRequires: popt-static
22 Provides: cryptsetup = 0.2-1.pre1.8
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _sbindir /sbin
29 LUKS is the upcoming standard for Linux hard disk encryption. By
30 providing a standard on-disk-format, it does not only facilitate
31 compatibility among distributions, but also provide secure management
32 of multiple user passwords. In contrast to existing solution, LUKS
33 stores all setup necessary setup information in the partition header,
34 enabling the user to transport or migrate his data seamlessly.
36 This package contains implementation of LUKS for dm-crypt implemented
40 LUKS to nadchodz±cy standard linuksowego szyfrowania twardego dysku.
41 Dostarczaj±c standardowy format danych na dysku nie tylko u³atwia
42 utrzymanie kompatybilno¶ci miêdzy dystrybucjami, ale tak¿e dostarcza
43 bezpieczne zarz±dzanie wieloma has³ami u¿ytkowników. W przeciwieñstwie
44 do istniej±cego rozwi±zania LUKS przechowuje wszystkie potrzebne
45 informacje o konfiguracji w nag³ówku partycji, pozwalaj±c
46 u¿ytkownikowi przenosiæ lub migrowaæ dane w sposób przezroczysty.
48 Ten pakiet zawiera implementacjê LUKS dla dm-crytpa zaimplementowan± w
52 Summary: Header files for cryptsetup library
53 Summary(pl): Pliki nag³ówkowe biblioteki cryptsetup
54 Group: Development/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires: device-mapper-devel
57 Requires: libgcrypt-devel >= 1.1.42
58 Provides: cryptsetup-devel
59 Obsoletes: cryptsetup-devel
62 Header files for cryptsetup library.
64 %description devel -l pl
65 Pliki nag³ówkowe biblioteki cryptsetup.
68 Summary: Static cryptsetup library
69 Summary(pl): Statyczna biblioteka cryptsetup
70 Group: Development/Libraries
71 Requires: %{name}-devel = %{version}-%{release}
72 Provides: cryptsetup-static
73 Obsoletes: cryptsetup-static
76 Static version of cryptsetup library.
78 %description static -l pl
79 Statyczna wersja biblioteki cryptsetup.
96 rm -rf $RPM_BUILD_ROOT
99 DESTDIR=$RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT/%{_lib}
102 mv -f $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so.*.*.* $RPM_BUILD_ROOT/%{_lib}
103 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libcryptsetup.so.*.*.*) \
104 $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
114 %files -f %{name}.lang
115 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_sbindir}/cryptsetup
118 %attr(755,root,root) /%{_lib}/libcryptsetup.so.*.*.*
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libcryptsetup.so
124 %{_libdir}/libcryptsetup.la
128 %defattr(644,root,root,755)
129 %{_libdir}/libcryptsetup.a