]>
Commit | Line | Data |
---|---|---|
020418a4 | 1 | Summary: The eCryptfs mount helper and support libraries |
648833c8 | 2 | Summary(pl.UTF-8): Narzędzie pomocnicze i biblioteki do montowania eCryptfs |
020418a4 | 3 | Name: ecryptfs-utils |
f891a956 | 4 | Version: 83 |
4aaab0b8 | 5 | Release: 1 |
648833c8 | 6 | License: GPL v2+ |
020418a4 | 7 | Group: Base |
f891a956 | 8 | Source0: http://launchpad.net/ecryptfs/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz |
9 | # Source0-md5: 1c97d96437d62921744647d4157a8f3e | |
f4eb7533 | 10 | Patch0: %{name}-sh.patch |
648833c8 | 11 | URL: http://ecryptfs.sourceforge.net/ |
f4eb7533 JB |
12 | BuildRequires: autoconf >= 2.59 |
13 | BuildRequires: automake | |
020418a4 | 14 | BuildRequires: gpgme-devel |
648833c8 | 15 | BuildRequires: keyutils-devel >= 1.0 |
8ecb7617 | 16 | BuildRequires: libgcrypt-devel >= 1.2.0 |
f4eb7533 | 17 | BuildRequires: libtool |
68287c3e | 18 | BuildRequires: openssl-devel >= 0.9.7 |
020418a4 | 19 | BuildRequires: pam-devel |
648833c8 | 20 | BuildRequires: perl-tools-pod |
8ecb7617 | 21 | BuildRequires: pkcs11-helper-devel >= 1.04 |
68287c3e | 22 | BuildRequires: pkgconfig |
86085d49 | 23 | BuildRequires: trousers-devel |
f3d24465 | 24 | Requires: uname(release) >= 2.6.19 |
020418a4 AM |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | eCryptfs is a stacked cryptographic filesystem that ships in Linux | |
29 | kernel versions 2.6.19 and above. This package provides the mount | |
30 | helper and supporting libraries to perform key management and mount | |
31 | functions. | |
32 | ||
33 | Install ecryptfs-utils if you would like to mount eCryptfs. | |
34 | ||
648833c8 JB |
35 | %description -l pl.UTF-8 |
36 | eCryptfs to stakowalny kryptograficzny system plików dostępny w jądrze | |
37 | Linuksa od wersji 2.6.19. Ten pakiet udostępnia narzędzie pomocnicze | |
38 | dla programu mount oraz wspierające je biblioteki wykonujące | |
39 | zarządzanie kluczami i funkcje związane z montowaniem. | |
40 | ||
41 | Pakiet ecryptfs-utils należy zainstalować, aby montować eCryptfs. | |
42 | ||
020418a4 AM |
43 | %package devel |
44 | Summary: The eCryptfs userspace development package | |
648833c8 JB |
45 | Summary(pl.UTF-8): Pakiet programistyczny przestrzeni użytkownika dla eCryptfs |
46 | Group: Development/Libraries | |
020418a4 | 47 | Requires: %{name} = %{version}-%{release} |
68287c3e JB |
48 | Requires: keyutils-devel >= 1.0 |
49 | Requires: libgcrypt-devel >= 1.2.0 | |
020418a4 AM |
50 | |
51 | %description devel | |
52 | Userspace development files for eCryptfs. | |
53 | ||
648833c8 JB |
54 | %description devel -l pl.UTF-8 |
55 | Pliki programistyczne przestrzeni użytkownika dla eCryptfs. | |
56 | ||
57 | %package static | |
58 | Summary: Static eCryptfs library | |
59 | Summary(pl.UTF-8): Statyczna biblioteka eCryptfs | |
60 | Group: Development/Libraries | |
61 | Requires: %{name}-devel = %{version}-%{release} | |
62 | ||
63 | %description static | |
64 | Static eCryptfs library. | |
65 | ||
66 | %description static -l pl.UTF-8 | |
67 | Statyczna biblioteka eCryptfs. | |
68 | ||
020418a4 AM |
69 | %package -n pam-pam_ecryptfs |
70 | Summary: A PAM module - ecryptfs | |
71 | Summary(pl.UTF-8): Moduł PAM ecryptfs | |
72 | Group: Base | |
73 | Requires: %{name} = %{version}-%{release} | |
74 | ||
75 | %description -n pam-pam_ecryptfs | |
76 | A PAM module - ecryptfs. | |
77 | ||
78 | %description -n pam-pam_ecryptfs -l pl.UTF-8 | |
79 | Moduł PAM ecryptfs. | |
80 | ||
81 | %prep | |
82 | %setup -q | |
f4eb7533 | 83 | %patch0 -p1 |
020418a4 AM |
84 | |
85 | %build | |
f4eb7533 | 86 | %{__libtoolize} |
f891a956 | 87 | %{__aclocal} -I m4 |
f4eb7533 JB |
88 | %{__autoconf} |
89 | %{__autoheader} | |
90 | %{__automake} | |
020418a4 | 91 | %configure \ |
a6ab4d5e | 92 | --enable-gpg \ |
8ecb7617 | 93 | --enable-openssl \ |
a6ab4d5e | 94 | --enable-pam \ |
8ecb7617 JB |
95 | --enable-pkcs11-helper \ |
96 | --enable-tspi | |
020418a4 AM |
97 | |
98 | %{__make} | |
99 | ||
100 | %install | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %{__make} -j1 install \ | |
104 | DESTDIR=$RPM_BUILD_ROOT | |
105 | ||
020418a4 AM |
106 | %clean |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
648833c8 JB |
109 | %post -p /sbin/ldconfig |
110 | %postun -p /sbin/ldconfig | |
111 | ||
020418a4 AM |
112 | %files |
113 | %defattr(644,root,root,755) | |
d8d8a2cb | 114 | %doc AUTHORS NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt} |
020418a4 | 115 | %attr(755,root,root) /sbin/mount.ecryptfs |
d8d8a2cb JB |
116 | %attr(755,root,root) /sbin/mount.ecryptfs_private |
117 | %attr(755,root,root) /sbin/umount.ecryptfs_private | |
648833c8 JB |
118 | %attr(755,root,root) %{_bindir}/ecryptfs-* |
119 | %attr(755,root,root) %{_bindir}/ecryptfsd | |
120 | %attr(755,root,root) %{_libdir}/libecryptfs.so.*.*.* | |
121 | %attr(755,root,root) %ghost %{_libdir}/libecryptfs.so.0 | |
122 | %dir %{_libdir}/ecryptfs | |
4aaab0b8 | 123 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_gpg.so |
86085d49 JB |
124 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_openssl.so |
125 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_passphrase.so | |
8ecb7617 | 126 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_pkcs11_helper.so |
86085d49 | 127 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_tspi.so |
2ec150f5 JB |
128 | %{_mandir}/man1/ecryptfs-*.1* |
129 | %{_mandir}/man1/mount.ecryptfs_private.1* | |
130 | %{_mandir}/man1/umount.ecryptfs_private.1* | |
020418a4 | 131 | %{_mandir}/man7/ecryptfs.7* |
648833c8 JB |
132 | %{_mandir}/man8/ecryptfs-*.8* |
133 | %{_mandir}/man8/ecryptfsd.8* | |
134 | %{_mandir}/man8/mount.ecryptfs.8* | |
020418a4 AM |
135 | |
136 | %files devel | |
137 | %defattr(644,root,root,755) | |
020418a4 | 138 | %attr(755,root,root) %{_libdir}/libecryptfs.so |
4aaab0b8 | 139 | %{_libdir}/libecryptfs.la |
020418a4 | 140 | %{_includedir}/ecryptfs.h |
68287c3e | 141 | %{_pkgconfigdir}/libecryptfs.pc |
020418a4 | 142 | |
4aaab0b8 AM |
143 | %files static |
144 | %defattr(644,root,root,755) | |
145 | %{_libdir}/libecryptfs.a | |
648833c8 | 146 | |
020418a4 AM |
147 | %files -n pam-pam_ecryptfs |
148 | %defattr(644,root,root,755) | |
d8d8a2cb | 149 | %doc doc/ecryptfs-pam-doc.txt |
020418a4 | 150 | %attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so |
2ec150f5 | 151 | %{_mandir}/man8/pam_ecryptfs.8* |