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