]> git.pld-linux.org Git - packages/ecryptfs-utils.git/blame - ecryptfs-utils.spec
- BR: gettext-devel, glib2-devel, python-modules, rpm-pythonprov
[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
c5fb99ba 4Version: 85
f75063e5 5Release: 4
648833c8 6License: GPL v2+
020418a4 7Group: Base
f891a956 8Source0: http://launchpad.net/ecryptfs/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz
c5fb99ba 9# Source0-md5: eacf9488681d99651da544a4c261f784
f4eb7533 10Patch0: %{name}-sh.patch
bc1c8867
AM
11Patch1: %{name}-83-fixsalt.patch
12Patch2: %{name}-83-splitnss.patch
13Patch3: %{name}-84-fgetc.patch
14Patch4: %{name}-84-fixsigness.patch
15Patch5: %{name}-75-werror.patch
648833c8 16URL: http://ecryptfs.sourceforge.net/
f4eb7533
JB
17BuildRequires: autoconf >= 2.59
18BuildRequires: automake
eb9a764a 19BuildRequires: gettext-devel
20BuildRequires: glib2-devel
020418a4 21BuildRequires: gpgme-devel
fa31bca6 22BuildRequires: intltool >= 0.41.0
648833c8 23BuildRequires: keyutils-devel >= 1.0
f4eb7533 24BuildRequires: libtool
7ea30a1a 25BuildRequires: nss-devel >= 3
68287c3e 26BuildRequires: openssl-devel >= 0.9.7
020418a4 27BuildRequires: pam-devel
648833c8 28BuildRequires: perl-tools-pod
8ecb7617 29BuildRequires: pkcs11-helper-devel >= 1.04
68287c3e 30BuildRequires: pkgconfig
7ea30a1a 31BuildRequires: python-devel >= 1:2.5
eb9a764a 32BuildRequires: python-modules
33BuildRequires: rpm-pythonprov
7ea30a1a
JB
34BuildRequires: rpmbuild(macros) >= 1.219
35BuildRequires: swig >= 1.3.31
86085d49 36BuildRequires: trousers-devel
f3d24465 37Requires: uname(release) >= 2.6.19
020418a4
AM
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
c5fb99ba
AM
40# python module
41%define skip_post_check_so _libecryptfs.so.0.0.0
42
020418a4
AM
43%description
44eCryptfs is a stacked cryptographic filesystem that ships in Linux
45kernel versions 2.6.19 and above. This package provides the mount
46helper and supporting libraries to perform key management and mount
47functions.
48
49Install ecryptfs-utils if you would like to mount eCryptfs.
50
648833c8
JB
51%description -l pl.UTF-8
52eCryptfs to stakowalny kryptograficzny system plików dostępny w jądrze
53Linuksa od wersji 2.6.19. Ten pakiet udostępnia narzędzie pomocnicze
54dla programu mount oraz wspierające je biblioteki wykonujące
55zarządzanie kluczami i funkcje związane z montowaniem.
56
57Pakiet ecryptfs-utils należy zainstalować, aby montować eCryptfs.
58
020418a4
AM
59%package devel
60Summary: The eCryptfs userspace development package
648833c8
JB
61Summary(pl.UTF-8): Pakiet programistyczny przestrzeni użytkownika dla eCryptfs
62Group: Development/Libraries
020418a4 63Requires: %{name} = %{version}-%{release}
68287c3e 64Requires: keyutils-devel >= 1.0
7ea30a1a 65Requires: nss-devel >= 3
020418a4
AM
66
67%description devel
68Userspace development files for eCryptfs.
69
648833c8
JB
70%description devel -l pl.UTF-8
71Pliki programistyczne przestrzeni użytkownika dla eCryptfs.
72
73%package static
74Summary: Static eCryptfs library
75Summary(pl.UTF-8): Statyczna biblioteka eCryptfs
76Group: Development/Libraries
77Requires: %{name}-devel = %{version}-%{release}
78
79%description static
80Static eCryptfs library.
81
82%description static -l pl.UTF-8
83Statyczna biblioteka eCryptfs.
84
020418a4 85%package -n pam-pam_ecryptfs
7ea30a1a
JB
86Summary: eCryptfs PAM module
87Summary(pl.UTF-8): Moduł PAM eCryptfs
020418a4
AM
88Group: Base
89Requires: %{name} = %{version}-%{release}
90
91%description -n pam-pam_ecryptfs
7ea30a1a 92eCryptfs PAM module.
020418a4
AM
93
94%description -n pam-pam_ecryptfs -l pl.UTF-8
7ea30a1a 95Moduł PAM eCryptfs.
020418a4 96
7ea30a1a 97%package -n python-ecryptfs
c5fb99ba 98Summary: Python bindings for the eCryptfs utils
7ea30a1a
JB
99Summary(pl.UTF-8): Wiązania Pythona do narzędzi eCryptfs
100Group: Libraries/Python
c5fb99ba 101Requires: %{name} = %{version}-%{release}
7ea30a1a
JB
102Obsoletes: ecryptfs-utils-python
103
104%description -n python-ecryptfs
105This package contains a module that permits applications written in
106the Python programming language to use the interface supplied by the
107ecryptfs-utils library.
c5fb99ba 108
7ea30a1a
JB
109%description -n python-ecryptfs -l pl.UTF-8
110Ten pakiet zawiera moduł pozwalający aplikacjom napisanym w Pythonie
111na korzystanie z interfejsu dostarczanego przez bibliotekę
112ecryptfs-utils.
c5fb99ba 113
020418a4
AM
114%prep
115%setup -q
f4eb7533 116%patch0 -p1
bc1c8867
AM
117%patch1 -p1
118%patch2 -p1
119%patch3 -p1
120%patch4 -p1
121%patch5 -p1
020418a4
AM
122
123%build
f4eb7533 124%{__libtoolize}
f891a956 125%{__aclocal} -I m4
f4eb7533
JB
126%{__autoconf}
127%{__autoheader}
128%{__automake}
020418a4 129%configure \
a6ab4d5e 130 --enable-gpg \
ae7fc6eb 131 --enable-nss \
8ecb7617 132 --enable-openssl \
a6ab4d5e 133 --enable-pam \
8ecb7617 134 --enable-pkcs11-helper \
cf940cc5 135 --enable-tspi \
136 --enable-static
020418a4
AM
137
138%{__make}
139
140%install
141rm -rf $RPM_BUILD_ROOT
142
143%{__make} -j1 install \
144 DESTDIR=$RPM_BUILD_ROOT
145
7ea30a1a
JB
146%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{name}/_libecryptfs.{la,a}
147%py_postclean
148
c5fb99ba
AM
149%find_lang %{name}
150
020418a4
AM
151%clean
152rm -rf $RPM_BUILD_ROOT
153
3d03ec64
AM
154%pre
155%groupadd -g 260 ecryptfs
156
157%postun
42434661 158/sbin/ldconfig
3d03ec64
AM
159if [ "$1" = "0" ]; then
160 %groupremove ecryptfs
161fi
162
648833c8 163%post -p /sbin/ldconfig
648833c8 164
c5fb99ba 165%files -f %{name}.lang
020418a4 166%defattr(644,root,root,755)
7ea30a1a 167%doc AUTHORS ChangeLog NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt}
020418a4 168%attr(755,root,root) /sbin/mount.ecryptfs
f75063e5 169%attr(4750,root,ecryptfs) /sbin/mount.ecryptfs_private
d8d8a2cb 170%attr(755,root,root) /sbin/umount.ecryptfs_private
1a853d98 171%attr(755,root,root) /sbin/umount.ecryptfs
648833c8
JB
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
4aaab0b8 177%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_gpg.so
86085d49
JB
178%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_openssl.so
179%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_passphrase.so
8ecb7617 180%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_pkcs11_helper.so
86085d49 181%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_tspi.so
c5fb99ba 182%{_datadir}/%{name}
2ec150f5
JB
183%{_mandir}/man1/ecryptfs-*.1*
184%{_mandir}/man1/mount.ecryptfs_private.1*
185%{_mandir}/man1/umount.ecryptfs_private.1*
020418a4 186%{_mandir}/man7/ecryptfs.7*
648833c8
JB
187%{_mandir}/man8/ecryptfs-*.8*
188%{_mandir}/man8/ecryptfsd.8*
189%{_mandir}/man8/mount.ecryptfs.8*
1a853d98 190%{_mandir}/man8/umount.ecryptfs.8*
020418a4
AM
191
192%files devel
193%defattr(644,root,root,755)
020418a4 194%attr(755,root,root) %{_libdir}/libecryptfs.so
4aaab0b8 195%{_libdir}/libecryptfs.la
020418a4 196%{_includedir}/ecryptfs.h
68287c3e 197%{_pkgconfigdir}/libecryptfs.pc
020418a4 198
4aaab0b8
AM
199%files static
200%defattr(644,root,root,755)
201%{_libdir}/libecryptfs.a
648833c8 202
020418a4
AM
203%files -n pam-pam_ecryptfs
204%defattr(644,root,root,755)
d8d8a2cb 205%doc doc/ecryptfs-pam-doc.txt
020418a4 206%attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so
2ec150f5 207%{_mandir}/man8/pam_ecryptfs.8*
c5fb99ba 208
7ea30a1a 209%files -n python-ecryptfs
c5fb99ba 210%defattr(644,root,root,755)
7ea30a1a 211%dir %{py_sitedir}/%{name}
c5fb99ba
AM
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.118001 seconds and 4 git commands to generate.