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