]> git.pld-linux.org Git - packages/ecryptfs-utils.git/blob - ecryptfs-utils.spec
- binary readable for everyone, no secrets inside
[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:        85
5 Release:        4
6 License:        GPL v2+
7 Group:          Base
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)
39
40 # python module
41 %define         skip_post_check_so      _libecryptfs.so.0.0.0
42
43 %description
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
47 functions.
48
49 Install ecryptfs-utils if you would like to mount eCryptfs.
50
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.
56
57 Pakiet ecryptfs-utils należy zainstalować, aby montować eCryptfs.
58
59 %package devel
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
66
67 %description devel
68 Userspace development files for eCryptfs.
69
70 %description devel -l pl.UTF-8
71 Pliki programistyczne przestrzeni użytkownika dla eCryptfs.
72
73 %package static
74 Summary:        Static eCryptfs library
75 Summary(pl.UTF-8):      Statyczna biblioteka eCryptfs
76 Group:          Development/Libraries
77 Requires:       %{name}-devel = %{version}-%{release}
78
79 %description static
80 Static eCryptfs library.
81
82 %description static -l pl.UTF-8
83 Statyczna biblioteka eCryptfs.
84
85 %package -n pam-pam_ecryptfs
86 Summary:        eCryptfs PAM module
87 Summary(pl.UTF-8):      Moduł PAM eCryptfs
88 Group:          Base
89 Requires:       %{name} = %{version}-%{release}
90
91 %description -n pam-pam_ecryptfs
92 eCryptfs PAM module.
93
94 %description -n pam-pam_ecryptfs -l pl.UTF-8
95 Moduł PAM eCryptfs.
96
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
103
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.
108
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ę
112 ecryptfs-utils.
113
114 %prep
115 %setup -q
116 %patch0 -p1
117 %patch1 -p1
118 %patch2 -p1
119 %patch3 -p1
120 %patch4 -p1
121 %patch5 -p1
122
123 %build
124 %{__libtoolize}
125 %{__aclocal} -I m4
126 %{__autoconf}
127 %{__autoheader}
128 %{__automake}
129 %configure \
130         --enable-gpg \
131         --enable-nss \
132         --enable-openssl \
133         --enable-pam \
134         --enable-pkcs11-helper \
135         --enable-tspi \
136         --enable-static
137
138 %{__make}
139
140 %install
141 rm -rf $RPM_BUILD_ROOT
142
143 %{__make} -j1 install \
144         DESTDIR=$RPM_BUILD_ROOT
145
146 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{name}/_libecryptfs.{la,a}
147 %py_postclean
148
149 %find_lang %{name}
150
151 %clean
152 rm -rf $RPM_BUILD_ROOT
153
154 %pre
155 %groupadd -g 260 ecryptfs
156
157 %postun
158 /sbin/ldconfig
159 if [ "$1" = "0" ]; then
160         %groupremove ecryptfs
161 fi
162
163 %post   -p /sbin/ldconfig
164
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
182 %{_datadir}/%{name}
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*
191
192 %files devel
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
198
199 %files static
200 %defattr(644,root,root,755)
201 %{_libdir}/libecryptfs.a
202
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*
208
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]
This page took 0.092668 seconds and 4 git commands to generate.