1 |
# rpmbuild --rebuild --with testsuite --without clustering samba.src.rpm |
2 |
# |
3 |
# The testsuite is disabled by default. Set --with testsuite or bcond_without |
4 |
# to run the Samba torture testsuite. |
5 |
%bcond_with testsuite |
6 |
# ctdb is enabled by default, you can disable it with: --without clustering |
7 |
%bcond_without clustering |
8 |
|
9 |
%define _disable_ld_no_undefined %{nil} |
10 |
|
11 |
%define nssmajor 2 |
12 |
|
13 |
%define major 1 |
14 |
%define libname %mklibname %{name} %{major} |
15 |
%define develname %mklibname %{name} -d |
16 |
|
17 |
%define wbclientmajor 0 |
18 |
%define libwbclient %mklibname wbclient %{wbclientmajor} |
19 |
%define wbclientdevel %mklibname wbclient -d |
20 |
|
21 |
%define smbclientmajor 0 |
22 |
%define libsmbclient %mklibname smbclient %{smbclientmajor} |
23 |
%define smbclientdevel %mklibname smbclient -d |
24 |
|
25 |
%define testmajor 0 |
26 |
%define libtest %mklibname %{name}-test %{testmajor} |
27 |
%define testdevel %mklibname %{name}-test -d |
28 |
|
29 |
%define dcmajor 0 |
30 |
%define libsdc %mklibname %{name}-dc %{dcmajor} |
31 |
|
32 |
%define kdcmajor 2 |
33 |
%define libkdc %mklibname kdc-samba4_ %{kdcmajor} |
34 |
|
35 |
%define heimntlmmajor 1 |
36 |
%define libheimntlm %mklibname heimntlm-samba4_ %{heimntlmmajor} |
37 |
|
38 |
# filter out some bogues devel() requires |
39 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}devel\\(lib.*-samba4 |
40 |
|
41 |
# filter out some bogus requires/provides |
42 |
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libdir}/libnss_win.*\\.so |
43 |
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_libdir}/libnss_win.*\\.so |
44 |
|
45 |
# more filtering |
46 |
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}lib.*samba4.so\\( |
47 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}lib.*samba4.so\\( |
48 |
|
49 |
# filter out perl requirements pulled in from examples in the docdir. |
50 |
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_docdir} |
51 |
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_docdir}/\[^/\]*/\[^M\] |
52 |
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(VMS|^perl\\(Win32|^perl\\(DB\\)|^perl\\(UNIVERSAL\\) |
53 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(VMS|^perl\\(Win32 |
54 |
|
55 |
%global cups_serverbin /usr/lib/cups |
56 |
|
57 |
%define rel 2 |
58 |
|
59 |
%define talloc_version 2.1.15 |
60 |
%define ntdb_version 1.0 |
61 |
%define tdb_version 1.3.17 |
62 |
%define tevent_version 0.9.38 |
63 |
%define ldb_version 1:1.5.5 |
64 |
# This should be rc1 or %%nil |
65 |
%define pre_release %nil |
66 |
|
67 |
%if "x%{?pre_release}" != "x" |
68 |
%define tardir rc |
69 |
%define samba_release 0.%{pre_release}.%{rel} |
70 |
%else |
71 |
%define tardir stable |
72 |
%define samba_release %{rel} |
73 |
%endif |
74 |
|
75 |
%global with_libsmbclient 1 |
76 |
%global with_libwbclient 1 |
77 |
|
78 |
%global with_internal_talloc 0 |
79 |
%global with_internal_tevent 0 |
80 |
%global with_internal_tdb 0 |
81 |
%global with_internal_ntdb 0 |
82 |
%global with_internal_ldb 0 |
83 |
|
84 |
%global with_profiling 1 |
85 |
|
86 |
%global with_vfs_cephfs 0 |
87 |
|
88 |
%global with_vfs_glusterfs 0 |
89 |
|
90 |
|
91 |
%global with_mitkrb5 0 |
92 |
%global with_dc 1 |
93 |
|
94 |
%if %{with testsuite} |
95 |
# The testsuite only works with a full build right now. |
96 |
%global with_mitkrb5 0 |
97 |
%global with_dc 1 |
98 |
%endif |
99 |
|
100 |
%global with_clustering_support 0 |
101 |
|
102 |
%if %{with clustering} |
103 |
%global with_clustering_support 1 |
104 |
%endif |
105 |
|
106 |
Name: samba |
107 |
Version: 4.10.8 |
108 |
Release: %mkrel %{samba_release} |
109 |
|
110 |
Summary: Server and Client software to interoperate with Windows machines |
111 |
License: GPLv3+ and LGPLv3+ |
112 |
Group: System/Servers |
113 |
URL: http://www.samba.org/ |
114 |
Source0: https://download.samba.org/pub/samba/%{tardir}/samba-%{version}%{pre_release}.tar.gz |
115 |
|
116 |
# Red Hat specific replacement-files |
117 |
Source1: samba.log |
118 |
Source2: samba.xinetd |
119 |
# For classic NT4-style domains |
120 |
Source4: smb.conf.default |
121 |
Source5: pam_winbind.conf |
122 |
Source6: samba.pamd |
123 |
|
124 |
Source200: README.dc |
125 |
Source201: README.downgrade |
126 |
|
127 |
Patch1: samba-4.10.x-drop-stropts.h.patch |
128 |
|
129 |
Requires(pre): rpm-helper >= %{rpmhelper_required_version} |
130 |
Requires(post): rpm-helper >= %{rpmhelper_required_version} |
131 |
Requires(preun): rpm-helper >= %{rpmhelper_required_version} |
132 |
Requires(postun): rpm-helper >= %{rpmhelper_required_version} |
133 |
|
134 |
|
135 |
Requires(pre): %{name}-common = %{version}-%{release} |
136 |
Requires: %{libname} = %{version}-%{release} |
137 |
%if %{with_libwbclient} |
138 |
Requires: %{libwbclient} = %{version}-%{release} |
139 |
%endif |
140 |
|
141 |
Requires: pam |
142 |
|
143 |
Obsoletes: %{name}-server < 4.0.0 |
144 |
Provides: %{name}-server = %{version}-%{release} |
145 |
|
146 |
# We don't build it outdated docs anymore |
147 |
Obsoletes: samba-doc |
148 |
# Is not supported yet |
149 |
Obsoletes: samba-domainjoin-gui |
150 |
# SWAT been deprecated and removed from samba |
151 |
Obsoletes: samba-swat |
152 |
Obsoletes: samba4-swat |
153 |
|
154 |
BuildRequires: cups-devel |
155 |
BuildRequires: pkgconfig(dbus-1) |
156 |
BuildRequires: docbook-style-xsl |
157 |
BuildRequires: e2fsprogs-devel |
158 |
BuildRequires: gawk |
159 |
BuildRequires: krb5-devel >= 1.10 |
160 |
BuildRequires: libacl-devel |
161 |
BuildRequires: libaio-devel |
162 |
BuildRequires: pkgconfig(libarchive) |
163 |
BuildRequires: pkgconfig(libattr) |
164 |
BuildRequires: pkgconfig(libcap) |
165 |
BuildRequires: pkgconfig(uuid) |
166 |
BuildRequires: pkgconfig(libxslt) |
167 |
BuildRequires: lmdb-devel |
168 |
BuildRequires: pkgconfig(ncurses) |
169 |
BuildRequires: openldap-devel |
170 |
BuildRequires: pam-devel |
171 |
BuildRequires: perl(ExtUtils::MakeMaker) |
172 |
BuildRequires: perl(Parse::Yapp) |
173 |
BuildRequires: pkgconfig(popt) |
174 |
BuildRequires: pkgconfig(python2) |
175 |
BuildRequires: pkgconfig(python3) |
176 |
BuildRequires: python2-tevent |
177 |
BuildRequires: python3-tevent |
178 |
BuildRequires: quota-devel |
179 |
BuildRequires: readline-devel |
180 |
BuildRequires: sed |
181 |
BuildRequires: pkgconfig(libtasn1) |
182 |
BuildRequires: libtasn1-tools |
183 |
BuildRequires: pkgconfig(zlib) >= 1.2.3 |
184 |
BuildRequires: xsltproc |
185 |
BuildRequires: libgpgme-devel |
186 |
BuildRequires: pkgconfig(systemd) |
187 |
BuildRequires: pkgconfig(cmocka) |
188 |
BuildRequires: pkgconfig(jansson) |
189 |
|
190 |
%if %{with_vfs_glusterfs} |
191 |
BuildRequires: pkgconfig(glusterfs-api) |
192 |
%endif |
193 |
%if %{with_vfs_cephfs} |
194 |
BuildRequires: libcephfs1-devel |
195 |
%endif |
196 |
%if %{with_dc} |
197 |
BuildRequires: pkgconfig(gnutls) |
198 |
%endif |
199 |
|
200 |
# pidl requirements |
201 |
BuildRequires: perl(Parse::Yapp) |
202 |
|
203 |
%if ! %{with_internal_talloc} |
204 |
BuildRequires: pkgconfig(talloc) >= %{talloc_version} |
205 |
BuildRequires: pytalloc-util-devel >= %{talloc_version} |
206 |
BuildRequires: python3-talloc >= %{talloc_version} |
207 |
%endif |
208 |
|
209 |
%if ! %{with_internal_tevent} |
210 |
BuildRequires: pkgconfig(tevent) >= %{tevent_version} |
211 |
BuildRequires: python2-tevent >= %{tevent_version} |
212 |
BuildRequires: python3-tevent >= %{tevent_version} |
213 |
%endif |
214 |
|
215 |
%if ! %{with_internal_ldb} |
216 |
BuildRequires: ldb-devel >= %ldb_version |
217 |
BuildRequires: pyldb-util-devel >= %{ldb_version} |
218 |
BuildRequires: python2-ldb >= %{ldb_version} |
219 |
BuildRequires: python3-ldb >= %{ldb_version} |
220 |
%endif |
221 |
|
222 |
%if ! %{with_internal_tdb} |
223 |
BuildRequires: pkgconfig(tdb) >= %{tdb_version} |
224 |
BuildRequires: python2-tdb >= %{tdb_version} |
225 |
BuildRequires: python3-tdb >= %{tdb_version} |
226 |
%endif |
227 |
|
228 |
%if %{with testsuite} |
229 |
BuildRequires: ldb-tools |
230 |
%endif |
231 |
|
232 |
### SAMBA |
233 |
%description |
234 |
Samba is the standard Windows interoperability suite of programs |
235 |
for Linux and Unix. |
236 |
|
237 |
### CLIENT |
238 |
%package client |
239 |
Summary: Samba client programs |
240 |
Group: Networking/Other |
241 |
Requires: %{name}-common = %{version}-%{release} |
242 |
Requires: %{libname} = %{version}-%{release} |
243 |
%if %{with_libsmbclient} |
244 |
Requires: %{libsmbclient} = %{version}-%{release} |
245 |
%endif |
246 |
# virtual provides for drakxtools-backend |
247 |
Provides: smb-client = %{version}-%{release} |
248 |
|
249 |
Requires(post): chkconfig |
250 |
Requires(postun): chkconfig |
251 |
|
252 |
%description client |
253 |
The samba4-client package provides some SMB/CIFS clients to complement |
254 |
the built-in SMB/CIFS filesystem in Linux. These clients allow access |
255 |
of SMB/CIFS shares and printing to SMB/CIFS printers. |
256 |
|
257 |
### COMMON |
258 |
%package common |
259 |
Summary: Files used by both Samba servers and clients |
260 |
Group: System/Servers |
261 |
Requires: %{libname} = %{version}-%{release} |
262 |
Requires: %{libsdc} = %{version}-%{release} |
263 |
%if %{with_libwbclient} |
264 |
Requires: %{libwbclient} = %{version}-%{release} |
265 |
%endif |
266 |
%if ! %{with_dc} |
267 |
Obsoletes: %{libkdc} < %{version}-%{release} |
268 |
Obsoletes: %{libheimntlm} < %{version}-%{release} |
269 |
%endif |
270 |
|
271 |
%description common |
272 |
samba-common provides files necessary for both the server and client |
273 |
packages of Samba. |
274 |
|
275 |
### DC |
276 |
%package dc |
277 |
Summary: Samba AD Domain Controller |
278 |
Group: System/Servers |
279 |
Requires: %{libname} = %{version}-%{release} |
280 |
Requires: %{libsdc} = %{version}-%{release} |
281 |
Requires: python3-samba = %{version}-%{release} |
282 |
Conflicts: %{name} < 4.10.0 |
283 |
# libpac-samba4.so moved to lib(64)samba-dc0 |
284 |
Conflicts: %{libsdc} < 4.4.4-2 |
285 |
|
286 |
%description dc |
287 |
The samba-dc package provides AD Domain Controller functionality |
288 |
|
289 |
### DC-LIBS |
290 |
%package -n %{libsdc} |
291 |
Summary: Samba AD Domain Controller Libraries |
292 |
Group: System/Servers |
293 |
Requires: %{name}-common = %{version}-%{release} |
294 |
Requires: %{libname} = %{version}-%{release} |
295 |
Obsoletes: %{_lib}samba4-dc0 < 4.1.17-12 |
296 |
# libpac-samba4.so moved from samba-dc |
297 |
Conflicts: %{name}-dc < 4.4.4-2 |
298 |
|
299 |
%description -n %{libsdc} |
300 |
The samba4-dc-libs package contains the libraries needed by the DC to |
301 |
link against the SMB, RPC and other protocols. |
302 |
|
303 |
%if %{with_dc} |
304 |
%package -n %{libkdc} |
305 |
Summary: Samba AD Domain Controller KDC Libraries |
306 |
Group: System/Libraries |
307 |
Conflicts: samba-dc < 4.3.4-3 |
308 |
|
309 |
%description -n %{libkdc} |
310 |
This package contains Kerberos KDC libraries for Samba. |
311 |
|
312 |
%package -n %{libheimntlm} |
313 |
Summary: Samba AD Domain controller NTLM Libraries |
314 |
Group: System/Libraries |
315 |
Conflicts: samba-dc < 4.10.0-0.rc1.4 |
316 |
|
317 |
%description -n %{libheimntlm} |
318 |
This package contains NTLM libraries for Samba. |
319 |
%endif |
320 |
|
321 |
### DEVEL |
322 |
%package -n %{develname} |
323 |
Summary: Developer tools for Samba libraries |
324 |
Group: Development/C |
325 |
Requires: %{libname} = %{version}-%{release} |
326 |
Provides: libsamba-devel = %{version}-%{release} |
327 |
Provides: samba-devel = %{version}-%{release} |
328 |
Conflicts: python3-samba < 4.10.0-0.rc1.2 |
329 |
Conflicts: %{_lib}samba1 < 4.10.0-0.rc1.3 |
330 |
Obsoletes: %{_lib}samba4-devel < 4.1.17-11 |
331 |
|
332 |
%description -n %{develname} |
333 |
The samba4-devel package contains the header files for the libraries |
334 |
needed to develop programs that link against the SMB, RPC and other |
335 |
libraries in the Samba suite. |
336 |
|
337 |
### CEPH |
338 |
%if %{with_vfs_cephfs} |
339 |
%package vfs-cephfs |
340 |
Summary: Samba VFS module for Ceph distributed storage system |
341 |
Group: Applications/System |
342 |
Requires: libcephfs1 |
343 |
Requires: %{name} = %{version}-%{release} |
344 |
Requires: %{libname} = %{version}-%{release} |
345 |
|
346 |
%description vfs-cephfs |
347 |
Samba VFS module for Ceph distributed storage system integration. |
348 |
%endif |
349 |
|
350 |
### GLUSTER |
351 |
%if %{with_vfs_glusterfs} |
352 |
%package vfs-glusterfs |
353 |
Summary: Samba VFS module for GlusterFS |
354 |
Group: System/Libraries |
355 |
Requires: glusterfs-api >= 3.4.0.16 |
356 |
Requires: glusterfs >= 3.4.0.16 |
357 |
Requires: %{name} = %{version}-%{release} |
358 |
Requires: %{libname} = %{version}-%{release} |
359 |
|
360 |
|
361 |
%description vfs-glusterfs |
362 |
Samba VFS module for GlusterFS integration. |
363 |
%endif |
364 |
|
365 |
### KRB5-PRINTING |
366 |
%package krb5-printing |
367 |
Summary: Samba CUPS backend for printing with Kerberos |
368 |
Group: Networking/Remote access |
369 |
Requires(pre): %{name}-client |
370 |
|
371 |
Requires(post): chkconfig |
372 |
Requires(postun): chkconfig |
373 |
|
374 |
%description krb5-printing |
375 |
If you need Kerberos for print jobs to a printer connection to cups via the SMB |
376 |
backend, then you need to install that package. It will allow cups to access |
377 |
the Kerberos credentials cache of the user issuing the print job. |
378 |
|
379 |
### LIBS |
380 |
%package -n %{libname} |
381 |
Summary: Samba libraries |
382 |
Group: System/Libraries |
383 |
Requires: krb5-libs >= 1.10 |
384 |
%if %{with_libwbclient} |
385 |
Requires: %{libwbclient} = %{version}-%{release} |
386 |
%endif |
387 |
Conflicts: python3-samba < 4.10.0-0.rc1.2 |
388 |
Obsoletes: %{_lib}samba41 < 4.1.17-11 |
389 |
# libnetapi.so.0 was in a separate pkg in mga5 |
390 |
Obsoletes: %{_lib}netapi0 < 3.6.25-3 |
391 |
|
392 |
%description -n %{libname} |
393 |
The samba4-libs package contains the libraries needed by programs that |
394 |
link against the SMB, RPC and other protocols provided by the Samba suite. |
395 |
|
396 |
### LIBSMBCLIENT |
397 |
%if %{with_libsmbclient} |
398 |
%package -n %{libsmbclient} |
399 |
Summary: The SMB client library |
400 |
Group: System/Libraries |
401 |
Requires: %{name}-common = %{version}-%{release} |
402 |
Requires: %{libname} = %{version}-%{release} |
403 |
Obsoletes: %{_lib}samba4-smbclient0 < 4.1.17-12 |
404 |
# for gnome-vfs2 |
405 |
Provides: libsmbclient = %{version}-%{release} |
406 |
|
407 |
%description -n %{libsmbclient} |
408 |
The libsmbclient contains the SMB client library from the Samba suite. |
409 |
|
410 |
%package -n %{smbclientdevel} |
411 |
Summary: Developer tools for the SMB client library |
412 |
Group: Development/C |
413 |
Requires: %{libsmbclient} = %{version}-%{release} |
414 |
Provides: libsmbclient-devel = %{version}-%{release} |
415 |
Provides: smbclient-devel = %{version}-%{release} |
416 |
Obsoletes: %{_lib}samba4-smbclient-devel < 4.1.17-12 |
417 |
|
418 |
%description -n %{smbclientdevel} |
419 |
The libsmbclient-devel package contains the header files and libraries needed to |
420 |
develop programs that link against the SMB client library in the Samba suite. |
421 |
%endif # with_libsmbclient |
422 |
|
423 |
### LIBWBCLIENT |
424 |
%if %{with_libwbclient} |
425 |
%package -n %{libwbclient} |
426 |
Summary: The winbind client library |
427 |
Group: System/Libraries |
428 |
Requires: %{libname} = %{version}-%{release} |
429 |
Obsoletes: %{_lib}samba4-wbclient0 < 4.1.17-11 |
430 |
|
431 |
%description -n %{libwbclient} |
432 |
The libwbclient package contains the winbind client library |
433 |
from the Samba suite. |
434 |
|
435 |
%package -n %{wbclientdevel} |
436 |
Summary: Developer tools for the winbind library |
437 |
Group: Development/C |
438 |
Requires: %{libwbclient} = %{version}-%{release} |
439 |
Provides: libwbclient-devel = %{version}-%{release} |
440 |
Provides: wbclient-devel = %{version}-%{release} |
441 |
Obsoletes: %{_lib}samba4-wbclient-devel < 4.1.17-11 |
442 |
|
443 |
%description -n %{wbclientdevel} |
444 |
The libwbclient-devel package provides developer tools for |
445 |
the wbclient library. |
446 |
%endif # with_libwbclient |
447 |
|
448 |
### PYTHON |
449 |
%package -n python2-samba |
450 |
Summary: Samba Python libraries |
451 |
Group: System/Libraries |
452 |
Requires: %{name} = %{version}-%{release} |
453 |
Requires: %{libname} = %{version}-%{release} |
454 |
Requires: python-tevent |
455 |
Requires: python-tdb |
456 |
Requires: python-ldb |
457 |
Requires: python-talloc |
458 |
Provides: python-%{name} = %{version}-%{release} |
459 |
Provides: %{name}-python = %{version}-%{release} |
460 |
# temp cauldron fix: |
461 |
Obsoletes: python-samba4 < 4.2.3 |
462 |
Obsoletes: samba4-python < 4.1.17-11 |
463 |
Provides: samba4-python = %{version}-%{release} |
464 |
|
465 |
%description -n python2-samba |
466 |
The samba4-python package contains the Python libraries needed by programs |
467 |
that use SMB, RPC and other Samba provided protocols in Python programs. |
468 |
|
469 |
%package -n python3-samba |
470 |
Summary: Samba Python libraries |
471 |
Group: System/Libraries |
472 |
Requires: %{name} = %{version}-%{release} |
473 |
Requires: %{libname} = %{version}-%{release} |
474 |
Requires: python3-tevent |
475 |
Requires: python3-tdb |
476 |
Requires: python3-ldb |
477 |
Requires: python3-talloc |
478 |
|
479 |
%description -n python3-samba |
480 |
The samba4-python package contains the Python libraries needed by programs |
481 |
that use SMB, RPC and other Samba provided protocols in Python programs. |
482 |
|
483 |
### PIDL |
484 |
%package pidl |
485 |
Summary: Perl IDL compiler |
486 |
Group: Development/Tools |
487 |
Requires: perl(Parse::Yapp) |
488 |
BuildArch: noarch |
489 |
|
490 |
|
491 |
%description pidl |
492 |
The %{name}-pidl package contains the Perl IDL compiler used by Samba |
493 |
and Wireshark to parse IDL and similar protocols |
494 |
|
495 |
### TEST |
496 |
%package test |
497 |
Summary: Testing tools for Samba servers and clients |
498 |
Group: Networking/Other |
499 |
Requires: %{name} = %{version}-%{release} |
500 |
Requires: %{name}-common = %{version}-%{release} |
501 |
Requires: %{name}-winbind = %{version}-%{release} |
502 |
Requires: %{libname} = %{version}-%{release} |
503 |
|
504 |
%if %{with_dc} |
505 |
Requires: %{libsdc} = %{version}-%{release} |
506 |
%endif |
507 |
|
508 |
%if %{with_libsmbclient} |
509 |
Requires: %{libsmbclient} = %{version}-%{release} |
510 |
%endif |
511 |
|
512 |
%if %{with_libwbclient} |
513 |
Requires: %{libwbclient} = %{version}-%{release} |
514 |
%endif |
515 |
|
516 |
%description test |
517 |
%{name}-test provides testing tools for both the server and client |
518 |
packages of Samba. |
519 |
|
520 |
### TEST-LIBS |
521 |
%package -n %{libtest} |
522 |
Summary: Libraries need by teh testing tools for Samba servers and clients |
523 |
Group: Networking/Remote access |
524 |
Requires: %{libname} = %{version}-%{release} |
525 |
Obsoletes: %{_lib}samba4-test0 < 4.1.17-11 |
526 |
|
527 |
%description -n %{libtest} |
528 |
%{name}-test-libs provides libraries required by the testing tools. |
529 |
|
530 |
### TEST-DEVEL |
531 |
%package -n %{testdevel} |
532 |
Summary: Testing devel files for Samba servers and clients |
533 |
Group: Development/C |
534 |
Requires: %{libtest} = %{version}-%{release} |
535 |
Obsoletes: %{_lib}samba4-test-devel < 4.1.17-11 |
536 |
|
537 |
%description -n %{testdevel} |
538 |
samba-test-devel provides testing devel files for both the server and client |
539 |
packages of Samba. |
540 |
|
541 |
### WINBIND |
542 |
%package winbind |
543 |
Summary: Samba winbind |
544 |
Group: System/Libraries |
545 |
Requires: %{name}-common = %{version}-%{release} |
546 |
Requires: %{libname} = %{version}-%{release} |
547 |
Requires: %{name}-winbind-modules = %{version}-%{release} |
548 |
Obsoletes: samba4-winbind < 4.1.17-11 |
549 |
Provides: samba4-winbind = %{version}-%{release} |
550 |
Obsoletes: nss_wins < 4.0.0 |
551 |
Provides: nss_wins = %{version}-%{release} |
552 |
|
553 |
%description winbind |
554 |
The samba-winbind package provides the winbind NSS library, and some |
555 |
client tools. Winbind enables Linux to be a full member in Windows |
556 |
domains and to use Windows user and group accounts on Linux. |
557 |
|
558 |
### WINBIND-CLIENTS |
559 |
%package winbind-clients |
560 |
Summary: Samba winbind clients |
561 |
Group: System/Libraries |
562 |
Requires: %{name}-common = %{version}-%{release} |
563 |
Requires: %{libname} = %{version}-%{release} |
564 |
Requires: %{name}-winbind = %{version}-%{release} |
565 |
%if %{with_libwbclient} |
566 |
Requires: %{libwbclient} = %{version}-%{release} |
567 |
%endif |
568 |
|
569 |
Provides: samba4-winbind-clients = %{version}-%{release} |
570 |
Obsoletes: samba4-winbind-clients < %{version}-%{release} |
571 |
|
572 |
%description winbind-clients |
573 |
The samba-winbind-clients package provides the wbinfo and ntlm_auth |
574 |
tool. |
575 |
|
576 |
### WINBIND-KRB5-LOCATOR |
577 |
%package winbind-krb5-locator |
578 |
Summary: Samba winbind krb5 locator |
579 |
Group: Networking/Remote access |
580 |
%if %{with_libwbclient} |
581 |
Requires: %{libwbclient} = %{version}-%{release} |
582 |
Requires: %{name}-winbind = %{version}-%{release} |
583 |
%else |
584 |
Requires: %{libname} = %{version}-%{release} |
585 |
%endif |
586 |
Provides: samba4-winbind-krb5-locator = %{version}-%{release} |
587 |
|
588 |
# Handle winbind_krb5_locator.so as alternatives to allow |
589 |
# IPA AD trusts case where it should not be used by libkrb5 |
590 |
# The plugin will be diverted to /dev/null by the FreeIPA |
591 |
# freeipa-server-trust-ad subpackage due to higher priority |
592 |
# and restored to the proper one on uninstall |
593 |
Requires(post): chkconfig |
594 |
Requires(postun): chkconfig |
595 |
Requires(preun): chkconfig |
596 |
|
597 |
%description winbind-krb5-locator |
598 |
The winbind krb5 locator is a plugin for the system kerberos library to allow |
599 |
the local kerberos library to use the same KDC as samba and winbind use |
600 |
|
601 |
### WINBIND-MODULES |
602 |
%package winbind-modules |
603 |
Summary: Samba winbind modules |
604 |
Group: System/Libraries |
605 |
Requires: %{libname} = %{version}-%{release} |
606 |
%if %{with_libwbclient} |
607 |
Requires: %{libwbclient} = %{version}-%{release} |
608 |
%endif |
609 |
Requires: pam |
610 |
|
611 |
%description winbind-modules |
612 |
The samba-winbind-modules package provides the NSS library and a PAM |
613 |
module necessary to communicate to the Winbind Daemon |
614 |
|
615 |
### CTDB |
616 |
%if %{with_clustering_support} |
617 |
%package -n ctdb |
618 |
Summary: A Clustered Database based on Samba's Trivial Database (TDB) |
619 |
Group: System/Cluster |
620 |
|
621 |
Requires: coreutils |
622 |
#Requires: fileutils |
623 |
# for ps and killall |
624 |
Requires: psmisc |
625 |
Requires: sed |
626 |
Requires: tdb-utils |
627 |
Requires: gawk |
628 |
# for pkill and pidof: |
629 |
Requires: procps-ng |
630 |
# for netstat: |
631 |
Requires: net-tools |
632 |
Requires: ethtool |
633 |
# for ip: |
634 |
Requires: iproute2 |
635 |
Requires: iptables |
636 |
# for flock, getopt, kill: |
637 |
Requires: util-linux |
638 |
|
639 |
Requires(post): systemd-units |
640 |
Requires(preun): systemd-units |
641 |
Requires(postun): systemd-units |
642 |
|
643 |
%description -n ctdb |
644 |
CTDB is a cluster implementation of the TDB database used by Samba and other |
645 |
projects to store temporary data. If an application is already using TDB for |
646 |
temporary data it is very easy to convert that application to be cluster aware |
647 |
and use CTDB instead. |
648 |
|
649 |
### CTDB-DEVEL |
650 |
%package -n ctdb-devel |
651 |
Summary: CTDB clustered database development package |
652 |
Group: Development/Other |
653 |
|
654 |
Requires: ctdb = %{version}-%{release} |
655 |
|
656 |
%description -n ctdb-devel |
657 |
Libraries, include files, etc you can use to develop CTDB applications. |
658 |
CTDB is a cluster implementation of the TDB database used by Samba and other |
659 |
projects to store temporary data. If an application is already using TDB for |
660 |
temporary data it is very easy to convert that application to be cluster aware |
661 |
and use CTDB instead. |
662 |
|
663 |
### CTDB-TEST |
664 |
%package -n ctdb-tests |
665 |
Summary: CTDB clustered database test suite |
666 |
Group: Development/Other |
667 |
|
668 |
Requires: ctdb = %{version}-%{release} |
669 |
Requires: nmap |
670 |
|
671 |
%description -n ctdb-tests |
672 |
Test suite for CTDB. |
673 |
CTDB is a cluster implementation of the TDB database used by Samba and other |
674 |
projects to store temporary data. If an application is already using TDB for |
675 |
temporary data it is very easy to convert that application to be cluster aware |
676 |
and use CTDB instead. |
677 |
%endif # with_clustering_support |
678 |
|
679 |
%prep |
680 |
%autosetup -p1 -n samba-%{version}%{pre_release} |
681 |
|
682 |
%build |
683 |
%serverbuild |
684 |
|
685 |
%global _talloc_lib ,talloc,pytalloc,pytalloc-util |
686 |
%global _tevent_lib ,tevent,pytevent |
687 |
%global _tdb_lib ,tdb,pytdb |
688 |
%global _ldb_lib ,ldb,pyldb,pyldb-util |
689 |
|
690 |
%if ! %{with_internal_talloc} |
691 |
%global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util |
692 |
%endif |
693 |
|
694 |
%if ! %{with_internal_tevent} |
695 |
%global _tevent_lib ,!tevent,!pytevent |
696 |
%endif |
697 |
|
698 |
%if ! %{with_internal_tdb} |
699 |
%global _tdb_lib ,!tdb,!pytdb |
700 |
%endif |
701 |
|
702 |
%if ! %{with_internal_ldb} |
703 |
%global _ldb_lib ,!ldb,!pyldb |
704 |
%endif |
705 |
|
706 |
%global _samba_libraries heimdal,!zlib,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib} |
707 |
|
708 |
%global _samba4_idmap_modules idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2 |
709 |
%global _samba4_pdb_modules pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4 |
710 |
%global _samba4_auth_modules auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4 |
711 |
|
712 |
%global _samba_modules %{_samba4_idmap_modules},%{_samba4_pdb_modules},%{_samba4_auth_modules} |
713 |
|
714 |
%global _libsmbclient %nil |
715 |
%global _libwbclient %nil |
716 |
|
717 |
%if ! %{with_libsmbclient} |
718 |
%global _libsmbclient smbclient, |
719 |
%endif |
720 |
|
721 |
%if ! %{with_libwbclient} |
722 |
%global _libwbclient wbclient, |
723 |
%endif |
724 |
|
725 |
%global _samba_private_libraries %{_libsmbclient}%{_libwbclient} |
726 |
|
727 |
%configure2_5x \ |
728 |
--enable-fhs \ |
729 |
--sysconfdir=%{_sysconfdir} \ |
730 |
--prefix=%{_prefix} \ |
731 |
--localstatedir=%{_localstatedir} \ |
732 |
--with-piddir=/run \ |
733 |
--with-sockets-dir=/run/samba \ |
734 |
--with-modulesdir=%{_libdir}/samba \ |
735 |
--with-pammodulesdir=%{_libdir}/security \ |
736 |
--with-lockdir=/var/lib/samba/lock \ |
737 |
--with-cachedir=/var/lib/samba \ |
738 |
--disable-rpath-install \ |
739 |
--with-shared-modules=%{_samba_modules} \ |
740 |
--bundled-libraries=%{_samba_libraries} \ |
741 |
--with-pam \ |
742 |
--with-pie \ |
743 |
--with-relro \ |
744 |
--without-fam \ |
745 |
%if (! %{with_libsmbclient}) || (! %{with_libwbclient}) |
746 |
--private-libraries=%{_samba_private_libraries} \ |
747 |
%endif |
748 |
%if %{with_mitkrb5} |
749 |
--with-system-mitkrb5 \ |
750 |
%if %{with_dc} |
751 |
--with-experimental-mit-ad-dc \ |
752 |
%endif |
753 |
%endif |
754 |
%if ! %{with_dc} |
755 |
--without-ad-dc \ |
756 |
%endif |
757 |
%if ! %{with_vfs_glusterfs} |
758 |
--disable-glusterfs \ |
759 |
%endif |
760 |
%if %{with_clustering_support} |
761 |
--with-cluster-support \ |
762 |
%endif |
763 |
%if %{with_profiling} |
764 |
--with-profiling-data \ |
765 |
%endif |
766 |
%if %{with testsuite} |
767 |
--enable-selftest \ |
768 |
%endif |
769 |
--with-systemd \ |
770 |
--systemd-install-services \ |
771 |
--extra-python=%{__python2} |
772 |
|
773 |
%make_build |
774 |
|
775 |
%install |
776 |
%make_install |
777 |
|
778 |
install -d -m 0755 %{buildroot}/usr/{sbin,bin} |
779 |
install -d -m 0755 %{buildroot}%{_libdir}/security |
780 |
install -d -m 0755 %{buildroot}/var/lib/samba |
781 |
install -d -m 0755 %{buildroot}/var/lib/samba/lock |
782 |
install -d -m 0755 %{buildroot}/var/lib/samba/private |
783 |
install -d -m 0755 %{buildroot}/var/lib/samba/winbindd_privileged |
784 |
install -d -m 0755 %{buildroot}/var/lib/samba/scripts |
785 |
install -d -m 0755 %{buildroot}/var/lib/samba/sysvol |
786 |
install -d -m 0755 %{buildroot}/var/log/samba/old |
787 |
install -d -m 0755 %{buildroot}/var/spool/samba |
788 |
install -d -m 0755 %{buildroot}/run/samba |
789 |
install -d -m 0755 %{buildroot}/run/winbindd |
790 |
install -d -m 0755 %{buildroot}/%{_libdir}/samba |
791 |
install -d -m 0755 %{buildroot}/%{_libdir}/samba/ldb |
792 |
install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig |
793 |
|
794 |
# Move smbspool_krb5_wrapper |
795 |
#install -d -m 0755 %{buildroot}%{_libexecdir}/samba |
796 |
#mv %{buildroot}%{_bindir}/smbspool_krb5_wrapper %{buildroot}%{_libexecdir}/samba |
797 |
|
798 |
# Install other stuff |
799 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d |
800 |
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba |
801 |
|
802 |
install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/samba/smb.conf |
803 |
|
804 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/security |
805 |
install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf |
806 |
|
807 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/pam.d |
808 |
install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pam.d/samba |
809 |
|
810 |
echo 127.0.0.1 localhost > %{buildroot}%{_sysconfdir}/samba/lmhosts |
811 |
|
812 |
# openLDAP database schema |
813 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/openldap/schema |
814 |
install -m644 examples/LDAP/samba.schema %{buildroot}%{_sysconfdir}/openldap/schema/samba.schema |
815 |
|
816 |
install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint |
817 |
|
818 |
install -d -m 0755 %{buildroot}%{_tmpfilesdir}/ |
819 |
echo "d /run/samba 755 root root" >> %{buildroot}%{_tmpfilesdir}/samba.conf |
820 |
%if %{with_clustering_support} |
821 |
echo "d /run/ctdb 755 root root" >> %{buildroot}%{_tmpfilesdir}/ctdb.conf |
822 |
%endif |
823 |
|
824 |
%if %{with_clustering_support} |
825 |
#install -m 0644 ctdb/config/ctdb.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/ctdb |
826 |
%endif |
827 |
|
828 |
install -m 0644 %{SOURCE201} packaging/README.downgrade |
829 |
|
830 |
%if ! %{with_dc} |
831 |
install -m 0644 %{SOURCE200} packaging/README.dc |
832 |
install -m 0644 %{SOURCE200} packaging/README.dc-libs |
833 |
%endif |
834 |
|
835 |
# Fix systemd daemon |
836 |
sed -i "s:'systemd-daemon':'systemd':g" -i lib/util/wscript_configure |
837 |
|
838 |
%if %{with_clustering_support} |
839 |
install -m 0644 ctdb/config/ctdb.service %{buildroot}%{_unitdir} |
840 |
%endif |
841 |
|
842 |
# NetworkManager online/offline script |
843 |
#%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/ |
844 |
#%{__install} -m 0755 packaging/NetworkManager/30-winbind-systemd \ |
845 |
# %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/30-winbind |
846 |
|
847 |
# winbind krb5 locator |
848 |
install -d -m 0755 %{buildroot}%{_libdir}/krb5/plugins/libkrb5 |
849 |
touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so |
850 |
|
851 |
mkdir -p %{buildroot}/var/lib/samba/msg |
852 |
|
853 |
%if %{with testsuite} |
854 |
%check |
855 |
TDB_NO_FSYNC=1 %make test |
856 |
%endif |
857 |
|
858 |
%pre |
859 |
%_pre_useradd %{name} /dev/null /bin/false |
860 |
|
861 |
%post |
862 |
%_post_service smb |
863 |
%_post_service nmb |
864 |
|
865 |
%post dc |
866 |
%_post_service samba |
867 |
|
868 |
%preun |
869 |
%_preun_service smb |
870 |
%_preun_service nmb |
871 |
|
872 |
%preun dc |
873 |
%_preun_service samba |
874 |
|
875 |
%postun |
876 |
%_postun_userdel %{name} |
877 |
%_postun_service smb |
878 |
%_postun_service nmb |
879 |
|
880 |
%postun dc |
881 |
%_postun_service samba |
882 |
|
883 |
%post common |
884 |
%_tmpfilescreate %{name} |
885 |
if [ -d /var/cache/samba ]; then |
886 |
mv /var/cache/samba/netsamlogon_cache.tdb /var/lib/samba/ 2>/dev/null |
887 |
mv /var/cache/samba/winbindd_cache.tdb /var/lib/samba/ 2>/dev/null |
888 |
rm -rf /var/cache/samba/ |
889 |
ln -sf /var/cache/samba /var/lib/samba/ |
890 |
fi |
891 |
|
892 |
### CLIENT |
893 |
%post client |
894 |
%{_sbindir}/update-alternatives --install %{_libexecdir}/samba/cups_backend_smb \ |
895 |
cups_backend_smb \ |
896 |
%{_bindir}/smbspool 10 |
897 |
|
898 |
%postun client |
899 |
if [ $1 -eq 0 ] ; then |
900 |
%{_sbindir}/update-alternatives --remove cups_backend_smb %{_libexecdir}/samba/smbspool |
901 |
fi |
902 |
|
903 |
# Until this is addressed in the cups package (mdv#21164), symlink the above to the cups |
904 |
# backend directory on installation of cups or installation of -client when cups is present |
905 |
%triggerin client -- cups |
906 |
ln -sf %{_libexecdir}/samba/cups_backend_smb %{cups_serverbin}/backend/smb || : |
907 |
|
908 |
# Remove the symlink if either samba-client or cups is removed |
909 |
%triggerun client -- cups |
910 |
[[ $1 ==0 || $2 == 0 ]] && rm -f %{cups_serverbin}/backend/smb |
911 |
|
912 |
# Clean up alternatives from 3.x dropped with 4.x: |
913 |
%triggerpostun client -- samba-client < 4.10.9 |
914 |
%{_sbindir}/ update-alternatives --remove smbclient %{_bindir}/smbclient3 || : |
915 |
|
916 |
### KRB5-PRINTING |
917 |
%post krb5-printing |
918 |
%{_sbindir}/update-alternatives --install %{_libexecdir}/samba/cups_backend_smb \ |
919 |
cups_backend_smb \ |
920 |
%{_libexecdir}/samba/smbspool_krb5_wrapper 50 |
921 |
|
922 |
%postun krb5-printing |
923 |
if [ $1 -eq 0 ] ; then |
924 |
%{_sbindir}/update-alternatives --remove cups_backend_smb %{_libexecdir}/samba/smbspool_krb5_wrapper |
925 |
fi |
926 |
|
927 |
%pre winbind |
928 |
%_pre_groupadd wbpriv |
929 |
|
930 |
%postun winbind |
931 |
%_postun_groupdel wbpriv |
932 |
|
933 |
|
934 |
### SAMBA |
935 |
%files |
936 |
%doc COPYING README.md WHATSNEW.txt |
937 |
%doc examples/autofs examples/LDAP examples/misc |
938 |
%doc examples/printer-accounting examples/printing |
939 |
%doc packaging/README.downgrade |
940 |
%{_bindir}/smbstatus |
941 |
%{_sbindir}/eventlogadm |
942 |
%{_bindir}/findsmb |
943 |
%{_sbindir}/nmbd |
944 |
%{_sbindir}/smbd |
945 |
%dir %{_libdir}/samba/auth |
946 |
%{_libdir}/samba/auth/script.so |
947 |
%{_libdir}/samba/auth/unix.so |
948 |
#{_libdir}/samba/auth/wbc.so |
949 |
%dir %{_libdir}/samba/vfs |
950 |
%{_libdir}/samba/vfs/acl_tdb.so |
951 |
%{_libdir}/samba/vfs/acl_xattr.so |
952 |
%{_libdir}/samba/vfs/aio_fork.so |
953 |
#{_libdir}/samba/vfs/aio_linux.so |
954 |
%{_libdir}/samba/vfs/aio_pthread.so |
955 |
%{_libdir}/samba/vfs/audit.so |
956 |
%{_libdir}/samba/vfs/btrfs.so |
957 |
%{_libdir}/samba/vfs/cap.so |
958 |
%{_libdir}/samba/vfs/catia.so |
959 |
%{_libdir}/samba/vfs/commit.so |
960 |
%{_libdir}/samba/vfs/crossrename.so |
961 |
%{_libdir}/samba/vfs/default_quota.so |
962 |
%{_libdir}/samba/vfs/dirsort.so |
963 |
%{_libdir}/samba/vfs/expand_msdfs.so |
964 |
%{_libdir}/samba/vfs/extd_audit.so |
965 |
%{_libdir}/samba/vfs/fake_perms.so |
966 |
%{_libdir}/samba/vfs/fileid.so |
967 |
%{_libdir}/samba/vfs/fruit.so |
968 |
%{_libdir}/samba/vfs/full_audit.so |
969 |
%{_libdir}/samba/vfs/glusterfs_fuse.so |
970 |
%{_libdir}/samba/vfs/linux_xfs_sgid.so |
971 |
%{_libdir}/samba/vfs/media_harmony.so |
972 |
%{_libdir}/samba/vfs/netatalk.so |
973 |
%{_libdir}/samba/vfs/offline.so |
974 |
%{_libdir}/samba/vfs/preopen.so |
975 |
%{_libdir}/samba/vfs/readahead.so |
976 |
%{_libdir}/samba/vfs/readonly.so |
977 |
%{_libdir}/samba/vfs/recycle.so |
978 |
%{_libdir}/samba/vfs/shadow_copy.so |
979 |
%{_libdir}/samba/vfs/shadow_copy2.so |
980 |
%{_libdir}/samba/vfs/snapper.so |
981 |
%{_libdir}/samba/vfs/streams_depot.so |
982 |
%{_libdir}/samba/vfs/streams_xattr.so |
983 |
%{_libdir}/samba/vfs/syncops.so |
984 |
%{_libdir}/samba/vfs/time_audit.so |
985 |
%{_libdir}/samba/vfs/virusfilter.so |
986 |
%{_libdir}/samba/vfs/worm.so |
987 |
%{_libdir}/samba/vfs/xattr_tdb.so |
988 |
|
989 |
%{_unitdir}/nmb.service |
990 |
%{_unitdir}/smb.service |
991 |
%attr(1777,root,root) %dir /var/spool/samba |
992 |
%dir %{_sysconfdir}/openldap/schema |
993 |
%{_sysconfdir}/openldap/schema/samba.schema |
994 |
%{_sysconfdir}/pam.d/samba |
995 |
%{_mandir}/man1/smbstatus.1* |
996 |
%{_mandir}/man8/eventlogadm.8* |
997 |
%{_mandir}/man8/smbd.8* |
998 |
%{_mandir}/man8/nmbd.8* |
999 |
%{_mandir}/man8/vfs_acl_tdb.8* |
1000 |
%{_mandir}/man8/vfs_acl_xattr.8* |
1001 |
%{_mandir}/man8/vfs_aio_fork.8* |
1002 |
%{_mandir}/man8/vfs_aio_pthread.8* |
1003 |
%{_mandir}/man8/vfs_audit.8* |
1004 |
%{_mandir}/man8/vfs_btrfs.8* |
1005 |
%{_mandir}/man8/vfs_cap.8* |
1006 |
%{_mandir}/man8/vfs_catia.8* |
1007 |
%{_mandir}/man8/vfs_commit.8* |
1008 |
%{_mandir}/man8/vfs_crossrename.8* |
1009 |
%{_mandir}/man8/vfs_default_quota.8* |
1010 |
%{_mandir}/man8/vfs_dirsort.8* |
1011 |
%{_mandir}/man8/vfs_extd_audit.8* |
1012 |
%{_mandir}/man8/vfs_fake_perms.8* |
1013 |
%{_mandir}/man8/vfs_fileid.8* |
1014 |
%{_mandir}/man8/vfs_fruit.8* |
1015 |
%{_mandir}/man8/vfs_full_audit.8* |
1016 |
%{_mandir}/man8/vfs_glusterfs_fuse.8* |
1017 |
%{_mandir}/man8/vfs_linux_xfs_sgid.8* |
1018 |
%{_mandir}/man8/vfs_media_harmony.8* |
1019 |
%{_mandir}/man8/vfs_netatalk.8* |
1020 |
%{_mandir}/man8/vfs_preopen.8* |
1021 |
%{_mandir}/man8/vfs_readahead.8* |
1022 |
%{_mandir}/man8/vfs_readonly.8* |
1023 |
%{_mandir}/man8/vfs_recycle.8* |
1024 |
%{_mandir}/man8/vfs_shadow_copy.8* |
1025 |
%{_mandir}/man8/vfs_shadow_copy2.8* |
1026 |
%{_mandir}/man8/vfs_snapper.8* |
1027 |
%{_mandir}/man8/vfs_streams_depot.8* |
1028 |
%{_mandir}/man8/vfs_streams_xattr.8* |
1029 |
%{_mandir}/man8/vfs_syncops.8* |
1030 |
%{_mandir}/man8/vfs_time_audit.8* |
1031 |
%{_mandir}/man8/vfs_virusfilter.8* |
1032 |
%{_mandir}/man8/vfs_worm.8* |
1033 |
%{_mandir}/man8/vfs_xattr_tdb.8* |
1034 |
|
1035 |
### CLIENT |
1036 |
%files client |
1037 |
%{_bindir}/cifsdd |
1038 |
%{_bindir}/mvxattr |
1039 |
%{_bindir}/dbwrap_tool |
1040 |
%{_bindir}/dumpmscat |
1041 |
%{_bindir}/nmblookup |
1042 |
%{_bindir}/oLschema2ldif |
1043 |
%{_bindir}/regdiff |
1044 |
%{_bindir}/regpatch |
1045 |
%{_bindir}/regshell |
1046 |
%{_bindir}/regtree |
1047 |
%{_bindir}/rpcclient |
1048 |
%{_bindir}/samba-regedit |
1049 |
%{_bindir}/sharesec |
1050 |
%{_bindir}/smbcacls |
1051 |
%{_bindir}/smbclient |
1052 |
%{_bindir}/smbcquotas |
1053 |
%{_bindir}/smbget |
1054 |
%{_bindir}/smbprint |
1055 |
%{_bindir}/smbspool |
1056 |
%{_bindir}/smbtar |
1057 |
%{_bindir}/smbtree |
1058 |
%dir %{_libexecdir}/samba |
1059 |
%ghost %{_libexecdir}/samba/cups_backend_smb |
1060 |
%{_mandir}/man1/mvxattr.1* |
1061 |
%{_mandir}/man1/dbwrap_tool.1* |
1062 |
%{_mandir}/man1/nmblookup.1* |
1063 |
%{_mandir}/man1/oLschema2ldif.1* |
1064 |
%{_mandir}/man1/regdiff.1* |
1065 |
%{_mandir}/man1/regpatch.1* |
1066 |
%{_mandir}/man1/regshell.1* |
1067 |
%{_mandir}/man1/regtree.1* |
1068 |
%exclude %{_mandir}/man1/findsmb.1* |
1069 |
%{_mandir}/man1/log2pcap.1* |
1070 |
%{_mandir}/man1/rpcclient.1* |
1071 |
%{_mandir}/man1/sharesec.1* |
1072 |
%{_mandir}/man1/smbcacls.1* |
1073 |
%{_mandir}/man1/smbclient.1* |
1074 |
%{_mandir}/man1/smbcquotas.1* |
1075 |
%{_mandir}/man1/smbget.1* |
1076 |
## we don't build it for now |
1077 |
%if %{with_internal_ntdb} |
1078 |
%{_mandir}/man3/ntdb.3* |
1079 |
%{_mandir}/man8/ntdbbackup.8* |
1080 |
%{_mandir}/man8/ntdbdump.8* |
1081 |
%{_mandir}/man8/ntdbrestore.8* |
1082 |
%{_mandir}/man8/ntdbtool.8* |
1083 |
%endif |
1084 |
%{_mandir}/man5/smbgetrc.5* |
1085 |
%{_mandir}/man1/smbtar.1* |
1086 |
%{_mandir}/man1/smbtree.1* |
1087 |
%{_mandir}/man8/samba-regedit.8* |
1088 |
%{_mandir}/man8/smbspool.8* |
1089 |
%{_mandir}/man8/cifsdd.8* |
1090 |
%{_mandir}/man8/vfs_offline.8* |
1091 |
|
1092 |
## we don't build it for now |
1093 |
%if %{with_internal_ntdb} |
1094 |
%{_bindir}/ntdbbackup |
1095 |
%{_bindir}/ntdbdump |
1096 |
%{_bindir}/ntdbrestore |
1097 |
%{_bindir}/ntdbtool |
1098 |
%endif |
1099 |
|
1100 |
%if %{with_internal_tdb} |
1101 |
%{_bindir}/tdbbackup |
1102 |
%{_bindir}/tdbdump |
1103 |
%{_bindir}/tdbrestore |
1104 |
%{_bindir}/tdbtool |
1105 |
%{_mandir}/man8/tdbbackup.8* |
1106 |
%{_mandir}/man8/tdbdump.8* |
1107 |
%{_mandir}/man8/tdbrestore.8* |
1108 |
%{_mandir}/man8/tdbtool.8* |
1109 |
%endif |
1110 |
|
1111 |
%if %{with_internal_ldb} |
1112 |
%{_bindir}/ldbadd |
1113 |
%{_bindir}/ldbdel |
1114 |
%{_bindir}/ldbedit |
1115 |
%{_bindir}/ldbmodify |
1116 |
%{_bindir}/ldbrename |
1117 |
%{_bindir}/ldbsearch |
1118 |
%{_libdir}/samba/libldb-cmdline-samba4.so |
1119 |
%dir %{_libdir}/samba/ldb |
1120 |
%{_libdir}/samba/ldb/asq.so |
1121 |
%{_libdir}/samba/ldb/dsdb_notification.so |
1122 |
%{_libdir}/samba/ldb/paged_results.so |
1123 |
%{_libdir}/samba/ldb/paged_searches.so |
1124 |
%{_libdir}/samba/ldb/rdn_name.so |
1125 |
%{_libdir}/samba/ldb/sample.so |
1126 |
%{_libdir}/samba/ldb/server_sort.so |
1127 |
%{_libdir}/samba/ldb/skel.so |
1128 |
%{_libdir}/samba/ldb/tdb.so |
1129 |
%{_libdir}/samba/ldb/vlv.so |
1130 |
%{_mandir}/man1/ldbadd.1.xz |
1131 |
%{_mandir}/man1/ldbdel.1.xz |
1132 |
%{_mandir}/man1/ldbedit.1.xz |
1133 |
%{_mandir}/man1/ldbmodify.1.xz |
1134 |
%{_mandir}/man1/ldbrename.1.xz |
1135 |
%{_mandir}/man1/ldbsearch.1.xz |
1136 |
%endif |
1137 |
|
1138 |
### COMMON |
1139 |
%files common |
1140 |
%{_tmpfilesdir}/samba.conf |
1141 |
%dir %{_sysconfdir}/logrotate.d/ |
1142 |
%config(noreplace) %{_sysconfdir}/logrotate.d/samba |
1143 |
%attr(0700,root,root) %dir /var/log/samba |
1144 |
%attr(0700,root,root) %dir /var/log/samba/old |
1145 |
%ghost %dir /run/samba |
1146 |
%ghost %dir /run/winbindd |
1147 |
%dir /var/lib/samba |
1148 |
%attr(700,root,root) %dir /var/lib/samba/private |
1149 |
%attr(755,root,root) %dir /var/lib/samba/msg |
1150 |
%dir /var/lib/samba/lock |
1151 |
%attr(755,root,root) %dir %{_sysconfdir}/samba |
1152 |
%config(noreplace) %{_sysconfdir}/samba/smb.conf |
1153 |
%config(noreplace) %{_sysconfdir}/samba/lmhosts |
1154 |
%config(noreplace) %{_sysconfdir}/sysconfig/samba |
1155 |
%{_bindir}/net |
1156 |
%{_bindir}/pdbedit |
1157 |
%{_bindir}/profiles |
1158 |
%{_bindir}/smbcontrol |
1159 |
%{_bindir}/smbpasswd |
1160 |
%{_bindir}/testparm |
1161 |
%{_mandir}/man1/profiles.1* |
1162 |
%{_mandir}/man1/smbcontrol.1* |
1163 |
%{_mandir}/man1/testparm.1* |
1164 |
%{_mandir}/man5/lmhosts.5* |
1165 |
%{_mandir}/man5/smb.conf.5* |
1166 |
%{_mandir}/man5/smbpasswd.5* |
1167 |
%{_mandir}/man7/samba.7* |
1168 |
%{_mandir}/man7/traffic*.7* |
1169 |
%{_mandir}/man8/net.8* |
1170 |
%{_mandir}/man8/pdbedit.8* |
1171 |
%{_mandir}/man8/smbpasswd.8* |
1172 |
|
1173 |
# common libraries |
1174 |
%{_libdir}/samba/libpopt-samba3-samba4.so |
1175 |
%{_libdir}/samba/libpopt-samba3-cmdline-samba4.so |
1176 |
|
1177 |
%dir %{_libdir}/samba/pdb |
1178 |
%{_libdir}/samba/pdb/ldapsam.so |
1179 |
%{_libdir}/samba/pdb/smbpasswd.so |
1180 |
%{_libdir}/samba/pdb/tdbsam.so |
1181 |
#{_libdir}/samba/pdb/wbc_sam.so |
1182 |
|
1183 |
### DC |
1184 |
%files dc |
1185 |
|
1186 |
%if %{with_dc} |
1187 |
%{_unitdir}/samba.service |
1188 |
%{_bindir}/samba-tool |
1189 |
%{_sbindir}/samba |
1190 |
%{_sbindir}/samba_kcc |
1191 |
%{_sbindir}/samba_dnsupdate |
1192 |
%{_sbindir}/samba_spnupdate |
1193 |
%{_sbindir}/samba_upgradedns |
1194 |
%{_sbindir}/samba-gpupdate |
1195 |
%{_libdir}/samba/auth/samba4.so |
1196 |
%{_libdir}/samba/bind9/dlz_bind9.so |
1197 |
%{_libdir}/samba/bind9/dlz_bind9_10.so |
1198 |
%{_libdir}/samba/bind9/dlz_bind9_11.so |
1199 |
%{_libdir}/samba/bind9/dlz_bind9_12.so |
1200 |
%dir %{_libdir}/samba/gensec |
1201 |
%{_libdir}/samba/gensec/krb5.so |
1202 |
%{_libdir}/samba/ldb/acl.so |
1203 |
%{_libdir}/samba/ldb/aclread.so |
1204 |
%{_libdir}/samba/ldb/anr.so |
1205 |
%{_libdir}/samba/ldb/audit_log.so |
1206 |
%{_libdir}/samba/ldb/descriptor.so |
1207 |
%{_libdir}/samba/ldb/dirsync.so |
1208 |
%{_libdir}/samba/ldb/dsdb_notification.so |
1209 |
%{_libdir}/samba/ldb/encrypted_secrets.so |
1210 |
%{_libdir}/samba/ldb/extended_dn_in.so |
1211 |
%{_libdir}/samba/ldb/extended_dn_out.so |
1212 |
%{_libdir}/samba/ldb/extended_dn_store.so |
1213 |
%{_libdir}/samba/ldb/group_audit_log.so |
1214 |
%{_libdir}/samba/ldb/ildap.so |
1215 |
%{_libdir}/samba/ldb/instancetype.so |
1216 |
%{_libdir}/samba/ldb/lazy_commit.so |
1217 |
%{_libdir}/samba/ldb/ldbsamba_extensions.so |
1218 |
%{_libdir}/samba/ldb/linked_attributes.so |
1219 |
%{_libdir}/samba/ldb/local_password.so |
1220 |
%{_libdir}/samba/ldb/new_partition.so |
1221 |
%{_libdir}/samba/ldb/objectclass.so |
1222 |
%{_libdir}/samba/ldb/objectclass_attrs.so |
1223 |
%{_libdir}/samba/ldb/objectguid.so |
1224 |
%{_libdir}/samba/ldb/operational.so |
1225 |
%{_libdir}/samba/ldb/paged_results.so |
1226 |
%{_libdir}/samba/ldb/partition.so |
1227 |
%{_libdir}/samba/ldb/password_hash.so |
1228 |
%{_libdir}/samba/ldb/ranged_results.so |
1229 |
%{_libdir}/samba/ldb/repl_meta_data.so |
1230 |
%{_libdir}/samba/ldb/resolve_oids.so |
1231 |
%{_libdir}/samba/ldb/rootdse.so |
1232 |
%{_libdir}/samba/ldb/samba3sam.so |
1233 |
%{_libdir}/samba/ldb/samba3sid.so |
1234 |
%{_libdir}/samba/ldb/samba_dsdb.so |
1235 |
%{_libdir}/samba/ldb/samba_secrets.so |
1236 |
%{_libdir}/samba/ldb/samldb.so |
1237 |
%{_libdir}/samba/ldb/schema_data.so |
1238 |
%{_libdir}/samba/ldb/schema_load.so |
1239 |
%{_libdir}/samba/ldb/secrets_tdb_sync.so |
1240 |
%{_libdir}/samba/ldb/show_deleted.so |
1241 |
%{_libdir}/samba/ldb/simple_dn.so |
1242 |
%{_libdir}/samba/ldb/simple_ldap_map.so |
1243 |
%{_libdir}/samba/ldb/subtree_delete.so |
1244 |
%{_libdir}/samba/ldb/subtree_rename.so |
1245 |
%{_libdir}/samba/ldb/unique_object_sids.so |
1246 |
%{_libdir}/samba/ldb/update_keytab.so |
1247 |
%{_libdir}/samba/ldb/vlv.so |
1248 |
%{_libdir}/samba/ldb/wins_ldb.so |
1249 |
%{_libdir}/samba/ldb/dns_notify.so |
1250 |
%{_libdir}/samba/ldb/tombstone_reanimate.so |
1251 |
%{_libdir}/samba/vfs/posix_eadb.so |
1252 |
%dir /var/lib/samba/sysvol |
1253 |
%{_datadir}/samba/setup |
1254 |
%{_mandir}/man8/samba.8* |
1255 |
%{_mandir}/man8/samba-tool.8* |
1256 |
%{_mandir}/man8/samba-gpupdate.8* |
1257 |
%else # with_dc |
1258 |
%doc packaging/README.dc |
1259 |
%exclude %{_mandir}/man8/samba.8* |
1260 |
%exclude %{_mandir}/man8/samba-tool.8* |
1261 |
%exclude %{_libdir}/samba/ldb/ildap.so |
1262 |
%exclude %{_libdir}/samba/ldb/ldbsamba_extensions.so |
1263 |
|
1264 |
%endif # with_dc |
1265 |
|
1266 |
### DC-LIBS |
1267 |
%files -n %{libsdc} |
1268 |
|
1269 |
%if %{with_dc} |
1270 |
%{_libdir}/samba/libpac-samba4.so |
1271 |
%{_libdir}/samba/libprocess-model-samba4.so |
1272 |
%{_libdir}/samba/libservice-samba4.so |
1273 |
%dir %{_libdir}/samba/process_model |
1274 |
%{_libdir}/samba/process_model/*.so |
1275 |
%dir %{_libdir}/samba/service |
1276 |
%{_libdir}/samba/service/cldap.so |
1277 |
%{_libdir}/samba/service/dcerpc.so |
1278 |
%{_libdir}/samba/service/dns.so |
1279 |
%{_libdir}/samba/service/dns_update.so |
1280 |
%{_libdir}/samba/service/drepl.so |
1281 |
%{_libdir}/samba/service/kcc.so |
1282 |
%{_libdir}/samba/service/kdc.so |
1283 |
%{_libdir}/samba/service/ldap.so |
1284 |
%{_libdir}/samba/service/nbtd.so |
1285 |
%{_libdir}/samba/service/ntp_signd.so |
1286 |
%{_libdir}/samba/service/s3fs.so |
1287 |
%{_libdir}/samba/service/web.so |
1288 |
%{_libdir}/samba/service/winbindd.so |
1289 |
%{_libdir}/samba/service/wrepl.so |
1290 |
%{_libdir}/libdcerpc-server.so.%{dcmajor} |
1291 |
%{_libdir}/libdcerpc-server.so.%{dcmajor}.* |
1292 |
%{_libdir}/samba/libclidns-samba4.so |
1293 |
%{_libdir}/samba/libdfs-server-ad-samba4.so |
1294 |
%{_libdir}/samba/libdnsserver-common-samba4.so |
1295 |
%{_libdir}/samba/libdsdb-module-samba4.so |
1296 |
%{_libdir}/samba/libposix-eadb-samba4.so |
1297 |
%{_libdir}/samba/bind9/dlz_bind9_9.so |
1298 |
%else |
1299 |
%doc packaging/README.dc-libs |
1300 |
%exclude %{_libdir}/samba/libdfs-server-ad-samba4.so |
1301 |
%exclude %{_libdir}/samba/libdnsserver-common-samba4.so |
1302 |
%endif # with_dc |
1303 |
|
1304 |
%if %{with_dc} |
1305 |
%files -n %{libkdc} |
1306 |
%{_libdir}/samba/libkdc-samba4.so.%{kdcmajor} |
1307 |
%{_libdir}/samba/libkdc-samba4.so.%{kdcmajor}.* |
1308 |
|
1309 |
%files -n %{libheimntlm} |
1310 |
%{_libdir}/samba/libheimntlm-samba4.so.%{heimntlmmajor} |
1311 |
%{_libdir}/samba/libheimntlm-samba4.so.%{heimntlmmajor}.* |
1312 |
%endif |
1313 |
|
1314 |
### DEVEL |
1315 |
%files -n %{develname} |
1316 |
%{_includedir}/samba-4.0/charset.h |
1317 |
%{_includedir}/samba-4.0/core/doserr.h |
1318 |
%{_includedir}/samba-4.0/core/error.h |
1319 |
%{_includedir}/samba-4.0/core/hresult.h |
1320 |
%{_includedir}/samba-4.0/core/ntstatus.h |
1321 |
%{_includedir}/samba-4.0/core/ntstatus_gen.h |
1322 |
%{_includedir}/samba-4.0/core/werror.h |
1323 |
%{_includedir}/samba-4.0/core/werror_gen.h |
1324 |
%{_includedir}/samba-4.0/credentials.h |
1325 |
%{_includedir}/samba-4.0/dcerpc.h |
1326 |
%{_includedir}/samba-4.0/domain_credentials.h |
1327 |
%{_includedir}/samba-4.0/gen_ndr/atsvc.h |
1328 |
%{_includedir}/samba-4.0/gen_ndr/auth.h |
1329 |
%{_includedir}/samba-4.0/gen_ndr/dcerpc.h |
1330 |
%{_includedir}/samba-4.0/gen_ndr/krb5pac.h |
1331 |
%{_includedir}/samba-4.0/gen_ndr/lsa.h |
1332 |
%{_includedir}/samba-4.0/gen_ndr/misc.h |
1333 |
%{_includedir}/samba-4.0/gen_ndr/nbt.h |
1334 |
%{_includedir}/samba-4.0/gen_ndr/drsblobs.h |
1335 |
%{_includedir}/samba-4.0/gen_ndr/drsuapi.h |
1336 |
%{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h |
1337 |
%{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h |
1338 |
%{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h |
1339 |
%{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h |
1340 |
%{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h |
1341 |
%{_includedir}/samba-4.0/gen_ndr/ndr_misc.h |
1342 |
%{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h |
1343 |
%{_includedir}/samba-4.0/gen_ndr/ndr_samr.h |
1344 |
%{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h |
1345 |
%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h |
1346 |
%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h |
1347 |
%{_includedir}/samba-4.0/gen_ndr/netlogon.h |
1348 |
%{_includedir}/samba-4.0/gen_ndr/samr.h |
1349 |
%{_includedir}/samba-4.0/gen_ndr/security.h |
1350 |
%{_includedir}/samba-4.0/gen_ndr/server_id.h |
1351 |
%{_includedir}/samba-4.0/gen_ndr/svcctl.h |
1352 |
%{_includedir}/samba-4.0/ldb_wrap.h |
1353 |
%{_includedir}/samba-4.0/lookup_sid.h |
1354 |
%{_includedir}/samba-4.0/machine_sid.h |
1355 |
%{_includedir}/samba-4.0/ndr.h |
1356 |
%dir %{_includedir}/samba-4.0/ndr |
1357 |
%{_includedir}/samba-4.0/ndr/ndr_dcerpc.h |
1358 |
%{_includedir}/samba-4.0/ndr/ndr_drsblobs.h |
1359 |
%{_includedir}/samba-4.0/ndr/ndr_krb5pac.h |
1360 |
%{_includedir}/samba-4.0/ndr/ndr_drsuapi.h |
1361 |
%{_includedir}/samba-4.0/ndr/ndr_svcctl.h |
1362 |
%{_includedir}/samba-4.0/ndr/ndr_nbt.h |
1363 |
%{_includedir}/samba-4.0/netapi.h |
1364 |
%{_includedir}/samba-4.0/param.h |
1365 |
%{_includedir}/samba-4.0/passdb.h |
1366 |
%{_includedir}/samba-4.0/policy.h |
1367 |
%{_includedir}/samba-4.0/rpc_common.h |
1368 |
%{_includedir}/samba-4.0/samba/session.h |
1369 |
%{_includedir}/samba-4.0/samba/version.h |
1370 |
%{_includedir}/samba-4.0/share.h |
1371 |
%{_includedir}/samba-4.0/smbconf.h |
1372 |
%{_includedir}/samba-4.0/smb2_lease_struct.h |
1373 |
%{_includedir}/samba-4.0/smb_ldap.h |
1374 |
%{_includedir}/samba-4.0/smbldap.h |
1375 |
%{_includedir}/samba-4.0/tdr.h |
1376 |
%{_includedir}/samba-4.0/tsocket.h |
1377 |
%{_includedir}/samba-4.0/tsocket_internal.h |
1378 |
%dir %{_includedir}/samba-4.0/util |
1379 |
%{_includedir}/samba-4.0/util/attr.h |
1380 |
%{_includedir}/samba-4.0/util/blocking.h |
1381 |
%{_includedir}/samba-4.0/util/byteorder.h |
1382 |
%{_includedir}/samba-4.0/util/data_blob.h |
1383 |
%{_includedir}/samba-4.0/util/debug.h |
1384 |
%{_includedir}/samba-4.0/util/discard.h |
1385 |
%{_includedir}/samba-4.0/util/fault.h |
1386 |
%{_includedir}/samba-4.0/util/idtree.h |
1387 |
%{_includedir}/samba-4.0/util/idtree_random.h |
1388 |
%{_includedir}/samba-4.0/util/signal.h |
1389 |
%{_includedir}/samba-4.0/util/string_wrappers.h |
1390 |
%{_includedir}/samba-4.0/util/substitute.h |
1391 |
%{_includedir}/samba-4.0/util/tevent_ntstatus.h |
1392 |
%{_includedir}/samba-4.0/util/tevent_unix.h |
1393 |
%{_includedir}/samba-4.0/util/tevent_werror.h |
1394 |
%{_includedir}/samba-4.0/util/tfork.h |
1395 |
%{_includedir}/samba-4.0/util/time.h |
1396 |
%{_includedir}/samba-4.0/util_ldb.h |
1397 |
%{_includedir}/samba-4.0/util/genrand.h |
1398 |
%{_libdir}/libdcerpc-binding.so |
1399 |
%{_libdir}/libdcerpc-samr.so |
1400 |
%{_libdir}/libdcerpc.so |
1401 |
%{_libdir}/libndr-krb5pac.so |
1402 |
%{_libdir}/libndr-nbt.so |
1403 |
%{_libdir}/libndr-standard.so |
1404 |
%{_libdir}/libndr.so |
1405 |
%{_libdir}/libnetapi.so |
1406 |
%{_libdir}/libsamba-credentials.so |
1407 |
%{_libdir}/libsamba-hostconfig.so |
1408 |
%{_libdir}/libsamba-util.so |
1409 |
%{_libdir}/libsamdb.so |
1410 |
%{_libdir}/libsmbconf.so |
1411 |
%{_libdir}/libtevent-util.so |
1412 |
%{_libdir}/pkgconfig/dcerpc.pc |
1413 |
%{_libdir}/pkgconfig/dcerpc_samr.pc |
1414 |
%{_libdir}/pkgconfig/ndr.pc |
1415 |
%{_libdir}/pkgconfig/ndr_krb5pac.pc |
1416 |
%{_libdir}/pkgconfig/ndr_nbt.pc |
1417 |
%{_libdir}/pkgconfig/ndr_standard.pc |
1418 |
%{_libdir}/pkgconfig/netapi.pc |
1419 |
%{_libdir}/pkgconfig/samba-credentials.pc |
1420 |
%{_libdir}/pkgconfig/samba-hostconfig.pc |
1421 |
%{_libdir}/pkgconfig/samba-util.pc |
1422 |
%{_libdir}/pkgconfig/samdb.pc |
1423 |
%{_libdir}/libsamba-passdb.so |
1424 |
%{_libdir}/libsmbldap.so |
1425 |
%{_libdir}/libsamba-errors.so |
1426 |
|
1427 |
%if %{with_dc} |
1428 |
%{_includedir}/samba-4.0/dcerpc_server.h |
1429 |
%{_libdir}/libdcerpc-server.so |
1430 |
%{_libdir}/pkgconfig/dcerpc_server.pc |
1431 |
|
1432 |
%{_libdir}/libsamba-policy.so |
1433 |
%{_libdir}/libsamba-policy.*.so |
1434 |
%{_libdir}/pkgconfig/samba-policy.pc |
1435 |
%{_libdir}/pkgconfig/samba-policy.*.pc |
1436 |
%endif |
1437 |
|
1438 |
%if %{with_internal_talloc} |
1439 |
%{_includedir}/samba-4.0/pytalloc.h |
1440 |
%endif |
1441 |
|
1442 |
%if ! %{with_libsmbclient} |
1443 |
%{_includedir}/samba-4.0/libsmbclient.h |
1444 |
%endif # ! with_libsmbclient |
1445 |
|
1446 |
%if ! %{with_libwbclient} |
1447 |
%{_includedir}/samba-4.0/wbclient.h |
1448 |
%endif # ! with_libwbclient |
1449 |
|
1450 |
### VFS-CEPHFS |
1451 |
%if %{with_vfs_cephfs} |
1452 |
%files vfs-cephfs |
1453 |
%{_libdir}/samba/vfs/ceph.so |
1454 |
%{_mandir}/man8/vfs_ceph.8* |
1455 |
%endif |
1456 |
|
1457 |
### VFS-GLUSTERFS |
1458 |
%if %{with_vfs_glusterfs} |
1459 |
%files vfs-glusterfs |
1460 |
%{_libdir}/samba/vfs/glusterfs.so |
1461 |
%{_mandir}/man8/vfs_glusterfs.8* |
1462 |
%endif |
1463 |
|
1464 |
### KRB5-PRINTING |
1465 |
%files krb5-printing |
1466 |
%defattr(-,root,root) |
1467 |
%attr(0700,root,root) %{_libexecdir}/samba/smbspool_krb5_wrapper |
1468 |
%{_mandir}/man8/smbspool_krb5_wrapper.8* |
1469 |
|
1470 |
### LIBS |
1471 |
%files -n %{libname} |
1472 |
%{_libdir}/libdcerpc-samr.so.* |
1473 |
%{_libdir}/libsamba-policy.so.* |
1474 |
%{_libdir}/libsamba-policy.*.so.* |
1475 |
|
1476 |
# libraries needed by the public libraries |
1477 |
%{_libdir}/samba/libMESSAGING-samba4.so |
1478 |
%{_libdir}/samba/libMESSAGING-SEND-samba4.so |
1479 |
%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so |
1480 |
%{_libdir}/samba/libauth4-samba4.so |
1481 |
%{_libdir}/samba/libauth-unix-token-samba4.so |
1482 |
%{_libdir}/samba/libcommon-auth-samba4.so |
1483 |
%{_libdir}/samba/libdcerpc-samba4.so |
1484 |
%{_libdir}/samba/libnon-posix-acls-samba4.so |
1485 |
%{_libdir}/samba/libsamba-net-samba4.so |
1486 |
%{_libdir}/samba/libsamba-net.*-samba4.so |
1487 |
%{_libdir}/samba/libsamba-python-samba4.so |
1488 |
%{_libdir}/samba/libsamba-python.*-samba4.so |
1489 |
%{_libdir}/samba/libshares-samba4.so |
1490 |
%{_libdir}/samba/libsmbpasswdparser-samba4.so |
1491 |
%{_libdir}/samba/libxattr-tdb-samba4.so |
1492 |
|
1493 |
%if %{with_dc} |
1494 |
%{_libdir}/samba/libdb-glue-samba4.so |
1495 |
%{_libdir}/samba/libHDB-SAMBA4-samba4.so |
1496 |
%{_libdir}/samba/libasn1-samba4.so.8 |
1497 |
%{_libdir}/samba/libasn1-samba4.so.8.0.0 |
1498 |
%{_libdir}/samba/libgssapi-samba4.so.2 |
1499 |
%{_libdir}/samba/libgssapi-samba4.so.2.0.0 |
1500 |
%{_libdir}/samba/libhcrypto-samba4.so.5 |
1501 |
%{_libdir}/samba/libhcrypto-samba4.so.5.0.1 |
1502 |
%{_libdir}/samba/libhdb-samba4.so.11 |
1503 |
%{_libdir}/samba/libhdb-samba4.so.11.0.2 |
1504 |
%{_libdir}/samba/libheimbase-samba4.so.1 |
1505 |
%{_libdir}/samba/libheimbase-samba4.so.1.0.0 |
1506 |
%{_libdir}/samba/libhx509-samba4.so.5 |
1507 |
%{_libdir}/samba/libhx509-samba4.so.5.0.0 |
1508 |
%{_libdir}/samba/libkrb5-samba4.so.26 |
1509 |
%{_libdir}/samba/libkrb5-samba4.so.26.0.0 |
1510 |
%{_libdir}/samba/libroken-samba4.so.19 |
1511 |
%{_libdir}/samba/libroken-samba4.so.19.0.1 |
1512 |
%{_libdir}/samba/libwind-samba4.so.0 |
1513 |
%{_libdir}/samba/libwind-samba4.so.0.0.0 |
1514 |
%endif |
1515 |
|
1516 |
%{_libdir}/libdcerpc-binding.so.* |
1517 |
%{_libdir}/libndr.so.* |
1518 |
%{_libdir}/libndr-krb5pac.so.* |
1519 |
%{_libdir}/libndr-nbt.so.* |
1520 |
%{_libdir}/libndr-standard.so.* |
1521 |
%{_libdir}/libnetapi.so.* |
1522 |
%{_libdir}/libsamba-credentials.so.* |
1523 |
%{_libdir}/libsamba-passdb.so.* |
1524 |
%{_libdir}/libsamba-util.so.* |
1525 |
%{_libdir}/libsamba-hostconfig.so.* |
1526 |
%{_libdir}/libsamdb.so.* |
1527 |
%{_libdir}/libsmbconf.so.* |
1528 |
%{_libdir}/libsmbldap.so.* |
1529 |
%{_libdir}/libtevent-util.so.* |
1530 |
%{_libdir}/libdcerpc.so.* |
1531 |
%{_libdir}/libsamba-errors.so.* |
1532 |
|
1533 |
%dir %{_libdir}/samba |
1534 |
%{_libdir}/samba/libCHARSET3-samba4.so |
1535 |
%{_libdir}/samba/libaddns-samba4.so |
1536 |
%{_libdir}/samba/libads-samba4.so |
1537 |
%{_libdir}/samba/libasn1util-samba4.so |
1538 |
#{_libdir}/samba/libauth-sam-reply-samba4.so |
1539 |
%{_libdir}/samba/libauth-samba4.so |
1540 |
%{_libdir}/samba/libauthkrb5-samba4.so |
1541 |
%{_libdir}/samba/libcli-cldap-samba4.so |
1542 |
%{_libdir}/samba/libcli-ldap-common-samba4.so |
1543 |
%{_libdir}/samba/libcli-ldap-samba4.so |
1544 |
%{_libdir}/samba/libcli-nbt-samba4.so |
1545 |
%{_libdir}/samba/libcli-smb-common-samba4.so |
1546 |
%{_libdir}/samba/libcli-spoolss-samba4.so |
1547 |
%{_libdir}/samba/libcliauth-samba4.so |
1548 |
%{_libdir}/samba/libcluster-samba4.so |
1549 |
%{_libdir}/samba/libcmdline-credentials-samba4.so |
1550 |
%{_libdir}/samba/libcmdline-contexts-samba4.so |
1551 |
%{_libdir}/samba/libdbwrap-samba4.so |
1552 |
%{_libdir}/samba/libdcerpc-samba-samba4.so |
1553 |
%{_libdir}/samba/libscavenge-dns-records-samba4.so |
1554 |
%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so |
1555 |
%{_libdir}/samba/libevents-samba4.so |
1556 |
%{_libdir}/samba/libflag-mapping-samba4.so |
1557 |
%{_libdir}/samba/libgpext-samba4.so |
1558 |
%{_libdir}/samba/libgse-samba4.so |
1559 |
%{_libdir}/samba/libhttp-samba4.so |
1560 |
%{_libdir}/samba/libinterfaces-samba4.so |
1561 |
%{_libdir}/samba/libkrb5samba-samba4.so |
1562 |
%{_libdir}/samba/libldbsamba-samba4.so |
1563 |
%{_libdir}/samba/liblibcli-lsa3-samba4.so |
1564 |
%{_libdir}/samba/liblibcli-netlogon3-samba4.so |
1565 |
%{_libdir}/samba/liblibsmb-samba4.so |
1566 |
%{_libdir}/samba/libmsrpc3-samba4.so |
1567 |
%{_libdir}/samba/libndr-samba-samba4.so |
1568 |
%{_libdir}/samba/libndr-samba4.so |
1569 |
%{_libdir}/samba/libnet-keytab-samba4.so |
1570 |
%{_libdir}/samba/libnetif-samba4.so |
1571 |
%{_libdir}/samba/libnpa-tstream-samba4.so |
1572 |
%{_libdir}/samba/libprinting-migrate-samba4.so |
1573 |
%{_libdir}/samba/libreplace-samba4.so |
1574 |
%{_libdir}/samba/libsamba-cluster-support-samba4.so |
1575 |
%{_libdir}/samba/libsamba-debug-samba4.so |
1576 |
%{_libdir}/samba/libsamba-modules-samba4.so |
1577 |
%{_libdir}/samba/libsamba-security-samba4.so |
1578 |
%{_libdir}/samba/libsamba-sockets-samba4.so |
1579 |
%{_libdir}/samba/libsamba3-util-samba4.so |
1580 |
%{_libdir}/samba/libsamdb-common-samba4.so |
1581 |
%{_libdir}/samba/libsecrets3-samba4.so |
1582 |
%{_libdir}/samba/libserver-role-samba4.so |
1583 |
%{_libdir}/samba/libsmb-transport-samba4.so |
1584 |
%{_libdir}/samba/libsmbd-base-samba4.so |
1585 |
%{_libdir}/samba/libsmbd-conn-samba4.so |
1586 |
%{_libdir}/samba/libsmbd-shim-samba4.so |
1587 |
%{_libdir}/samba/libsmbldaphelper-samba4.so |
1588 |
%{_libdir}/samba/libsocket-blocking-samba4.so |
1589 |
%{_libdir}/samba/libtdb-wrap-samba4.so |
1590 |
%{_libdir}/samba/libtrusts-util-samba4.so |
1591 |
%{_libdir}/samba/libutil-cmdline-samba4.so |
1592 |
%{_libdir}/samba/libutil-reg-samba4.so |
1593 |
%{_libdir}/samba/libutil-setid-samba4.so |
1594 |
%{_libdir}/samba/libutil-tdb-samba4.so |
1595 |
%{_libdir}/samba/libwinbind-client-samba4.so |
1596 |
%{_libdir}/samba/libgenrand-samba4.so |
1597 |
%{_libdir}/samba/libiov-buf-samba4.so |
1598 |
%{_libdir}/samba/libmessages-dgm-samba4.so |
1599 |
%{_libdir}/samba/libmessages-util-samba4.so |
1600 |
%{_libdir}/samba/libmscat-samba4.so |
1601 |
%{_libdir}/samba/libmsghdr-samba4.so |
1602 |
%{_libdir}/samba/libserver-id-db-samba4.so |
1603 |
%{_libdir}/samba/libsys-rw-samba4.so |
1604 |
%{_libdir}/samba/libtalloc-report-samba4.so |
1605 |
%{_libdir}/samba/libtime-basic-samba4.so |
1606 |
%{_libdir}/samba/vfs/shell_snap.so |
1607 |
%{_libdir}/samba/vfs/unityed_media.so |
1608 |
|
1609 |
%{_libdir}/samba/libcom_err-samba4.so.* |
1610 |
%{_libdir}/samba/libgensec-samba4.so |
1611 |
%{_libdir}/samba/libregistry-samba4.so |
1612 |
%{_libdir}/samba/libsmbclient-raw-samba4.so |
1613 |
%{_libdir}/samba/libtorture-samba4.so |
1614 |
|
1615 |
%{_mandir}/man8/vfs_shell_snap.8.* |
1616 |
%{_mandir}/man8/vfs_unityed_media.8.* |
1617 |
|
1618 |
%if ! %{with_libwbclient} |
1619 |
%{_libdir}/samba/libwbclient.so.* |
1620 |
%{_libdir}/samba/libwinbind-client-samba4.so |
1621 |
%endif # ! with_libwbclient |
1622 |
|
1623 |
%if ! %{with_libsmbclient} |
1624 |
%{_libdir}/samba/libsmbclient.so.* |
1625 |
%{_mandir}/man7/libsmbclient.7* |
1626 |
%endif # ! with_libsmbclient |
1627 |
|
1628 |
%if %{with_internal_ntdb} |
1629 |
%{_libdir}/samba/libntdb.so.1 |
1630 |
%{_libdir}/samba/libntdb.so.%{ntdb_version} |
1631 |
%endif |
1632 |
|
1633 |
%if %{with_internal_talloc} |
1634 |
%{_libdir}/samba/libtalloc.so.2 |
1635 |
%{_libdir}/samba/libtalloc.so.%{talloc_version} |
1636 |
%{_libdir}/samba/libpytalloc-util.so.2 |
1637 |
%{_libdir}/samba/libpytalloc-util.so.%{talloc_version} |
1638 |
%{_mandir}/man3/talloc.3.xz |
1639 |
%endif |
1640 |
|
1641 |
%if %{with_internal_tevent} |
1642 |
%{_libdir}/samba/libtevent.so.0 |
1643 |
%{_libdir}/samba/libtevent.so.%{tevent_version} |
1644 |
%endif |
1645 |
|
1646 |
%if %{with_internal_tdb} |
1647 |
%{_libdir}/samba/libtdb.so.1 |
1648 |
%{_libdir}/samba/libtdb.so.%{tdb_version} |
1649 |
%endif |
1650 |
|
1651 |
%if %{with_internal_ldb} |
1652 |
%{_libdir}/samba/libldb.so.1.* |
1653 |
%{_libdir}/samba/ldb.so |
1654 |
%{_libdir}/samba/mdb.so |
1655 |
%{_libdir}/samba/libldb-key-value-samba4.so |
1656 |
%{_libdir}/samba/libldb-mdb-int-samba4.so |
1657 |
%{_mandir}/man3/ldb.3.xz |
1658 |
%endif |
1659 |
|
1660 |
### LIBSMBCLIENT |
1661 |
%if %{with_libsmbclient} |
1662 |
%files -n %{libsmbclient} |
1663 |
%{_libdir}/libsmbclient.so.%{smbclientmajor} |
1664 |
%{_libdir}/libsmbclient.so.%{smbclientmajor}.* |
1665 |
|
1666 |
|
1667 |
### LIBSMBCLIENT-DEVEL |
1668 |
%files -n %{smbclientdevel} |
1669 |
%{_includedir}/samba-4.0/libsmbclient.h |
1670 |
%{_libdir}/libsmbclient.so |
1671 |
%{_libdir}/pkgconfig/smbclient.pc |
1672 |
%{_mandir}/man7/libsmbclient.7* |
1673 |
%endif # with_libsmbclient |
1674 |
|
1675 |
### LIBWBCLIENT |
1676 |
%if %{with_libwbclient} |
1677 |
%files -n %{libwbclient} |
1678 |
%{_libdir}/libwbclient.so.%{wbclientmajor} |
1679 |
%{_libdir}/libwbclient.so.%{wbclientmajor}.* |
1680 |
%{_libdir}/samba/libwinbind-client-samba4.so |
1681 |
|
1682 |
### LIBWBCLIENT-DEVEL |
1683 |
%files -n %{wbclientdevel} |
1684 |
%{_includedir}/samba-4.0/wbclient.h |
1685 |
%{_libdir}/libwbclient.so |
1686 |
%{_libdir}/pkgconfig/wbclient.pc |
1687 |
%endif # with_libwbclient |
1688 |
|
1689 |
### PIDL |
1690 |
%files pidl |
1691 |
%attr(755,root,root) %{_bindir}/pidl |
1692 |
%dir %{perl_vendorlib}/Parse |
1693 |
%{perl_vendorlib}/Parse/Pidl.pm |
1694 |
%dir %{perl_vendorlib}/Parse/Pidl |
1695 |
%{perl_vendorlib}/Parse/Pidl/CUtil.pm |
1696 |
%{perl_vendorlib}/Parse/Pidl/Samba4.pm |
1697 |
%{perl_vendorlib}/Parse/Pidl/Expr.pm |
1698 |
%{perl_vendorlib}/Parse/Pidl/ODL.pm |
1699 |
%{perl_vendorlib}/Parse/Pidl/Typelist.pm |
1700 |
%{perl_vendorlib}/Parse/Pidl/IDL.pm |
1701 |
%{perl_vendorlib}/Parse/Pidl/Compat.pm |
1702 |
%dir %{perl_vendorlib}/Parse/Pidl/Wireshark |
1703 |
%{perl_vendorlib}/Parse/Pidl/Wireshark/Conformance.pm |
1704 |
%{perl_vendorlib}/Parse/Pidl/Wireshark/NDR.pm |
1705 |
%{perl_vendorlib}/Parse/Pidl/Dump.pm |
1706 |
%dir %{perl_vendorlib}/Parse/Pidl/Samba3 |
1707 |
%{perl_vendorlib}/Parse/Pidl/Samba3/ServerNDR.pm |
1708 |
%{perl_vendorlib}/Parse/Pidl/Samba3/ClientNDR.pm |
1709 |
%dir %{perl_vendorlib}/Parse/Pidl/Samba4 |
1710 |
%{perl_vendorlib}/Parse/Pidl/Samba4/Header.pm |
1711 |
%dir %{perl_vendorlib}/Parse/Pidl/Samba4/COM |
1712 |
%{perl_vendorlib}/Parse/Pidl/Samba4/COM/Header.pm |
1713 |
%{perl_vendorlib}/Parse/Pidl/Samba4/COM/Proxy.pm |
1714 |
%{perl_vendorlib}/Parse/Pidl/Samba4/COM/Stub.pm |
1715 |
%{perl_vendorlib}/Parse/Pidl/Samba4/Python.pm |
1716 |
%{perl_vendorlib}/Parse/Pidl/Samba4/Template.pm |
1717 |
%dir %{perl_vendorlib}/Parse/Pidl/Samba4/NDR |
1718 |
%{perl_vendorlib}/Parse/Pidl/Samba4/NDR/Server.pm |
1719 |
%{perl_vendorlib}/Parse/Pidl/Samba4/NDR/Client.pm |
1720 |
%{perl_vendorlib}/Parse/Pidl/Samba4/NDR/Parser.pm |
1721 |
%{perl_vendorlib}/Parse/Pidl/Samba4/TDR.pm |
1722 |
%{perl_vendorlib}/Parse/Pidl/NDR.pm |
1723 |
%{perl_vendorlib}/Parse/Pidl/Util.pm |
1724 |
%{_mandir}/man1/pidl* |
1725 |
%{_mandir}/man3/Parse::Pidl* |
1726 |
|
1727 |
### PYTHON |
1728 |
%files -n python2-samba |
1729 |
%{python2_sitearch}/* |
1730 |
|
1731 |
%files -n python3-samba |
1732 |
%{python3_sitearch}/* |
1733 |
|
1734 |
### TEST |
1735 |
%files test |
1736 |
%{_bindir}/gentest |
1737 |
%{_bindir}/locktest |
1738 |
%{_bindir}/masktest |
1739 |
%{_bindir}/ndrdump |
1740 |
%{_bindir}/smbtorture |
1741 |
%{_mandir}/man1/gentest.1* |
1742 |
%{_mandir}/man1/locktest.1* |
1743 |
%{_mandir}/man1/masktest.1* |
1744 |
%{_mandir}/man1/ndrdump.1* |
1745 |
%{_mandir}/man1/smbtorture.1* |
1746 |
%{_mandir}/man1/vfstest.1* |
1747 |
|
1748 |
%if %{with testsuite} |
1749 |
# files to ignore in testsuite mode |
1750 |
%{_libdir}/samba/libnss-wrapper.so |
1751 |
%{_libdir}/samba/libsocket-wrapper.so |
1752 |
%{_libdir}/samba/libuid-wrapper.so |
1753 |
%endif |
1754 |
|
1755 |
### TEST-LIBS |
1756 |
%files -n %{libtest} |
1757 |
%if %{with_dc} |
1758 |
%{_libdir}/samba/libdlz-bind9-for-torture-samba4.so |
1759 |
%else |
1760 |
%{_libdir}/samba/libdsdb-module-samba4.so |
1761 |
%endif |
1762 |
|
1763 |
### WINBIND |
1764 |
%files winbind |
1765 |
%{_libdir}/samba/idmap |
1766 |
%{_libdir}/samba/nss_info |
1767 |
%{_libdir}/samba/libnss-info-samba4.so |
1768 |
%{_libdir}/samba/libidmap-samba4.so |
1769 |
%{_sbindir}/winbindd |
1770 |
%attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged |
1771 |
%{_unitdir}/winbind.service |
1772 |
%{_mandir}/man8/winbindd.8* |
1773 |
%{_mandir}/man8/idmap_*.8* |
1774 |
|
1775 |
### WINBIND-CLIENTS |
1776 |
%files winbind-clients |
1777 |
|
1778 |
%{_bindir}/ntlm_auth |
1779 |
%{_bindir}/wbinfo |
1780 |
%{_mandir}/man1/ntlm_auth.1.* |
1781 |
%{_mandir}/man1/wbinfo.1* |
1782 |
|
1783 |
### WINBIND-KRB5-LOCATOR |
1784 |
%files winbind-krb5-locator |
1785 |
%ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so |
1786 |
%{_libdir}/samba/krb5/winbind_krb5_locator.so |
1787 |
%{_mandir}/man8/winbind_krb5_locator.8* |
1788 |
|
1789 |
### WINBIND-MODULES |
1790 |
%files winbind-modules |
1791 |
%{_libdir}/libnss_winbind.so.%{nssmajor} |
1792 |
%{_libdir}/libnss_winbind.so |
1793 |
%{_libdir}/libnss_wins.so.%{nssmajor} |
1794 |
%{_libdir}/libnss_wins.so |
1795 |
%{_libdir}/security/pam_winbind.so |
1796 |
%config(noreplace) %{_sysconfdir}/security/pam_winbind.conf |
1797 |
%{_mandir}/man5/pam_winbind.conf.5* |
1798 |
%{_mandir}/man8/pam_winbind.8* |
1799 |
|
1800 |
%if %{with_clustering_support} |
1801 |
%files -n ctdb |
1802 |
%config(noreplace) %{_sysconfdir}/ctdb/*.sh |
1803 |
%config(noreplace) %{_sysconfdir}/ctdb/functions |
1804 |
%dir %{_localstatedir}/lib/ctdb/ |
1805 |
%{_tmpfilesdir}/%{name}.conf |
1806 |
|
1807 |
%{_unitdir}/ctdb.service |
1808 |
|
1809 |
%dir %{_sysconfdir}/ctdb |
1810 |
%{_sysconfdir}/ctdb/statd-callout |
1811 |
%{_sysconfdir}/ctdb/events/notification/README |
1812 |
%dir %{_sysconfdir}/ctdb/nfs-checks.d |
1813 |
%{_sysconfdir}/ctdb/nfs-checks.d/00.portmapper.check |
1814 |
%{_sysconfdir}/ctdb/nfs-checks.d/10.status.check |
1815 |
%{_sysconfdir}/ctdb/nfs-checks.d/20.nfs.check |
1816 |
%{_sysconfdir}/ctdb/nfs-checks.d/30.nlockmgr.check |
1817 |
%{_sysconfdir}/ctdb/nfs-checks.d/40.mountd.check |
1818 |
%{_sysconfdir}/ctdb/nfs-checks.d/50.rquotad.check |
1819 |
%{_sysconfdir}/ctdb/nfs-checks.d/README |
1820 |
%{_sysconfdir}/ctdb/nfs-linux-kernel-callout |
1821 |
|
1822 |
%{_sysconfdir}/sudoers.d/ctdb |
1823 |
%{_prefix}/lib/tmpfiles.d/ctdb.conf |
1824 |
%{_sbindir}/ctdbd |
1825 |
%{_sbindir}/ctdbd_wrapper |
1826 |
%{_bindir}/ctdb |
1827 |
%{_bindir}/ping_pong |
1828 |
%{_bindir}/ltdbtool |
1829 |
%{_bindir}/ctdb_diagnostics |
1830 |
%{_bindir}/ctdb_local_daemons |
1831 |
%{_bindir}/onnode |
1832 |
|
1833 |
%{_libexecdir}/ctdb/ctdb_* |
1834 |
%{_libexecdir}/ctdb/smnotify |
1835 |
%{_libexecdir}/ctdb/ctdb-* |
1836 |
|
1837 |
%{_libdir}/samba/libctdb-event-client-samba4.so |
1838 |
|
1839 |
%dir %{_datadir}/ctdb/events |
1840 |
%{_datadir}/ctdb/events/* |
1841 |
|
1842 |
%{_mandir}/man1/ctdb*.1* |
1843 |
%{_mandir}/man1/onnode.1* |
1844 |
%{_mandir}/man1/ltdbtool.1* |
1845 |
%{_mandir}/man1/ping_pong.1* |
1846 |
%{_mandir}/man5/ctdb*.5* |
1847 |
%{_mandir}/man7/ctdb*.7* |
1848 |
|
1849 |
%files -n ctdb-tests |
1850 |
%doc ctdb/tests/README |
1851 |
%{_bindir}/ctdb_run_tests |
1852 |
%{_bindir}/ctdb_run_cluster_tests |
1853 |
%dir %{_datadir}/ctdb/tests |
1854 |
%{_datadir}/ctdb/tests/* |
1855 |
%dir %{_libexecdir}/ctdb/tests |
1856 |
%{_libexecdir}/ctdb/tests/* |
1857 |
|
1858 |
%endif # with_clustering_support |