1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
%{!?__python2: %global __python2 /usr/bin/python2}
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Name: ecryptfs-utils
Summary: eCryptfs user space utilities
Version: 104
Release: 2
Group: System/Libraries
License: GPL-2.0+
Source: %{name}_%{version}.orig.tar.gz
Source1: %{name}.manifest
URL: http://ecryptfs.org
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: keyutils
Requires: libecryptfs = %{version}-%{release}
BuildRequires: intltool
BuildRequires: python-devel
BuildRequires: keyutils-devel
BuildRequires: nss-devel
BuildRequires: pam-devel
%description
%{summary}.
%package -n libecryptfs
Summary: eCryptfs runtime library
Group: System/Libraries
%description -n libecryptfs
%{summary}.
%package -n libecryptfs-devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: libecryptfs = %{version}-%{release}
Requires: keyutils-devel
%description -n libecryptfs-devel
%{summary}.
%package -n libecryptfs-python
Summary: Python bindings for %{name}
Group: Development/Libraries
Requires: libecryptfs = %{version}-%{release}
%description -n libecryptfs-python
%{summary}.
%prep
%setup -q -n %{name}-%{version}
cp %{SOURCE1} .
%build
%configure --disable-openssl
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%manifest %{name}.manifest
%doc AUTHORS COPYING INSTALL NEWS README
%{_bindir}/ecryptfs*
/sbin/mount.ecryptfs*
/sbin/umount.ecryptfs*
%ifarch x86_64
/lib64/security/pam_ecryptfs.so
%else
/lib/security/pam_ecryptfs.so
%endif
%{_datadir}/locale/*/LC_MESSAGES/ecryptfs-utils.mo
%{_mandir}/man1/*ecryptfs*
%{_mandir}/man7/*ecryptfs*
%{_mandir}/man8/*ecryptfs*
%{_datadir}/doc/%{name}/*
%{_datadir}/ecryptfs-utils/*
%files -n libecryptfs
%defattr(-,root,root,-)
%manifest %{name}.manifest
%{_libdir}/libecryptfs.so.*
%{_libdir}/ecryptfs/*
%files -n libecryptfs-devel
%defattr(-,root,root,-)
%{_includedir}/ecryptfs.h
%{_libdir}/libecryptfs.so
%{_libdir}/pkgconfig/libecryptfs.pc
%files -n libecryptfs-python
%defattr(-,root,root,-)
%{python2_sitelib}/ecryptfs-utils/*
%{python2_sitearch}/ecryptfs-utils/*
|