]> git.pld-linux.org Git - packages/cryptsetup-luks.git/blob - cryptsetup-luks.spec
- 1.0.1 rel 1 - added BR libsepol-static, %{name}-sepol.patch and
[packages/cryptsetup-luks.git] / cryptsetup-luks.spec
1 Summary:        LUKS for dm-crypt implemented in cryptsetup
2 Summary(pl):    LUKS dla dm-crypta zaimplementowany w cryptsetup
3 Name:           cryptsetup-luks
4 Version:        1.0.1
5 Release:        1
6 License:        GPL
7 Group:          Base
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
19 Provides:       cryptsetup
20 Obsoletes:      cryptsetup
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _sbindir        /sbin
24
25 %description
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.
32
33 This package contains implementation of LUKS for dm-crypt implemented
34 in cryptsetup.
35
36 %description -l pl
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.
44
45 Ten pakiet zawiera implementacjê LUKS dla dm-crytpa zaimplementowan± w
46 cryptsetup.
47
48 %package devel
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
57
58 %description devel
59 Header files for cryptsetup library.
60
61 %description devel -l pl
62 Pliki nag³ówkowe biblioteki cryptsetup.
63
64 %package static
65 Summary:        Static cryptsetup library
66 Summary(pl):    Statyczna biblioteka cryptsetup
67 Group:          Development/Libraries
68 Requires:       %{name}-devel = %{version}-%{release}
69
70 %description static
71 Static version of cryptsetup library.
72
73 %description static -l pl
74 Statyczna wersja biblioteki cryptsetup.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79
80 %build
81 %{__autoheader}
82 %{__gettextize}
83 %{__aclocal} -I m4
84 %{__autoconf}
85 %{__automake}
86 %configure \
87         --enable-static
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
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
100
101 %find_lang %{name}
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %doc ChangeLog
112 %attr(755,root,root) %{_sbindir}/cryptsetup
113 %attr(755,root,root) /%{_lib}/libcryptsetup.so.*.*.*
114 %{_mandir}/man8/*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libcryptsetup.so
119 %{_libdir}/libcryptsetup.la
120 %{_includedir}/*.h
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/libcryptsetup.a
This page took 0.043278 seconds and 3 git commands to generate.