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