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