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