]>
Commit | Line | Data |
---|---|---|
1 | Summary: The eCryptfs mount helper and support libraries | |
2 | Summary(pl.UTF-8): Narzędzie pomocnicze i biblioteki do montowania eCryptfs | |
3 | Name: ecryptfs-utils | |
4 | Version: 83 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Base | |
8 | Source0: http://launchpad.net/ecryptfs/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz | |
9 | # Source0-md5: 1c97d96437d62921744647d4157a8f3e | |
10 | Patch0: %{name}-sh.patch | |
11 | URL: http://ecryptfs.sourceforge.net/ | |
12 | BuildRequires: autoconf >= 2.59 | |
13 | BuildRequires: automake | |
14 | BuildRequires: gpgme-devel | |
15 | BuildRequires: keyutils-devel >= 1.0 | |
16 | BuildRequires: libgcrypt-devel >= 1.2.0 | |
17 | BuildRequires: libtool | |
18 | BuildRequires: openssl-devel >= 0.9.7 | |
19 | BuildRequires: pam-devel | |
20 | BuildRequires: perl-tools-pod | |
21 | BuildRequires: pkcs11-helper-devel >= 1.04 | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: trousers-devel | |
24 | Requires: uname(release) >= 2.6.19 | |
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 | ||
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 | ||
43 | %package devel | |
44 | Summary: The eCryptfs userspace development package | |
45 | Summary(pl.UTF-8): Pakiet programistyczny przestrzeni użytkownika dla eCryptfs | |
46 | Group: Development/Libraries | |
47 | Requires: %{name} = %{version}-%{release} | |
48 | Requires: keyutils-devel >= 1.0 | |
49 | Requires: libgcrypt-devel >= 1.2.0 | |
50 | ||
51 | %description devel | |
52 | Userspace development files for eCryptfs. | |
53 | ||
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 | ||
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 | |
83 | %patch0 -p1 | |
84 | ||
85 | %build | |
86 | %{__libtoolize} | |
87 | %{__aclocal} -I m4 | |
88 | %{__autoconf} | |
89 | %{__autoheader} | |
90 | %{__automake} | |
91 | %configure \ | |
92 | --enable-gpg \ | |
93 | --enable-openssl \ | |
94 | --enable-pam \ | |
95 | --enable-pkcs11-helper \ | |
96 | --enable-tspi | |
97 | ||
98 | %{__make} | |
99 | ||
100 | %install | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %{__make} -j1 install \ | |
104 | DESTDIR=$RPM_BUILD_ROOT | |
105 | ||
106 | %clean | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %post -p /sbin/ldconfig | |
110 | %postun -p /sbin/ldconfig | |
111 | ||
112 | %files | |
113 | %defattr(644,root,root,755) | |
114 | %doc AUTHORS NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt} | |
115 | %attr(755,root,root) /sbin/mount.ecryptfs | |
116 | %attr(755,root,root) /sbin/mount.ecryptfs_private | |
117 | %attr(755,root,root) /sbin/umount.ecryptfs_private | |
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 | |
123 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_gpg.so | |
124 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_openssl.so | |
125 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_passphrase.so | |
126 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_pkcs11_helper.so | |
127 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_tspi.so | |
128 | %{_mandir}/man1/ecryptfs-*.1* | |
129 | %{_mandir}/man1/mount.ecryptfs_private.1* | |
130 | %{_mandir}/man1/umount.ecryptfs_private.1* | |
131 | %{_mandir}/man7/ecryptfs.7* | |
132 | %{_mandir}/man8/ecryptfs-*.8* | |
133 | %{_mandir}/man8/ecryptfsd.8* | |
134 | %{_mandir}/man8/mount.ecryptfs.8* | |
135 | ||
136 | %files devel | |
137 | %defattr(644,root,root,755) | |
138 | %attr(755,root,root) %{_libdir}/libecryptfs.so | |
139 | %{_libdir}/libecryptfs.la | |
140 | %{_includedir}/ecryptfs.h | |
141 | %{_pkgconfigdir}/libecryptfs.pc | |
142 | ||
143 | %files static | |
144 | %defattr(644,root,root,755) | |
145 | %{_libdir}/libecryptfs.a | |
146 | ||
147 | %files -n pam-pam_ecryptfs | |
148 | %defattr(644,root,root,755) | |
149 | %doc doc/ecryptfs-pam-doc.txt | |
150 | %attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so | |
151 | %{_mandir}/man8/pam_ecryptfs.8* |