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