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