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