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