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