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