]>
Commit | Line | Data |
---|---|---|
29511e6d | 1 | # |
e4bb74d8 | 2 | # Conditional build: |
a3c4e78e JB |
3 | %bcond_without ads # ActiveDirectory support |
4 | %bcond_without cups # CUPS support | |
5 | %bcond_without ldap # LDAP support | |
6 | %bcond_without avahi # Avahi support | |
52a1c787 | 7 | %bcond_without systemd # systemd integration |
a9009cd3 | 8 | %bcond_without system_libs # system libraries (talloc,tdb,tevent,ldb,ntdb) |
105507bc | 9 | |
e71e0470 | 10 | %if %{with system_libs} |
2dd82018 JB |
11 | %define talloc_ver 2.0.8 |
12 | %define tdb_ver 2:1.2.12 | |
e00cc9d3 | 13 | %define ldb_ver 1.1.17 |
f6857f17 | 14 | %define tevent_ver 0.9.18 |
c04968c4 | 15 | %define ntdb_ver 0.9 |
4ecf4d28 JB |
16 | %endif |
17 | ||
a3c4e78e JB |
18 | %include /usr/lib/rpm/macros.perl |
19 | ||
c38c2d9d | 20 | # NOTE: packages order is: server + additions, common, clients, libs+devel, ldap |
e00cc9d3 | 21 | %define virusfilter_version 0.1.4 |
c6a4fcd1 JR |
22 | Summary: Samba Active Directory and SMB server |
23 | Summary(pl.UTF-8): Serwer Samba Active Directory i SMB | |
c48f10a7 | 24 | Name: samba |
0643ad3f | 25 | Version: 4.1.14 |
7645ba99 | 26 | Release: 1 |
6646cd44 | 27 | Epoch: 1 |
6bef715a | 28 | License: GPL v3 |
11d2c190 | 29 | Group: Networking/Daemons |
e00cc9d3 | 30 | Source0: http://www.samba.org/ftp/samba/samba-%{version}.tar.gz |
0643ad3f | 31 | # Source0-md5: 9f7bae123ed39d2aa9ba842d3a138d54 |
ba850b61 | 32 | Source1: smb.init |
46c25e95 | 33 | Source2: samba.pamd |
46c25e95 JR |
34 | Source4: samba.sysconfig |
35 | Source5: samba.logrotate | |
138aecb0 | 36 | Source6: smb.conf |
68134596 | 37 | Source7: winbind.init |
38 | Source8: winbind.sysconfig | |
cd86127c | 39 | Source9: samba.init |
e00cc9d3 JB |
40 | Source10: https://bitbucket.org/fumiyas/samba-virusfilter/downloads/samba-virusfilter-%{virusfilter_version}.tar.bz2 |
41 | # Source10-md5: 4bef017601d87f52f8c82819a3ff56ee | |
34895621 | 42 | Patch0: system-heimdal.patch |
7645ba99 JB |
43 | Patch1: %{name}-c++-nofail.patch |
44 | Patch2: %{name}-lprng-no-dot-printers.patch | |
0d6de682 JR |
45 | Patch3: systemd-pid-dir.patch |
46 | Patch4: unicodePwd-nthash-values-over-LDAP.patch | |
47 | Patch5: link.patch | |
48 | Patch6: server-role.patch | |
cc54fa40 | 49 | Patch7: %{name}-bug-9816.patch |
7a52c5df | 50 | URL: http://www.samba.org/ |
bd658e80 | 51 | BuildRequires: acl-devel |
a0d23d1e | 52 | %{?with_avahi:BuildRequires: avahi-devel} |
95229e05 | 53 | BuildRequires: ceph-devel >= 0.73 |
aceac5ef | 54 | BuildRequires: ctdb-devel |
62dc8910 | 55 | %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0} |
2dd82018 | 56 | BuildRequires: cyrus-sasl-devel >= 2 |
51bcdd9a | 57 | BuildRequires: dmapi-devel |
a3c759b7 | 58 | BuildRequires: docbook-style-xsl |
2dd82018 | 59 | # just FAM API |
5b010594 | 60 | BuildRequires: gamin-devel |
ff01b4ff | 61 | BuildRequires: gdbm-devel |
a458c5bb | 62 | BuildRequires: gettext-tools |
1ae9cf92 | 63 | BuildRequires: glusterfs-devel |
2dd82018 | 64 | BuildRequires: gnutls-devel >= 1.4.0 |
8e43bad6 | 65 | BuildRequires: heimdal-devel >= 1.5.3-1 |
9f74dab7 | 66 | BuildRequires: iconv |
1125cc60 | 67 | BuildRequires: keyutils-devel |
a3c759b7 | 68 | BuildRequires: libaio-devel |
2dd82018 | 69 | BuildRequires: libcap-devel |
34895621 | 70 | BuildRequires: libcom_err-devel |
53ce942a | 71 | BuildRequires: libmagic-devel |
4d8c5e20 | 72 | BuildRequires: libnscd-devel |
40d90f9e | 73 | BuildRequires: make >= 3.81 |
0f00e211 | 74 | BuildRequires: ncurses-devel >= 5.2 |
e9c7865a | 75 | BuildRequires: ncurses-ext-devel >= 5.2 |
78d04323 | 76 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
793ad0f8 | 77 | BuildRequires: pam-devel >= 0.99.8.1 |
a3c4e78e | 78 | BuildRequires: perl-ExtUtils-MakeMaker |
2dd82018 | 79 | BuildRequires: perl-Parse-Yapp >= 1.05 |
9f74dab7 | 80 | BuildRequires: pkgconfig |
f092c096 | 81 | BuildRequires: popt-devel |
16c4fca4 | 82 | %{?with_pgsql:BuildRequires: postgresql-devel} |
2dd82018 | 83 | BuildRequires: python-devel >= 1:2.5.0 |
190a259b | 84 | BuildRequires: python-dns |
2dd82018 | 85 | BuildRequires: python-modules >= 1:2.5.0 |
190a259b | 86 | BuildRequires: python-testtools |
f092c096 | 87 | BuildRequires: readline-devel >= 4.2 |
a3c4e78e | 88 | BuildRequires: rpm-perlprov |
a3c759b7 | 89 | BuildRequires: rpm-pythonprov |
6a43f27b | 90 | BuildRequires: rpmbuild(macros) >= 1.647 |
e155c475 | 91 | BuildRequires: sed >= 4.0 |
52a1c787 JB |
92 | %{?with_systemd:BuildRequires: systemd-devel} |
93 | BuildRequires: xfsprogs-devel | |
2dd82018 | 94 | BuildRequires: zlib-devel >= 1.2.3 |
e71e0470 | 95 | %if %{with system_libs} |
e71e0470 | 96 | BuildRequires: ldb-devel >= %{ldb_ver} |
a9009cd3 | 97 | BuildRequires: ntdb-devel >= %{ntdb_ver} |
2fe4d181 | 98 | BuildRequires: python-ntdb >= %{ntdb_ver} |
e71e0470 JR |
99 | BuildRequires: python-ldb-devel >= %{ldb_ver} |
100 | BuildRequires: python-talloc-devel >= %{talloc_ver} | |
101 | BuildRequires: python-tevent >= %{tevent_ver} | |
05913998 JR |
102 | BuildRequires: talloc-devel >= %{talloc_ver} |
103 | BuildRequires: tdb-devel >= %{tdb_ver} | |
104 | BuildRequires: tevent-devel >= %{tevent_ver} | |
e71e0470 | 105 | %endif |
34895621 | 106 | BuildConflicts: libbsd-devel |
656b05ab | 107 | Requires(post,preun): /sbin/chkconfig |
6646cd44 | 108 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 109 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
69a33c0e | 110 | # for samba_{dnsupdate,kcc,spnupdate,upgradedns} scripts |
17dffdb7 | 111 | Requires: python-samba = %{epoch}:%{version}-%{release} |
cd83be60 | 112 | Requires: logrotate >= 3.7-4 |
793ad0f8 | 113 | Requires: pam >= 0.99.8.1 |
8bf54aa6 | 114 | Requires: rc-scripts >= 0.4.0.12 |
27879fe9 | 115 | Requires: setup >= 2.4.6-7 |
dce29ff7 | 116 | Requires: systemd-units >= 38 |
62dc8910 | 117 | # smbd links with libcups |
ac083993 | 118 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} |
e765216e JR |
119 | Obsoletes: samba-doc-html |
120 | Obsoletes: samba-doc-pdf | |
05913998 | 121 | Obsoletes: samba-pdb-xml |
c6a4fcd1 JR |
122 | Obsoletes: samba-vfs-block |
123 | Obsoletes: samba-vfs-audit | |
124 | Obsoletes: samba-vfs-cap | |
125 | Obsoletes: samba-vfs-catia | |
126 | Obsoletes: samba-vfs-default_quota | |
127 | Obsoletes: samba-vfs-expand_msdfs | |
128 | Obsoletes: samba-vfs-fake_perms | |
129 | Obsoletes: samba-vfs-netatalk | |
130 | Obsoletes: samba-vfs-recycle | |
131 | Obsoletes: samba-vfs-readahead | |
132 | Obsoletes: samba-vfs-readonly | |
133 | Obsoletes: samba-vfs-scannedonly | |
134 | Obsoletes: samba-vfs-shadow_copy | |
c93984f5 | 135 | Obsoletes: samba3 |
c6a4fcd1 JR |
136 | Obsoletes: samba3-server |
137 | Obsoletes: samba3-vfs-audit | |
138 | Obsoletes: samba3-vfs-cap | |
139 | Obsoletes: samba3-vfs-catia | |
140 | Obsoletes: samba3-vfs-default_quota | |
141 | Obsoletes: samba3-vfs-expand_msdfs | |
142 | Obsoletes: samba3-vfs-fake_perms | |
143 | Obsoletes: samba3-vfs-netatalk | |
144 | Obsoletes: samba3-vfs-recycle | |
145 | Obsoletes: samba3-vfs-readahead | |
146 | Obsoletes: samba3-vfs-readonly | |
147 | Obsoletes: samba3-vfs-scannedonly | |
148 | Obsoletes: samba3-vfs-shadow_copy | |
c93984f5 | 149 | Obsoletes: samba4 |
c6a4fcd1 | 150 | Obsoletes: samba4-common-server |
da3dadf3 | 151 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1925a8b4 | 152 | |
c10bc67e | 153 | %define _sambahome /home/services/samba |
ddea14b0 | 154 | %if %{with cups} |
478e9eab | 155 | %define cups_serverbin %{_prefix}/lib/cups |
fd9d8b85 | 156 | %endif |
99795f36 | 157 | %define schemadir /usr/share/openldap/schema |
92c45d25 | 158 | |
01485082 ER |
159 | # CFLAGS modified (the second ./configure) |
160 | %undefine configure_cache | |
161 | ||
e11c6ca1 | 162 | %description |
cfa67cf6 | 163 | Samba provides an SMB server which can be used to provide network |
164 | services to SMB (sometimes called "Lan Manager") clients, including | |
165 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
166 | also provides some SMB clients, which complement the built-in SMB | |
167 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
168 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
e11c6ca1 | 169 | |
96088f7b JR |
170 | %description -l pl.UTF-8 |
171 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
172 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
173 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
174 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
175 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
176 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
177 | haseł w standardzie MS i zarządzania bazą WINS. | |
178 | ||
c38c2d9d JB |
179 | %package vfs-ceph |
180 | Summary: VFS module to host shares on Ceph file system | |
181 | Summary(pl.UTF-8): Moduł VFS do serwowania zasobów z systemu plików Ceph | |
182 | Group: Networking/Daemons | |
183 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
ac6f9d13 | 184 | |
c38c2d9d JB |
185 | %description vfs-ceph |
186 | VFS module to host shares on Ceph file system. | |
ac6f9d13 | 187 | |
c38c2d9d JB |
188 | This module only works with the libceph.so user-space client. It is |
189 | not needed if you are using the kernel client or the FUSE client. | |
190 | ||
191 | %description vfs-ceph -l pl.UTF-8 | |
192 | Moduł VFS do serwowania zasobów z systemu plików Ceph. | |
193 | ||
194 | Ten moduł działa jedynie z klientem przestrzeni użytkownika | |
195 | libceph.so. Jest zbędny w przypadku używania klienta dostarczanego | |
196 | przez jądro lub FUSE. | |
197 | ||
198 | %package vfs-glusterfs | |
199 | Summary: VFS module to host shares on GlusterFS file system | |
200 | Summary(pl.UTF-8): Moduł VFS do serwowania zasobów z systemu plików GlusterFS | |
201 | Group: Networking/Daemons | |
202 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
203 | ||
204 | %description vfs-glusterfs | |
205 | VFS module to host shares on GlusterFS file system. | |
206 | ||
207 | %description vfs-glusterfs -l pl.UTF-8 | |
208 | Moduł VFS do serwowania zasobów z systemu plików GlusterFS. | |
209 | ||
210 | %package vfs-notify_fam | |
211 | Summary: VFS module to implement file change notifications | |
212 | Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach | |
213 | Group: Networking/Daemons | |
214 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
215 | Obsoletes: samba3-vfs-notify_fam | |
216 | ||
217 | %description vfs-notify_fam | |
218 | The vfs_notify_fam module makes use of the system FAM (File Alteration | |
219 | Monitor) daemon to implement file change notifications for Windows | |
220 | clients. | |
221 | ||
222 | %description vfs-notify_fam -l pl.UTF-8 | |
223 | Ten moduł używa demona FAM (File Alteration Monitor) do implementacji | |
224 | informowania o zmianach w plikach dla klientów Windows. | |
ac6f9d13 MC |
225 | |
226 | %package common | |
ea8d81e5 | 227 | Summary: Files used by both Samba servers and clients |
a3c4e78e | 228 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samby |
2eedd257 | 229 | Group: Networking/Daemons |
17dffdb7 | 230 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
69a33c0e | 231 | # for samba-tool script |
5a89b1cc | 232 | Requires: python-samba = %{epoch}:%{version}-%{release} |
4f12cc62 | 233 | Obsoletes: samba3-common |
c93984f5 | 234 | Obsoletes: samba4-common |
ac6f9d13 MC |
235 | |
236 | %description common | |
237 | Samba-common provides files necessary for both the server and client | |
238 | packages of Samba. | |
239 | ||
96088f7b JR |
240 | %description common -l pl.UTF-8 |
241 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i | |
4ecf4d28 | 242 | klientów Samby. |
ac6f9d13 | 243 | |
c38c2d9d JB |
244 | %package client |
245 | Summary: Samba client programs | |
246 | Summary(pl.UTF-8): Klienci serwera Samba | |
247 | Group: Applications/Networking | |
248 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
249 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
250 | Requires: libsmbclient = %{epoch}:%{version}-%{release} | |
251 | Requires: heimdal-libs >= 1.5.3-1 | |
252 | Suggests: cifs-utils | |
253 | Obsoletes: samba3-client | |
254 | Obsoletes: samba4-client | |
255 | Obsoletes: smbfs | |
d7a7a298 | 256 | |
c38c2d9d JB |
257 | %description client |
258 | Samba-client provides some SMB clients, which complement the build-in | |
259 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
260 | printing to SMB printers. | |
d7a7a298 | 261 | |
c38c2d9d JB |
262 | %description client -l pl.UTF-8 |
263 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
264 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
265 | drukowanie w sieci SMB. | |
d7a7a298 | 266 | |
29511e6d | 267 | %package winbind |
29511e6d | 268 | Summary: Samba-winbind daemon, utilities and documentation |
fa1faeca | 269 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja |
29511e6d | 270 | Group: Networking/Daemons |
29511e6d | 271 | Requires(post,preun): /sbin/chkconfig |
8ef2303e | 272 | Requires(post,preun,postun): systemd-units >= 38 |
6646cd44 | 273 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 274 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
8ef2303e JR |
275 | Requires: systemd-units >= 38 |
276 | Obsoletes: samba3-winbind | |
c93984f5 | 277 | Obsoletes: samba4-winbind |
29511e6d | 278 | |
279 | %description winbind | |
280 | Provides the winbind daemon and testing tools to allow authentication | |
281 | and group/user enumeration from a Windows or Samba domain controller. | |
282 | ||
96088f7b JR |
283 | %description winbind -l pl.UTF-8 |
284 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
285 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
4d750758 JB |
286 | Windows lub Samba. |
287 | ||
c38c2d9d JB |
288 | %package -n cups-backend-smb |
289 | Summary: CUPS backend for printing to SMB printers | |
290 | Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB | |
291 | Group: Applications/Printing | |
292 | Requires: %{name}-client = %{epoch}:%{version}-%{release} | |
293 | Requires: cups >= 1:1.2.0 | |
294 | Obsoletes: cups-backend-smb3 | |
295 | ||
296 | %description -n cups-backend-smb | |
297 | CUPS backend for printing to SMB printers. | |
298 | ||
299 | %description -n cups-backend-smb -l pl.UTF-8 | |
300 | Backend CUPS-a drukujący na drukarkach SMB. | |
301 | ||
302 | %package -n nss_wins | |
303 | Summary: Name Service Switch service for WINS | |
304 | Summary(pl.UTF-8): Usługa Name Service Switch dla WINS | |
305 | Group: Base | |
306 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
17dffdb7 | 307 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
c38c2d9d | 308 | Obsoletes: nss_wins3 |
f2b0247b | 309 | |
c38c2d9d JB |
310 | %description -n nss_wins |
311 | Provides the libnss_wins shared library which resolves NetBIOS names | |
312 | to IP addresses. | |
f2b0247b | 313 | |
c38c2d9d JB |
314 | %description -n nss_wins -l pl.UTF-8 |
315 | Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy | |
316 | IP. | |
9c05ac07 | 317 | |
c48f10a7 | 318 | %package -n pam-pam_smbpass |
382a477a JR |
319 | Summary: PAM Samba Password Module |
320 | Summary(pl.UTF-8): Moduł PAM smbpass | |
321 | Group: Base | |
17dffdb7 | 322 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
5a89b1cc JR |
323 | Obsoletes: pam_smbpass |
324 | Obsoletes: pam-pam_smbpass3 | |
382a477a | 325 | |
c48f10a7 | 326 | %description -n pam-pam_smbpass |
382a477a JR |
327 | PAM module which can be used on conforming systems to keep the |
328 | smbpasswd (Samba password) database in sync with the Unix password | |
329 | file. | |
330 | ||
c48f10a7 | 331 | %description -n pam-pam_smbpass -l pl.UTF-8 |
382a477a JR |
332 | Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła |
333 | Samby) zsynchronizowanego z hasłami uniksowymi. | |
334 | ||
c38c2d9d JB |
335 | %package -n smbget |
336 | Summary: A utility for retrieving files using the SMB protocol | |
337 | Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB | |
338 | Group: Applications/Networking | |
339 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
340 | Obsoletes: smbget3 | |
341 | ||
342 | %description -n smbget | |
343 | wget-like utility for downloading files over SMB. | |
344 | ||
345 | %description -n smbget -l pl.UTF-8 | |
346 | Narzędzie podobne do wgeta do pobierania plików protokołem SMB | |
347 | używanym w sieciach MS Windows. | |
348 | ||
349 | %package libs | |
350 | Summary: Samba shared libraries | |
351 | Summary(pl.UTF-8): Biblioteki współdzielone Samby | |
352 | Group: Libraries | |
2dd82018 | 353 | Requires: gnutls >= 1.4.0 |
c38c2d9d JB |
354 | %if %{with system_libs} |
355 | Requires: ldb >= %{ldb_ver} | |
356 | Requires: ntdb >= %{ntdb_ver} | |
357 | Requires: talloc >= %{talloc_ver} | |
358 | Requires: tdb >= %{tdb_ver} | |
359 | Requires: tevent >= %{tevent_ver} | |
360 | %endif | |
361 | ||
362 | %description libs | |
363 | Samba shared libraries. | |
364 | ||
365 | %description libs -l pl.UTF-8 | |
366 | Biblioteki współdzielone Samby. | |
367 | ||
368 | %package devel | |
369 | Summary: Header files for Samba | |
370 | Summary(pl.UTF-8): Pliki nagłówkowe Samby | |
371 | Group: Development/Libraries | |
372 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
373 | Obsoletes: samba3-devel | |
374 | Obsoletes: samba4-devel | |
375 | ||
376 | %description devel | |
377 | Header files for Samba. | |
378 | ||
379 | %description devel -l pl.UTF-8 | |
380 | Pliki nagłówkowe Samby. | |
381 | ||
382a477a JR |
382 | %package pidl |
383 | Summary: Perl IDL compiler | |
a3c4e78e | 384 | Summary(pl.UTF-8): Kompilator IDL w Perlu |
382a477a | 385 | Group: Development/Tools |
c93984f5 | 386 | Obsoletes: samba4-pidl |
382a477a JR |
387 | |
388 | %description pidl | |
c48f10a7 | 389 | The samba-pidl package contains the Perl IDL compiler used by Samba |
382a477a JR |
390 | and Wireshark to parse IDL and similar protocols. |
391 | ||
a3c4e78e JB |
392 | %description pidl -l pl.UTF-8 |
393 | Ten pakiet zawiera kompilator IDL napisany w Perlu, używany przez | |
394 | Sambę oraz Wiresharka to analizy IDL i podobnych protokołów. | |
395 | ||
025a78ca | 396 | %package -n python-samba |
69a33c0e JB |
397 | Summary: Samba modules for Python |
398 | Summary(pl.UTF-8): Moduły Samby dla Pythona | |
382a477a | 399 | Group: Development/Languages/Python |
382a477a | 400 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 401 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
6a43f27b | 402 | Requires: python |
b069341b JR |
403 | Requires: python-dns |
404 | Requires: python-modules | |
8e43bad6 JR |
405 | %if %{with system_libs} |
406 | Requires: python-ldb >= %{ldb_ver} | |
a9009cd3 | 407 | Requires: python-ntdb >= %{ntdb_ver} |
8e43bad6 JR |
408 | Requires: python-talloc >= %{talloc_ver} |
409 | Requires: python-tevent >= %{tevent_ver} | |
410 | %endif | |
025a78ca | 411 | Obsoletes: python-samba4 |
382a477a | 412 | |
025a78ca | 413 | %description -n python-samba |
69a33c0e | 414 | Samba modules for Python. |
382a477a | 415 | |
025a78ca | 416 | %description -n python-samba -l pl.UTF-8 |
69a33c0e | 417 | Moduły Samby dla Pythona. |
a3c4e78e | 418 | |
382a477a JR |
419 | %package test |
420 | Summary: Testing tools for Samba servers and clients | |
a3c4e78e | 421 | Summary(pl.UTF-8): Narzędzia testowe dla serwerów i klientów Samby |
382a477a JR |
422 | Group: Applications/System |
423 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
424 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
17dffdb7 | 425 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
382a477a | 426 | Requires: %{name}-winbind = %{epoch}:%{version}-%{release} |
c93984f5 | 427 | Obsoletes: samba4-test |
382a477a JR |
428 | |
429 | %description test | |
c48f10a7 | 430 | samba-test provides testing tools for both the server and client |
382a477a JR |
431 | packages of Samba. |
432 | ||
a3c4e78e JB |
433 | %description test -l pl.UTF-8 |
434 | Narzędzia testowe dla serwerów i klientów Samby. | |
435 | ||
382a477a | 436 | %package test-devel |
a3c4e78e JB |
437 | Summary: Testing development files for Samba servers and clients |
438 | Summary(pl.UTF-8): Pliki programistyczne narzędzi testowych dla serwerów i klientów Samby | |
382a477a JR |
439 | Group: Applications/System |
440 | Requires: %{name}-test = %{epoch}:%{version}-%{release} | |
c93984f5 | 441 | Obsoletes: samba4-test-devel |
382a477a JR |
442 | |
443 | %description test-devel | |
a3c4e78e JB |
444 | samba-test-devel provides development files for the library used by |
445 | testing tools for both the server and client packages of Samba. | |
446 | ||
447 | %description test-devel -l pl.UTF-8 | |
448 | Ten pakiet zawiera pliki programistyczne biblioteki wykorzystywanej | |
449 | przez narzędzia testowe dla serwerów i klientów Samby. | |
382a477a | 450 | |
fe5b5b93 | 451 | %package -n libsmbclient |
a3c4e78e JB |
452 | Summary: libsmbclient and libwbclient - Samba client libraries |
453 | Summary(pl.UTF-8): libsmbclient i libwbclient - biblioteki klienckie Samby | |
382a477a | 454 | Group: Libraries |
17dffdb7 | 455 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
fe5b5b93 | 456 | Obsoletes: samba3-libsmbclient |
382a477a | 457 | |
fe5b5b93 | 458 | %description -n libsmbclient |
a3c4e78e JB |
459 | libsmbclient and libwbclient - libraries that allow to use Samba |
460 | client functions. | |
382a477a | 461 | |
fe5b5b93 | 462 | %description -n libsmbclient -l pl.UTF-8 |
a3c4e78e JB |
463 | libsmbclient i libwbclient - biblioteki pozwalające korzystać z funcji |
464 | klienta Samby. | |
382a477a | 465 | |
fe5b5b93 | 466 | %package -n libsmbclient-devel |
a3c4e78e JB |
467 | Summary: Development files for Samba client libraries |
468 | Summary(pl.UTF-8): Pliki programistyczne bibliotek klienta Samby | |
382a477a | 469 | Group: Development/Libraries |
fe5b5b93 | 470 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
277b5368 | 471 | Obsoletes: libsmbclient-static |
fe5b5b93 | 472 | Obsoletes: samba3-libsmbclient-devel |
6646cd44 | 473 | |
fe5b5b93 | 474 | %description -n libsmbclient-devel |
a3c4e78e | 475 | Header files for libsmbclient and libwbclient libraries. |
6646cd44 | 476 | |
fe5b5b93 | 477 | %description -n libsmbclient-devel -l pl.UTF-8 |
a3c4e78e | 478 | Pliki nagłówkowe bibliotek libsmbclient i libwbclient. |
c083eea8 | 479 | |
025a78ca | 480 | %package -n openldap-schema-samba |
382a477a | 481 | Summary: Samba LDAP schema |
a3c4e78e | 482 | Summary(pl.UTF-8): Schemat LDAP dla Samby |
ed426448 | 483 | Group: Networking/Daemons |
382a477a JR |
484 | Requires(post,postun): sed >= 4.0 |
485 | Requires: openldap-servers | |
025a78ca | 486 | Obsoletes: openldap-schema-samba3 |
1601e1b5 JR |
487 | %if "%{_rpmversion}" >= "5" |
488 | BuildArch: noarch | |
489 | %endif | |
ed426448 | 490 | |
025a78ca | 491 | %description -n openldap-schema-samba |
a3c4e78e | 492 | This package contains samba.schema for OpenLDAP. |
382a477a | 493 | |
025a78ca | 494 | %description -n openldap-schema-samba -l pl.UTF-8 |
a3c4e78e | 495 | Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a. |
ed426448 | 496 | |
1925a8b4 | 497 | %prep |
670da5b0 | 498 | %setup -q -n samba-%{version} |
34895621 | 499 | %patch0 -p1 |
8932759c | 500 | %patch1 -p1 |
0d6de682 JR |
501 | %patch2 -p1 |
502 | %patch3 -p1 | |
ce9af3e2 | 503 | %patch4 -p1 |
450db13e | 504 | %patch5 -p1 |
2aa9f2b6 | 505 | %patch6 -p1 |
cc54fa40 | 506 | %patch7 -p1 |
6fb3721a | 507 | |
7645ba99 JB |
508 | %{__sed} -i -e 's|#!/usr/bin/env python|#!/usr/bin/python|' source4/scripting/bin/samba* |
509 | %{__sed} -i -e 's|#!/usr/bin/env perl|#!/usr/bin/perl|' pidl/pidl | |
7f7b5c36 | 510 | |
1925a8b4 | 511 | %build |
34895621 JR |
512 | LDFLAGS="${LDFLAGS:-%rpmldflags}" \ |
513 | CFLAGS="${CFLAGS:-%rpmcflags}" \ | |
514 | CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \ | |
515 | FFLAGS="${FFLAGS:-%rpmcflags}" \ | |
516 | FCFLAGS="${FCFLAGS:-%rpmcflags}" \ | |
517 | CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \ | |
518 | %{?__cc:CC="%{__cc}"} \ | |
519 | %{?__cxx:CXX="%{__cxx}"} \ | |
520 | ./configure \ | |
521 | --enable-fhs \ | |
522 | --prefix=%{_prefix} \ | |
523 | --exec-prefix=%{_exec_prefix} \ | |
524 | --bindir=%{_bindir} \ | |
525 | --sbindir=%{_sbindir} \ | |
526 | --sysconfdir=%{_sysconfdir} \ | |
527 | --datadir=%{_datadir} \ | |
528 | --includedir=%{_includedir} \ | |
529 | --libdir=%{_libdir} \ | |
530 | --libexecdir=%{_libexecdir} \ | |
531 | --localstatedir=%{_localstatedir} \ | |
532 | --sharedstatedir=%{_sharedstatedir} \ | |
533 | --mandir=%{_mandir} \ | |
534 | --infodir=%{_infodir} \ | |
2e711b12 JR |
535 | --with-privatelibdir=%{_libdir}/samba \ |
536 | --with-modulesdir=%{_libdir}/samba \ | |
01485082 | 537 | --with-pammodulesdir=/%{_lib}/security \ |
34895621 JR |
538 | --with-lockdir=/var/lib/samba \ |
539 | --with-privatedir=%{_sysconfdir}/samba \ | |
34895621 | 540 | --disable-rpath-install \ |
5c9e395f | 541 | --builtin-libraries=replace,ccan \ |
a9009cd3 | 542 | --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libs:talloc,tdb,ldb,ntdb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util} \ |
d7a7a298 | 543 | --with-shared-modules=idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_rid,idmap_tdb2,auth_samba4,vfs_dfs_samba4 \ |
f4f0ea2d | 544 | --with-acl-support \ |
34895621 | 545 | --with%{!?with_ads:out}-ads \ |
40d90f9e | 546 | --with-aio-support \ |
432ee34d | 547 | --with-automount \ |
34895621 JR |
548 | --with-dmapi \ |
549 | --with-dnsupdate \ | |
550 | --with-iconv \ | |
551 | --with%{!?with_ldap:out}-ldap \ | |
d1d64cbe | 552 | --with-pam \ |
29511e6d | 553 | --with-pam_smbpass \ |
4ef99dd8 | 554 | --with-quotas \ |
e9c7865a | 555 | --with-regedit \ |
34895621 | 556 | --with-sendfile-support \ |
4ef99dd8 | 557 | --with-syslog \ |
52a1c787 | 558 | %{!?with_systemd:--without-systemd} \ |
4ef99dd8 | 559 | --with-utmp \ |
34895621 | 560 | --with-winbind \ |
66e5c63e | 561 | --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \ |
34895621 JR |
562 | --enable-cups \ |
563 | --enable-iprint | |
1925a8b4 | 564 | |
70ff6d03 | 565 | %{__make} |
192f48a8 | 566 | |
6646cd44 JR |
567 | # Build PIDL for installation into vendor directories before |
568 | # 'make proto' gets to it. | |
569 | cd pidl | |
570 | %{__perl} Makefile.PL \ | |
571 | INSTALLDIRS=vendor | |
572 | ||
1925a8b4 | 573 | %install |
574 | rm -rf $RPM_BUILD_ROOT | |
cd86127c | 575 | 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 | 576 | $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \ |
08bf002e | 577 | $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \ |
2e711b12 JR |
578 | $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \ |
579 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
ba850b61 | 580 | |
34895621 | 581 | %{__make} install \ |
bd658e80 | 582 | DESTDIR=$RPM_BUILD_ROOT \ |
29511e6d | 583 | CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba |
bd658e80 | 584 | |
6646cd44 | 585 | # Undo the PIDL install, we want to try again with the right options. |
9a90ed45 | 586 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/perl5 |
6646cd44 JR |
587 | |
588 | # Install PIDL | |
9a90ed45 | 589 | %{__make} -C pidl install \ |
6646cd44 | 590 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
6646cd44 JR |
591 | |
592 | # Clean out crap left behind by the PIDL install | |
593 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/wscript_build | |
594 | %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp | |
fbf926f3 | 595 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Parse/Pidl/.packlist |
6646cd44 | 596 | |
42039dcb JR |
597 | # not ready for production, and no MIT kerberos in PLD |
598 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mit_samba.so | |
599 | ||
b25f7233 | 600 | install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir} |
1925a8b4 | 601 | |
2e711b12 JR |
602 | install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf |
603 | install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
604 | install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir} | |
605 | install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
606 | install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir} | |
607 | ||
b25f7233 ER |
608 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb |
609 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba | |
b25f7233 ER |
610 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba |
611 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba | |
3dbf1ce9 | 612 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf |
b25f7233 ER |
613 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind |
614 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind | |
cd86127c JR |
615 | install -p %{SOURCE9} $RPM_BUILD_ROOT/etc/rc.d/init.d/samba |
616 | ||
617 | echo "LDB_MODULES_PATH=%{_libdir}/samba/ldb" > $RPM_BUILD_ROOT/etc/env.d/LDB_MODULES_PATH | |
29511e6d | 618 | |
34895621 JR |
619 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib} |
620 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib} | |
621 | install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir} | |
79d8a749 | 622 | |
6a2e83e0 | 623 | touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat} |
1925a8b4 | 624 | |
01485082 | 625 | echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts |
8b604b68 | 626 | |
b0c1c6a5 | 627 | %if "%{_lib}" == "lib64" |
17dffdb7 JR |
628 | echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba64.conf |
629 | %else | |
b069341b | 630 | echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba.conf |
17dffdb7 | 631 | %endif |
b069341b | 632 | |
ddea14b0 | 633 | %if %{with cups} |
fd9d8b85 JB |
634 | install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend |
635 | ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb | |
636 | %endif | |
9f6f5df1 | 637 | |
29511e6d | 638 | > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers |
8b604b68 | 639 | > $RPM_BUILD_ROOT/etc/security/blacklist.samba |
11d2c190 | 640 | |
105507bc | 641 | %if %{with ldap} |
99795f36 | 642 | install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir} |
105507bc | 643 | %endif |
99795f36 | 644 | |
7a0e596a | 645 | # remove man pages for not installed commands |
fbf926f3 | 646 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1* |
fbf926f3 JR |
647 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_cacheprime.8* |
648 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_gpfs.8* | |
649 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_prealloc.8* | |
650 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_tsmsm.8* | |
7a0e596a | 651 | |
1a8c003b AM |
652 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
653 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
f6857f17 | 654 | %py_postclean |
1a8c003b | 655 | |
ea8d81e5 JB |
656 | %clean |
657 | rm -rf $RPM_BUILD_ROOT | |
9661cd11 | 658 | |
1925a8b4 | 659 | %post |
cd86127c | 660 | /sbin/chkconfig --add samba |
c6a4fcd1 | 661 | /sbin/chkconfig --add smb |
cd86127c | 662 | %service samba restart "Samba AD daemon" |
c48f10a7 | 663 | %service smb restart "Samba SMB daemons" |
dce29ff7 | 664 | %systemd_post samba.service |
c6a4fcd1 | 665 | %systemd_post smb.service nmb.service |
1925a8b4 | 666 | |
667 | %preun | |
cd86127c JR |
668 | if [ "$1" = "0" ]; then |
669 | %service samba stop | |
c6a4fcd1 | 670 | %service smb stop |
cd86127c | 671 | /sbin/chkconfig --del samba |
c6a4fcd1 | 672 | /sbin/chkconfig --del smb |
cd86127c | 673 | fi |
dce29ff7 | 674 | %systemd_preun samba.service |
c6a4fcd1 | 675 | %systemd_preun smb.service nmb.service |
dce29ff7 JR |
676 | |
677 | %postun | |
678 | %systemd_reload | |
11d2c190 | 679 | |
c48f10a7 | 680 | %triggerpostun -- samba3 |
382a477a | 681 | /sbin/chkconfig --add smb |
c48f10a7 | 682 | %service smb restart "Samba SMB daemons" |
1a90c755 | 683 | %systemd_post smb.service nmb.service |
382a477a | 684 | |
c48f10a7 JR |
685 | %triggerpostun -- samba4 |
686 | /sbin/chkconfig --add samba | |
687 | %service samba restart "Samba AD daemons" | |
688 | %systemd_post samba.service | |
689 | ||
30cb0b6f JR |
690 | %triggerpostun -- samba4 < 1:4.1.1-1 |
691 | # CVE-2013-4476 | |
692 | [ -e %{_sysconfdir}/samba/tls/key.pem ] || exit 0 | |
693 | PERMS=$(stat -c %a %{_sysconfdir}/samba/tls/key.pem) | |
694 | if [ "$PERMS" != "600" ]; then | |
695 | chmod 600 %{_sysconfdir}/samba/tls/key.pem || : | |
696 | echo "Fixed permissions of private key file %{_sysconfdir}/samba/tls/key.pem from $PERMS to 600" | |
697 | echo "Consider regenerating TLS certificate" | |
698 | echo "Removing all tls .pem files will cause an auto-regeneration with the correct permissions" | |
699 | fi | |
700 | ||
c93984f5 JR |
701 | %triggerprein common -- samba4 |
702 | cp -a %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba4 | |
703 | ||
704 | %triggerpostun common -- samba4 | |
705 | %{__mv} -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.rpmnew | |
706 | %{__mv} %{_sysconfdir}/samba/smb.conf.samba4 %{_sysconfdir}/samba/smb.conf | |
707 | ||
708 | %triggerprein common -- samba3-server | |
709 | cp -a %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba4 | |
710 | ||
711 | %triggerpostun common -- samba3-server | |
712 | %{__mv} -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.rpmnew | |
713 | %{__mv} %{_sysconfdir}/samba/smb.conf.samba4 %{_sysconfdir}/samba/smb.conf | |
714 | ||
8ef2303e | 715 | %post winbind |
a7067ae6 | 716 | /sbin/ldconfig |
29511e6d | 717 | /sbin/chkconfig --add winbind |
27879fe9 | 718 | %service winbind restart "Winbind daemon" |
dce29ff7 | 719 | %systemd_post winbind.service |
29511e6d | 720 | |
8ef2303e | 721 | %preun winbind |
29511e6d | 722 | if [ "$1" = "0" ]; then |
27879fe9 | 723 | %service winbind stop |
29511e6d | 724 | /sbin/chkconfig --del winbind |
725 | fi | |
dce29ff7 JR |
726 | %systemd_preun winbind.service |
727 | ||
8ef2303e | 728 | %postun winbind |
a7067ae6 | 729 | /sbin/ldconfig |
dce29ff7 | 730 | %systemd_reload |
29511e6d | 731 | |
c48f10a7 | 732 | %triggerpostun winbind -- samba3-winbind |
00fd225e JR |
733 | /sbin/chkconfig --add winbind |
734 | %service winbind restart "Winbind daemon" | |
735 | %systemd_post winbind.service | |
736 | ||
c38c2d9d JB |
737 | %post libs -p /sbin/ldconfig |
738 | %postun libs -p /sbin/ldconfig | |
739 | ||
740 | %post -n python-samba -p /sbin/ldconfig | |
741 | %postun -n python-samba -p /sbin/ldconfig | |
742 | ||
0673c853 JB |
743 | %post -n libsmbclient -p /sbin/ldconfig |
744 | %postun -n libsmbclient -p /sbin/ldconfig | |
a7067ae6 | 745 | |
025a78ca | 746 | %post -n openldap-schema-samba |
c4db757c ER |
747 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
748 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
27879fe9 | 749 | %service -q ldap restart |
99795f36 | 750 | |
025a78ca | 751 | %postun -n openldap-schema-samba |
99795f36 | 752 | if [ "$1" = "0" ]; then |
c4db757c | 753 | %openldap_schema_unregister %{schemadir}/samba.schema |
27879fe9 | 754 | %service -q ldap restart |
99795f36 ER |
755 | fi |
756 | ||
025a78ca | 757 | %triggerpostun -n openldap-schema-samba -- openldap-schema-samba3 < 1:4.1.4-3 |
00fd225e JR |
758 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
759 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
760 | %service -q ldap restart | |
761 | ||
1925a8b4 | 762 | %files |
763 | %defattr(644,root,root,755) | |
3999f3d9 JR |
764 | %{?with_ldap:%doc examples/LDAP} |
765 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers | |
766 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba | |
767 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba | |
768 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba | |
9ff647f7 | 769 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba |
99fdb0b6 | 770 | %config(noreplace) %verify(not md5 mtime size) /etc/env.d/LDB_MODULES_PATH |
cd86127c | 771 | %attr(754,root,root) /etc/rc.d/init.d/samba |
3999f3d9 JR |
772 | %attr(754,root,root) /etc/rc.d/init.d/smb |
773 | %{systemdunitdir}/nmb.service | |
774 | %{systemdunitdir}/smb.service | |
0b940f4e JR |
775 | %{systemdunitdir}/samba.service |
776 | %{systemdtmpfilesdir}/samba.conf | |
ee92e647 | 777 | %attr(755,root,root) %{_bindir}/eventlogadm |
c083eea8 | 778 | %attr(755,root,root) %{_bindir}/oLschema2ldif |
ee92e647 JR |
779 | %attr(755,root,root) %{_bindir}/pdbedit |
780 | %attr(755,root,root) %{_bindir}/profiles | |
3999f3d9 JR |
781 | %attr(755,root,root) %{_bindir}/sharesec |
782 | %attr(755,root,root) %{_bindir}/smbcontrol | |
783 | %attr(755,root,root) %{_bindir}/smbstatus | |
784 | %attr(755,root,root) %{_bindir}/smbta-util | |
785 | %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh | |
786 | %attr(755,root,root) %{_sbindir}/nmbd | |
0b940f4e JR |
787 | %attr(755,root,root) %{_sbindir}/samba |
788 | %attr(755,root,root) %{_sbindir}/samba_dnsupdate | |
7f7b5c36 | 789 | %attr(755,root,root) %{_sbindir}/samba_kcc |
0b940f4e JR |
790 | %attr(755,root,root) %{_sbindir}/samba_spnupdate |
791 | %attr(755,root,root) %{_sbindir}/samba_upgradedns | |
3999f3d9 | 792 | %attr(755,root,root) %{_sbindir}/smbd |
cc54fa40 | 793 | %attr(755,root,root) %{_libdir}/samba/libdnsserver_common.so |
0b940f4e JR |
794 | %dir %{_libdir}/samba/bind9 |
795 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so | |
796 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so | |
0643ad3f | 797 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_10.so |
0b940f4e JR |
798 | %dir %{_libdir}/samba/hdb |
799 | %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so | |
0b940f4e JR |
800 | %dir %{_libdir}/samba/gensec |
801 | %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so | |
e4310f27 | 802 | %dir %{_libdir}/samba/ldb |
e4310f27 | 803 | %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so |
0b940f4e | 804 | %attr(755,root,root) %{_libdir}/samba/ldb/acl.so |
e4310f27 JR |
805 | %attr(755,root,root) %{_libdir}/samba/ldb/anr.so |
806 | %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so | |
807 | %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so | |
808 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so | |
809 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so | |
810 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so | |
811 | %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so | |
812 | %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so | |
813 | %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so | |
814 | %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so | |
815 | %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so | |
816 | %attr(755,root,root) %{_libdir}/samba/ldb/local_password.so | |
817 | %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so | |
e4310f27 | 818 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so |
0b940f4e | 819 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so |
e4310f27 JR |
820 | %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so |
821 | %attr(755,root,root) %{_libdir}/samba/ldb/operational.so | |
822 | %attr(755,root,root) %{_libdir}/samba/ldb/partition.so | |
823 | %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so | |
824 | %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so | |
825 | %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so | |
826 | %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so | |
827 | %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so | |
828 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so | |
829 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so | |
830 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so | |
831 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so | |
832 | %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so | |
833 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so | |
834 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so | |
835 | %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so | |
836 | %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so | |
837 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so | |
838 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so | |
839 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so | |
840 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so | |
841 | %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so | |
842 | %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so | |
382a477a JR |
843 | %dir %{_libdir}/samba/process_model |
844 | %attr(755,root,root) %{_libdir}/samba/process_model/onefork.so | |
845 | %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so | |
846 | %attr(755,root,root) %{_libdir}/samba/process_model/standard.so | |
847 | %dir %{_libdir}/samba/service | |
848 | %attr(755,root,root) %{_libdir}/samba/service/cldap.so | |
849 | %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so | |
850 | %attr(755,root,root) %{_libdir}/samba/service/dns.so | |
851 | %attr(755,root,root) %{_libdir}/samba/service/dns_update.so | |
852 | %attr(755,root,root) %{_libdir}/samba/service/drepl.so | |
853 | %attr(755,root,root) %{_libdir}/samba/service/kcc.so | |
854 | %attr(755,root,root) %{_libdir}/samba/service/kdc.so | |
855 | %attr(755,root,root) %{_libdir}/samba/service/ldap.so | |
856 | %attr(755,root,root) %{_libdir}/samba/service/nbtd.so | |
857 | %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so | |
858 | %attr(755,root,root) %{_libdir}/samba/service/s3fs.so | |
859 | %attr(755,root,root) %{_libdir}/samba/service/smb.so | |
860 | %attr(755,root,root) %{_libdir}/samba/service/web.so | |
861 | %attr(755,root,root) %{_libdir}/samba/service/winbind.so | |
862 | %attr(755,root,root) %{_libdir}/samba/service/wrepl.so | |
d7a7a298 | 863 | %dir %{_libdir}/samba/vfs |
c6a4fcd1 | 864 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so |
d7a7a298 | 865 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so |
c6a4fcd1 JR |
866 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so |
867 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_linux.so | |
868 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_posix.so | |
869 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so | |
870 | %attr(755,root,root) %{_libdir}/samba/vfs/audit.so | |
d7a7a298 | 871 | %attr(755,root,root) %{_libdir}/samba/vfs/btrfs.so |
c6a4fcd1 JR |
872 | %attr(755,root,root) %{_libdir}/samba/vfs/cap.so |
873 | %attr(755,root,root) %{_libdir}/samba/vfs/catia.so | |
874 | %attr(755,root,root) %{_libdir}/samba/vfs/commit.so | |
875 | %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so | |
876 | %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so | |
d7a7a298 | 877 | %attr(755,root,root) %{_libdir}/samba/vfs/dfs_samba4.so |
c6a4fcd1 JR |
878 | %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so |
879 | %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so | |
880 | %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so | |
881 | %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so | |
d7a7a298 | 882 | %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so |
c6a4fcd1 JR |
883 | %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so |
884 | %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so | |
885 | %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so | |
886 | %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so | |
d7a7a298 | 887 | %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so |
c6a4fcd1 JR |
888 | %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so |
889 | %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so | |
890 | %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so | |
891 | %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so | |
892 | %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so | |
893 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so | |
894 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so | |
895 | %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so | |
896 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so | |
897 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so | |
898 | %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so | |
899 | %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so | |
d7a7a298 | 900 | %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so |
3999f3d9 JR |
901 | %{_datadir}/samba/setup |
902 | %{_mandir}/man1/oLschema2ldif.1* | |
903 | %{_mandir}/man1/profiles.1* | |
ee92e647 | 904 | %{_mandir}/man1/sharesec.1* |
c6a4fcd1 JR |
905 | %{_mandir}/man1/smbcontrol.1* |
906 | %{_mandir}/man1/smbstatus.1* | |
3999f3d9 | 907 | %{_mandir}/man8/eventlogadm.8* |
c6a4fcd1 | 908 | %{_mandir}/man8/nmbd.8* |
3999f3d9 JR |
909 | %{_mandir}/man8/pdbedit.8* |
910 | %{_mandir}/man8/samba.8* | |
c6a4fcd1 JR |
911 | %{_mandir}/man8/smbd.8* |
912 | %{_mandir}/man8/smbpasswd.8* | |
913 | %{_mandir}/man8/smbta-util.8* | |
914 | %{_mandir}/man8/vfs_acl_tdb.8* | |
d7a7a298 | 915 | %{_mandir}/man8/vfs_acl_xattr.8* |
c6a4fcd1 JR |
916 | %{_mandir}/man8/vfs_aio_fork.8* |
917 | %{_mandir}/man8/vfs_aio_linux.8* | |
918 | %{_mandir}/man8/vfs_aio_pthread.8* | |
919 | %{_mandir}/man8/vfs_audit.8* | |
d7a7a298 | 920 | %{_mandir}/man8/vfs_btrfs.8* |
c6a4fcd1 JR |
921 | %{_mandir}/man8/vfs_cap.8* |
922 | %{_mandir}/man8/vfs_catia.8* | |
923 | %{_mandir}/man8/vfs_commit.8* | |
924 | %{_mandir}/man8/vfs_crossrename.8* | |
925 | %{_mandir}/man8/vfs_default_quota.8* | |
926 | %{_mandir}/man8/vfs_dirsort.8* | |
927 | %{_mandir}/man8/vfs_extd_audit.8* | |
928 | %{_mandir}/man8/vfs_fake_perms.8* | |
d7a7a298 | 929 | %{_mandir}/man8/vfs_fileid.8* |
c6a4fcd1 JR |
930 | %{_mandir}/man8/vfs_full_audit.8* |
931 | %{_mandir}/man8/vfs_linux_xfs_sgid.8* | |
932 | %{_mandir}/man8/vfs_media_harmony.8* | |
933 | %{_mandir}/man8/vfs_netatalk.8* | |
934 | %{_mandir}/man8/vfs_preopen.8* | |
935 | %{_mandir}/man8/vfs_readahead.8* | |
936 | %{_mandir}/man8/vfs_readonly.8* | |
937 | %{_mandir}/man8/vfs_recycle.8* | |
938 | %{_mandir}/man8/vfs_scannedonly.8* | |
939 | %{_mandir}/man8/vfs_shadow_copy2.8* | |
940 | %{_mandir}/man8/vfs_shadow_copy.8* | |
941 | %{_mandir}/man8/vfs_smb_traffic_analyzer.8* | |
942 | %{_mandir}/man8/vfs_streams_depot.8* | |
943 | %{_mandir}/man8/vfs_streams_xattr.8* | |
944 | %{_mandir}/man8/vfs_syncops.8* | |
945 | %{_mandir}/man8/vfs_time_audit.8* | |
d7a7a298 | 946 | %{_mandir}/man8/vfs_xattr_tdb.8* |
c6a4fcd1 | 947 | |
3999f3d9 JR |
948 | %dir %{_sambahome} |
949 | %dir /var/lib/samba | |
950 | %ghost /var/lib/samba/*.dat | |
951 | %dir /var/lib/samba/printing | |
952 | ||
953 | %attr(750,root,root) %dir /var/log/samba | |
954 | %attr(750,root,root) %dir /var/log/samba/cores | |
955 | %attr(750,root,root) %dir /var/log/samba/cores/smbd | |
956 | %attr(750,root,root) %dir /var/log/samba/cores/nmbd | |
957 | %attr(750,root,root) %dir /var/log/archive/samba | |
958 | %attr(1777,root,root) %dir /var/spool/samba | |
959 | ||
c38c2d9d | 960 | %files vfs-ceph |
2eedd257 | 961 | %defattr(644,root,root,755) |
c38c2d9d JB |
962 | %attr(755,root,root) %{_libdir}/samba/vfs/ceph.so |
963 | ||
964 | %files vfs-glusterfs | |
965 | %defattr(644,root,root,755) | |
966 | %attr(755,root,root) %{_libdir}/samba/vfs/glusterfs.so | |
967 | ||
968 | %files vfs-notify_fam | |
969 | %defattr(644,root,root,755) | |
970 | %attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so | |
971 | %{_mandir}/man8/vfs_notify_fam.8* | |
ac6f9d13 | 972 | |
ac6f9d13 | 973 | %files common |
2eedd257 | 974 | %defattr(644,root,root,755) |
2e711b12 | 975 | %doc README WHATSNEW.txt Roadmap |
5a89b1cc JR |
976 | %dir %{_sysconfdir}/samba |
977 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf | |
978 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts | |
ee92e647 JR |
979 | %attr(755,root,root) %{_bindir}/dbwrap_tool |
980 | %attr(755,root,root) %{_bindir}/net | |
981 | %attr(755,root,root) %{_bindir}/nmblookup | |
982 | %attr(755,root,root) %{_bindir}/nmblookup4 | |
983 | %attr(755,root,root) %{_bindir}/reg* | |
89730013 | 984 | %attr(755,root,root) %{_bindir}/samba-regedit |
c083eea8 | 985 | %attr(755,root,root) %{_bindir}/samba-tool |
ee92e647 | 986 | %attr(755,root,root) %{_bindir}/smbpasswd |
4f12cc62 JR |
987 | %attr(755,root,root) %{_bindir}/testparm |
988 | %attr(755,root,root) %{_bindir}/vfstest | |
5a89b1cc JR |
989 | %dir %{_libdir}/samba/auth |
990 | %attr(755,root,root) %{_libdir}/samba/auth/script.so | |
991 | %attr(755,root,root) %{_libdir}/samba/auth/samba4.so | |
d7a7a298 JR |
992 | %dir %{_datadir}/samba |
993 | %dir %{_datadir}/samba/codepages | |
994 | %{_datadir}/samba/codepages/lowcase.dat | |
995 | %{_datadir}/samba/codepages/upcase.dat | |
996 | %{_datadir}/samba/codepages/valid.dat | |
997 | %{_mandir}/man1/dbwrap_tool.1* | |
998 | %{_mandir}/man1/nmblookup.1* | |
999 | %{_mandir}/man1/nmblookup4.1* | |
1000 | %{_mandir}/man1/reg*.1* | |
1001 | %{_mandir}/man1/testparm.1* | |
1002 | %{_mandir}/man1/vfstest.1* | |
1003 | %{_mandir}/man5/lmhosts.5* | |
1004 | %{_mandir}/man5/smb.conf.5* | |
1005 | %{_mandir}/man5/smbpasswd.5* | |
1006 | %{_mandir}/man7/samba.7* | |
1007 | %{_mandir}/man8/net.8* | |
1008 | %{_mandir}/man8/samba-regedit.8* | |
1009 | %{_mandir}/man8/samba-tool.8* | |
1010 | ||
1011 | %if %{without system_libs} | |
1012 | %attr(755,root,root) %{_bindir}/ntdbbackup | |
1013 | %attr(755,root,root) %{_bindir}/ntdbdump | |
1014 | %attr(755,root,root) %{_bindir}/ntdbrestore | |
1015 | %attr(755,root,root) %{_bindir}/ntdbtool | |
1016 | %attr(755,root,root) %{_bindir}/tdbbackup | |
1017 | %attr(755,root,root) %{_bindir}/tdbdump | |
1018 | %attr(755,root,root) %{_bindir}/tdbtool | |
1019 | %attr(755,root,root) %{_libdir}/samba/libntdb.so.* | |
1020 | %attr(755,root,root) %{_libdir}/samba/libtalloc.so.* | |
1021 | %attr(755,root,root) %{_libdir}/samba/libtdb.so.* | |
1022 | %{_mandir}/man8/ntdbbackup.8* | |
1023 | %{_mandir}/man8/ntdbdump.8* | |
1024 | %{_mandir}/man8/ntdbrestore.8* | |
1025 | %{_mandir}/man8/ntdbtool.8* | |
1026 | %{_mandir}/man8/tdbbackup.8* | |
1027 | %{_mandir}/man8/tdbdump.8* | |
1028 | %{_mandir}/man8/tdbtool.8* | |
1029 | %endif | |
1030 | ||
c38c2d9d JB |
1031 | %files client |
1032 | %defattr(644,root,root,755) | |
1033 | %attr(755,root,root) %{_bindir}/cifsdd | |
1034 | %attr(755,root,root) %{_bindir}/rpcclient | |
1035 | %attr(755,root,root) %{_bindir}/smbcacls | |
1036 | %attr(755,root,root) %{_bindir}/smbclient | |
1037 | %attr(755,root,root) %{_bindir}/smbclient4 | |
1038 | %attr(755,root,root) %{_bindir}/smbcquotas | |
1039 | %attr(755,root,root) %{_bindir}/smbtar | |
1040 | %attr(755,root,root) %{_bindir}/smbtree | |
1041 | %{_mandir}/man1/findsmb.1* | |
1042 | %{_mandir}/man1/rpcclient.1* | |
1043 | %{_mandir}/man1/smbcacls.1* | |
1044 | %{_mandir}/man1/smbclient.1* | |
1045 | %{_mandir}/man1/smbcquotas.1* | |
1046 | %{_mandir}/man1/smbtar.1* | |
1047 | %{_mandir}/man1/smbtree.1* | |
1048 | ||
1049 | %files winbind | |
1050 | %defattr(644,root,root,755) | |
1051 | %attr(754,root,root) /etc/rc.d/init.d/winbind | |
1052 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind | |
1053 | %{systemdunitdir}/winbind.service | |
1054 | %attr(755,root,root) %{_bindir}/ntlm_auth | |
1055 | %attr(755,root,root) %{_bindir}/wbinfo | |
1056 | %attr(755,root,root) %{_sbindir}/winbindd | |
1057 | %attr(755,root,root) /%{_lib}/security/pam_winbind.so | |
1058 | %attr(755,root,root) /%{_lib}/libnss_winbind.so* | |
1059 | %attr(755,root,root) %{_libdir}/winbind_krb5_locator.so | |
1060 | %attr(755,root,root) %{_libdir}/samba/libidmap.so | |
1061 | %attr(755,root,root) %{_libdir}/samba/libnss_info.so | |
1062 | %attr(755,root,root) %{_libdir}/samba/libiniparser.so | |
1063 | %dir %{_libdir}/samba/idmap | |
1064 | %attr(755,root,root) %{_libdir}/samba/idmap/ad.so | |
1065 | %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so | |
1066 | %attr(755,root,root) %{_libdir}/samba/idmap/hash.so | |
1067 | %attr(755,root,root) %{_libdir}/samba/idmap/ldap.so | |
1068 | %attr(755,root,root) %{_libdir}/samba/idmap/rfc2307.so | |
1069 | %attr(755,root,root) %{_libdir}/samba/idmap/rid.so | |
1070 | %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so | |
1071 | %dir %{_libdir}/samba/nss_info | |
1072 | %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so | |
1073 | %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so | |
1074 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so | |
1075 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so | |
1076 | %{_mandir}/man1/ntlm_auth.1* | |
1077 | %{_mandir}/man1/wbinfo*.1* | |
1078 | %{_mandir}/man5/pam_winbind.conf.5* | |
1079 | %{_mandir}/man7/winbind_krb5_locator.7* | |
1080 | %{_mandir}/man8/idmap_ad.8* | |
1081 | %{_mandir}/man8/idmap_autorid.8* | |
1082 | %{_mandir}/man8/idmap_hash.8* | |
1083 | %{_mandir}/man8/idmap_ldap.8* | |
1084 | %{_mandir}/man8/idmap_nss.8* | |
1085 | %{_mandir}/man8/idmap_rfc2307.8* | |
1086 | %{_mandir}/man8/idmap_rid.8* | |
1087 | %{_mandir}/man8/idmap_tdb2.8* | |
1088 | %{_mandir}/man8/idmap_tdb.8* | |
1089 | %{_mandir}/man8/pam_winbind.8* | |
1090 | %{_mandir}/man8/winbindd*.8* | |
1091 | ||
1092 | %if %{with cups} | |
1093 | %files -n cups-backend-smb | |
1094 | %defattr(644,root,root,755) | |
1095 | %attr(755,root,root) %{cups_serverbin}/backend/smb | |
1096 | %attr(755,root,root) %{_bindir}/smbspool | |
1097 | %{_mandir}/man8/smbspool.8* | |
1098 | %endif | |
1099 | ||
1100 | %files -n nss_wins | |
1101 | %defattr(644,root,root,755) | |
1102 | %attr(755,root,root) /%{_lib}/libnss_wins.so* | |
1103 | ||
1104 | %files -n pam-pam_smbpass | |
1105 | %defattr(644,root,root,755) | |
1106 | %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples | |
1107 | %attr(755,root,root) /%{_lib}/security/pam_smbpass.so | |
1108 | ||
1109 | %files -n smbget | |
1110 | %defattr(644,root,root,755) | |
1111 | %attr(755,root,root) %{_bindir}/smbget | |
1112 | %{_mandir}/man1/smbget.1* | |
1113 | %{_mandir}/man5/smbgetrc.5* | |
1114 | ||
d7a7a298 JR |
1115 | %files libs |
1116 | %defattr(644,root,root,755) | |
17dffdb7 JR |
1117 | %if "%{_lib}" == "lib64" |
1118 | /etc/ld.so.conf.d/samba64.conf | |
1119 | %else | |
d7a7a298 | 1120 | /etc/ld.so.conf.d/samba.conf |
17dffdb7 | 1121 | %endif |
e4310f27 JR |
1122 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so.*.*.* |
1123 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-atsvc.so.0 | |
8e43bad6 JR |
1124 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.* |
1125 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0 | |
0b940f4e JR |
1126 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.* |
1127 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0 | |
8e43bad6 JR |
1128 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.* |
1129 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0 | |
d7a7a298 JR |
1130 | %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.* |
1131 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0 | |
8e43bad6 JR |
1132 | %attr(755,root,root) %{_libdir}/libgensec.so.*.*.* |
1133 | %attr(755,root,root) %ghost %{_libdir}/libgensec.so.0 | |
d7a7a298 JR |
1134 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.* |
1135 | %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0 | |
8e43bad6 JR |
1136 | %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.* |
1137 | %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0 | |
1138 | %attr(755,root,root) %{_libdir}/libndr.so.*.*.* | |
1139 | %attr(755,root,root) %ghost %{_libdir}/libndr.so.0 | |
8e43bad6 JR |
1140 | %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.* |
1141 | %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0 | |
d7a7a298 JR |
1142 | %attr(755,root,root) %{_libdir}/libregistry.so.*.*.* |
1143 | %attr(755,root,root) %ghost %{_libdir}/libregistry.so.0 | |
8e43bad6 JR |
1144 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.* |
1145 | %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0 | |
1146 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.* | |
1147 | %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0 | |
d7a7a298 JR |
1148 | %attr(755,root,root) %{_libdir}/libsamba-policy.so.*.*.* |
1149 | %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.so.0 | |
4d036a87 JR |
1150 | %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.* |
1151 | %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0 | |
8e43bad6 JR |
1152 | %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.* |
1153 | %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0 | |
4d036a87 JR |
1154 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so.*.*.* |
1155 | %attr(755,root,root) %ghost %{_libdir}/libsmbclient-raw.so.0 | |
8e43bad6 JR |
1156 | %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.* |
1157 | %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0 | |
1158 | %attr(755,root,root) %{_libdir}/libnetapi.so.0 | |
1159 | %attr(755,root,root) %{_libdir}/libpdb.so.0 | |
4d036a87 | 1160 | %attr(755,root,root) %{_libdir}/libsmbconf.so.0 |
8e43bad6 | 1161 | %attr(755,root,root) %{_libdir}/libsmbldap.so.0 |
d7a7a298 | 1162 | %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.0 |
4d036a87 | 1163 | %dir %{_libdir}/samba |
4d036a87 | 1164 | %attr(755,root,root) %{_libdir}/samba/libaddns.so |
8e43bad6 | 1165 | %attr(755,root,root) %{_libdir}/samba/libads.so |
4d036a87 | 1166 | %attr(755,root,root) %{_libdir}/samba/libasn1util.so |
8e43bad6 | 1167 | %attr(755,root,root) %{_libdir}/samba/libauth4.so |
4f12cc62 | 1168 | %attr(755,root,root) %{_libdir}/samba/libauthkrb5.so |
4d036a87 | 1169 | %attr(755,root,root) %{_libdir}/samba/libauth_sam_reply.so |
4f12cc62 | 1170 | %attr(755,root,root) %{_libdir}/samba/libauth.so |
8e43bad6 | 1171 | %attr(755,root,root) %{_libdir}/samba/libauth_unix_token.so |
4f12cc62 JR |
1172 | %attr(755,root,root) %{_libdir}/samba/libCHARSET3.so |
1173 | %attr(755,root,root) %{_libdir}/samba/libcliauth.so | |
1174 | %attr(755,root,root) %{_libdir}/samba/libcli_cldap.so | |
8e43bad6 JR |
1175 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common.so |
1176 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap.so | |
4d036a87 | 1177 | %attr(755,root,root) %{_libdir}/samba/libcli-nbt.so |
8e43bad6 JR |
1178 | %attr(755,root,root) %{_libdir}/samba/libcli_smb_common.so |
1179 | %attr(755,root,root) %{_libdir}/samba/libcli_spoolss.so | |
8e43bad6 JR |
1180 | %attr(755,root,root) %{_libdir}/samba/libcluster.so |
1181 | %attr(755,root,root) %{_libdir}/samba/libcmdline-credentials.so | |
d7a7a298 | 1182 | %attr(755,root,root) %{_libdir}/samba/libdb-glue.so |
4d036a87 | 1183 | %attr(755,root,root) %{_libdir}/samba/libdbwrap.so |
8e43bad6 | 1184 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so |
4f12cc62 | 1185 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba.so |
8e43bad6 | 1186 | %attr(755,root,root) %{_libdir}/samba/libdfs_server_ad.so |
d7a7a298 | 1187 | %attr(755,root,root) %{_libdir}/samba/libdsdb-module.so |
4d036a87 | 1188 | %attr(755,root,root) %{_libdir}/samba/liberrors.so |
8e43bad6 JR |
1189 | %attr(755,root,root) %{_libdir}/samba/libevents.so |
1190 | %attr(755,root,root) %{_libdir}/samba/libflag_mapping.so | |
d7a7a298 | 1191 | %attr(755,root,root) %{_libdir}/samba/libgpo.so |
8e43bad6 | 1192 | %attr(755,root,root) %{_libdir}/samba/libgse.so |
d7a7a298 | 1193 | %attr(755,root,root) %{_libdir}/samba/libHDB_SAMBA4.so |
4d036a87 JR |
1194 | %attr(755,root,root) %{_libdir}/samba/libinterfaces.so |
1195 | %attr(755,root,root) %{_libdir}/samba/libkrb5samba.so | |
4d036a87 | 1196 | %attr(755,root,root) %{_libdir}/samba/libldbsamba.so |
8e43bad6 JR |
1197 | %attr(755,root,root) %{_libdir}/samba/liblibcli_lsa3.so |
1198 | %attr(755,root,root) %{_libdir}/samba/liblibcli_netlogon3.so | |
1199 | %attr(755,root,root) %{_libdir}/samba/liblibsmb.so | |
4f12cc62 JR |
1200 | %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT_OLD.so |
1201 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING.so | |
8e43bad6 | 1202 | %attr(755,root,root) %{_libdir}/samba/libmsrpc3.so |
8e43bad6 | 1203 | %attr(755,root,root) %{_libdir}/samba/libndr-samba4.so |
4f12cc62 | 1204 | %attr(755,root,root) %{_libdir}/samba/libndr-samba.so |
8e43bad6 | 1205 | %attr(755,root,root) %{_libdir}/samba/libnetif.so |
d7a7a298 | 1206 | %attr(755,root,root) %{_libdir}/samba/libnet_keytab.so |
89730013 | 1207 | %attr(755,root,root) %{_libdir}/samba/libnon_posix_acls.so |
8e43bad6 | 1208 | %attr(755,root,root) %{_libdir}/samba/libnpa_tstream.so |
7f7b5c36 | 1209 | %attr(755,root,root) %{_libdir}/samba/libntvfs.so |
d7a7a298 | 1210 | %attr(755,root,root) %{_libdir}/samba/libpac.so |
4f12cc62 | 1211 | %attr(755,root,root) %{_libdir}/samba/libpopt_samba3.so |
8e43bad6 JR |
1212 | %attr(755,root,root) %{_libdir}/samba/libposix_eadb.so |
1213 | %attr(755,root,root) %{_libdir}/samba/libprinting_migrate.so | |
7f7b5c36 | 1214 | %attr(755,root,root) %{_libdir}/samba/libprocess_model.so |
4f12cc62 | 1215 | %attr(755,root,root) %{_libdir}/samba/libsamba3-util.so |
4d036a87 | 1216 | %attr(755,root,root) %{_libdir}/samba/libsamba-modules.so |
d7a7a298 JR |
1217 | %attr(755,root,root) %{_libdir}/samba/libsamba-net.so |
1218 | %attr(755,root,root) %{_libdir}/samba/libsamba_python.so | |
4d036a87 JR |
1219 | %attr(755,root,root) %{_libdir}/samba/libsamba-security.so |
1220 | %attr(755,root,root) %{_libdir}/samba/libsamba-sockets.so | |
4d036a87 | 1221 | %attr(755,root,root) %{_libdir}/samba/libsamdb-common.so |
8e43bad6 | 1222 | %attr(755,root,root) %{_libdir}/samba/libsecrets3.so |
4d036a87 | 1223 | %attr(755,root,root) %{_libdir}/samba/libserver-role.so |
7f7b5c36 JR |
1224 | %attr(755,root,root) %{_libdir}/samba/libservice.so |
1225 | %attr(755,root,root) %{_libdir}/samba/libshares.so | |
4d036a87 | 1226 | %attr(755,root,root) %{_libdir}/samba/libsmbd_base.so |
4d036a87 JR |
1227 | %attr(755,root,root) %{_libdir}/samba/libsmbd_conn.so |
1228 | %attr(755,root,root) %{_libdir}/samba/libsmbd_shim.so | |
5a89b1cc | 1229 | %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper.so |
8e43bad6 JR |
1230 | %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser.so |
1231 | %attr(755,root,root) %{_libdir}/samba/libsmbregistry.so | |
4f12cc62 | 1232 | %attr(755,root,root) %{_libdir}/samba/libsmb_transport.so |
4d036a87 | 1233 | %attr(755,root,root) %{_libdir}/samba/libtdb_compat.so |
4f12cc62 JR |
1234 | %attr(755,root,root) %{_libdir}/samba/libtdb-wrap.so |
1235 | %attr(755,root,root) %{_libdir}/samba/libtrusts_util.so | |
8e43bad6 | 1236 | %attr(755,root,root) %{_libdir}/samba/libutil_cmdline.so |
89730013 | 1237 | %attr(755,root,root) %{_libdir}/samba/libutil_ntdb.so |
4d036a87 JR |
1238 | %attr(755,root,root) %{_libdir}/samba/libutil_reg.so |
1239 | %attr(755,root,root) %{_libdir}/samba/libutil_setid.so | |
1240 | %attr(755,root,root) %{_libdir}/samba/libutil_tdb.so | |
8e43bad6 | 1241 | %attr(755,root,root) %{_libdir}/samba/libxattr_tdb.so |
e71e0470 | 1242 | |
f2b0247b ER |
1243 | %files devel |
1244 | %defattr(644,root,root,755) | |
f1c7ad61 JR |
1245 | %{_includedir}/samba-4.0/charset.h |
1246 | %dir %{_includedir}/samba-4.0/core | |
1247 | %{_includedir}/samba-4.0/core/doserr.h | |
1248 | %{_includedir}/samba-4.0/core/error.h | |
1249 | %{_includedir}/samba-4.0/core/ntstatus.h | |
1250 | %{_includedir}/samba-4.0/core/werror.h | |
1251 | %{_includedir}/samba-4.0/credentials.h | |
1252 | %{_includedir}/samba-4.0/dcerpc.h | |
1253 | %{_includedir}/samba-4.0/dcerpc_server.h | |
1254 | %{_includedir}/samba-4.0/dlinklist.h | |
1255 | %{_includedir}/samba-4.0/domain_credentials.h | |
1256 | %dir %{_includedir}/samba-4.0/gen_ndr | |
1257 | %{_includedir}/samba-4.0/gen_ndr/atsvc.h | |
1258 | %{_includedir}/samba-4.0/gen_ndr/auth.h | |
1259 | %{_includedir}/samba-4.0/gen_ndr/dcerpc.h | |
8e43bad6 JR |
1260 | %{_includedir}/samba-4.0/gen_ndr/drsblobs.h |
1261 | %{_includedir}/samba-4.0/gen_ndr/drsuapi.h | |
f1c7ad61 JR |
1262 | %{_includedir}/samba-4.0/gen_ndr/epmapper.h |
1263 | %{_includedir}/samba-4.0/gen_ndr/krb5pac.h | |
1264 | %{_includedir}/samba-4.0/gen_ndr/lsa.h | |
1265 | %{_includedir}/samba-4.0/gen_ndr/mgmt.h | |
1266 | %{_includedir}/samba-4.0/gen_ndr/misc.h | |
1267 | %{_includedir}/samba-4.0/gen_ndr/nbt.h | |
f1c7ad61 | 1268 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h |
8e43bad6 | 1269 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h |
f1c7ad61 | 1270 | %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h |
8e43bad6 JR |
1271 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h |
1272 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h | |
f1c7ad61 | 1273 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h |
8e43bad6 | 1274 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h |
f1c7ad61 | 1275 | %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h |
f1c7ad61 | 1276 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h |
8e43bad6 | 1277 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h |
f1c7ad61 JR |
1278 | %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h |
1279 | %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h | |
f1c7ad61 | 1280 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h |
8e43bad6 | 1281 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h |
f1c7ad61 | 1282 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h |
8e43bad6 | 1283 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h |
f1c7ad61 JR |
1284 | %{_includedir}/samba-4.0/gen_ndr/netlogon.h |
1285 | %{_includedir}/samba-4.0/gen_ndr/samr.h | |
1286 | %{_includedir}/samba-4.0/gen_ndr/security.h | |
1287 | %{_includedir}/samba-4.0/gen_ndr/server_id.h | |
1288 | %{_includedir}/samba-4.0/gen_ndr/svcctl.h | |
1289 | %{_includedir}/samba-4.0/gensec.h | |
8e43bad6 | 1290 | %{_includedir}/samba-4.0/ldap-util.h |
f1c7ad61 JR |
1291 | %{_includedir}/samba-4.0/ldap_errors.h |
1292 | %{_includedir}/samba-4.0/ldap_message.h | |
1293 | %{_includedir}/samba-4.0/ldap_ndr.h | |
f1c7ad61 JR |
1294 | %{_includedir}/samba-4.0/ldb_wrap.h |
1295 | %{_includedir}/samba-4.0/ndr.h | |
1296 | %dir %{_includedir}/samba-4.0/ndr | |
8e43bad6 JR |
1297 | %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h |
1298 | %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h | |
f1c7ad61 JR |
1299 | %{_includedir}/samba-4.0/ndr/ndr_nbt.h |
1300 | %{_includedir}/samba-4.0/ndr/ndr_svcctl.h | |
1301 | %{_includedir}/samba-4.0/param.h | |
1302 | %{_includedir}/samba-4.0/policy.h | |
8e43bad6 | 1303 | %{_includedir}/samba-4.0/read_smb.h |
f1c7ad61 JR |
1304 | %{_includedir}/samba-4.0/registry.h |
1305 | %{_includedir}/samba-4.0/roles.h | |
1306 | %{_includedir}/samba-4.0/rpc_common.h | |
1307 | %dir %{_includedir}/samba-4.0/samba | |
1308 | %{_includedir}/samba-4.0/samba/session.h | |
f1c7ad61 | 1309 | %{_includedir}/samba-4.0/samba/version.h |
8e43bad6 | 1310 | %{_includedir}/samba-4.0/samba_util.h |
f1c7ad61 | 1311 | %{_includedir}/samba-4.0/share.h |
8e43bad6 JR |
1312 | %{_includedir}/samba-4.0/smb2.h |
1313 | %{_includedir}/samba-4.0/smb2_constants.h | |
1314 | %{_includedir}/samba-4.0/smb2_create_blob.h | |
89730013 | 1315 | %{_includedir}/samba-4.0/smb2_lease.h |
8e43bad6 JR |
1316 | %{_includedir}/samba-4.0/smb2_signing.h |
1317 | %{_includedir}/samba-4.0/smb_cli.h | |
1318 | %{_includedir}/samba-4.0/smb_cliraw.h | |
1319 | %{_includedir}/samba-4.0/smb_common.h | |
1320 | %{_includedir}/samba-4.0/smb_composite.h | |
1321 | %{_includedir}/samba-4.0/smb_constants.h | |
1322 | %{_includedir}/samba-4.0/smb_raw.h | |
1323 | %{_includedir}/samba-4.0/smb_raw_interfaces.h | |
1324 | %{_includedir}/samba-4.0/smb_raw_signing.h | |
1325 | %{_includedir}/samba-4.0/smb_raw_trans2.h | |
1326 | %{_includedir}/samba-4.0/smb_request.h | |
1327 | %{_includedir}/samba-4.0/smb_seal.h | |
1328 | %{_includedir}/samba-4.0/smb_signing.h | |
1329 | %{_includedir}/samba-4.0/smb_unix_ext.h | |
1330 | %{_includedir}/samba-4.0/smb_util.h | |
f1c7ad61 JR |
1331 | %{_includedir}/samba-4.0/tdr.h |
1332 | %{_includedir}/samba-4.0/tsocket.h | |
1333 | %{_includedir}/samba-4.0/tsocket_internal.h | |
1334 | %dir %{_includedir}/samba-4.0/util | |
1335 | %{_includedir}/samba-4.0/util/attr.h | |
1336 | %{_includedir}/samba-4.0/util/byteorder.h | |
1337 | %{_includedir}/samba-4.0/util/data_blob.h | |
1338 | %{_includedir}/samba-4.0/util/debug.h | |
f1c7ad61 JR |
1339 | %{_includedir}/samba-4.0/util/memory.h |
1340 | %{_includedir}/samba-4.0/util/safe_string.h | |
1341 | %{_includedir}/samba-4.0/util/string_wrappers.h | |
1342 | %{_includedir}/samba-4.0/util/talloc_stack.h | |
1343 | %{_includedir}/samba-4.0/util/tevent_ntstatus.h | |
1344 | %{_includedir}/samba-4.0/util/tevent_unix.h | |
1345 | %{_includedir}/samba-4.0/util/tevent_werror.h | |
1346 | %{_includedir}/samba-4.0/util/time.h | |
1347 | %{_includedir}/samba-4.0/util/xfile.h | |
8e43bad6 | 1348 | %{_includedir}/samba-4.0/util_ldb.h |
31de16f4 JR |
1349 | %{_includedir}/samba-4.0/lookup_sid.h |
1350 | %{_includedir}/samba-4.0/machine_sid.h | |
1351 | %{_includedir}/samba-4.0/netapi.h | |
1352 | %{_includedir}/samba-4.0/passdb.h | |
1353 | %{_includedir}/samba-4.0/smbconf.h | |
1354 | %{_includedir}/samba-4.0/smb_ldap.h | |
1355 | %{_includedir}/samba-4.0/smbldap.h | |
1356 | %{_includedir}/samba-4.0/smb_share_modes.h | |
8e43bad6 JR |
1357 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so |
1358 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so | |
1359 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so | |
1360 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so | |
1361 | %attr(755,root,root) %{_libdir}/libdcerpc.so | |
1362 | %attr(755,root,root) %{_libdir}/libgensec.so | |
1363 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so | |
1364 | %attr(755,root,root) %{_libdir}/libndr-nbt.so | |
8e43bad6 | 1365 | %attr(755,root,root) %{_libdir}/libndr.so |
31de16f4 JR |
1366 | %attr(755,root,root) %{_libdir}/libndr-standard.so |
1367 | %attr(755,root,root) %{_libdir}/libnetapi.so | |
1368 | %attr(755,root,root) %{_libdir}/libpdb.so | |
8e43bad6 JR |
1369 | %attr(755,root,root) %{_libdir}/libregistry.so |
1370 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so | |
1371 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so | |
1372 | %attr(755,root,root) %{_libdir}/libsamba-policy.so | |
1373 | %attr(755,root,root) %{_libdir}/libsamba-util.so | |
1374 | %attr(755,root,root) %{_libdir}/libsamdb.so | |
e98238cc | 1375 | %attr(755,root,root) %{_libdir}/libsmbsharemodes.so |
8e43bad6 JR |
1376 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so |
1377 | %attr(755,root,root) %{_libdir}/libsmbconf.so | |
31de16f4 | 1378 | %attr(755,root,root) %{_libdir}/libsmbldap.so |
8e43bad6 | 1379 | %attr(755,root,root) %{_libdir}/libtevent-util.so |
f1c7ad61 | 1380 | %{_pkgconfigdir}/dcerpc.pc |
8e43bad6 | 1381 | %{_pkgconfigdir}/dcerpc_atsvc.pc |
05913998 JR |
1382 | %{_pkgconfigdir}/dcerpc_samr.pc |
1383 | %{_pkgconfigdir}/dcerpc_server.pc | |
1384 | %{_pkgconfigdir}/gensec.pc | |
8e43bad6 | 1385 | %{_pkgconfigdir}/ndr.pc |
05913998 JR |
1386 | %{_pkgconfigdir}/ndr_krb5pac.pc |
1387 | %{_pkgconfigdir}/ndr_nbt.pc | |
1388 | %{_pkgconfigdir}/ndr_standard.pc | |
31de16f4 | 1389 | %{_pkgconfigdir}/netapi.pc |
05913998 JR |
1390 | %{_pkgconfigdir}/registry.pc |
1391 | %{_pkgconfigdir}/samba-credentials.pc | |
1392 | %{_pkgconfigdir}/samba-hostconfig.pc | |
1393 | %{_pkgconfigdir}/samba-policy.pc | |
1394 | %{_pkgconfigdir}/samba-util.pc | |
1395 | %{_pkgconfigdir}/samdb.pc | |
e98238cc | 1396 | %{_pkgconfigdir}/smbsharemodes.pc |
4d036a87 | 1397 | %{_pkgconfigdir}/smbclient-raw.pc |
a9009cd3 | 1398 | %if %{without system_libs} |
89730013 | 1399 | %{_mandir}/man3/ntdb.3* |
a9009cd3 | 1400 | %endif |
4d036a87 | 1401 | |
382a477a JR |
1402 | %files pidl |
1403 | %defattr(644,root,root,755) | |
1404 | %attr(755,root,root) %{_bindir}/pidl | |
1405 | %{_mandir}/man1/pidl.1* | |
1406 | %{_mandir}/man3/Parse::Pidl*.3* | |
1407 | %{perl_vendorlib}/Parse/Pidl* | |
29511e6d | 1408 | |
025a78ca | 1409 | %files -n python-samba |
9f6f5df1 | 1410 | %defattr(644,root,root,755) |
c083eea8 JR |
1411 | %dir %{py_sitedir}/samba |
1412 | %attr(755,root,root) %{py_sitedir}/samba/*.so | |
1413 | %{py_sitedir}/samba/*.py[co] | |
1414 | %dir %{py_sitedir}/samba/dcerpc | |
1415 | %{py_sitedir}/samba/dcerpc/*.py[co] | |
1416 | %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so | |
1417 | %dir %{py_sitedir}/samba/external | |
1418 | %{py_sitedir}/samba/external/*.py[co] | |
1419 | %dir %{py_sitedir}/samba/external/subunit | |
1420 | %{py_sitedir}/samba/external/subunit/*.py[co] | |
1421 | %dir %{py_sitedir}/samba/external/subunit/tests | |
1422 | %{py_sitedir}/samba/external/subunit/tests/*.py[co] | |
1423 | %dir %{py_sitedir}/samba/netcmd | |
1424 | %{py_sitedir}/samba/netcmd/*.py[co] | |
1425 | %dir %{py_sitedir}/samba/provision | |
1426 | %{py_sitedir}/samba/provision/*.py[co] | |
6ed8d415 JR |
1427 | %dir %{py_sitedir}/samba/samba3 |
1428 | %attr(755,root,root) %{py_sitedir}/samba/samba3/*.so | |
1429 | %{py_sitedir}/samba/samba3/*.py[co] | |
c083eea8 JR |
1430 | %dir %{py_sitedir}/samba/tests |
1431 | %{py_sitedir}/samba/tests/*.py[co] | |
1432 | %dir %{py_sitedir}/samba/tests/blackbox | |
1433 | %{py_sitedir}/samba/tests/blackbox/*.py[co] | |
1434 | %dir %{py_sitedir}/samba/tests/samba_tool | |
1435 | %{py_sitedir}/samba/tests/samba_tool/*.py[co] | |
1436 | %dir %{py_sitedir}/samba/tests/dcerpc | |
1437 | %{py_sitedir}/samba/tests/dcerpc/*.py[co] | |
1438 | %dir %{py_sitedir}/samba/web_server | |
1439 | %{py_sitedir}/samba/web_server/*.py[co] | |
1440 | %if %{without system_libs} | |
ef67314f | 1441 | %attr(755,root,root) %{py_sitedir}/ldb.so |
a9009cd3 | 1442 | %attr(755,root,root) %{py_sitedir}/ntdb.so |
ef67314f JB |
1443 | %attr(755,root,root) %{py_sitedir}/talloc.so |
1444 | %attr(755,root,root) %{py_sitedir}/tdb.so | |
1445 | %attr(755,root,root) %{py_sitedir}/_tevent.so | |
c083eea8 | 1446 | %{py_sitedir}/tevent.py[co] |
fd9d8b85 | 1447 | %endif |
70ff6d03 | 1448 | |
c083eea8 | 1449 | %files test |
d1f5710a | 1450 | %defattr(644,root,root,755) |
c083eea8 JR |
1451 | %attr(755,root,root) %{_bindir}/gentest |
1452 | %attr(755,root,root) %{_bindir}/locktest | |
1453 | %attr(755,root,root) %{_bindir}/masktest | |
1454 | %attr(755,root,root) %{_bindir}/ndrdump | |
1455 | %attr(755,root,root) %{_bindir}/smbtorture | |
1456 | %attr(755,root,root) %{_libdir}/libtorture.so.*.*.* | |
1457 | %attr(755,root,root) %ghost %{_libdir}/libtorture.so.0 | |
1458 | %attr(755,root,root) %{_libdir}/samba/libsubunit.so | |
1459 | %attr(755,root,root) %{_libdir}/samba/libdlz_bind9_for_torture.so | |
c083eea8 JR |
1460 | %{_mandir}/man1/gentest.1* |
1461 | %{_mandir}/man1/locktest.1* | |
1462 | %{_mandir}/man1/masktest.1* | |
1463 | %{_mandir}/man1/ndrdump.1* | |
1464 | %{_mandir}/man1/smbtorture.1* | |
d1f5710a | 1465 | |
c083eea8 | 1466 | %files test-devel |
4ecf4d28 | 1467 | %defattr(644,root,root,755) |
c083eea8 JR |
1468 | %attr(755,root,root) %{_libdir}/libtorture.so |
1469 | %{_includedir}/samba-4.0/torture.h | |
1470 | %{_pkgconfigdir}/torture.pc | |
4ecf4d28 | 1471 | |
fe5b5b93 | 1472 | %files -n libsmbclient |
382a477a JR |
1473 | %defattr(644,root,root,755) |
1474 | %attr(755,root,root) %{_libdir}/libsmbclient.so.* | |
382a477a | 1475 | %attr(755,root,root) %{_libdir}/libwbclient.so.* |
38ed5efa | 1476 | %attr(755,root,root) %{_libdir}/samba/libwinbind-client.so |
287950f2 | 1477 | %{_mandir}/man7/libsmbclient.7* |
382a477a | 1478 | |
fe5b5b93 | 1479 | %files -n libsmbclient-devel |
382a477a JR |
1480 | %defattr(644,root,root,755) |
1481 | %attr(755,root,root) %{_libdir}/libsmbclient.so | |
382a477a | 1482 | %attr(755,root,root) %{_libdir}/libwbclient.so |
5a89b1cc | 1483 | %dir %{_includedir}/samba-4.0 |
e98238cc JR |
1484 | %{_includedir}/samba-4.0/libsmbclient.h |
1485 | %{_includedir}/samba-4.0/wbclient.h | |
1486 | %{_pkgconfigdir}/smbclient.pc | |
1487 | %{_pkgconfigdir}/wbclient.pc | |
382a477a | 1488 | |
382a477a | 1489 | %if %{with ldap} |
025a78ca | 1490 | %files -n openldap-schema-samba |
382a477a | 1491 | %defattr(644,root,root,755) |
a3c4e78e | 1492 | %{schemadir}/samba.schema |
382a477a | 1493 | %endif |