1 Summary: The eCryptfs mount helper and support libraries
2 Summary(pl.UTF-8): Narzędzie pomocnicze i biblioteki do montowania eCryptfs
8 Source0: http://launchpad.net/ecryptfs/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz
9 # Source0-md5: eacf9488681d99651da544a4c261f784
10 Patch0: %{name}-sh.patch
11 Patch1: %{name}-83-fixsalt.patch
12 Patch2: %{name}-83-splitnss.patch
13 Patch3: %{name}-84-fgetc.patch
14 Patch4: %{name}-84-fixsigness.patch
15 Patch5: %{name}-75-werror.patch
16 URL: http://ecryptfs.sourceforge.net/
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake
19 BuildRequires: gettext-devel
20 BuildRequires: glib2-devel
21 BuildRequires: gpgme-devel
22 BuildRequires: intltool >= 0.41.0
23 BuildRequires: keyutils-devel >= 1.0
24 BuildRequires: libtool
25 BuildRequires: nss-devel >= 3
26 BuildRequires: openssl-devel >= 0.9.7
27 BuildRequires: pam-devel
28 BuildRequires: perl-tools-pod
29 BuildRequires: pkcs11-helper-devel >= 1.04
30 BuildRequires: pkgconfig
31 BuildRequires: python-devel >= 1:2.5
32 BuildRequires: python-modules
33 BuildRequires: rpm-pythonprov
34 BuildRequires: rpmbuild(macros) >= 1.219
35 BuildRequires: swig >= 1.3.31
36 BuildRequires: trousers-devel
37 Requires: uname(release) >= 2.6.19
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 %define skip_post_check_so _libecryptfs.so.0.0.0
44 eCryptfs is a stacked cryptographic filesystem that ships in Linux
45 kernel versions 2.6.19 and above. This package provides the mount
46 helper and supporting libraries to perform key management and mount
49 Install ecryptfs-utils if you would like to mount eCryptfs.
51 %description -l pl.UTF-8
52 eCryptfs to stakowalny kryptograficzny system plików dostępny w jądrze
53 Linuksa od wersji 2.6.19. Ten pakiet udostępnia narzędzie pomocnicze
54 dla programu mount oraz wspierające je biblioteki wykonujące
55 zarządzanie kluczami i funkcje związane z montowaniem.
57 Pakiet ecryptfs-utils należy zainstalować, aby montować eCryptfs.
60 Summary: The eCryptfs userspace development package
61 Summary(pl.UTF-8): Pakiet programistyczny przestrzeni użytkownika dla eCryptfs
62 Group: Development/Libraries
63 Requires: %{name} = %{version}-%{release}
64 Requires: keyutils-devel >= 1.0
65 Requires: nss-devel >= 3
68 Userspace development files for eCryptfs.
70 %description devel -l pl.UTF-8
71 Pliki programistyczne przestrzeni użytkownika dla eCryptfs.
74 Summary: Static eCryptfs library
75 Summary(pl.UTF-8): Statyczna biblioteka eCryptfs
76 Group: Development/Libraries
77 Requires: %{name}-devel = %{version}-%{release}
80 Static eCryptfs library.
82 %description static -l pl.UTF-8
83 Statyczna biblioteka eCryptfs.
85 %package -n pam-pam_ecryptfs
86 Summary: eCryptfs PAM module
87 Summary(pl.UTF-8): Moduł PAM eCryptfs
89 Requires: %{name} = %{version}-%{release}
91 %description -n pam-pam_ecryptfs
94 %description -n pam-pam_ecryptfs -l pl.UTF-8
97 %package -n python-ecryptfs
98 Summary: Python bindings for the eCryptfs utils
99 Summary(pl.UTF-8): Wiązania Pythona do narzędzi eCryptfs
100 Group: Libraries/Python
101 Requires: %{name} = %{version}-%{release}
102 Obsoletes: ecryptfs-utils-python
104 %description -n python-ecryptfs
105 This package contains a module that permits applications written in
106 the Python programming language to use the interface supplied by the
107 ecryptfs-utils library.
109 %description -n python-ecryptfs -l pl.UTF-8
110 Ten pakiet zawiera moduł pozwalający aplikacjom napisanym w Pythonie
111 na korzystanie z interfejsu dostarczanego przez bibliotekę
134 --enable-pkcs11-helper \
141 rm -rf $RPM_BUILD_ROOT
143 %{__make} -j1 install \
144 DESTDIR=$RPM_BUILD_ROOT
146 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{name}/_libecryptfs.{la,a}
152 rm -rf $RPM_BUILD_ROOT
155 %groupadd -g 260 ecryptfs
159 if [ "$1" = "0" ]; then
160 %groupremove ecryptfs
163 %post -p /sbin/ldconfig
165 %files -f %{name}.lang
166 %defattr(644,root,root,755)
167 %doc AUTHORS ChangeLog NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt}
168 %attr(755,root,root) /sbin/mount.ecryptfs
169 %attr(4754,root,ecryptfs) /sbin/mount.ecryptfs_private
170 %attr(755,root,root) /sbin/umount.ecryptfs_private
171 %attr(755,root,root) /sbin/umount.ecryptfs
172 %attr(755,root,root) %{_bindir}/ecryptfs-*
173 %attr(755,root,root) %{_bindir}/ecryptfsd
174 %attr(755,root,root) %{_libdir}/libecryptfs.so.*.*.*
175 %attr(755,root,root) %ghost %{_libdir}/libecryptfs.so.0
176 %dir %{_libdir}/ecryptfs
177 %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_gpg.so
178 %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_openssl.so
179 %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_passphrase.so
180 %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_pkcs11_helper.so
181 %attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_tspi.so
183 %{_mandir}/man1/ecryptfs-*.1*
184 %{_mandir}/man1/mount.ecryptfs_private.1*
185 %{_mandir}/man1/umount.ecryptfs_private.1*
186 %{_mandir}/man7/ecryptfs.7*
187 %{_mandir}/man8/ecryptfs-*.8*
188 %{_mandir}/man8/ecryptfsd.8*
189 %{_mandir}/man8/mount.ecryptfs.8*
190 %{_mandir}/man8/umount.ecryptfs.8*
193 %defattr(644,root,root,755)
194 %attr(755,root,root) %{_libdir}/libecryptfs.so
195 %{_libdir}/libecryptfs.la
196 %{_includedir}/ecryptfs.h
197 %{_pkgconfigdir}/libecryptfs.pc
200 %defattr(644,root,root,755)
201 %{_libdir}/libecryptfs.a
203 %files -n pam-pam_ecryptfs
204 %defattr(644,root,root,755)
205 %doc doc/ecryptfs-pam-doc.txt
206 %attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so
207 %{_mandir}/man8/pam_ecryptfs.8*
209 %files -n python-ecryptfs
210 %defattr(644,root,root,755)
211 %dir %{py_sitedir}/%{name}
212 %attr(755,root,root) %{py_sitedir}/%{name}/_libecryptfs.so*
213 %dir %{py_sitescriptdir}/%{name}
214 %{py_sitescriptdir}/%{name}/*.py[co]