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