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