]>
Commit | Line | Data |
---|---|---|
020418a4 AM |
1 | Summary: The eCryptfs mount helper and support libraries |
2 | Name: ecryptfs-utils | |
3 | Version: 23 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Base | |
7 | URL: http://ecryptfs.sourceforge.net | |
8 | Source0: http://dl.sourceforge.net/ecryptfs/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 63ed7aa33edf074bb3abdba6271b4370 | |
10 | BuildRequires: gpgme-devel | |
11 | BuildRequires: keyutils-devel | |
12 | BuildRequires: libgcrypt-devel | |
13 | BuildRequires: openssl-devel | |
14 | BuildRequires: pam-devel | |
15 | Requires: uname(version) >= 2.6.19 | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | eCryptfs is a stacked cryptographic filesystem that ships in Linux | |
20 | kernel versions 2.6.19 and above. This package provides the mount | |
21 | helper and supporting libraries to perform key management and mount | |
22 | functions. | |
23 | ||
24 | Install ecryptfs-utils if you would like to mount eCryptfs. | |
25 | ||
26 | %package devel | |
27 | Summary: The eCryptfs userspace development package | |
28 | Group: Base | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | Requires: keyutils-devel | |
31 | Requires: openssl-devel | |
32 | Requires: pam-devel | |
33 | ||
34 | %description devel | |
35 | Userspace development files for eCryptfs. | |
36 | ||
37 | %package -n pam-pam_ecryptfs | |
38 | Summary: A PAM module - ecryptfs | |
39 | Summary(pl.UTF-8): Moduł PAM ecryptfs | |
40 | Group: Base | |
41 | Requires: %{name} = %{version}-%{release} | |
42 | ||
43 | %description -n pam-pam_ecryptfs | |
44 | A PAM module - ecryptfs. | |
45 | ||
46 | %description -n pam-pam_ecryptfs -l pl.UTF-8 | |
47 | Moduł PAM ecryptfs. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
53 | %configure \ | |
54 | --disable-opencryptoki \ | |
55 | --disable-rpath | |
56 | ||
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} -j1 install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %post -p /sbin/ldconfig | |
66 | %postun -p /sbin/ldconfig | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc README COPYING AUTHORS NEWS THANKS | |
74 | %attr(755,root,root) /sbin/mount.ecryptfs | |
75 | %attr(755,root,root) %{_bindir}/* | |
76 | %attr(755,root,root) %{_libdir}/libecryptfs.so.* | |
77 | %{_libdir}/ecryptfs | |
78 | %{_mandir}/man7/ecryptfs.7* | |
79 | ||
80 | %files devel | |
81 | %defattr(644,root,root,755) | |
82 | %doc doc/design_doc/ecryptfs_design_doc_v0_2.tex doc/design_doc/*.eps | |
83 | %attr(755,root,root) %{_libdir}/libecryptfs.so | |
84 | %{_includedir}/ecryptfs.h | |
85 | ||
86 | %files -n pam-pam_ecryptfs | |
87 | %defattr(644,root,root,755) | |
88 | %attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so |