]> git.pld-linux.org Git - packages/ecryptfs-utils.git/blame - ecryptfs-utils.spec
up to 85
[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
4aaab0b8 5Release: 1
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
648833c8 11URL: http://ecryptfs.sourceforge.net/
f4eb7533
JB
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake
020418a4 14BuildRequires: gpgme-devel
fa31bca6 15BuildRequires: intltool >= 0.41.0
648833c8 16BuildRequires: keyutils-devel >= 1.0
8ecb7617 17BuildRequires: libgcrypt-devel >= 1.2.0
f4eb7533 18BuildRequires: libtool
68287c3e 19BuildRequires: openssl-devel >= 0.9.7
020418a4 20BuildRequires: pam-devel
648833c8 21BuildRequires: perl-tools-pod
8ecb7617 22BuildRequires: pkcs11-helper-devel >= 1.04
68287c3e 23BuildRequires: pkgconfig
c5fb99ba
AM
24BuildRequires: python-devel
25BuildRequires: swig
86085d49 26BuildRequires: trousers-devel
f3d24465 27Requires: uname(release) >= 2.6.19
020418a4
AM
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
c5fb99ba
AM
30# python module
31%define skip_post_check_so _libecryptfs.so.0.0.0
32
020418a4
AM
33%description
34eCryptfs is a stacked cryptographic filesystem that ships in Linux
35kernel versions 2.6.19 and above. This package provides the mount
36helper and supporting libraries to perform key management and mount
37functions.
38
39Install ecryptfs-utils if you would like to mount eCryptfs.
40
648833c8
JB
41%description -l pl.UTF-8
42eCryptfs to stakowalny kryptograficzny system plików dostępny w jądrze
43Linuksa od wersji 2.6.19. Ten pakiet udostępnia narzędzie pomocnicze
44dla programu mount oraz wspierające je biblioteki wykonujące
45zarządzanie kluczami i funkcje związane z montowaniem.
46
47Pakiet ecryptfs-utils należy zainstalować, aby montować eCryptfs.
48
020418a4
AM
49%package devel
50Summary: The eCryptfs userspace development package
648833c8
JB
51Summary(pl.UTF-8): Pakiet programistyczny przestrzeni użytkownika dla eCryptfs
52Group: Development/Libraries
020418a4 53Requires: %{name} = %{version}-%{release}
68287c3e
JB
54Requires: keyutils-devel >= 1.0
55Requires: libgcrypt-devel >= 1.2.0
020418a4
AM
56
57%description devel
58Userspace development files for eCryptfs.
59
648833c8
JB
60%description devel -l pl.UTF-8
61Pliki programistyczne przestrzeni użytkownika dla eCryptfs.
62
63%package static
64Summary: Static eCryptfs library
65Summary(pl.UTF-8): Statyczna biblioteka eCryptfs
66Group: Development/Libraries
67Requires: %{name}-devel = %{version}-%{release}
68
69%description static
70Static eCryptfs library.
71
72%description static -l pl.UTF-8
73Statyczna biblioteka eCryptfs.
74
020418a4
AM
75%package -n pam-pam_ecryptfs
76Summary: A PAM module - ecryptfs
77Summary(pl.UTF-8): Moduł PAM ecryptfs
78Group: Base
79Requires: %{name} = %{version}-%{release}
80
81%description -n pam-pam_ecryptfs
82A PAM module - ecryptfs.
83
84%description -n pam-pam_ecryptfs -l pl.UTF-8
85Moduł PAM ecryptfs.
86
c5fb99ba
AM
87%package python
88Summary: Python bindings for the eCryptfs utils
89Group: Base
90Requires: %{name} = %{version}-%{release}
91
92%description python
93The ecryptfs-utils-python package contains a module that permits
94applications written in the Python programming language to use the
95interface supplied by the ecryptfs-utils library.
96
020418a4
AM
97%prep
98%setup -q
f4eb7533 99%patch0 -p1
020418a4
AM
100
101%build
f4eb7533 102%{__libtoolize}
f891a956 103%{__aclocal} -I m4
f4eb7533
JB
104%{__autoconf}
105%{__autoheader}
106%{__automake}
020418a4 107%configure \
a6ab4d5e 108 --enable-gpg \
8ecb7617 109 --enable-openssl \
a6ab4d5e 110 --enable-pam \
8ecb7617 111 --enable-pkcs11-helper \
cf940cc5 112 --enable-tspi \
113 --enable-static
020418a4
AM
114
115%{__make}
116
117%install
118rm -rf $RPM_BUILD_ROOT
119
120%{__make} -j1 install \
121 DESTDIR=$RPM_BUILD_ROOT
122
c5fb99ba
AM
123%find_lang %{name}
124
020418a4
AM
125%clean
126rm -rf $RPM_BUILD_ROOT
127
648833c8
JB
128%post -p /sbin/ldconfig
129%postun -p /sbin/ldconfig
130
c5fb99ba 131%files -f %{name}.lang
020418a4 132%defattr(644,root,root,755)
d8d8a2cb 133%doc AUTHORS NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt}
020418a4 134%attr(755,root,root) /sbin/mount.ecryptfs
d8d8a2cb
JB
135%attr(755,root,root) /sbin/mount.ecryptfs_private
136%attr(755,root,root) /sbin/umount.ecryptfs_private
1a853d98 137%attr(755,root,root) /sbin/umount.ecryptfs
648833c8
JB
138%attr(755,root,root) %{_bindir}/ecryptfs-*
139%attr(755,root,root) %{_bindir}/ecryptfsd
140%attr(755,root,root) %{_libdir}/libecryptfs.so.*.*.*
141%attr(755,root,root) %ghost %{_libdir}/libecryptfs.so.0
142%dir %{_libdir}/ecryptfs
4aaab0b8 143%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_gpg.so
86085d49
JB
144%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_openssl.so
145%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_passphrase.so
8ecb7617 146%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_pkcs11_helper.so
86085d49 147%attr(755,root,root) %{_libdir}/ecryptfs/libecryptfs_key_mod_tspi.so
c5fb99ba 148%{_datadir}/%{name}
2ec150f5
JB
149%{_mandir}/man1/ecryptfs-*.1*
150%{_mandir}/man1/mount.ecryptfs_private.1*
151%{_mandir}/man1/umount.ecryptfs_private.1*
020418a4 152%{_mandir}/man7/ecryptfs.7*
648833c8
JB
153%{_mandir}/man8/ecryptfs-*.8*
154%{_mandir}/man8/ecryptfsd.8*
155%{_mandir}/man8/mount.ecryptfs.8*
1a853d98 156%{_mandir}/man8/umount.ecryptfs.8*
020418a4
AM
157
158%files devel
159%defattr(644,root,root,755)
020418a4 160%attr(755,root,root) %{_libdir}/libecryptfs.so
4aaab0b8 161%{_libdir}/libecryptfs.la
020418a4 162%{_includedir}/ecryptfs.h
68287c3e 163%{_pkgconfigdir}/libecryptfs.pc
020418a4 164
4aaab0b8
AM
165%files static
166%defattr(644,root,root,755)
167%{_libdir}/libecryptfs.a
648833c8 168
020418a4
AM
169%files -n pam-pam_ecryptfs
170%defattr(644,root,root,755)
d8d8a2cb 171%doc doc/ecryptfs-pam-doc.txt
020418a4 172%attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so
2ec150f5 173%{_mandir}/man8/pam_ecryptfs.8*
c5fb99ba
AM
174
175%files python
176%defattr(644,root,root,755)
177%attr(755,root,root) %{py_sitedir}/%{name}/_libecryptfs.so*
178%dir %{py_sitescriptdir}/%{name}
179%{py_sitescriptdir}/%{name}/*.py[co]
This page took 2.742119 seconds and 4 git commands to generate.