]> git.pld-linux.org Git - packages/cryptsetup.git/blob - cryptsetup.spec
- up to 1.0.1
[packages/cryptsetup.git] / cryptsetup.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:        0.1
6 License:        GPL
7 Group:          Base
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
17 Provides:       cryptsetup
18 Obsoletes:      cryptsetup
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _sbindir        /sbin
22
23 %description
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.
30
31 This package contains implementation of LUKS for dm-crypt implemented
32 in cryptsetup.
33
34 %description -l pl
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.
42
43 Ten pakiet zawiera implementacjê LUKS dla dm-crytpa zaimplementowan± w
44 cryptsetup.
45
46 %package devel
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
55
56 %description devel
57 Header files for cryptsetup library.
58
59 %description devel -l pl
60 Pliki nag³ówkowe biblioteki cryptsetup.
61
62 %package static
63 Summary:        Static cryptsetup library
64 Summary(pl):    Statyczna biblioteka cryptsetup
65 Group:          Development/Libraries
66 Requires:       %{name}-devel = %{version}-%{release}
67
68 %description static
69 Static version of cryptsetup library.
70
71 %description static -l pl
72 Statyczna wersja biblioteki cryptsetup.
73
74 %prep
75 %setup -q
76
77 %build
78 %configure \
79         --enable-static
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
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
92
93 %find_lang %{name}
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc ChangeLog
104 %attr(755,root,root) %{_sbindir}/cryptsetup
105 %attr(755,root,root) /%{_lib}/libcryptsetup.so.*.*.*
106 %{_mandir}/man8/*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libcryptsetup.so
111 %{_libdir}/libcryptsetup.la
112 %{_includedir}/*.h
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/libcryptsetup.a
This page took 0.041154 seconds and 4 git commands to generate.