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