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