]>
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 |
c5fb99ba | 4 | Version: 85 |
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 |
c5fb99ba | 9 | # Source0-md5: eacf9488681d99651da544a4c261f784 |
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 |
c5fb99ba AM |
24 | BuildRequires: python-devel |
25 | BuildRequires: swig | |
86085d49 | 26 | BuildRequires: trousers-devel |
f3d24465 | 27 | Requires: uname(release) >= 2.6.19 |
020418a4 AM |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
c5fb99ba AM |
30 | # python module |
31 | %define skip_post_check_so _libecryptfs.so.0.0.0 | |
32 | ||
020418a4 AM |
33 | %description |
34 | eCryptfs is a stacked cryptographic filesystem that ships in Linux | |
35 | kernel versions 2.6.19 and above. This package provides the mount | |
36 | helper and supporting libraries to perform key management and mount | |
37 | functions. | |
38 | ||
39 | Install ecryptfs-utils if you would like to mount eCryptfs. | |
40 | ||
648833c8 JB |
41 | %description -l pl.UTF-8 |
42 | eCryptfs to stakowalny kryptograficzny system plików dostępny w jądrze | |
43 | Linuksa od wersji 2.6.19. Ten pakiet udostępnia narzędzie pomocnicze | |
44 | dla programu mount oraz wspierające je biblioteki wykonujące | |
45 | zarządzanie kluczami i funkcje związane z montowaniem. | |
46 | ||
47 | Pakiet ecryptfs-utils należy zainstalować, aby montować eCryptfs. | |
48 | ||
020418a4 AM |
49 | %package devel |
50 | Summary: The eCryptfs userspace development package | |
648833c8 JB |
51 | Summary(pl.UTF-8): Pakiet programistyczny przestrzeni użytkownika dla eCryptfs |
52 | Group: Development/Libraries | |
020418a4 | 53 | Requires: %{name} = %{version}-%{release} |
68287c3e JB |
54 | Requires: keyutils-devel >= 1.0 |
55 | Requires: libgcrypt-devel >= 1.2.0 | |
020418a4 AM |
56 | |
57 | %description devel | |
58 | Userspace development files for eCryptfs. | |
59 | ||
648833c8 JB |
60 | %description devel -l pl.UTF-8 |
61 | Pliki programistyczne przestrzeni użytkownika dla eCryptfs. | |
62 | ||
63 | %package static | |
64 | Summary: Static eCryptfs library | |
65 | Summary(pl.UTF-8): Statyczna biblioteka eCryptfs | |
66 | Group: Development/Libraries | |
67 | Requires: %{name}-devel = %{version}-%{release} | |
68 | ||
69 | %description static | |
70 | Static eCryptfs library. | |
71 | ||
72 | %description static -l pl.UTF-8 | |
73 | Statyczna biblioteka eCryptfs. | |
74 | ||
020418a4 AM |
75 | %package -n pam-pam_ecryptfs |
76 | Summary: A PAM module - ecryptfs | |
77 | Summary(pl.UTF-8): Moduł PAM ecryptfs | |
78 | Group: Base | |
79 | Requires: %{name} = %{version}-%{release} | |
80 | ||
81 | %description -n pam-pam_ecryptfs | |
82 | A PAM module - ecryptfs. | |
83 | ||
84 | %description -n pam-pam_ecryptfs -l pl.UTF-8 | |
85 | Moduł PAM ecryptfs. | |
86 | ||
c5fb99ba AM |
87 | %package python |
88 | Summary: Python bindings for the eCryptfs utils | |
89 | Group: Base | |
90 | Requires: %{name} = %{version}-%{release} | |
91 | ||
92 | %description python | |
93 | The ecryptfs-utils-python package contains a module that permits | |
94 | applications written in the Python programming language to use the | |
95 | interface supplied by the ecryptfs-utils library. | |
96 | ||
020418a4 AM |
97 | %prep |
98 | %setup -q | |
f4eb7533 | 99 | %patch0 -p1 |
020418a4 AM |
100 | |
101 | %build | |
f4eb7533 | 102 | %{__libtoolize} |
f891a956 | 103 | %{__aclocal} -I m4 |
f4eb7533 JB |
104 | %{__autoconf} |
105 | %{__autoheader} | |
106 | %{__automake} | |
020418a4 | 107 | %configure \ |
a6ab4d5e | 108 | --enable-gpg \ |
8ecb7617 | 109 | --enable-openssl \ |
a6ab4d5e | 110 | --enable-pam \ |
8ecb7617 | 111 | --enable-pkcs11-helper \ |
cf940cc5 | 112 | --enable-tspi \ |
113 | --enable-static | |
020418a4 AM |
114 | |
115 | %{__make} | |
116 | ||
117 | %install | |
118 | rm -rf $RPM_BUILD_ROOT | |
119 | ||
120 | %{__make} -j1 install \ | |
121 | DESTDIR=$RPM_BUILD_ROOT | |
122 | ||
c5fb99ba AM |
123 | %find_lang %{name} |
124 | ||
020418a4 AM |
125 | %clean |
126 | rm -rf $RPM_BUILD_ROOT | |
127 | ||
648833c8 JB |
128 | %post -p /sbin/ldconfig |
129 | %postun -p /sbin/ldconfig | |
130 | ||
c5fb99ba | 131 | %files -f %{name}.lang |
020418a4 | 132 | %defattr(644,root,root,755) |
d8d8a2cb | 133 | %doc AUTHORS NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt} |
020418a4 | 134 | %attr(755,root,root) /sbin/mount.ecryptfs |
d8d8a2cb JB |
135 | %attr(755,root,root) /sbin/mount.ecryptfs_private |
136 | %attr(755,root,root) /sbin/umount.ecryptfs_private | |
1a853d98 | 137 | %attr(755,root,root) /sbin/umount.ecryptfs |
648833c8 JB |
138 | %attr(755,root,root) %{_bindir}/ecryptfs-* |
139 | %attr(755,root,root) %{_bindir}/ecryptfsd | |
140 | %attr(755,root,root) %{_libdir}/libecryptfs.so.*.*.* | |
141 | %attr(755,root,root) %ghost %{_libdir}/libecryptfs.so.0 | |
142 | %dir %{_libdir}/ecryptfs | |
4aaab0b8 | 143 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_gpg.so |
86085d49 JB |
144 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_openssl.so |
145 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_passphrase.so | |
8ecb7617 | 146 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_pkcs11_helper.so |
86085d49 | 147 | %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_tspi.so |
c5fb99ba | 148 | %{_datadir}/%{name} |
2ec150f5 JB |
149 | %{_mandir}/man1/ecryptfs-*.1* |
150 | %{_mandir}/man1/mount.ecryptfs_private.1* | |
151 | %{_mandir}/man1/umount.ecryptfs_private.1* | |
020418a4 | 152 | %{_mandir}/man7/ecryptfs.7* |
648833c8 JB |
153 | %{_mandir}/man8/ecryptfs-*.8* |
154 | %{_mandir}/man8/ecryptfsd.8* | |
155 | %{_mandir}/man8/mount.ecryptfs.8* | |
1a853d98 | 156 | %{_mandir}/man8/umount.ecryptfs.8* |
020418a4 AM |
157 | |
158 | %files devel | |
159 | %defattr(644,root,root,755) | |
020418a4 | 160 | %attr(755,root,root) %{_libdir}/libecryptfs.so |
4aaab0b8 | 161 | %{_libdir}/libecryptfs.la |
020418a4 | 162 | %{_includedir}/ecryptfs.h |
68287c3e | 163 | %{_pkgconfigdir}/libecryptfs.pc |
020418a4 | 164 | |
4aaab0b8 AM |
165 | %files static |
166 | %defattr(644,root,root,755) | |
167 | %{_libdir}/libecryptfs.a | |
648833c8 | 168 | |
020418a4 AM |
169 | %files -n pam-pam_ecryptfs |
170 | %defattr(644,root,root,755) | |
d8d8a2cb | 171 | %doc doc/ecryptfs-pam-doc.txt |
020418a4 | 172 | %attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so |
2ec150f5 | 173 | %{_mandir}/man8/pam_ecryptfs.8* |
c5fb99ba AM |
174 | |
175 | %files python | |
176 | %defattr(644,root,root,755) | |
177 | %attr(755,root,root) %{py_sitedir}/%{name}/_libecryptfs.so* | |
178 | %dir %{py_sitescriptdir}/%{name} | |
179 | %{py_sitescriptdir}/%{name}/*.py[co] |