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