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