]> git.pld-linux.org Git - packages/samba.git/blob - samba.spec
up to 4.20.1
[packages/samba.git] / samba.spec
1 # TODO:
2 # - gpfs.h (nfs-ganesha?)
3 #
4 # Note:
5 # - unpredictible build failures:
6 #   fail: http://buildlogs.pld-linux.org//index.php?dist=th&arch=i686&ok=0&name=samba&id=8e631f35-f333-464e-b872-135db73f0a67&action=tail
7 #   ok: http://buildlogs.pld-linux.org//index.php?dist=th&arch=i686&ok=1&name=samba&id=1188195b-4017-48c5-8c07-f1deb41b5800&action=tail 
8 #
9 # Conditional build:
10 %bcond_without  ads             # ActiveDirectory support
11 %bcond_without  ceph            # Ceph (RADOS) storage support
12 %bcond_without  cups            # CUPS support
13 %bcond_without  glusterfs       # GlusterFS storage support
14 %bcond_without  ldap            # LDAP support
15 %bcond_without  avahi           # Avahi support
16 %bcond_without  dmapi           # DMAPI support
17 %bcond_without  fam             # FAM support
18 %bcond_without  lttng           # lttng-ust support
19 %bcond_without  spotlight       # Spotlight tracker support
20 %bcond_without  systemd         # systemd integration
21 %bcond_without  winexe          # winexe tool
22 %bcond_with     system_heimdal  # Use system Heimdal libraries [since samba 4.4.x build fails with heimdal 1.5.x/7.x]
23 %bcond_without  system_libbsd   # system libbsd for MD5, strl*, setproctitle, getpeeridfunctions
24 %bcond_without  system_libs     # system libraries from SAMBA project (talloc,tdb,tevent,ldb)
25 %bcond_without  ctdb_pcp        # Performance Co-Pilot support for CTDB
26 # turn on when https://bugzilla.samba.org/show_bug.cgi?id=11764 is fixed
27 %bcond_with     replace
28
29 %if %{with system_libs}
30 %define         ldb_ver         2.9.0
31 %define         ldb_ver_below   2.10
32 %define         talloc_ver      2:2.4.2
33 %define         tdb_ver         2:1.4.10
34 %define         tevent_ver      0.16.1
35 %endif
36
37 # dmapi-devel with xfsprogs-devel >= 4.11(?) needs largefile (64bit off_t) that isn't detected properly
38 %ifarch %{ix86}
39 %undefine       with_dmapi
40 %endif
41
42
43 # NOTE: packages order is: server + additions, common, clients, libs+devel, ldap
44 Summary:        Samba Active Directory and SMB server
45 Summary(pl.UTF-8):      Serwer Samba Active Directory i SMB
46 Name:           samba
47 Version:        4.20.1
48 Release:        1
49 Epoch:          1
50 License:        GPL v3
51 Group:          Networking/Daemons
52 Source0:        https://download.samba.org/pub/samba/stable/%{name}-%{version}.tar.gz
53 # Source0-md5:  7c12134e6eb4b39f080cf4ebadc57879
54 Source1:        smb.init
55 Source2:        samba.pamd
56 Source4:        samba.sysconfig
57 Source5:        samba.logrotate
58 Source6:        smb.conf
59 Source7:        winbind.init
60 Source8:        winbind.sysconfig
61 Source9:        samba.init
62 Patch0:         system-heimdal.patch
63 Patch1:         %{name}-c++-nofail.patch
64 Patch2:         %{name}-lprng-no-dot-printers.patch
65 Patch4:         unicodePwd-nthash-values-over-LDAP.patch
66 Patch5:         %{name}-heimdal.patch
67 Patch6:         server-role.patch
68 Patch8:         %{name}-no_libbsd.patch
69 Patch9:         heimdal-atomic.patch
70 URL:            https://www.samba.org/
71 BuildRequires:  acl-devel
72 %{?with_avahi:BuildRequires:    avahi-devel}
73 BuildRequires:  bison
74 %{?with_ceph:BuildRequires:     ceph-devel >= 11}
75 BuildRequires:  cmocka-devel >= 1.1.3
76 %if %{with winexe}
77 BuildRequires:  crossmingw32-gcc
78 # for string.h
79 BuildRequires:  crossmingw32-runtime
80 BuildRequires:  crossmingw64-gcc
81 %endif
82 %{?with_cups:BuildRequires:     cups-devel >= 1:1.2.0}
83 BuildRequires:  cyrus-sasl-devel >= 2
84 BuildRequires:  dbus-devel
85 %{?with_dmapi:BuildRequires:    dmapi-devel}
86 BuildRequires:  docbook-style-xsl-nons
87 BuildRequires:  flex
88 # just FAM API
89 %{?with_fam:BuildRequires:      gamin-devel}
90 BuildRequires:  gettext-tools
91 BuildRequires:  glib2-devel >= 2.0
92 # new features up to 7.9
93 %{?with_glusterfs:BuildRequires:        glusterfs-devel >= 4}
94 BuildRequires:  gnutls-devel >= 3.6.13
95 BuildRequires:  gpgme-devel
96 %{?with_system_heimdal:BuildRequires:   heimdal-devel >= 1.5.3-1}
97 BuildRequires:  iconv
98 BuildRequires:  jansson-devel
99 BuildRequires:  keyutils-devel
100 BuildRequires:  libaio-devel
101 BuildRequires:  libarchive-devel >= 3.1.2
102 %if %{without system_heimdal}
103 %ifnarch %arch_with_atomics64
104 BuildRequires:  libatomic-devel
105 %endif
106 %endif
107 %{?with_system_libbsd:BuildRequires:    libbsd-devel}
108 BuildRequires:  libcap-devel
109 BuildRequires:  libcom_err-devel
110 BuildRequires:  libicu-devel
111 BuildRequires:  libmagic-devel
112 BuildRequires:  libnscd-devel
113 BuildRequires:  libnsl-devel
114 BuildRequires:  libtasn1-devel >= 3.8
115 BuildRequires:  libtirpc-devel
116 BuildRequires:  libunwind-devel
117 BuildRequires:  liburing-devel
118 BuildRequires:  libxslt-progs
119 %{?with_lttng:BuildRequires:    lttng-ust-devel}
120 BuildRequires:  make >= 1:3.81
121 BuildRequires:  ncurses-devel >= 5.2
122 BuildRequires:  ncurses-ext-devel >= 5.2
123 %{?with_ldap:BuildRequires:     openldap-devel >= 2.3.0}
124 # detected and used for linking, but dropped by -Wl,--as-needed
125 #BuildRequires: openssl-devel
126 BuildRequires:  pam-devel >= 0.99.8.1
127 %{?with_ctdb_pcp:BuildRequires: pcp-devel}
128 BuildRequires:  perl-ExtUtils-MakeMaker
129 %{!?with_system_heimdal:BuildRequires:  perl-modules}
130 BuildRequires:  perl-Parse-Yapp >= 1.05
131 BuildRequires:  pkgconfig
132 BuildRequires:  popt-devel
133 %{?with_pgsql:BuildRequires:    postgresql-devel}
134 BuildRequires:  python3-devel >= 1:3.6
135 BuildRequires:  python3-dns
136 BuildRequires:  python3-iso8601
137 BuildRequires:  python3-markdown
138 BuildRequires:  python3-modules >= 1:3.6
139 BuildRequires:  python3-subunit
140 BuildRequires:  python3-testtools
141 BuildRequires:  readline-devel >= 4.2
142 BuildRequires:  rpcsvc-proto
143 BuildRequires:  rpm-build >= 4.6
144 BuildRequires:  rpm-perlprov
145 BuildRequires:  rpm-pythonprov
146 BuildRequires:  rpmbuild(macros) >= 2.025
147 BuildRequires:  sed >= 4.0
148 BuildRequires:  subunit-devel
149 %{?with_systemd:BuildRequires:  systemd-devel}
150 %{?with_spotlight:BuildRequires:        tracker-devel >= 2.0}
151 BuildRequires:  xfsprogs-devel
152 BuildRequires:  zlib-devel >= 1.2.3
153 %if %{with system_libs}
154 BuildRequires:  ldb-devel >= %{ldb_ver}
155 BuildRequires:  ldb-devel < %{ldb_ver_below}
156 BuildRequires:  python3-ldb-devel >= %{ldb_ver}
157 BuildRequires:  python3-talloc-devel >= %{talloc_ver}
158 BuildRequires:  python3-tdb >= %{tdb_ver}
159 BuildRequires:  python3-tevent >= %{tevent_ver}
160 BuildRequires:  talloc-devel >= %{talloc_ver}
161 BuildRequires:  tdb-devel >= %{tdb_ver}
162 BuildRequires:  tevent-devel >= %{tevent_ver}
163 %endif
164 Requires(post,preun):   /sbin/chkconfig
165 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
166 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
167 # for samba_{dnsupdate,kcc,spnupdate,upgradedns} scripts
168 Requires:       logrotate >= 3.7-4
169 Requires:       pam >= 0.99.8.1
170 Requires:       python3-samba = %{epoch}:%{version}-%{release}
171 Requires:       rc-scripts >= 0.4.0.12
172 Requires:       setup >= 2.4.6-7
173 Requires:       systemd-units >= 38
174 # smbd links with libcups
175 %{?with_cups:Requires:  cups-lib >= 1:1.2.0}
176 Obsoletes:      samba-doc-html < 1:4
177 Obsoletes:      samba-doc-pdf < 1:4
178 Obsoletes:      samba-pdb-xml < 3.0.23
179 Obsoletes:      samba-vfs-audit < 1:4.1.4-3
180 Obsoletes:      samba-vfs-block < 1:4.1.4-3
181 Obsoletes:      samba-vfs-cap < 1:4.1.4-3
182 Obsoletes:      samba-vfs-catia < 1:4.1.4-3
183 Obsoletes:      samba-vfs-default_quota < 1:4.1.4-3
184 Obsoletes:      samba-vfs-expand_msdfs < 1:4.1.4-3
185 Obsoletes:      samba-vfs-fake_perms < 1:4.1.4-3
186 Obsoletes:      samba-vfs-netatalk < 1:4.1.4-3
187 Obsoletes:      samba-vfs-readahead < 1:4.1.4-3
188 Obsoletes:      samba-vfs-readonly < 1:4.1.4-3
189 Obsoletes:      samba-vfs-recycle < 1:4.1.4-3
190 Obsoletes:      samba-vfs-scannedonly < 1:4.1.4-3
191 Obsoletes:      samba-vfs-shadow_copy < 1:4.1.4-3
192 Obsoletes:      samba3 < 1:4.1.4-3
193 Obsoletes:      samba3-server < 1:4.1.4-3
194 Obsoletes:      samba3-vfs-audit < 1:4.1.4-3
195 Obsoletes:      samba3-vfs-cap < 1:4.1.4-3
196 Obsoletes:      samba3-vfs-catia < 1:4.1.4-3
197 Obsoletes:      samba3-vfs-default_quota < 1:4.1.4-3
198 Obsoletes:      samba3-vfs-expand_msdfs < 1:4.1.4-3
199 Obsoletes:      samba3-vfs-fake_perms < 1:4.1.4-3
200 Obsoletes:      samba3-vfs-netatalk < 1:4.1.4-3
201 Obsoletes:      samba3-vfs-readahead < 1:4.1.4-3
202 Obsoletes:      samba3-vfs-readonly < 1:4.1.4-3
203 Obsoletes:      samba3-vfs-recycle < 1:4.1.4-3
204 Obsoletes:      samba3-vfs-scannedonly < 1:4.1.4-3
205 Obsoletes:      samba3-vfs-shadow_copy < 1:4.1.4-3
206 Obsoletes:      samba4 < 1:4.1.4-3
207 Obsoletes:      samba4-common-server < 1:4.1.4-3
208 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
209
210 %define         _sambahome      /home/services/samba
211 %if %{with cups}
212 %define         cups_serverbin  %{_prefix}/lib/cups
213 %endif
214 %define         schemadir       /usr/share/openldap/schema
215
216 # CFLAGS modified (the second ./configure)
217 %undefine       configure_cache
218
219 %description
220 Samba provides an SMB server which can be used to provide network
221 services to SMB (sometimes called "Lan Manager") clients, including
222 various versions of MS Windows, OS/2, and other Linux machines. Samba
223 also provides some SMB clients, which complement the built-in SMB
224 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
225 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
226
227 %description -l pl.UTF-8
228 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
229 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
230 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
231 znajduje się również oprogramowanie klienckie. Samba używa protokołu
232 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
233 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
234 haseł w standardzie MS i zarządzania bazą WINS.
235
236 %package vfs-ceph
237 Summary:        VFS module to host shares on Ceph file system
238 Summary(pl.UTF-8):      Moduł VFS do serwowania zasobów z systemu plików Ceph
239 Group:          Networking/Daemons
240 Requires:       %{name} = %{epoch}:%{version}-%{release}
241 Requires:       ceph-libs >= 11
242
243 %description vfs-ceph
244 VFS module to host shares on Ceph file system.
245
246 This module only works with the libceph.so user-space client. It is
247 not needed if you are using the kernel client or the FUSE client.
248
249 %description vfs-ceph -l pl.UTF-8
250 Moduł VFS do serwowania zasobów z systemu plików Ceph.
251
252 Ten moduł działa jedynie z klientem przestrzeni użytkownika
253 libceph.so. Jest zbędny w przypadku używania klienta dostarczanego
254 przez jądro lub FUSE.
255
256 %package vfs-glusterfs
257 Summary:        VFS module to host shares on GlusterFS file system
258 Summary(pl.UTF-8):      Moduł VFS do serwowania zasobów z systemu plików GlusterFS
259 Group:          Networking/Daemons
260 Requires:       %{name} = %{epoch}:%{version}-%{release}
261
262 %description vfs-glusterfs
263 VFS module to host shares on GlusterFS file system.
264
265 %description vfs-glusterfs -l pl.UTF-8
266 Moduł VFS do serwowania zasobów z systemu plików GlusterFS.
267
268 %package common
269 Summary:        Files used by both Samba servers and clients
270 Summary(pl.UTF-8):      Pliki używane przez serwer i klientów Samby
271 Group:          Networking/Daemons
272 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
273 # for samba-tool script
274 Requires:       python3-samba = %{epoch}:%{version}-%{release}
275 Obsoletes:      samba3-common < 1:4.1.4-3
276 Obsoletes:      samba4-common < 1:4.1.4-3
277
278 %description common
279 Samba-common provides files necessary for both the server and client
280 packages of Samba.
281
282 %description common -l pl.UTF-8
283 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
284 klientów Samby.
285
286 %package client
287 Summary:        Samba client programs
288 Summary(pl.UTF-8):      Klienci serwera Samba
289 Group:          Applications/Networking
290 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
291 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
292 %{?with_system_heimdal:Requires:        heimdal-libs >= 1.5.3-1}
293 Requires:       libsmbclient = %{epoch}:%{version}-%{release}
294 Suggests:       cifs-utils
295 Obsoletes:      samba3-client < 1:4.1.4-3
296 Obsoletes:      samba4-client < 1:4.1.4-3
297 Obsoletes:      smbfs
298
299 %description client
300 Samba-client provides some SMB clients, which complement the build-in
301 SMB filesystem in Linux. These allow accessing of SMB shares and
302 printing to SMB printers.
303
304 %description client -l pl.UTF-8
305 Samba-client dostarcza programy uzupełniające obsługę systemu plików
306 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
307 drukowanie w sieci SMB.
308
309 %package winbind
310 Summary:        Samba-winbind daemon, utilities and documentation
311 Summary(pl.UTF-8):      Demon samba-winbind, narzędzia i dokumentacja
312 Group:          Networking/Daemons
313 Requires(post,preun):   /sbin/chkconfig
314 Requires(post,preun,postun):    systemd-units >= 38
315 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
316 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
317 Requires:       systemd-units >= 38
318 Obsoletes:      samba3-winbind < 1:4.1.4-3
319 Obsoletes:      samba4-winbind < 1:4.1.4-3
320 # pam_winbind is not complete replacement, but pam_smbpass has been removed (in samba 4.4)
321 #Obsoletes:     pam-pam_smbpass < 1:4.4
322
323 %description winbind
324 Provides the winbind daemon and testing tools to allow authentication
325 and group/user enumeration from a Windows or Samba domain controller.
326
327 %description winbind -l pl.UTF-8
328 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
329 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
330 Windows lub Samba.
331
332 %package -n cups-backend-smb
333 Summary:        CUPS backend for printing to SMB printers
334 Summary(pl.UTF-8):      Backend CUPS-a drukujący na drukarkach SMB
335 Group:          Applications/Printing
336 Requires:       %{name}-client = %{epoch}:%{version}-%{release}
337 Requires:       cups >= 1:1.2.0
338 Obsoletes:      cups-backend-smb3 < 1:4.1.4-3
339
340 %description -n cups-backend-smb
341 CUPS backend for printing to SMB printers.
342
343 %description -n cups-backend-smb -l pl.UTF-8
344 Backend CUPS-a drukujący na drukarkach SMB.
345
346 %package -n nss_wins
347 Summary:        Name Service Switch service for WINS
348 Summary(pl.UTF-8):      Usługa Name Service Switch dla WINS
349 Group:          Base
350 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
351 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
352 Obsoletes:      nss_wins3 < 1:4.1.4-3
353
354 %description -n nss_wins
355 Provides the libnss_wins shared library which resolves NetBIOS names
356 to IP addresses.
357
358 %description -n nss_wins -l pl.UTF-8
359 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
360 IP.
361
362 %package -n smbget
363 Summary:        A utility for retrieving files using the SMB protocol
364 Summary(pl.UTF-8):      Narzędzie do pobierania plików protokołem SMB
365 Group:          Applications/Networking
366 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
367 Obsoletes:      smbget3 < 1:4.1.4-3
368
369 %description -n smbget
370 wget-like utility for downloading files over SMB.
371
372 %description -n smbget -l pl.UTF-8
373 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
374 używanym w sieciach MS Windows.
375
376 %package libs
377 Summary:        Samba shared libraries
378 Summary(pl.UTF-8):      Biblioteki współdzielone Samby
379 Group:          Libraries
380 Requires:       gnutls >= 3.6.13
381 %if %{with system_libs}
382 Requires:       ldb >= %{ldb_ver}
383 Requires:       talloc >= %{talloc_ver}
384 Requires:       tdb >= %{tdb_ver}
385 Requires:       tevent >= %{tevent_ver}
386 %endif
387 # samba 4.11+ dropped support for python2
388 Obsoletes:      python-samba < 1:4.11
389 Obsoletes:      samba-vfs-notify_fam < 1:4.4.4
390
391 %description libs
392 Samba shared libraries.
393
394 %description libs -l pl.UTF-8
395 Biblioteki współdzielone Samby.
396
397 %package devel
398 Summary:        Header files for Samba
399 Summary(pl.UTF-8):      Pliki nagłówkowe Samby
400 Group:          Development/Libraries
401 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
402 Obsoletes:      samba3-devel < 1:4.1.4-3
403 Obsoletes:      samba4-devel < 1:4.1.4-3
404
405 %description devel
406 Header files for Samba.
407
408 %description devel -l pl.UTF-8
409 Pliki nagłówkowe Samby.
410
411 %package pidl
412 Summary:        Perl IDL compiler
413 Summary(pl.UTF-8):      Kompilator IDL w Perlu
414 Group:          Development/Tools
415 Obsoletes:      samba4-pidl < 1:4.1.4-3
416
417 %description pidl
418 The samba-pidl package contains the Perl IDL compiler used by Samba
419 and Wireshark to parse IDL and similar protocols.
420
421 %description pidl -l pl.UTF-8
422 Ten pakiet zawiera kompilator IDL napisany w Perlu, używany przez
423 Sambę oraz Wiresharka to analizy IDL i podobnych protokołów.
424
425 %package -n python3-samba
426 Summary:        Samba modules for Python 3
427 Summary(pl.UTF-8):      Moduły Samby dla Pythona 3
428 Group:          Development/Languages/Python
429 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
430 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
431 Requires:       python3 >= 1:3.6
432 Requires:       python3-dns
433 Requires:       python3-iso8601
434 Requires:       python3-modules >= 1:3.5
435 %if %{with system_libs}
436 Requires:       python3-ldb >= %{ldb_ver}
437 Requires:       python3-talloc >= %{talloc_ver}
438 Requires:       python3-tevent >= %{tevent_ver}
439 %endif
440
441 %description -n python3-samba
442 Samba modules for Python3.
443
444 %description -n python3-samba -l pl.UTF-8
445 Moduły Samby dla Pythona 3.
446
447 %package test
448 Summary:        Testing tools for Samba servers and clients
449 Summary(pl.UTF-8):      Narzędzia testowe dla serwerów i klientów Samby
450 Group:          Applications/System
451 Requires:       %{name} = %{epoch}:%{version}-%{release}
452 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
453 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
454 Requires:       %{name}-winbind = %{epoch}:%{version}-%{release}
455 Obsoletes:      samba4-test < 1:4.1.4-3
456 Obsoletes:      samba4-test-devel < 1:4.1.4-3
457 Obsoletes:      samba-test-devel < 1:4.5.1-3
458
459 %description test
460 samba-test provides testing tools for both the server and client
461 packages of Samba.
462
463 %description test -l pl.UTF-8
464 Narzędzia testowe dla serwerów i klientów Samby.
465
466 %package -n libsmbclient
467 Summary:        libsmbclient and libwbclient - Samba client libraries
468 Summary(pl.UTF-8):      libsmbclient i libwbclient - biblioteki klienckie Samby
469 Group:          Libraries
470 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
471 Obsoletes:      samba3-libsmbclient < 1:4.1.4-3
472
473 %description -n libsmbclient
474 libsmbclient and libwbclient - libraries that allow to use Samba
475 client functions.
476
477 %description -n libsmbclient -l pl.UTF-8
478 libsmbclient i libwbclient - biblioteki pozwalające korzystać z funcji
479 klienta Samby.
480
481 %package -n libsmbclient-devel
482 Summary:        Development files for Samba client libraries
483 Summary(pl.UTF-8):      Pliki programistyczne bibliotek klienta Samby
484 Group:          Development/Libraries
485 Requires:       libsmbclient = %{epoch}:%{version}-%{release}
486 Obsoletes:      libsmbclient-static < 1:4
487 Obsoletes:      samba3-libsmbclient-devel < 1:4.1.4-3
488
489 %description -n libsmbclient-devel
490 Header files for libsmbclient and libwbclient libraries.
491
492 %description -n libsmbclient-devel -l pl.UTF-8
493 Pliki nagłówkowe bibliotek libsmbclient i libwbclient.
494
495 %package -n openldap-schema-samba
496 Summary:        Samba LDAP schema
497 Summary(pl.UTF-8):      Schemat LDAP dla Samby
498 Group:          Networking/Daemons
499 Requires(post,postun):  sed >= 4.0
500 Requires:       openldap-servers
501 Obsoletes:      openldap-schema-samba3 < 1:4.1.4-3
502 BuildArch:      noarch
503
504 %description -n openldap-schema-samba
505 This package contains samba.schema for OpenLDAP.
506
507 %description -n openldap-schema-samba -l pl.UTF-8
508 Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a.
509
510 %package -n ctdb
511 Summary:        A Clustered Database based on Samba's Trivial Database (TDB)
512 Summary(pl.UTF-8):      Klastrowa baza danych oparta na bazie danych Trivial Database z Samby (TDB)
513 Group:          Daemons
514 URL:            http://ctdb.samba.org/
515 Requires(post,preun,postun):    systemd-units
516 Requires(post): /bin/systemd-tmpfiles
517 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
518 Requires:       coreutils
519 Requires:       fileutils
520 # for ps and killall
521 Requires:       gawk
522 Requires:       psmisc
523 Requires:       sed
524 %if %{with system_libs}
525 Requires:       tdb >= %{tdb_ver}
526 %endif
527 # for pkill and pidof:
528 Requires:       procps
529 # for netstat:
530 Requires:       ethtool
531 Requires:       net-tools
532 # for ip:
533 Requires:       iproute2
534 Requires:       iptables
535 # for flock, getopt, kill:
536 Requires:       util-linux
537
538 %description -n ctdb
539 CTDB is a cluster implementation of the TDB database used by Samba and
540 other projects to store temporary data. If an application is already
541 using TDB for temporary data it is very easy to convert that
542 application to be cluster aware and use CTDB instead.
543
544 %description -n ctdb -l pl.UTF-8
545 CTDB to klastrowa implementacja bazy danych TDB używanej w Sambie oraz
546 innych projektach do przechowywania danych tymczasowych. Jeśli jakaś
547 aplikacja już wykorzystuje TDB do trzymania danych tymczasowych,
548 bardzo przerobić ją na klastrowalną, wykorzystującą CTDB.
549
550 %package -n pcp-ctdb
551 Summary:        CTDB PMDA
552 Summary(pl.UTF-8):      PMDA CTDB
553 Group:          Applications/System
554 Requires:       ctdb = %{epoch}:%{version}-%{release}
555 Requires:       pcp
556
557 %description -n pcp-ctdb
558 This PMDA extracts metrics from the locally running ctdbd daemon for
559 export to PMCD.
560
561 %description -n pcp-ctdb -l pl.UTF-8
562 Ten PMDA odczytuje pomiary z lokalnie działającego demona ctdbd w celu
563 wyeksportowania do PMCD.
564
565 %prep
566 %setup -q
567 %{?with_system_heimdal:%patch0 -p1}
568 %patch1 -p1
569 %patch2 -p1
570 %patch4 -p1
571 %{?with_system_heimdal:%patch5 -p1}
572 %patch6 -p1
573
574 %{!?with_system_libbsd:%patch8 -p1}
575 %if %{without system_heimdal}
576 %ifnarch %arch_with_atomics64
577 %patch9 -p1
578 %endif
579 %endif
580
581 %{__sed} -i -e '1s|#!/usr/bin/env bash|#!/bin/bash|' ctdb/tools/onnode
582 %{__sed} -i -e '1s|#!/usr/bin/env perl|#!/usr/bin/perl|' pidl/pidl
583 %{__sed} -i -e '/sed_expr1/ s|/usr/bin/env perl|/usr/bin/perl|' source3/script/wscript_build
584 %{__sed} -i -e '1s|#!/usr/bin/env python|#!/usr/bin/python|' source4/scripting/bin/samba*
585 %{__sed} -i -e '1s|#!/usr/bin/env python3|#!%{__python3}|' source3/script/samba-log-parser
586
587 %if %{with system_heimdal}
588 %{__mv} source4/heimdal_build/krb5-types{,-smb}.h
589 %endif
590
591 %build
592 LDFLAGS="${LDFLAGS:-%rpmldflags}" \
593 CFLAGS="${CFLAGS:-%rpmcflags}" \
594 CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \
595 FFLAGS="${FFLAGS:-%rpmcflags}" \
596 FCFLAGS="${FCFLAGS:-%rpmcflags}" \
597 CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \
598 %{?__cc:CC="%{__cc}"} \
599 %{?__cxx:CXX="%{__cxx}"} \
600 ./configure \
601         --enable-fhs \
602         --prefix=%{_prefix} \
603         --exec-prefix=%{_exec_prefix} \
604         --bindir=%{_bindir} \
605         --sbindir=%{_sbindir} \
606         --sysconfdir=%{_sysconfdir} \
607         --datadir=%{_datadir} \
608         --includedir=%{_includedir} \
609         --libdir=%{_libdir} \
610         --libexecdir=%{_libexecdir} \
611         --localstatedir=%{_localstatedir} \
612         --sharedstatedir=%{_sharedstatedir} \
613         --mandir=%{_mandir} \
614         --infodir=%{_infodir} \
615         --with-privatelibdir=%{_libdir}/samba \
616         --with-modulesdir=%{_libdir}/samba \
617         --with-pammodulesdir=/%{_lib}/security \
618         --with-lockdir=/var/lib/samba \
619         --with-privatedir=%{_sysconfdir}/samba \
620         --disable-rpath \
621         --disable-rpath-install \
622         --builtin-libraries=%{?with_replace:replace,}ccan%{?xxxx:,samba-cluster-support} \
623         --bundled-libraries=NONE,iniparser,%{!?with_system_libs:talloc,tdb,ldb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util},%{!?with_system_heimdal:roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile} \
624         --with-shared-modules=idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_rid,idmap_tdb2,auth_samba4,vfs_dfs_samba4 \
625         --with-cluster-support \
626         --with-acl-support \
627         --with%{!?with_ads:out}-ads \
628         %{?with_ctdb_pcp:--enable-pmda} \
629         --with-automount \
630         --with%{!?with_dmapi:out}-dmapi \
631         --with%{!?with_fam:out}-fam \
632         --with-iconv \
633         --with%{!?with_ldap:out}-ldap \
634         --with%{!?with_lttng:out}-lttng \
635         --with-pam \
636         --with-quotas \
637         --with-regedit \
638         --with-sendfile-support \
639         --with-syslog \
640 %if %{with systemd}
641         --with-systemd \
642         --systemd-install-services \
643         --with-systemddir=%{systemdunitdir} \
644 %else
645         --without-systemd \
646 %endif
647         --with-utmp \
648         --with-winbind \
649         --with%{!?with_winexe:out}-winexe \
650         --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
651         --enable-cups \
652         %{__enable_disable glusterfs} \
653         --enable-iprint \
654         %{__enable_disable spotlight}
655
656 %{__make} V=1
657
658 # Build PIDL for installation into vendor directories before
659 # 'make proto' gets to it.
660 cd pidl
661 %{__perl} Makefile.PL \
662         INSTALLDIRS=vendor
663 %{__make}
664
665 %install
666 rm -rf $RPM_BUILD_ROOT
667 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd,ld.so.conf.d,env.d} \
668         $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \
669         $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd,winbindd} \
670         $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \
671         $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}}
672
673 %{__make} install \
674         DESTDIR=$RPM_BUILD_ROOT \
675         CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
676
677 # Install PIDL
678 %{__make} -C pidl install \
679         PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
680
681 # Clean out crap left behind by the PIDL install
682 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Parse/Pidl/.packlist
683
684 install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
685
686 :> $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ctdb
687
688 cp -p packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf
689 echo "d /var/run/ctdb 755 root root" > $RPM_BUILD_ROOT%{systemdtmpfilesdir}/ctdb.conf
690 cp -p bin/default/packaging/systemd/ctdb.service $RPM_BUILD_ROOT%{systemdunitdir}
691
692 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
693 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
694 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
695 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
696 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
697 install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
698 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind
699 install -p %{SOURCE9} $RPM_BUILD_ROOT/etc/rc.d/init.d/samba
700
701 echo "LDB_MODULES_PATH=%{_libdir}/samba/ldb" > $RPM_BUILD_ROOT/etc/env.d/LDB_MODULES_PATH
702
703 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib}
704 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib}
705
706 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
707
708 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
709
710 %if "%{_lib}" == "lib64"
711 echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba64.conf
712 %else
713 echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba.conf
714 %endif
715
716 %if %{with cups}
717 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
718 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
719 %endif
720
721 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
722 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
723
724 %if %{with ldap}
725 cp -p examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
726 %endif
727
728 # remove man pages for not installed commands
729 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
730 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man7/traffic_{learner,replay}.7*
731 #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_cacheprime.8*
732 #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_gpfs.8*
733 #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_prealloc.8*
734 #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_tsmsm.8*
735
736 %py3_comp $RPM_BUILD_ROOT%{py3_sitedir}
737 %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir}
738
739 %clean
740 rm -rf $RPM_BUILD_ROOT
741
742 %post
743 /sbin/chkconfig --add samba
744 /sbin/chkconfig --add smb
745 %service samba restart "Samba AD daemon"
746 %service smb restart "Samba SMB daemons"
747 %systemd_post samba.service
748 %systemd_post smb.service nmb.service
749
750 %preun
751 if [ "$1" = "0" ]; then
752         %service samba stop
753         %service smb stop
754         /sbin/chkconfig --del samba
755         /sbin/chkconfig --del smb
756 fi
757 %systemd_preun samba.service
758 %systemd_preun smb.service nmb.service
759
760 %postun
761 %systemd_reload
762
763 %triggerpostun -- samba3
764 /sbin/chkconfig --add smb
765 %service smb restart "Samba SMB daemons"
766 %systemd_post smb.service nmb.service
767
768 %triggerpostun -- samba4
769 ### samba4 < 1:4.1.1-1
770 # CVE-2013-4476
771 if [ -e %{_sysconfdir}/samba/tls/key.pem ]; then
772         PERMS=$(stat -c %a %{_sysconfdir}/samba/tls/key.pem)
773         if [ "$PERMS" != "600" ]; then
774                 chmod 600 %{_sysconfdir}/samba/tls/key.pem || :
775                 echo "Fixed permissions of private key file %{_sysconfdir}/samba/tls/key.pem from $PERMS to 600"
776                 echo "Consider regenerating TLS certificate"
777                 echo "Removing all tls .pem files will cause an auto-regeneration with the correct permissions"
778         fi
779 fi
780
781 ### any
782 /sbin/chkconfig --add samba
783 %service samba restart "Samba AD daemons"
784 %systemd_post samba.service
785
786 %triggerpostun -- samba < 1:4.9.2-3
787 %{_bindir}/net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin || :
788
789 %triggerprein common -- samba4
790 cp -a %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba4
791
792 %triggerpostun common -- samba4
793 %{__mv} -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.rpmnew
794 %{__mv} %{_sysconfdir}/samba/smb.conf.samba4 %{_sysconfdir}/samba/smb.conf
795
796 %triggerprein common -- samba3-server
797 cp -a %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba4
798
799 %triggerpostun common -- samba3-server
800 %{__mv} -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.rpmnew
801 %{__mv} %{_sysconfdir}/samba/smb.conf.samba4 %{_sysconfdir}/samba/smb.conf
802
803 %post winbind
804 /sbin/ldconfig
805 /sbin/chkconfig --add winbind
806 %service winbind restart "Winbind daemon"
807 %systemd_post winbind.service
808
809 %preun winbind
810 if [ "$1" = "0" ]; then
811         %service winbind stop
812         /sbin/chkconfig --del winbind
813 fi
814 %systemd_preun winbind.service
815
816 %postun winbind
817 /sbin/ldconfig
818 %systemd_reload
819
820 %triggerpostun winbind -- samba3-winbind
821 /sbin/chkconfig --add winbind
822 %service winbind restart "Winbind daemon"
823 %systemd_post winbind.service
824
825 %post   libs -p /sbin/ldconfig
826 %postun libs -p /sbin/ldconfig
827
828 %triggerpostun libs -- samba-libs < 1:4.18.0-2
829 if [ ! -L %{_libdir}/libsmbconf.so.0 ]; then
830         %{__rm} -f %{_libdir}/libsmbconf.so.0
831 fi
832 if [ ! -L %{_libdir}/libsmbldap.so.2 ]; then
833         %{__rm} -f %{_libdir}/libsmbldap.so.2
834 fi
835 if [ ! -L %{_libdir}/libsamba-errors.so.1 ]; then
836         %{__rm} -f %{_libdir}/libsamba-errors.so.1
837 fi
838 /sbin/ldconfig
839
840 %post   -n libsmbclient -p /sbin/ldconfig
841 %postun -n libsmbclient -p /sbin/ldconfig
842
843 %post -n openldap-schema-samba
844 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
845 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
846 %service -q ldap restart
847
848 %postun -n openldap-schema-samba
849 if [ "$1" = "0" ]; then
850         %openldap_schema_unregister %{schemadir}/samba.schema
851         %service -q ldap restart
852 fi
853
854 %triggerpostun -n openldap-schema-samba -- openldap-schema-samba3 < 1:4.1.4-3
855 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
856 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
857 %service -q ldap restart
858
859 %post -n ctdb
860 /bin/systemd-tmpfiles --create %{systemdtmpfilesdir}/ctdb.conf
861 %systemd_post ctdb.service
862
863 %preun -n ctdb
864 %systemd_preun ctdb.service
865
866 %postun -n ctdb
867 %systemd_reload
868
869 %files
870 %defattr(644,root,root,755)
871 %{?with_ldap:%doc examples/LDAP}
872 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
873 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
874 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
875 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
876 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
877 %config(noreplace) %verify(not md5 mtime size) /etc/env.d/LDB_MODULES_PATH
878 %attr(754,root,root) /etc/rc.d/init.d/samba
879 %attr(754,root,root) /etc/rc.d/init.d/smb
880 %if %{with systemd}
881 %{systemdunitdir}/nmb.service
882 %{systemdunitdir}/smb.service
883 %{systemdunitdir}/samba.service
884 %{systemdunitdir}/samba-bgqd.service
885 %endif
886 %{systemdtmpfilesdir}/samba.conf
887 %attr(755,root,root) %{_bindir}/dumpmscat
888 %attr(755,root,root) %{_bindir}/oLschema2ldif
889 %attr(755,root,root) %{_bindir}/pdbedit
890 %attr(755,root,root) %{_bindir}/profiles
891 %attr(755,root,root) %{_bindir}/sharesec
892 %attr(755,root,root) %{_bindir}/smbcontrol
893 %attr(755,root,root) %{_bindir}/smbstatus
894 %attr(755,root,root) %{_sbindir}/eventlogadm
895 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
896 %attr(755,root,root) %{_sbindir}/nmbd
897 %attr(755,root,root) %{_sbindir}/samba
898 %attr(755,root,root) %{_sbindir}/samba_dnsupdate
899 %attr(755,root,root) %{_sbindir}/samba_downgrade_db
900 %attr(755,root,root) %{_sbindir}/samba-gpupdate
901 %attr(755,root,root) %{_sbindir}/samba_kcc
902 %attr(755,root,root) %{_sbindir}/samba_spnupdate
903 %attr(755,root,root) %{_sbindir}/samba_upgradedns
904 %attr(755,root,root) %{_sbindir}/smbd
905 %dir %{_libdir}/samba/bind9
906 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_10.so
907 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_11.so
908 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_12.so
909 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_14.so
910 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_16.so
911 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_18.so
912 %dir %{_libdir}/samba/gensec
913 %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so
914 %if %{with system_heimdal}
915 %dir %{_libdir}/samba/hdb
916 %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so
917 %endif
918 %dir %{_libdir}/samba/krb5
919 %attr(755,root,root) %{_libdir}/samba/krb5/async_dns_krb5_locator.so
920 %dir %{_libdir}/samba/ldb
921 %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so
922 %attr(755,root,root) %{_libdir}/samba/ldb/acl.so
923 %attr(755,root,root) %{_libdir}/samba/ldb/anr.so
924 %attr(755,root,root) %{_libdir}/samba/ldb/audit_log.so
925 %attr(755,root,root) %{_libdir}/samba/ldb/count_attrs.so
926 %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so
927 %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so
928 %attr(755,root,root) %{_libdir}/samba/ldb/dns_notify.so
929 %attr(755,root,root) %{_libdir}/samba/ldb/dsdb_notification.so
930 %attr(755,root,root) %{_libdir}/samba/ldb/encrypted_secrets.so
931 %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so
932 %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so
933 %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so
934 %attr(755,root,root) %{_libdir}/samba/ldb/group_audit_log.so
935 %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so
936 %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so
937 %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so
938 %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so
939 %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so
940 #%attr(755,root,root) %{_libdir}/samba/ldb/local_password.so
941 %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so
942 %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so
943 %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so
944 %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so
945 %attr(755,root,root) %{_libdir}/samba/ldb/operational.so
946 %attr(755,root,root) %{_libdir}/samba/ldb/paged_results.so
947 %attr(755,root,root) %{_libdir}/samba/ldb/partition.so
948 %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so
949 %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so
950 %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so
951 %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so
952 %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so
953 %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so
954 %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so
955 %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so
956 %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so
957 %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so
958 %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so
959 %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so
960 %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so
961 %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so
962 %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so
963 %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so
964 %attr(755,root,root) %{_libdir}/samba/ldb/tombstone_reanimate.so
965 %attr(755,root,root) %{_libdir}/samba/ldb/unique_object_sids.so
966 %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so
967 %attr(755,root,root) %{_libdir}/samba/ldb/vlv.so
968 %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so
969 %dir %{_libdir}/samba/process_model
970 %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so
971 %attr(755,root,root) %{_libdir}/samba/process_model/standard.so
972 %dir %{_libdir}/samba/service
973 %attr(755,root,root) %{_libdir}/samba/service/cldap.so
974 %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so
975 %attr(755,root,root) %{_libdir}/samba/service/dns.so
976 %attr(755,root,root) %{_libdir}/samba/service/dns_update.so
977 %attr(755,root,root) %{_libdir}/samba/service/drepl.so
978 %attr(755,root,root) %{_libdir}/samba/service/kcc.so
979 %attr(755,root,root) %{_libdir}/samba/service/kdc.so
980 %attr(755,root,root) %{_libdir}/samba/service/ldap.so
981 %attr(755,root,root) %{_libdir}/samba/service/nbtd.so
982 %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so
983 %attr(755,root,root) %{_libdir}/samba/service/s3fs.so
984 %attr(755,root,root) %{_libdir}/samba/service/winbindd.so
985 %attr(755,root,root) %{_libdir}/samba/service/wrepl.so
986 %dir %{_libdir}/samba/vfs
987 %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so
988 %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so
989 %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so
990 %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so
991 %attr(755,root,root) %{_libdir}/samba/vfs/audit.so
992 %attr(755,root,root) %{_libdir}/samba/vfs/btrfs.so
993 %attr(755,root,root) %{_libdir}/samba/vfs/cap.so
994 %attr(755,root,root) %{_libdir}/samba/vfs/catia.so
995 %{?with_ceph:%attr(755,root,root) %{_libdir}/samba/vfs/ceph_snapshots.so}
996 %attr(755,root,root) %{_libdir}/samba/vfs/commit.so
997 %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so
998 %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so
999 %attr(755,root,root) %{_libdir}/samba/vfs/dfs_samba4.so
1000 %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so
1001 %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so
1002 %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so
1003 %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so
1004 %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so
1005 %attr(755,root,root) %{_libdir}/samba/vfs/fruit.so
1006 %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so
1007 %attr(755,root,root) %{_libdir}/samba/vfs/gpfs.so
1008 %attr(755,root,root) %{_libdir}/samba/vfs/io_uring.so
1009 %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so
1010 %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so
1011 %attr(755,root,root) %{_libdir}/samba/vfs/offline.so
1012 %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so
1013 %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so
1014 %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so
1015 %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so
1016 %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so
1017 %attr(755,root,root) %{_libdir}/samba/vfs/snapper.so
1018 %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so
1019 %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so
1020 %attr(755,root,root) %{_libdir}/samba/vfs/shell_snap.so
1021 %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so
1022 %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so
1023 %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so
1024 %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so
1025 %attr(755,root,root) %{_libdir}/samba/vfs/unityed_media.so
1026 %attr(755,root,root) %{_libdir}/samba/vfs/virusfilter.so
1027 %attr(755,root,root) %{_libdir}/samba/vfs/widelinks.so
1028 %attr(755,root,root) %{_libdir}/samba/vfs/worm.so
1029 %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so
1030 %dir %{_libexecdir}/samba
1031 %attr(755,root,root) %{_libexecdir}/samba/rpcd_classic
1032 %attr(755,root,root) %{_libexecdir}/samba/rpcd_epmapper
1033 %attr(755,root,root) %{_libexecdir}/samba/rpcd_fsrvp
1034 %attr(755,root,root) %{_libexecdir}/samba/rpcd_lsad
1035 %attr(755,root,root) %{_libexecdir}/samba/rpcd_mdssvc
1036 %attr(755,root,root) %{_libexecdir}/samba/rpcd_spoolss
1037 %attr(755,root,root) %{_libexecdir}/samba/rpcd_winreg
1038 %attr(755,root,root) %{_libexecdir}/samba/rpcd_witness
1039 %attr(755,root,root) %{_libexecdir}/samba/samba-bgqd
1040 %attr(755,root,root) %{_libexecdir}/samba/samba-dcerpcd
1041 %dir %{_datadir}/samba/admx
1042 %{_datadir}/samba/admx/GNOME_Settings.admx
1043 %{_datadir}/samba/admx/samba.admx
1044 %lang(en) %{_datadir}/samba/admx/en-US
1045 %lang(ru) %{_datadir}/samba/admx/ru-RU
1046 %if %{with spotlight}
1047 %{_datadir}/samba/mdssvc
1048 %endif
1049 %{_datadir}/samba/setup
1050 %{_mandir}/man1/oLschema2ldif.1*
1051 %{_mandir}/man1/profiles.1*
1052 %{_mandir}/man1/sharesec.1*
1053 %{_mandir}/man1/smbcontrol.1*
1054 %{_mandir}/man1/smbstatus.1*
1055 %{_mandir}/man8/eventlogadm.8*
1056 %{_mandir}/man8/nmbd.8*
1057 %{_mandir}/man8/pdbedit.8*
1058 %{_mandir}/man8/samba.8*
1059 %{_mandir}/man8/samba-bgqd.8*
1060 %{_mandir}/man8/samba-dcerpcd.8*
1061 %{_mandir}/man8/samba_downgrade_db.8*
1062 %{_mandir}/man8/samba-gpupdate.8*
1063 %{_mandir}/man8/smbd.8*
1064 %{_mandir}/man8/smbpasswd.8*
1065 %{_mandir}/man8/vfs_acl_tdb.8*
1066 %{_mandir}/man8/vfs_acl_xattr.8*
1067 %{_mandir}/man8/vfs_aio_fork.8*
1068 %{_mandir}/man8/vfs_aio_pthread.8*
1069 %{_mandir}/man8/vfs_audit.8*
1070 %{_mandir}/man8/vfs_btrfs.8*
1071 %{_mandir}/man8/vfs_cap.8*
1072 %{_mandir}/man8/vfs_catia.8*
1073 %{?with_ceph:%{_mandir}/man8/vfs_ceph_snapshots.8*}
1074 %{_mandir}/man8/vfs_commit.8*
1075 %{_mandir}/man8/vfs_crossrename.8*
1076 %{_mandir}/man8/vfs_default_quota.8*
1077 %{_mandir}/man8/vfs_dirsort.8*
1078 %{_mandir}/man8/vfs_expand_msdfs.8*
1079 %{_mandir}/man8/vfs_extd_audit.8*
1080 %{_mandir}/man8/vfs_fake_perms.8*
1081 %{_mandir}/man8/vfs_fileid.8*
1082 %{_mandir}/man8/vfs_fruit.8*
1083 %{_mandir}/man8/vfs_full_audit.8*
1084 %{_mandir}/man8/vfs_gpfs.8*
1085 %{_mandir}/man8/vfs_io_uring.8*
1086 %{_mandir}/man8/vfs_linux_xfs_sgid.8*
1087 %{_mandir}/man8/vfs_media_harmony.8*
1088 %{_mandir}/man8/vfs_preopen.8*
1089 %{_mandir}/man8/vfs_readahead.8*
1090 %{_mandir}/man8/vfs_readonly.8*
1091 %{_mandir}/man8/vfs_recycle.8*
1092 %{_mandir}/man8/vfs_shadow_copy2.8*
1093 %{_mandir}/man8/vfs_shadow_copy.8*
1094 %{_mandir}/man8/vfs_snapper.8*
1095 %{_mandir}/man8/vfs_streams_depot.8*
1096 %{_mandir}/man8/vfs_streams_xattr.8*
1097 %{_mandir}/man8/vfs_syncops.8*
1098 %{_mandir}/man8/vfs_time_audit.8*
1099 %{_mandir}/man8/vfs_worm.8*
1100 %{_mandir}/man8/vfs_xattr_tdb.8*
1101 %{_mandir}/man8/vfs_offline.8*
1102 %{_mandir}/man8/vfs_shell_snap.8*
1103 %{_mandir}/man8/vfs_unityed_media.8*
1104 %{_mandir}/man8/vfs_virusfilter.8*
1105 %{_mandir}/man8/vfs_widelinks.8*
1106
1107 %dir %{_sambahome}
1108 %dir /var/lib/samba
1109 %ghost /var/lib/samba/*.dat
1110 %dir /var/lib/samba/printing
1111
1112 %attr(750,root,root) %dir /var/log/samba
1113 %attr(750,root,root) %dir /var/log/samba/cores
1114 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1115 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1116 %attr(750,root,root) %dir /var/log/archive/samba
1117 %attr(1777,root,root) %dir /var/spool/samba
1118
1119 %if %{with ceph}
1120 %files vfs-ceph
1121 %defattr(644,root,root,755)
1122 %attr(755,root,root) %{_libdir}/samba/vfs/ceph.so
1123 %{_mandir}/man8/vfs_ceph.8*
1124 %endif
1125
1126 %files vfs-glusterfs
1127 %defattr(644,root,root,755)
1128 %if %{with glusterfs}
1129 %attr(755,root,root) %{_libdir}/samba/vfs/glusterfs.so
1130 %{_mandir}/man8/vfs_glusterfs.8*
1131 %endif
1132 %attr(755,root,root) %{_libdir}/samba/vfs/glusterfs_fuse.so
1133 %{_mandir}/man8/vfs_glusterfs_fuse.8*
1134
1135 %files common
1136 %defattr(644,root,root,755)
1137 %doc PFIF.txt README.cifs-utils README.md SECURITY.md WHATSNEW.txt
1138 %dir %{_sysconfdir}/samba
1139 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1140 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1141 %attr(755,root,root) %{_bindir}/dbwrap_tool
1142 %attr(755,root,root) %{_bindir}/net
1143 %attr(755,root,root) %{_bindir}/nmblookup
1144 %attr(755,root,root) %{_bindir}/reg*
1145 %attr(755,root,root) %{_bindir}/samba-regedit
1146 %attr(755,root,root) %{_bindir}/samba-tool
1147 %attr(755,root,root) %{_bindir}/smbpasswd
1148 %attr(755,root,root) %{_bindir}/testparm
1149 %dir %{_libdir}/samba/auth
1150 %attr(755,root,root) %{_libdir}/samba/auth/samba4.so
1151 %dir %{_datadir}/samba
1152 %{_mandir}/man1/dbwrap_tool.1*
1153 %{_mandir}/man1/nmblookup.1*
1154 %{_mandir}/man1/reg*.1*
1155 %{_mandir}/man1/testparm.1*
1156 %{_mandir}/man5/lmhosts.5*
1157 %{_mandir}/man5/smb.conf.5*
1158 %{_mandir}/man5/smbpasswd.5*
1159 %{_mandir}/man7/samba.7*
1160 %{_mandir}/man8/net.8*
1161 %{_mandir}/man8/samba-regedit.8*
1162 %{_mandir}/man8/samba-tool.8*
1163
1164 %if %{without system_libs}
1165 %attr(755,root,root) %{_bindir}/tdbbackup
1166 %attr(755,root,root) %{_bindir}/tdbdump
1167 %attr(755,root,root) %{_bindir}/tdbtool
1168 %attr(755,root,root) %{_libdir}/samba/libtalloc.so.*
1169 %attr(755,root,root) %{_libdir}/samba/libtdb.so.*
1170 %{_mandir}/man8/tdbbackup.8*
1171 %{_mandir}/man8/tdbdump.8*
1172 %{_mandir}/man8/tdbtool.8*
1173 %endif
1174
1175 %files client
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_bindir}/cifsdd
1178 %attr(755,root,root) %{_bindir}/mdsearch
1179 %attr(755,root,root) %{_bindir}/mvxattr
1180 %attr(755,root,root) %{_bindir}/rpcclient
1181 %attr(755,root,root) %{_bindir}/smbcacls
1182 %attr(755,root,root) %{_bindir}/smbclient
1183 %attr(755,root,root) %{_bindir}/smbcquotas
1184 %attr(755,root,root) %{_bindir}/smbtar
1185 %attr(755,root,root) %{_bindir}/smbtree
1186 %if %{with winexe}
1187 %attr(755,root,root) %{_bindir}/winexe
1188 %endif
1189 %attr(755,root,root) %{_bindir}/wspsearch
1190 %{_mandir}/man1/mdsearch.1*
1191 %{_mandir}/man1/mvxattr.1*
1192 %{_mandir}/man1/rpcclient.1*
1193 %{_mandir}/man1/smbcacls.1*
1194 %{_mandir}/man1/smbclient.1*
1195 %{_mandir}/man1/smbcquotas.1*
1196 %{_mandir}/man1/smbtar.1*
1197 %{_mandir}/man1/smbtree.1*
1198 %if %{with winexe}
1199 %{_mandir}/man1/winexe.1*
1200 %endif
1201 %{_mandir}/man1/wspsearch.1*
1202 %{_mandir}/man8/cifsdd.8*
1203
1204 %files winbind
1205 %defattr(644,root,root,755)
1206 %attr(754,root,root) /etc/rc.d/init.d/winbind
1207 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1208 %if %{with systemd}
1209 %{systemdunitdir}/winbind.service
1210 %endif
1211 %attr(755,root,root) %{_bindir}/ntlm_auth
1212 %attr(755,root,root) %{_bindir}/samba-log-parser
1213 %attr(755,root,root) %{_bindir}/wbinfo
1214 %attr(755,root,root) %{_sbindir}/winbindd
1215 %attr(755,root,root) /%{_lib}/security/pam_winbind.so
1216 %attr(755,root,root) /%{_lib}/libnss_winbind.so*
1217 %dir %{_libdir}/samba/krb5
1218 %attr(755,root,root) %{_libdir}/samba/krb5/winbind_krb5_locator.so
1219 %attr(755,root,root) %{_libdir}/samba/libidmap-private-samba.so
1220 %attr(755,root,root) %{_libdir}/samba/libnss-info-private-samba.so
1221 %dir %{_libdir}/samba/idmap
1222 %attr(755,root,root) %{_libdir}/samba/idmap/ad.so
1223 %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so
1224 %attr(755,root,root) %{_libdir}/samba/idmap/hash.so
1225 %attr(755,root,root) %{_libdir}/samba/idmap/ldap.so
1226 %attr(755,root,root) %{_libdir}/samba/idmap/rfc2307.so
1227 %attr(755,root,root) %{_libdir}/samba/idmap/rid.so
1228 %attr(755,root,root) %{_libdir}/samba/idmap/script.so
1229 %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so
1230 %dir %{_libdir}/samba/nss_info
1231 %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so
1232 %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so
1233 %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so
1234 %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so
1235 %{_mandir}/man1/ntlm_auth.1*
1236 %{_mandir}/man1/samba-log-parser.1*
1237 %{_mandir}/man1/wbinfo*.1*
1238 %{_mandir}/man5/pam_winbind.conf.5*
1239 %{_mandir}/man8/idmap_ad.8*
1240 %{_mandir}/man8/idmap_autorid.8*
1241 %{_mandir}/man8/idmap_hash.8*
1242 %{_mandir}/man8/idmap_ldap.8*
1243 %{_mandir}/man8/idmap_nss.8*
1244 %{_mandir}/man8/idmap_rfc2307.8*
1245 %{_mandir}/man8/idmap_rid.8*
1246 %{_mandir}/man8/idmap_script.8*
1247 %{_mandir}/man8/idmap_tdb2.8*
1248 %{_mandir}/man8/idmap_tdb.8*
1249 %{_mandir}/man8/pam_winbind.8*
1250 %{_mandir}/man8/winbindd*.8*
1251 %{_mandir}/man8/winbind_krb5_locator.8*
1252 %attr(750,root,root) %dir /var/log/samba/cores/winbindd
1253
1254 %if %{with cups}
1255 %files -n cups-backend-smb
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{cups_serverbin}/backend/smb
1258 %if "%{_libexecdir}" != "%{_libdir}"
1259 %dir %{_libexecdir}/samba
1260 %endif
1261 %attr(755,root,root) %{_libexecdir}/samba/smbspool_krb5_wrapper
1262 %attr(755,root,root) %{_bindir}/smbspool
1263 %{_mandir}/man8/smbspool.8*
1264 %{_mandir}/man8/smbspool_krb5_wrapper.8*
1265 %endif
1266
1267 %files -n nss_wins
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) /%{_lib}/libnss_wins.so*
1270
1271 %files -n smbget
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_bindir}/smbget
1274 %{_mandir}/man1/smbget.1*
1275
1276 %files libs
1277 %defattr(644,root,root,755)
1278 %if "%{_lib}" == "lib64"
1279 /etc/ld.so.conf.d/samba64.conf
1280 %else
1281 /etc/ld.so.conf.d/samba.conf
1282 %endif
1283 %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.*
1284 %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0
1285 %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.*
1286 %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0
1287 %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.*
1288 %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0
1289 %attr(755,root,root) %{_libdir}/libdcerpc-server-core.so.*.*.*
1290 %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server-core.so.0
1291 %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.*
1292 %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0
1293 %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.*
1294 %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0
1295 %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.*
1296 %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0
1297 %attr(755,root,root) %{_libdir}/libndr.so.*.*.*
1298 %attr(755,root,root) %ghost %{_libdir}/libndr.so.4
1299 %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.*
1300 %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0
1301 %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.*
1302 %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.1
1303 %attr(755,root,root) %{_libdir}/libsamba-errors.so.*.*.*
1304 %attr(755,root,root) %ghost %{_libdir}/libsamba-errors.so.1
1305 %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.*
1306 %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0
1307 %attr(755,root,root) %{_libdir}/libsamba-passdb.so.*.*.*
1308 %attr(755,root,root) %ghost %{_libdir}/libsamba-passdb.so.0
1309 %attr(755,root,root) %{_libdir}/libsamba-policy.cpython-3*so.*.*.*
1310 %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.cpython-3*.so.0
1311 %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.*
1312 %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0
1313 %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.*
1314 %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0
1315 %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.*
1316 %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0
1317 %attr(755,root,root) %{_libdir}/libnetapi.so.*.*.*
1318 %attr(755,root,root) %ghost %{_libdir}/libnetapi.so.1
1319 %attr(755,root,root) %{_libdir}/libsmbconf.so.*.*.*
1320 %attr(755,root,root) %ghost %{_libdir}/libsmbconf.so.0
1321 %attr(755,root,root) %{_libdir}/libsmbldap.so.*.*.*
1322 %attr(755,root,root) %ghost %{_libdir}/libsmbldap.so.2
1323 %dir %{_libdir}/samba
1324
1325 %if %{without replace}
1326 %attr(755,root,root) %{_libdir}/samba/libreplace-private-samba.so
1327 %endif
1328 %if %{without system_heimdal}
1329 %attr(755,root,root) %{_libdir}/samba/libasn1-private-samba.so
1330 %attr(755,root,root) %{_libdir}/samba/libcom-err-private-samba.so
1331 %attr(755,root,root) %{_libdir}/samba/libgssapi-private-samba.so
1332 %attr(755,root,root) %{_libdir}/samba/libhcrypto-private-samba.so
1333 %attr(755,root,root) %{_libdir}/samba/libhdb-private-samba.so
1334 %attr(755,root,root) %{_libdir}/samba/libheimbase-private-samba.so
1335 %attr(755,root,root) %{_libdir}/samba/libheimntlm-private-samba.so
1336 %attr(755,root,root) %{_libdir}/samba/libhx509-private-samba.so
1337 %attr(755,root,root) %{_libdir}/samba/libkdc-private-samba.so
1338 %attr(755,root,root) %{_libdir}/samba/libkrb5-private-samba.so
1339 %attr(755,root,root) %{_libdir}/samba/libroken-private-samba.so
1340 %attr(755,root,root) %{_libdir}/samba/libwind-private-samba.so
1341 %endif
1342 %attr(755,root,root) %{_libdir}/samba/libad-claims-private-samba.so
1343 %attr(755,root,root) %{_libdir}/samba/libaddns-private-samba.so
1344 %attr(755,root,root) %{_libdir}/samba/libads-private-samba.so
1345 %attr(755,root,root) %{_libdir}/samba/libasn1util-private-samba.so
1346 %attr(755,root,root) %{_libdir}/samba/libauth4-private-samba.so
1347 %attr(755,root,root) %{_libdir}/samba/libauthkrb5-private-samba.so
1348 %attr(755,root,root) %{_libdir}/samba/libauth-private-samba.so
1349 %attr(755,root,root) %{_libdir}/samba/libauth-unix-token-private-samba.so
1350 %attr(755,root,root) %{_libdir}/samba/libauthn-policy-util-private-samba.so
1351 %attr(755,root,root) %{_libdir}/samba/libCHARSET3-private-samba.so
1352 %attr(755,root,root) %{_libdir}/samba/libcliauth-private-samba.so
1353 %attr(755,root,root) %{_libdir}/samba/libclidns-private-samba.so
1354 %attr(755,root,root) %{_libdir}/samba/libcli-cldap-private-samba.so
1355 %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common-private-samba.so
1356 %attr(755,root,root) %{_libdir}/samba/libcli-ldap-private-samba.so
1357 %attr(755,root,root) %{_libdir}/samba/libcli-nbt-private-samba.so
1358 %attr(755,root,root) %{_libdir}/samba/libcli-smb-common-private-samba.so
1359 %attr(755,root,root) %{_libdir}/samba/libcli-spoolss-private-samba.so
1360 %attr(755,root,root) %{_libdir}/samba/libcluster-private-samba.so
1361 %attr(755,root,root) %{_libdir}/samba/libcmdline-contexts-private-samba.so
1362 %attr(755,root,root) %{_libdir}/samba/libcmdline-private-samba.so
1363 %attr(755,root,root) %{_libdir}/samba/libcommon-auth-private-samba.so
1364 %attr(755,root,root) %{_libdir}/samba/libctdb-event-client-private-samba.so
1365 %attr(755,root,root) %{_libdir}/samba/libdb-glue-private-samba.so
1366 %attr(755,root,root) %{_libdir}/samba/libdcerpc-pkt-auth-private-samba.so
1367 %attr(755,root,root) %{_libdir}/samba/libdbwrap-private-samba.so
1368 %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba-private-samba.so
1369 %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4-private-samba.so
1370 %attr(755,root,root) %{_libdir}/samba/libdfs-server-ad-private-samba.so
1371 %attr(755,root,root) %{_libdir}/samba/libdnsserver-common-private-samba.so
1372 %attr(755,root,root) %{_libdir}/samba/libdsdb-garbage-collect-tombstones-private-samba.so
1373 %attr(755,root,root) %{_libdir}/samba/libdsdb-module-private-samba.so
1374 %attr(755,root,root) %{_libdir}/samba/libevents-private-samba.so
1375 %attr(755,root,root) %{_libdir}/samba/libflag-mapping-private-samba.so
1376 %attr(755,root,root) %{_libdir}/samba/libgenrand-private-samba.so
1377 %attr(755,root,root) %{_libdir}/samba/libgensec-private-samba.so
1378 %attr(755,root,root) %{_libdir}/samba/libgpext-private-samba.so
1379 %attr(755,root,root) %{_libdir}/samba/libgpo-private-samba.so
1380 %attr(755,root,root) %{_libdir}/samba/libgse-private-samba.so
1381 %attr(755,root,root) %{_libdir}/samba/libgss-preauth-private-samba.so
1382 %attr(755,root,root) %{_libdir}/samba/libHDB-SAMBA4-private-samba.so
1383 %attr(755,root,root) %{_libdir}/samba/libhttp-private-samba.so
1384 %attr(755,root,root) %{_libdir}/samba/libinterfaces-private-samba.so
1385 %attr(755,root,root) %{_libdir}/samba/libiov-buf-private-samba.so
1386 %attr(755,root,root) %{_libdir}/samba/libkrb5samba-private-samba.so
1387 %attr(755,root,root) %{_libdir}/samba/libldbsamba-private-samba.so
1388 %attr(755,root,root) %{_libdir}/samba/liblibcli-lsa3-private-samba.so
1389 %attr(755,root,root) %{_libdir}/samba/liblibcli-netlogon3-private-samba.so
1390 %attr(755,root,root) %{_libdir}/samba/liblibsmb-private-samba.so
1391 %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT-OLD-private-samba.so
1392 %attr(755,root,root) %{_libdir}/samba/libmessages-dgm-private-samba.so
1393 %attr(755,root,root) %{_libdir}/samba/libmessages-util-private-samba.so
1394 %attr(755,root,root) %{_libdir}/samba/libMESSAGING-private-samba.so
1395 %attr(755,root,root) %{_libdir}/samba/libMESSAGING-SEND-private-samba.so
1396 %attr(755,root,root) %{_libdir}/samba/libmscat-private-samba.so
1397 %attr(755,root,root) %{_libdir}/samba/libmsghdr-private-samba.so
1398 %attr(755,root,root) %{_libdir}/samba/libmsrpc3-private-samba.so
1399 %attr(755,root,root) %{_libdir}/samba/libndr-samba-private-samba.so
1400 %attr(755,root,root) %{_libdir}/samba/libndr-samba4-private-samba.so
1401 %attr(755,root,root) %{_libdir}/samba/libnetif-private-samba.so
1402 %attr(755,root,root) %{_libdir}/samba/libnet-keytab-private-samba.so
1403 %attr(755,root,root) %{_libdir}/samba/libnpa-tstream-private-samba.so
1404 %attr(755,root,root) %{_libdir}/samba/libpac-private-samba.so
1405 %attr(755,root,root) %{_libdir}/samba/libposix-eadb-private-samba.so
1406 %attr(755,root,root) %{_libdir}/samba/libprinter-driver-private-samba.so
1407 %attr(755,root,root) %{_libdir}/samba/libprinting-migrate-private-samba.so
1408 %attr(755,root,root) %{_libdir}/samba/libprocess-model-private-samba.so
1409 %attr(755,root,root) %{_libdir}/samba/libREG-FULL-private-samba.so
1410 %attr(755,root,root) %{_libdir}/samba/libregistry-private-samba.so
1411 %attr(755,root,root) %{_libdir}/samba/libRPC-SERVER-LOOP-private-samba.so
1412 %attr(755,root,root) %{_libdir}/samba/libRPC-WORKER-private-samba.so
1413 %attr(755,root,root) %{_libdir}/samba/libsamba3-util-private-samba.so
1414 %attr(755,root,root) %{_libdir}/samba/libsamba-cluster-support-private-samba.so
1415 %attr(755,root,root) %{_libdir}/samba/libsamba-debug-private-samba.so
1416 %attr(755,root,root) %{_libdir}/samba/libsamba-modules-private-samba.so
1417 %attr(755,root,root) %{_libdir}/samba/libsamba-net.cpython-3*-private-samba.so
1418 %attr(755,root,root) %{_libdir}/samba/libsamba-python.cpython-3*-private-samba.so
1419 %attr(755,root,root) %{_libdir}/samba/libsamba-security-private-samba.so
1420 %attr(755,root,root) %{_libdir}/samba/libsamba-sockets-private-samba.so
1421 %attr(755,root,root) %{_libdir}/samba/libsamdb-common-private-samba.so
1422 %attr(755,root,root) %{_libdir}/samba/libscavenge-dns-records-private-samba.so
1423 %attr(755,root,root) %{_libdir}/samba/libsecrets3-private-samba.so
1424 %attr(755,root,root) %{_libdir}/samba/libserver-id-db-private-samba.so
1425 %attr(755,root,root) %{_libdir}/samba/libserver-role-private-samba.so
1426 %attr(755,root,root) %{_libdir}/samba/libservice-private-samba.so
1427 %attr(755,root,root) %{_libdir}/samba/libshares-private-samba.so
1428 %attr(755,root,root) %{_libdir}/samba/libsmbclient-raw-private-samba.so
1429 %attr(755,root,root) %{_libdir}/samba/libsmbd-base-private-samba.so
1430 %attr(755,root,root) %{_libdir}/samba/libsmbd-shim-private-samba.so
1431 %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper-private-samba.so
1432 %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser-private-samba.so
1433 %attr(755,root,root) %{_libdir}/samba/libsmb-transport-private-samba.so
1434 %attr(755,root,root) %{_libdir}/samba/libsocket-blocking-private-samba.so
1435 %attr(755,root,root) %{_libdir}/samba/libstable-sort-private-samba.so
1436 %attr(755,root,root) %{_libdir}/samba/libsys-rw-private-samba.so
1437 %attr(755,root,root) %{_libdir}/samba/libtalloc-report-printf-private-samba.so
1438 %attr(755,root,root) %{_libdir}/samba/libtalloc-report-private-samba.so
1439 %attr(755,root,root) %{_libdir}/samba/libtdb-wrap-private-samba.so
1440 %attr(755,root,root) %{_libdir}/samba/libtime-basic-private-samba.so
1441 %attr(755,root,root) %{_libdir}/samba/libtrusts-util-private-samba.so
1442 %attr(755,root,root) %{_libdir}/samba/libutil-reg-private-samba.so
1443 %attr(755,root,root) %{_libdir}/samba/libutil-setid-private-samba.so
1444 %attr(755,root,root) %{_libdir}/samba/libutil-tdb-private-samba.so
1445 %attr(755,root,root) %{_libdir}/samba/libxattr-tdb-private-samba.so
1446
1447 %files devel
1448 %defattr(644,root,root,755)
1449 %{_includedir}/samba-4.0/charset.h
1450 %dir %{_includedir}/samba-4.0/core
1451 %{_includedir}/samba-4.0/core/doserr.h
1452 %{_includedir}/samba-4.0/core/error.h
1453 %{_includedir}/samba-4.0/core/hresult.h
1454 %{_includedir}/samba-4.0/core/ntstatus.h
1455 %{_includedir}/samba-4.0/core/ntstatus_gen.h
1456 %{_includedir}/samba-4.0/core/werror.h
1457 %{_includedir}/samba-4.0/core/werror_gen.h
1458 %{_includedir}/samba-4.0/credentials.h
1459 %{_includedir}/samba-4.0/dcerpc.h
1460 %{_includedir}/samba-4.0/dcerpc_server.h
1461 %{_includedir}/samba-4.0/dcesrv_core.h
1462 %{_includedir}/samba-4.0/domain_credentials.h
1463 %dir %{_includedir}/samba-4.0/gen_ndr
1464 %{_includedir}/samba-4.0/gen_ndr/atsvc.h
1465 %{_includedir}/samba-4.0/gen_ndr/auth.h
1466 %{_includedir}/samba-4.0/gen_ndr/claims.h
1467 %{_includedir}/samba-4.0/gen_ndr/dcerpc.h
1468 %{_includedir}/samba-4.0/gen_ndr/drsblobs.h
1469 %{_includedir}/samba-4.0/gen_ndr/drsuapi.h
1470 %{_includedir}/samba-4.0/gen_ndr/krb5pac.h
1471 %{_includedir}/samba-4.0/gen_ndr/lsa.h
1472 %{_includedir}/samba-4.0/gen_ndr/misc.h
1473 %{_includedir}/samba-4.0/gen_ndr/nbt.h
1474 %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h
1475 %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h
1476 %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
1477 %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
1478 %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h
1479 %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
1480 %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
1481 %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
1482 %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h
1483 %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h
1484 %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h
1485 %{_includedir}/samba-4.0/gen_ndr/netlogon.h
1486 %{_includedir}/samba-4.0/gen_ndr/samr.h
1487 %{_includedir}/samba-4.0/gen_ndr/security.h
1488 %{_includedir}/samba-4.0/gen_ndr/server_id.h
1489 %{_includedir}/samba-4.0/gen_ndr/svcctl.h
1490 %{_includedir}/samba-4.0/ldb_wrap.h
1491 %{_includedir}/samba-4.0/ndr.h
1492 %dir %{_includedir}/samba-4.0/ndr
1493 %{_includedir}/samba-4.0/ndr/ndr_dcerpc.h
1494 %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h
1495 %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h
1496 %{_includedir}/samba-4.0/ndr/ndr_krb5pac.h
1497 %{_includedir}/samba-4.0/ndr/ndr_nbt.h
1498 %{_includedir}/samba-4.0/ndr/ndr_svcctl.h
1499 %{_includedir}/samba-4.0/param.h
1500 %{_includedir}/samba-4.0/policy.h
1501 %{_includedir}/samba-4.0/rpc_common.h
1502 %dir %{_includedir}/samba-4.0/samba
1503 %{_includedir}/samba-4.0/samba/session.h
1504 %{_includedir}/samba-4.0/samba/version.h
1505 %{_includedir}/samba-4.0/share.h
1506 %{_includedir}/samba-4.0/smb2_lease_struct.h
1507 %{_includedir}/samba-4.0/tdr.h
1508 %{_includedir}/samba-4.0/tsocket.h
1509 %{_includedir}/samba-4.0/tsocket_internal.h
1510 %dir %{_includedir}/samba-4.0/util
1511 %{_includedir}/samba-4.0/util/attr.h
1512 %{_includedir}/samba-4.0/util/blocking.h
1513 %{_includedir}/samba-4.0/util/data_blob.h
1514 %{_includedir}/samba-4.0/util/debug.h
1515 %{_includedir}/samba-4.0/util/discard.h
1516 %{_includedir}/samba-4.0/util/fault.h
1517 %{_includedir}/samba-4.0/util/genrand.h
1518 %{_includedir}/samba-4.0/util/idtree.h
1519 %{_includedir}/samba-4.0/util/idtree_random.h
1520 %{_includedir}/samba-4.0/util/signal.h
1521 %{_includedir}/samba-4.0/util/substitute.h
1522 %{_includedir}/samba-4.0/util/tevent_ntstatus.h
1523 %{_includedir}/samba-4.0/util/tevent_unix.h
1524 %{_includedir}/samba-4.0/util/tevent_werror.h
1525 %{_includedir}/samba-4.0/util/tfork.h
1526 %{_includedir}/samba-4.0/util/time.h
1527 %{_includedir}/samba-4.0/util_ldb.h
1528 %{_includedir}/samba-4.0/lookup_sid.h
1529 %{_includedir}/samba-4.0/machine_sid.h
1530 %{_includedir}/samba-4.0/netapi.h
1531 %{_includedir}/samba-4.0/passdb.h
1532 %{_includedir}/samba-4.0/smb3posix.h
1533 %{_includedir}/samba-4.0/smbconf.h
1534 %{_includedir}/samba-4.0/smb_ldap.h
1535 %{_includedir}/samba-4.0/smbldap.h
1536 %attr(755,root,root) %{_libdir}/libdcerpc-binding.so
1537 %attr(755,root,root) %{_libdir}/libdcerpc-samr.so
1538 %attr(755,root,root) %{_libdir}/libdcerpc-server.so
1539 %attr(755,root,root) %{_libdir}/libdcerpc-server-core.so
1540 %attr(755,root,root) %{_libdir}/libdcerpc.so
1541 %attr(755,root,root) %{_libdir}/libndr-krb5pac.so
1542 %attr(755,root,root) %{_libdir}/libndr-nbt.so
1543 %attr(755,root,root) %{_libdir}/libndr.so
1544 %attr(755,root,root) %{_libdir}/libndr-standard.so
1545 %attr(755,root,root) %{_libdir}/libnetapi.so
1546 %attr(755,root,root) %{_libdir}/libsamba-credentials.so
1547 %attr(755,root,root) %{_libdir}/libsamba-errors.so
1548 %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so
1549 %attr(755,root,root) %{_libdir}/libsamba-passdb.so
1550 %attr(755,root,root) %{_libdir}/libsamba-policy.cpython-3*.so
1551 %attr(755,root,root) %{_libdir}/libsamba-util.so
1552 %attr(755,root,root) %{_libdir}/libsamdb.so
1553 %attr(755,root,root) %{_libdir}/libsmbconf.so
1554 %attr(755,root,root) %{_libdir}/libsmbldap.so
1555 %attr(755,root,root) %{_libdir}/libtevent-util.so
1556 %{_pkgconfigdir}/dcerpc.pc
1557 %{_pkgconfigdir}/dcerpc_samr.pc
1558 %{_pkgconfigdir}/dcerpc_server.pc
1559 %{_pkgconfigdir}/ndr.pc
1560 %{_pkgconfigdir}/ndr_krb5pac.pc
1561 %{_pkgconfigdir}/ndr_nbt.pc
1562 %{_pkgconfigdir}/ndr_standard.pc
1563 %{_pkgconfigdir}/netapi.pc
1564 %{_pkgconfigdir}/samba-credentials.pc
1565 %{_pkgconfigdir}/samba-hostconfig.pc
1566 %{_pkgconfigdir}/samba-policy.cpython-3*.pc
1567 %{_pkgconfigdir}/samba-util.pc
1568 %{_pkgconfigdir}/samdb.pc
1569
1570 %files pidl
1571 %defattr(644,root,root,755)
1572 %attr(755,root,root) %{_bindir}/pidl
1573 %{_mandir}/man1/pidl.1*
1574 %{_mandir}/man3/Parse::Pidl*.3*
1575 %{perl_vendorlib}/Parse/Pidl*
1576
1577 %files -n python3-samba
1578 %defattr(644,root,root,755)
1579 %dir %{py3_sitedir}/samba
1580 %{py3_sitedir}/samba/*.py
1581 %{py3_sitedir}/samba/__pycache__
1582 %attr(755,root,root) %{py3_sitedir}/samba/*.so
1583 %dir %{py3_sitedir}/samba/dcerpc
1584 %{py3_sitedir}/samba/dcerpc/*.py
1585 %{py3_sitedir}/samba/dcerpc/__pycache__
1586 %attr(755,root,root) %{py3_sitedir}/samba/dcerpc/*.so
1587 %dir %{py3_sitedir}/samba/emulate
1588 %{py3_sitedir}/samba/emulate/*.py
1589 %{py3_sitedir}/samba/emulate/__pycache__
1590 %dir %{py3_sitedir}/samba/gp
1591 %{py3_sitedir}/samba/gp/*.py
1592 %{py3_sitedir}/samba/gp/__pycache__
1593 %dir %{py3_sitedir}/samba/gp/util
1594 %{py3_sitedir}/samba/gp/util/*.py
1595 %{py3_sitedir}/samba/gp/util/__pycache__
1596 %dir %{py3_sitedir}/samba/gp_parse
1597 %{py3_sitedir}/samba/gp_parse/*.py
1598 %{py3_sitedir}/samba/gp_parse/__pycache__
1599 %dir %{py3_sitedir}/samba/kcc
1600 %{py3_sitedir}/samba/kcc/*.py
1601 %{py3_sitedir}/samba/kcc/__pycache__
1602 %dir %{py3_sitedir}/samba/netcmd
1603 %{py3_sitedir}/samba/netcmd/*.py
1604 %{py3_sitedir}/samba/netcmd/__pycache__
1605 %dir %{py3_sitedir}/samba/netcmd/domain
1606 %{py3_sitedir}/samba/netcmd/domain/*.py
1607 %{py3_sitedir}/samba/netcmd/domain/__pycache__
1608 %dir %{py3_sitedir}/samba/netcmd/domain/auth
1609 %{py3_sitedir}/samba/netcmd/domain/auth/*.py
1610 %{py3_sitedir}/samba/netcmd/domain/auth/__pycache__
1611 %dir %{py3_sitedir}/samba/netcmd/domain/claim
1612 %{py3_sitedir}/samba/netcmd/domain/claim/*.py
1613 %{py3_sitedir}/samba/netcmd/domain/claim/__pycache__
1614 %dir %{py3_sitedir}/samba/netcmd/domain/models
1615 %{py3_sitedir}/samba/netcmd/domain/models/*.py
1616 %{py3_sitedir}/samba/netcmd/domain/models/__pycache__
1617 %dir %{py3_sitedir}/samba/netcmd/user
1618 %{py3_sitedir}/samba/netcmd/user/*.py
1619 %{py3_sitedir}/samba/netcmd/user/__pycache__
1620 %dir %{py3_sitedir}/samba/netcmd/user/auth
1621 %{py3_sitedir}/samba/netcmd/user/auth/*.py
1622 %{py3_sitedir}/samba/netcmd/user/auth/__pycache__
1623 %dir %{py3_sitedir}/samba/netcmd/user/readpasswords
1624 %{py3_sitedir}/samba/netcmd/user/readpasswords/*.py
1625 %{py3_sitedir}/samba/netcmd/user/readpasswords/__pycache__
1626 %dir %{py3_sitedir}/samba/provision
1627 %{py3_sitedir}/samba/provision/*.py
1628 %{py3_sitedir}/samba/provision/__pycache__
1629 %dir %{py3_sitedir}/samba/samba3
1630 %{py3_sitedir}/samba/samba3/*.py
1631 %{py3_sitedir}/samba/samba3/__pycache__
1632 %attr(755,root,root) %{py3_sitedir}/samba/samba3/*.so
1633 %dir %{py3_sitedir}/samba/subunit
1634 %{py3_sitedir}/samba/subunit/*.py
1635 %{py3_sitedir}/samba/subunit/__pycache__
1636 %dir %{py3_sitedir}/samba/tests
1637 %{py3_sitedir}/samba/tests/*.py
1638 %{py3_sitedir}/samba/tests/__pycache__
1639 %dir %{py3_sitedir}/samba/tests/blackbox
1640 %{py3_sitedir}/samba/tests/blackbox/*.py
1641 %{py3_sitedir}/samba/tests/blackbox/__pycache__
1642 %dir %{py3_sitedir}/samba/tests/dcerpc
1643 %{py3_sitedir}/samba/tests/dcerpc/*.py
1644 %{py3_sitedir}/samba/tests/dcerpc/__pycache__
1645 %dir %{py3_sitedir}/samba/tests/dns_forwarder_helpers
1646 %{py3_sitedir}/samba/tests/dns_forwarder_helpers/*.py
1647 %{py3_sitedir}/samba/tests/dns_forwarder_helpers/__pycache__
1648 %dir %{py3_sitedir}/samba/tests/kcc
1649 %{py3_sitedir}/samba/tests/kcc/*.py
1650 %{py3_sitedir}/samba/tests/kcc/__pycache__
1651 %dir %{py3_sitedir}/samba/tests/krb5
1652 %{py3_sitedir}/samba/tests/krb5/*.py
1653 %{py3_sitedir}/samba/tests/krb5/__pycache__
1654 %dir %{py3_sitedir}/samba/tests/samba_tool
1655 %{py3_sitedir}/samba/tests/samba_tool/*.py
1656 %{py3_sitedir}/samba/tests/samba_tool/__pycache__
1657 %dir %{py3_sitedir}/samba/tests/emulate
1658 %{py3_sitedir}/samba/tests/emulate/*.py
1659 %{py3_sitedir}/samba/tests/emulate/__pycache__
1660 %dir %{py3_sitedir}/samba/tests/ndr
1661 %{py3_sitedir}/samba/tests/ndr/*.py
1662 %{py3_sitedir}/samba/tests/ndr/__pycache__
1663 %if %{without system_libs}
1664 %attr(755,root,root) %{py3_sitedir}/ldb.so
1665 %attr(755,root,root) %{py3_sitedir}/talloc.so
1666 %attr(755,root,root) %{py3_sitedir}/tdb.so
1667 %attr(755,root,root) %{py3_sitedir}/_tevent.so
1668 %endif
1669
1670 %files test
1671 %defattr(644,root,root,755)
1672 %attr(755,root,root) %{_bindir}/gentest
1673 %attr(755,root,root) %{_bindir}/locktest
1674 %attr(755,root,root) %{_bindir}/masktest
1675 %attr(755,root,root) %{_bindir}/ndrdump
1676 %attr(755,root,root) %{_bindir}/smbtorture
1677 %attr(755,root,root) %{_libdir}/samba/libdlz-bind9-for-torture-private-samba.so
1678 %attr(755,root,root) %{_libdir}/samba/libtorture-private-samba.so
1679 %{_mandir}/man1/gentest.1*
1680 %{_mandir}/man1/locktest.1*
1681 %{_mandir}/man1/masktest.1*
1682 %{_mandir}/man1/ndrdump.1*
1683 %{_mandir}/man1/smbtorture.1*
1684
1685 %files -n libsmbclient
1686 %defattr(644,root,root,755)
1687 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1688 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1689 %{_mandir}/man7/libsmbclient.7*
1690
1691 %files -n libsmbclient-devel
1692 %defattr(644,root,root,755)
1693 %attr(755,root,root) %{_libdir}/libsmbclient.so
1694 %attr(755,root,root) %{_libdir}/libwbclient.so
1695 %dir %{_includedir}/samba-4.0
1696 %{_includedir}/samba-4.0/libsmbclient.h
1697 %{_includedir}/samba-4.0/wbclient.h
1698 %{_pkgconfigdir}/smbclient.pc
1699 %{_pkgconfigdir}/wbclient.pc
1700
1701 %if %{with ldap}
1702 %files -n openldap-schema-samba
1703 %defattr(644,root,root,755)
1704 %{schemadir}/samba.schema
1705 %endif
1706
1707 %files -n ctdb
1708 %defattr(644,root,root,755)
1709 %doc ctdb/README
1710 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ctdb
1711 %{_sysconfdir}/ctdb/notify.sh
1712 %{_sysconfdir}/ctdb/debug-hung-script.sh
1713 %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh
1714 %{_sysconfdir}/ctdb/functions
1715 %{_sysconfdir}/ctdb/debug_locks.sh
1716 %dir %{_localstatedir}/lib/ctdb
1717
1718 %if %{with systemd}
1719 %{systemdunitdir}/ctdb.service
1720 %endif
1721
1722 %dir %{_sysconfdir}/ctdb
1723 %{_sysconfdir}/ctdb/statd-callout
1724 # CTDB scripts, no config files
1725 # script with executable bit means activated
1726 %dir %{_sysconfdir}/ctdb/nfs-checks.d
1727 %{_sysconfdir}/ctdb/nfs-checks.d/00.portmapper.check
1728 %{_sysconfdir}/ctdb/nfs-checks.d/10.status.check
1729 %{_sysconfdir}/ctdb/nfs-checks.d/20.nfs.check
1730 %{_sysconfdir}/ctdb/nfs-checks.d/30.nlockmgr.check
1731 %{_sysconfdir}/ctdb/nfs-checks.d/40.mountd.check
1732 %{_sysconfdir}/ctdb/nfs-checks.d/50.rquotad.check
1733 %{_sysconfdir}/ctdb/nfs-checks.d/README
1734 %{_sysconfdir}/ctdb/nfs-linux-kernel-callout
1735 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sudoers.d/ctdb
1736 # CTDB scripts, no config files
1737 # script with executable bit means activated
1738 %dir %{_sysconfdir}/ctdb/events
1739 %dir %{_sysconfdir}/ctdb/events/legacy
1740 %dir %{_sysconfdir}/ctdb/events/notification
1741 %{_sysconfdir}/ctdb/events/notification/README
1742 %dir %{_datadir}/ctdb
1743 %dir %{_datadir}/ctdb/events
1744 %dir %{_datadir}/ctdb/events/legacy
1745 %{_datadir}/ctdb/events/legacy/00.ctdb.script
1746 %{_datadir}/ctdb/events/legacy/01.reclock.script
1747 %{_datadir}/ctdb/events/legacy/05.system.script
1748 %{_datadir}/ctdb/events/legacy/06.nfs.script
1749 %{_datadir}/ctdb/events/legacy/10.interface.script
1750 %{_datadir}/ctdb/events/legacy/11.natgw.script
1751 %{_datadir}/ctdb/events/legacy/11.routing.script
1752 %{_datadir}/ctdb/events/legacy/13.per_ip_routing.script
1753 %{_datadir}/ctdb/events/legacy/20.multipathd.script
1754 %{_datadir}/ctdb/events/legacy/31.clamd.script
1755 %{_datadir}/ctdb/events/legacy/40.vsftpd.script
1756 %{_datadir}/ctdb/events/legacy/41.httpd.script
1757 %{_datadir}/ctdb/events/legacy/47.samba-dcerpcd.script
1758 %{_datadir}/ctdb/events/legacy/48.netbios.script
1759 %{_datadir}/ctdb/events/legacy/49.winbind.script
1760 %{_datadir}/ctdb/events/legacy/50.samba.script
1761 %{_datadir}/ctdb/events/legacy/60.nfs.script
1762 %{_datadir}/ctdb/events/legacy/70.iscsi.script
1763 %{_datadir}/ctdb/events/legacy/91.lvs.script
1764 %{systemdtmpfilesdir}/ctdb.conf
1765 %attr(755,root,root) %{_sbindir}/ctdbd
1766 %attr(755,root,root) %{_bindir}/ctdb
1767 %attr(755,root,root) %{_bindir}/ping_pong
1768 %attr(755,root,root) %{_bindir}/ltdbtool
1769 %attr(755,root,root) %{_bindir}/ctdb_diagnostics
1770 %attr(755,root,root) %{_bindir}/onnode
1771 %dir %{_libexecdir}/ctdb
1772 %{_libexecdir}/ctdb/ctdb_natgw
1773 %{_libexecdir}/ctdb/ctdb_recovery_helper
1774 %{_libexecdir}/ctdb/smnotify
1775 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb-config
1776 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb-event
1777 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb-eventd
1778 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_killtcp
1779 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_lock_helper
1780 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_lvs
1781 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_mutex_fcntl_helper
1782 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb-path
1783 %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_takeover_helper
1784 %attr(755,root,root) %{_libexecdir}/ctdb/tdb_mutex_check
1785
1786 %{_mandir}/man1/ctdb.1*
1787 %{_mandir}/man1/ctdb_diagnostics.1*
1788 %{_mandir}/man1/ctdbd.1*
1789 %{_mandir}/man1/onnode.1*
1790 %{_mandir}/man1/ltdbtool.1*
1791 %{_mandir}/man1/ping_pong.1*
1792 %{_mandir}/man5/ctdb-script.options.5*
1793 %{_mandir}/man5/ctdb.conf.5*
1794 %{_mandir}/man5/ctdb.sysconfig.5*
1795 %{_mandir}/man7/ctdb.7*
1796 %{_mandir}/man7/ctdb-tunables.7*
1797 %{_mandir}/man7/ctdb-statistics.7*
1798
1799 %if %{with ctdb_pcp}
1800 %files -n pcp-ctdb
1801 %defattr(644,root,root,755)
1802 %dir /var/lib/pcp/pmdas/ctdb
1803 %doc /var/lib/pcp/pmdas/ctdb/README
1804 %attr(755,root,root) /var/lib/pcp/pmdas/ctdb/Install
1805 %attr(755,root,root) /var/lib/pcp/pmdas/ctdb/Remove
1806 %attr(755,root,root) /var/lib/pcp/pmdas/ctdb/pmdactdb
1807 /var/lib/pcp/pmdas/ctdb/domain.h
1808 /var/lib/pcp/pmdas/ctdb/help
1809 /var/lib/pcp/pmdas/ctdb/pmns
1810 %endif
This page took 0.183288 seconds and 4 git commands to generate.