]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without ads # without ActiveDirectory support | |
4 | %bcond_without cups # without CUPS support | |
5 | %bcond_without kerberos5 # without Kerberos V support | |
6 | %bcond_without ldap # without LDAP support | |
7 | %bcond_without avahi | |
8 | %bcond_without system_libs | |
9 | ||
10 | # ADS requires kerberos5 and LDAP | |
11 | %if %{without kerberos5} || %{without ldap} | |
12 | %undefine with_ads | |
13 | %endif | |
14 | ||
15 | %if %{with system_libs} | |
16 | %define talloc_ver 2.0.7 | |
17 | %define tdb_ver 2:1.2.10 | |
18 | %define ldb_ver 1.1.15 | |
19 | %define tevent_ver 0.9.17 | |
20 | %endif | |
21 | ||
22 | %define virusfilter_version 0.1.3 | |
23 | Summary: Active Directory server | |
24 | Summary(pl.UTF-8): Serwer Active Directory | |
25 | Name: samba4 | |
26 | Version: 4.0.3 | |
27 | Release: 0.6 | |
28 | Epoch: 1 | |
29 | License: GPL v3 | |
30 | Group: Networking/Daemons | |
31 | Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz | |
32 | # Source0-md5: fdb093fb362109dae0ccadc314318da7 | |
33 | Source1: smb.init | |
34 | Source2: samba.pamd | |
35 | Source3: swat.inetd | |
36 | Source4: samba.sysconfig | |
37 | Source5: samba.logrotate | |
38 | Source6: smb.conf | |
39 | Source7: winbind.init | |
40 | Source8: winbind.sysconfig | |
41 | Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2 | |
42 | # Source10-md5: a3a30d5fbf309d356e8c5833db680c17 | |
43 | Patch0: system-heimdal.patch | |
44 | Patch1: samba-c++-nofail.patch | |
45 | Patch3: samba-nscd.patch | |
46 | Patch4: samba-lprng-no-dot-printers.patch | |
47 | Patch5: samba-fam.patch | |
48 | URL: http://www.samba.org/ | |
49 | BuildRequires: acl-devel | |
50 | BuildRequires: autoconf | |
51 | BuildRequires: automake | |
52 | %{?with_avahi:BuildRequires: avahi-devel} | |
53 | BuildRequires: ctdb-devel | |
54 | %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0} | |
55 | BuildRequires: dmapi-devel | |
56 | BuildRequires: gamin-devel | |
57 | BuildRequires: gdbm-devel | |
58 | BuildRequires: gettext-devel | |
59 | %{?with_kerberos5:BuildRequires: heimdal-devel >= 1.5.3-1} | |
60 | BuildRequires: iconv | |
61 | BuildRequires: keyutils-devel | |
62 | BuildRequires: libcom_err-devel | |
63 | BuildRequires: libmagic-devel | |
64 | BuildRequires: libnscd-devel | |
65 | BuildRequires: libtool >= 2:1.4d | |
66 | BuildRequires: make >= 3.81 | |
67 | BuildRequires: ncurses-devel >= 5.2 | |
68 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} | |
69 | BuildRequires: openssl-devel >= 0.9.7d | |
70 | BuildRequires: pam-devel >= 0.99.8.1 | |
71 | BuildRequires: perl(ExtUtils::MakeMaker) | |
72 | BuildRequires: perl(Parse::Yapp) | |
73 | BuildRequires: pkgconfig | |
74 | BuildRequires: popt-devel | |
75 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
76 | BuildRequires: python-devel | |
77 | BuildRequires: python-dns | |
78 | BuildRequires: python-modules | |
79 | BuildRequires: python-testtools | |
80 | BuildRequires: readline-devel >= 4.2 | |
81 | BuildRequires: rpmbuild(macros) >= 1.647 | |
82 | BuildRequires: sed >= 4.0 | |
83 | %if %{with system_libs} | |
84 | BuildRequires: ldb-devel >= %{ldb_ver} | |
85 | BuildRequires: python-ldb-devel >= %{ldb_ver} | |
86 | BuildRequires: python-talloc-devel >= %{talloc_ver} | |
87 | BuildRequires: python-tevent >= %{tevent_ver} | |
88 | BuildRequires: talloc-devel >= %{talloc_ver} | |
89 | BuildRequires: tdb-devel >= %{tdb_ver} | |
90 | BuildRequires: tevent-devel >= %{tevent_ver} | |
91 | %endif | |
92 | BuildRequires: xfsprogs-devel | |
93 | BuildConflicts: libbsd-devel | |
94 | Requires(post,preun): /sbin/chkconfig | |
95 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
96 | Requires: %{name}-common-server = %{epoch}:%{version}-%{release} | |
97 | Requires: logrotate >= 3.7-4 | |
98 | Requires: pam >= 0.99.8.1 | |
99 | Requires: rc-scripts >= 0.4.0.12 | |
100 | Requires: setup >= 2.4.6-7 | |
101 | Requires: systemd-units >= 38 | |
102 | # smbd links with libcups | |
103 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} | |
104 | Obsoletes: samba-doc-html | |
105 | Obsoletes: samba-doc-pdf | |
106 | Obsoletes: samba-pdb-xml | |
107 | Obsoletes: samba-vfs-block | |
108 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
109 | ||
110 | %define _sambahome /home/services/samba | |
111 | %if %{with cups} | |
112 | %define cups_serverbin %{_prefix}/lib/cups | |
113 | %endif | |
114 | %define schemadir /usr/share/openldap/schema | |
115 | ||
116 | # CFLAGS modified (the second ./configure) | |
117 | %undefine configure_cache | |
118 | ||
119 | %description | |
120 | Samba provides an SMB server which can be used to provide network | |
121 | services to SMB (sometimes called "Lan Manager") clients, including | |
122 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
123 | also provides some SMB clients, which complement the built-in SMB | |
124 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
125 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
126 | ||
127 | This package contains main Active Directory server daemon. | |
128 | ||
129 | %description -l pl.UTF-8 | |
130 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
131 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
132 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
133 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
134 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
135 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
136 | haseł w standardzie MS i zarządzania bazą WINS. | |
137 | ||
138 | Then pakiet dostarcza główny demon Active Directory. | |
139 | ||
140 | %package client | |
141 | Summary: Samba AD client programs | |
142 | Summary(pl.UTF-8): Klienci serwera Samba AD | |
143 | Group: Applications/Networking | |
144 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
145 | %{?with_kerberos5:Requires: heimdal-libs >= 1.5.3-1} | |
146 | Requires: libsmbclient-raw = %{epoch}:%{version}-%{release} | |
147 | Suggests: cifs-utils | |
148 | Obsoletes: smbfs | |
149 | ||
150 | %description client | |
151 | Samba-client provides some SMB clients, which complement the build-in | |
152 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
153 | printing to SMB printers. | |
154 | ||
155 | %description client -l pl.UTF-8 | |
156 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
157 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
158 | drukowanie w sieci SMB. | |
159 | ||
160 | %package common | |
161 | Summary: Files used by both Samba servers and clients | |
162 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba | |
163 | Group: Networking/Daemons | |
164 | Requires: talloc >= %{talloc_ver} | |
165 | Requires: tdb >= %{tdb_ver} | |
166 | ||
167 | %description common | |
168 | Samba-common provides files necessary for both the server and client | |
169 | packages of Samba. | |
170 | ||
171 | %description common -l pl.UTF-8 | |
172 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i | |
173 | klientów Samby. | |
174 | ||
175 | %package common-server | |
176 | Summary: Files used by both Samba3 PDC and Samba4 AD servers | |
177 | Summary(pl.UTF-8): Pliki używane przez serwery Samba3 PDC i Samba4 AD | |
178 | Group: Networking/Daemons | |
179 | ||
180 | %description common-server | |
181 | Files used by both Samba3 PDC and Samba4 AD servers. | |
182 | ||
183 | %description common-server -l pl.UTF-8 | |
184 | Pliki używane przez serwery Samba3 PDC i Samba4 AD. | |
185 | ||
186 | %package winbind | |
187 | Summary: Samba-winbind daemon, utilities and documentation | |
188 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja | |
189 | Group: Networking/Daemons | |
190 | Requires(post,preun): /sbin/chkconfig | |
191 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
192 | ||
193 | %description winbind | |
194 | Provides the winbind daemon and testing tools to allow authentication | |
195 | and group/user enumeration from a Windows or Samba domain controller. | |
196 | ||
197 | %description winbind -l pl.UTF-8 | |
198 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
199 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
200 | Windows lub Samba. | |
201 | ||
202 | %package -n libsmbclient-raw | |
203 | Summary: libsmbclient-raw - samba client library | |
204 | Summary(pl.UTF-8): libsmbclient-raw - biblioteka klienta samby | |
205 | Group: Libraries | |
206 | ||
207 | %description -n libsmbclient-raw | |
208 | libsmbclient-raw - library that allows to use samba clients functions. | |
209 | ||
210 | %description -n libsmbclient-raw -l pl.UTF-8 | |
211 | libsmbclient-raw - biblioteka pozwalająca korzystać z funcji klienta | |
212 | samby. | |
213 | ||
214 | %package -n libsmbclient-raw-devel | |
215 | Summary: libsmbclient-raw - samba client library | |
216 | Summary(pl.UTF-8): libsmbclient-raw - biblioteka klienta samby | |
217 | Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba | |
218 | Group: Development/Libraries | |
219 | Requires: libsmbclient-raw = %{epoch}:%{version}-%{release} | |
220 | ||
221 | %description -n libsmbclient-raw-devel | |
222 | Header files for libsmbclient. | |
223 | ||
224 | %description -n libsmbclient-raw-devel -l pl.UTF-8 | |
225 | Pliki nagłówkowe dla libsmbclient-raw. | |
226 | ||
227 | %description -n libsmbclient-raw-devel -l pt_BR.UTF-8 | |
228 | Arquivos de inclusão, bibliotecas e documentação necessários para | |
229 | desenvolver aplicativos clientes para o samba. | |
230 | ||
231 | %package devel | |
232 | Summary: Header files for Samba | |
233 | Summary(pl.UTF-8): Pliki nagłówkowe Samby | |
234 | Group: Development/Libraries | |
235 | ||
236 | %description devel | |
237 | Header files for Samba. | |
238 | ||
239 | %description devel -l pl.UTF-8 | |
240 | Pliki nagłówkowe Samby. | |
241 | ||
242 | %package -n pam-pam_smbpass | |
243 | Summary: PAM Samba Password Module | |
244 | Summary(pl.UTF-8): Moduł PAM smbpass | |
245 | Group: Base | |
246 | Obsoletes: pam_smbpass | |
247 | ||
248 | %description -n pam-pam_smbpass | |
249 | PAM module which can be used on conforming systems to keep the | |
250 | smbpasswd (Samba password) database in sync with the Unix password | |
251 | file. | |
252 | ||
253 | %description -n pam-pam_smbpass -l pl.UTF-8 | |
254 | Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła | |
255 | Samby) zsynchronizowanego z hasłami uniksowymi. | |
256 | ||
257 | %package pidl | |
258 | Summary: Perl IDL compiler | |
259 | Group: Development/Tools | |
260 | Requires: perl(Parse::Yapp) | |
261 | ||
262 | %description pidl | |
263 | The samba4-pidl package contains the Perl IDL compiler used by Samba | |
264 | and Wireshark to parse IDL and similar protocols. | |
265 | ||
266 | %package -n python-samba4 | |
267 | Summary: Samba Module for Python | |
268 | Group: Development/Languages/Python | |
269 | %pyrequires_eq python | |
270 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
271 | Obsoletes: python-samba | |
272 | ||
273 | %description -n python-samba4 | |
274 | Samba Module for Python. | |
275 | ||
276 | %package test | |
277 | Summary: Testing tools for Samba servers and clients | |
278 | Group: Applications/System | |
279 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
280 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
281 | Requires: %{name}-winbind = %{epoch}:%{version}-%{release} | |
282 | ||
283 | %description test | |
284 | samba4-test provides testing tools for both the server and client | |
285 | packages of Samba. | |
286 | ||
287 | %package test-devel | |
288 | Summary: Testing devel files for Samba servers and clients | |
289 | Group: Applications/System | |
290 | Requires: %{name}-test = %{epoch}:%{version}-%{release} | |
291 | ||
292 | %description test-devel | |
293 | samba-test-devel provides testing devel files for both the server and | |
294 | client packages of Samba. | |
295 | ||
296 | %package -n samba3 | |
297 | Summary: SMB server | |
298 | Summary(pl.UTF-8): Serwer SMB | |
299 | Group: Networking/Daemons | |
300 | Requires(post,preun): /sbin/chkconfig | |
301 | Requires: samba3-common = %{epoch}:%{version}-%{release} | |
302 | Requires: %{name}-common-server = %{epoch}:%{version}-%{release} | |
303 | Requires: logrotate >= 3.7-4 | |
304 | Requires: pam >= 0.99.8.1 | |
305 | Requires: rc-scripts >= 0.4.0.12 | |
306 | Requires: setup >= 2.4.6-7 | |
307 | # smbd links with libcups | |
308 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} | |
309 | Obsoletes: samba-pdb-xml | |
310 | Obsoletes: samba-vfs-block | |
311 | ||
312 | %description -n samba3 | |
313 | Samba provides an SMB server which can be used to provide network | |
314 | services to SMB (sometimes called "Lan Manager") clients, including | |
315 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
316 | also provides some SMB clients, which complement the built-in SMB | |
317 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
318 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
319 | ||
320 | %description -l pl.UTF-8 | |
321 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
322 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
323 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
324 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
325 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
326 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
327 | haseł w standardzie MS i zarządzania bazą WINS. | |
328 | ||
329 | %package -n samba3-client | |
330 | Summary: Samba client programs | |
331 | Summary(pl.UTF-8): Klienci serwera Samba | |
332 | Group: Applications/Networking | |
333 | Requires: samba3-common = %{epoch}:%{version}-%{release} | |
334 | %{?with_kerberos5:Requires: heimdal-libs} | |
335 | Requires: samba3-libsmbclient = %{epoch}:%{version}-%{release} | |
336 | Obsoletes: smbfs | |
337 | Suggests: cifs-utils | |
338 | ||
339 | %description -n samba3-client | |
340 | Samba-client provides some SMB clients, which complement the build-in | |
341 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
342 | printing to SMB printers. | |
343 | ||
344 | %description client -l pl.UTF-8 | |
345 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
346 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
347 | drukowanie w sieci SMB. | |
348 | ||
349 | %package -n samba3-common | |
350 | Summary: Files used by both Samba servers and clients | |
351 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba | |
352 | Group: Networking/Daemons | |
353 | Requires: talloc >= %{libtalloc_ver} | |
354 | Requires: tdb >= %{libtdb_ver} | |
355 | ||
356 | %description -n samba3-common | |
357 | Samba-common provides files necessary for both the server and client | |
358 | packages of Samba. | |
359 | ||
360 | %description common -l pl.UTF-8 | |
361 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i | |
362 | klientów Samba. | |
363 | ||
364 | %package -n samba3-devel | |
365 | Summary: Header files for Samba | |
366 | Summary(pl.UTF-8): Pliki nagłówkowe Samby | |
367 | Group: Development/Libraries | |
368 | ||
369 | %description -n samba3-devel | |
370 | Header files for Samba. | |
371 | ||
372 | %description -n samba3-devel -l pl.UTF-8 | |
373 | Pliki nagłówkowe Samby. | |
374 | ||
375 | %package -n samba3-vfs-audit | |
376 | Summary: VFS module to audit file access | |
377 | Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach | |
378 | Group: Networking/Daemons | |
379 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
380 | ||
381 | %description -n samba3-vfs-audit | |
382 | A simple module to audit file access to the syslog facility. The | |
383 | following operations are logged: | |
384 | - share connect/disconnect, | |
385 | - directory opens/create/remove, | |
386 | - file open/close/rename/unlink/chmod. | |
387 | ||
388 | %description -n samba3-vfs-audit -l pl.UTF-8 | |
389 | Proste moduły do monitorowania dostępu do plików na serwerze samba do | |
390 | do sysloga. Monitorowane są następujące operacje: | |
391 | - podłączenie do/odłączenie od zasobu, | |
392 | - otwarcie/utworzenie/zmiana nazwy katalogu, | |
393 | - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików. | |
394 | ||
395 | Zawiera moduły audit, extd_audit i full_audit. | |
396 | ||
397 | %package -n samba3-vfs-cap | |
398 | Summary: VFS module for CAP and samba compatibility | |
399 | Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program) | |
400 | Group: Networking/Daemons | |
401 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
402 | ||
403 | %description -n samba3-vfs-cap | |
404 | Convert an incoming Shift-JIS character to the 3 byte hex | |
405 | representation used by the Columbia AppleTalk Program (CAP), i.e. :AB. | |
406 | This is used for compatibility between Samba and CAP. | |
407 | ||
408 | %description -n samba3-vfs-cap -l pl.UTF-8 | |
409 | Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej | |
410 | reprezentacji używanej przez program Columbia AppleTalk Program (CAP). | |
411 | ||
412 | %package -n samba3-vfs-default_quota | |
413 | Summary: VFS module to store default quotas in a specified quota record | |
414 | Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie | |
415 | Group: Networking/Daemons | |
416 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
417 | ||
418 | %description -n samba3-vfs-default_quota | |
419 | This VFS modules stores default quotas in a specified quota record. | |
420 | ||
421 | %description -n samba3-vfs-default_quota -l pl.UTF-8 | |
422 | Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie | |
423 | limitów. | |
424 | ||
425 | %package -n samba3-vfs-expand_msdfs | |
426 | Summary: VFS module for hosting a Microsoft Distributed File System Tree | |
427 | Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System | |
428 | Group: Networking/Daemons | |
429 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
430 | ||
431 | %description -n samba3-vfs-expand_msdfs | |
432 | A VFS module for hosting a Microsoft Distributed File System Tree. | |
433 | ||
434 | The Distributed File System (DFS) provides a means of separating the | |
435 | logical view of files and directories that users see from the actual | |
436 | physical locations of these resources on the network. It allows for | |
437 | higher availability, smoother storage expansion, load balancing, and | |
438 | so on. | |
439 | ||
440 | %description -n samba3-vfs-expand_msdfs -l pl.UTF-8 | |
441 | Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed | |
442 | File System. | |
443 | ||
444 | Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku | |
445 | plików i katalogów widocznych przez użytkowników z fizycznego | |
446 | umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność, | |
447 | płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp. | |
448 | ||
449 | %package -n samba3-vfs-fake_perms | |
450 | Summary: VFS module to report read-only fires as writable | |
451 | Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne | |
452 | Group: Networking/Daemons | |
453 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
454 | ||
455 | %description -n samba3-vfs-fake_perms | |
456 | This module allow Roaming Profile files and directories to be set (on | |
457 | the Samba server under UNIX) as read only. This module will, if | |
458 | installed on the Profiles share, report to the client that the Profile | |
459 | files and directories are writeable. This satisfies the client even | |
460 | though the files will never be overwritten as the client logs out or | |
461 | shuts down. | |
462 | ||
463 | %description -n samba3-vfs-fake_perms -l pl.UTF-8 | |
464 | Ten moduł pozwala na ustawienie plików i katalogów z wędrujących | |
465 | profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w | |
466 | przypadku zainstalowania na udziale z profilami będzie zgłaszał | |
467 | klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy | |
468 | klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu | |
469 | lub wylogowywaniu klienta. | |
470 | ||
471 | %package -n samba3-vfs-notify_fam | |
472 | Summary: VFS module to implement file change notifications | |
473 | Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach | |
474 | Group: Networking/Daemons | |
475 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
476 | ||
477 | %description -n samba3-vfs-notify_fam | |
478 | The vfs_notify_fam module makes use of the system FAM (File Alteration | |
479 | Monitor) daemon to implement file change notifications for Windows | |
480 | clients. | |
481 | ||
482 | %description -n samba3-vfs-notify_fam -l pl.UTF-8 | |
483 | Ten moduł używa demona FAM (File Alteration Monitor) do implementacji | |
484 | informowania o zmianach w plikach dla klientów Windows. | |
485 | ||
486 | %package -n samba3-vfs-netatalk | |
487 | Summary: VFS module for ease co-existence of samba and netatalk | |
488 | Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk | |
489 | Group: Networking/Daemons | |
490 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
491 | ||
492 | %description -n samba3-vfs-netatalk | |
493 | Package contains a netatalk VFS module for ease co-existence of Samba | |
494 | and netatalk file sharing services. | |
495 | ||
496 | %description -n samba3-vfs-netatalk -l pl.UTF-8 | |
497 | Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba | |
498 | i netatalk przy udostępnianiu zasobów. | |
499 | ||
500 | %package -n samba3-vfs-recycle | |
501 | Summary: VFS module to add recycle bin facility to a samba share | |
502 | Summary(pl.UTF-8): Moduł VFS dodający funkcję kosza do zasobu Samby | |
503 | Group: Networking/Daemons | |
504 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
505 | ||
506 | %description -n samba3-vfs-recycle | |
507 | VFS module to add recycle bin facility to a samba share. | |
508 | ||
509 | %description -n samba3-vfs-recycle -l pl.UTF-8 | |
510 | Moduł VFS dodający możliwość kosza do zasobu samby. | |
511 | ||
512 | %package -n samba3-vfs-readahead | |
513 | Summary: VFS module for pre-loading the kernel buffer cache | |
514 | Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra | |
515 | Group: Networking/Daemons | |
516 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
517 | ||
518 | %description -n samba3-vfs-readahead | |
519 | This VFS module detects read requests at multiples of a given offset | |
520 | (hex 0x80000 by default) and then tells the kernel via either the | |
521 | readahead system call (on Linux) or the posix_fadvise system call to | |
522 | pre-fetch this data into the buffer cache. | |
523 | ||
524 | This module is useful for Windows Vista clients reading data using the | |
525 | Windows Explorer program, which asynchronously does multiple file read | |
526 | requests at offset boundaries of 0x80000 bytes. | |
527 | ||
528 | %description -n samba3-vfs-readahead -l pl.UTF-8 | |
529 | Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych | |
530 | pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez | |
531 | wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do | |
532 | wczesnego odczytu tych danych do bufora cache. | |
533 | ||
534 | Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane | |
535 | przy użyciu programu Windows Explorer, który asynchronicznie wykonuje | |
536 | wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000 | |
537 | bajtów. | |
538 | ||
539 | %package -n samba3-vfs-readonly | |
540 | Summary: VFS module for read-only limitation for specified share | |
541 | Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu | |
542 | Group: Networking/Daemons | |
543 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
544 | ||
545 | %description -n samba3-vfs-readonly | |
546 | This module performs a read-only limitation for specified share (or | |
547 | all of them if it is loaded in a [global] section) based on period | |
548 | definition in smb.conf. | |
549 | ||
550 | %description -n samba3-vfs-readonly -l pl.UTF-8 | |
551 | Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego | |
552 | udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w | |
553 | oparciu o definicje okresów w smb.conf. | |
554 | ||
555 | %package -n samba3-vfs-shadow_copy | |
556 | Summary: VFS module to make automatic copy of data in samba share | |
557 | Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby | |
558 | Group: Networking/Daemons | |
559 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
560 | ||
561 | %description -n samba3-vfs-shadow_copy | |
562 | VFS module to make automatic copy of data in samba share. | |
563 | ||
564 | %description -n samba3-vfs-shadow_copy -l pl.UTF-8 | |
565 | Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby. | |
566 | ||
567 | %package -n samba3-vfs-catia | |
568 | Summary: VFS module to fix Catia CAD filenames | |
569 | Group: Networking/Daemons | |
570 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
571 | ||
572 | %description -n samba3-vfs-catia | |
573 | The Catia CAD package commonly creates filenames that use characters | |
574 | that are illegal in CIFS filenames. The vfs_catia VFS module | |
575 | implements a fixed character mapping so that these files can be shared | |
576 | with CIFS clients. | |
577 | ||
578 | %package -n samba3-vfs-scannedonly | |
579 | Summary: Anti-virus solution as VFS module | |
580 | Summary(pl.UTF-8): Rozwiązanie antywirusowe jako moduł VFS | |
581 | Group: Networking/Daemons | |
582 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
583 | ||
584 | %description -n samba3-vfs-scannedonly | |
585 | The vfs_scannedonly VFS module ensures that only files that have been | |
586 | scanned for viruses are visible and accessible to the end user. If | |
587 | non-scanned files are found an anti-virus scanning daemon is notified. | |
588 | ||
589 | %package -n samba3-smbget | |
590 | Summary: A utility for retrieving files using the SMB protocol | |
591 | Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB | |
592 | Group: Applications/Networking | |
593 | ||
594 | %description -n samba3-smbget | |
595 | wget-like utility for download files over SMB. | |
596 | ||
597 | %description -n samba3-smbget -l pl.UTF-8 | |
598 | Narzędzie podobne do wgeta do pobierania plików protokołem SMB | |
599 | używanym w sieciach MS Windows. | |
600 | ||
601 | %package -n cups-backend-samba3-smb | |
602 | Summary: CUPS backend for printing to SMB printers | |
603 | Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB | |
604 | Group: Applications/Printing | |
605 | Requires: samba3-client = %{epoch}:%{version}-%{release} | |
606 | Requires: cups >= 1:1.2.0 | |
607 | ||
608 | %description -n cups-backend-samba3-smb | |
609 | CUPS backend for printing to SMB printers. | |
610 | ||
611 | %description -n cups-backend-samba3-smb -l pl.UTF-8 | |
612 | Backend CUPS-a drukujący na drukarkach SMB. | |
613 | ||
614 | %package -n samba3-swat | |
615 | Summary: Samba Web Administration Tool | |
616 | Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba | |
617 | Group: Networking/Admin | |
618 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
619 | Requires: inetdaemon | |
620 | Requires: rc-inetd >= 0.8.2 | |
621 | Obsoletes: swat | |
622 | ||
623 | %description -n samba3-swat | |
624 | swat allows a Samba administrator to configure the complex smb.conf | |
625 | file via a Web browser. In addition, a swat configuration page has | |
626 | help links to all the configurable options in the smb.conf file | |
627 | allowing an administrator to easily look up the effects of any change. | |
628 | ||
629 | %description -n samba3-swat -l pl.UTF-8 | |
630 | swat pozwala na kompleksową konfigurację smb.conf przy pomocy | |
631 | przeglądarki WWW. | |
632 | ||
633 | %package -n samba3-winbind | |
634 | Summary: Samba-winbind daemon, utilities and documentation | |
635 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja | |
636 | Group: Networking/Daemons | |
637 | Requires(post,preun): /sbin/chkconfig | |
638 | Requires: samba3-common = %{epoch}:%{version}-%{release} | |
639 | Requires: systemd-units >= 38 | |
640 | ||
641 | %description -n samba3-winbind | |
642 | Provides the winbind daemon and testing tools to allow authentication | |
643 | and group/user enumeration from a Windows or Samba domain controller. | |
644 | ||
645 | %description -n samba3-winbind -l pl.UTF-8 | |
646 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
647 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
648 | Windows lub Samba. | |
649 | ||
650 | %package -n nss_wins | |
651 | Summary: Name Service Switch service for WINS | |
652 | Summary(pl.UTF-8): Usługa Name Service Switch dla WINS | |
653 | Group: Base | |
654 | Requires: samba3-common = %{epoch}:%{version}-%{release} | |
655 | ||
656 | %description -n nss_wins | |
657 | Provides the libnss_wins shared library which resolves NetBIOS names | |
658 | to IP addresses. | |
659 | ||
660 | %description -n nss_wins -l pl.UTF-8 | |
661 | Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy | |
662 | IP. | |
663 | ||
664 | %package -n samba3-libsmbclient | |
665 | Summary: libsmbclient - samba client library | |
666 | Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby | |
667 | Group: Libraries | |
668 | Obsoletes: libsmbclient < 1:4.0.0-1 | |
669 | ||
670 | %description -n samba3-libsmbclient | |
671 | libsmbclient - library that allows to use samba clients functions. | |
672 | ||
673 | %description -n samba3-libsmbclient -l pl.UTF-8 | |
674 | libsmbclient - biblioteka pozwalająca korzystać z funcji klienta | |
675 | samby. | |
676 | ||
677 | %package -n samba3-libsmbclient-devel | |
678 | Summary: libsmbclient - samba client library | |
679 | Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby | |
680 | Group: Development/Libraries | |
681 | Requires: samba3-libsmbclient = %{epoch}:%{version}-%{release} | |
682 | Obsoletes: libsmbclient-devel < 1:4.0.0-1 | |
683 | ||
684 | %description -n samba3-libsmbclient-devel | |
685 | Header files for libsmbclient. | |
686 | ||
687 | %description -n samba3-libsmbclient-devel -l pl.UTF-8 | |
688 | Pliki nagłówkowe dla libsmbclient. | |
689 | ||
690 | %package -n openldap-schema-samba | |
691 | Summary: Samba LDAP schema | |
692 | Summary(pl.UTF-8): Schemat LDAP dla samby | |
693 | Group: Networking/Daemons | |
694 | Requires(post,postun): sed >= 4.0 | |
695 | Requires: openldap-servers | |
696 | ||
697 | %description -n openldap-schema-samba | |
698 | This package contains samba.schema for openldap. | |
699 | ||
700 | %description -n openldap-schema-samba -l pl.UTF-8 | |
701 | Ten pakiet zawiera schemat samby dla openldap-a. | |
702 | ||
703 | %prep | |
704 | %setup -q -n samba-%{version} | |
705 | %patch0 -p1 | |
706 | %patch1 -p1 | |
707 | %patch3 -p1 | |
708 | %patch4 -p1 | |
709 | %patch5 -p1 | |
710 | ||
711 | %build | |
712 | LDFLAGS="${LDFLAGS:-%rpmldflags}" \ | |
713 | CFLAGS="${CFLAGS:-%rpmcflags}" \ | |
714 | CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \ | |
715 | FFLAGS="${FFLAGS:-%rpmcflags}" \ | |
716 | FCFLAGS="${FCFLAGS:-%rpmcflags}" \ | |
717 | CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \ | |
718 | %{?__cc:CC="%{__cc}"} \ | |
719 | %{?__cxx:CXX="%{__cxx}"} \ | |
720 | ./configure \ | |
721 | --enable-fhs \ | |
722 | --prefix=%{_prefix} \ | |
723 | --exec-prefix=%{_exec_prefix} \ | |
724 | --bindir=%{_bindir} \ | |
725 | --sbindir=%{_sbindir} \ | |
726 | --sysconfdir=%{_sysconfdir} \ | |
727 | --datadir=%{_datadir} \ | |
728 | --includedir=%{_includedir} \ | |
729 | --libdir=%{_libdir} \ | |
730 | --libexecdir=%{_libexecdir} \ | |
731 | --localstatedir=%{_localstatedir} \ | |
732 | --sharedstatedir=%{_sharedstatedir} \ | |
733 | --mandir=%{_mandir} \ | |
734 | --infodir=%{_infodir} \ | |
735 | --with-privatelibdir=%{_libdir}/samba \ | |
736 | --with-modulesdir=%{_libdir}/samba \ | |
737 | --with-pammodulesdir=/%{_lib}/security \ | |
738 | --with-lockdir=/var/lib/samba \ | |
739 | --with-privatedir=%{_sysconfdir}/samba \ | |
740 | --disable-gnutls \ | |
741 | --disable-rpath-install \ | |
742 | --builtin-libraries=replace,ccan \ | |
743 | --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libs:talloc,tdb,ldb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util} \ | |
744 | --private-libraries=smbclient,smbsharemodes,wbclient \ | |
745 | --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4 \ | |
746 | --with-acl-support \ | |
747 | --with%{!?with_ads:out}-ads \ | |
748 | --with-aio-support \ | |
749 | --with-automount \ | |
750 | --with-dmapi \ | |
751 | --with-dnsupdate \ | |
752 | --with-iconv \ | |
753 | --with%{!?with_ldap:out}-ldap \ | |
754 | --with-pam \ | |
755 | --with-pam_smbpass \ | |
756 | --with-quotas \ | |
757 | --with-sendfile-support \ | |
758 | --with-swat \ | |
759 | --with-syslog \ | |
760 | --with-utmp \ | |
761 | --with-winbind \ | |
762 | --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \ | |
763 | --enable-cups \ | |
764 | --enable-iprint | |
765 | ||
766 | %{__make} | |
767 | ||
768 | # Build PIDL for installation into vendor directories before | |
769 | # 'make proto' gets to it. | |
770 | cd pidl | |
771 | %{__perl} Makefile.PL \ | |
772 | INSTALLDIRS=vendor | |
773 | ||
774 | %install | |
775 | rm -rf $RPM_BUILD_ROOT | |
776 | install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \ | |
777 | $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \ | |
778 | $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \ | |
779 | $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \ | |
780 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
781 | ||
782 | %{__make} install \ | |
783 | DESTDIR=$RPM_BUILD_ROOT \ | |
784 | CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba | |
785 | ||
786 | # Undo the PIDL install, we want to try again with the right options. | |
787 | %{__rm} -r $RPM_BUILD_ROOT/%{_datadir}/perl5 | |
788 | ||
789 | # Install PIDL | |
790 | cd pidl | |
791 | %{__make} install \ | |
792 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | |
793 | cd .. | |
794 | ||
795 | # Clean out crap left behind by the PIDL install | |
796 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/wscript_build | |
797 | %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp | |
798 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Parse/Pidl/.packlist | |
799 | ||
800 | # not ready for production, and no MIT kerberos in PLD | |
801 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mit_samba.so | |
802 | ||
803 | install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir} | |
804 | ||
805 | install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf | |
806 | install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
807 | install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir} | |
808 | install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
809 | install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir} | |
810 | ||
811 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb | |
812 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba | |
813 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat | |
814 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba | |
815 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba | |
816 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf | |
817 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind | |
818 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind | |
819 | ||
820 | # move lib{smb,wb}client where they always were for compatibility | |
821 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
822 | ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so | |
823 | ln -s libwbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libwbclient.so | |
824 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libwbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
825 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/libsmbclient.h $RPM_BUILD_ROOT%{_includedir} | |
826 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/wbclient.h $RPM_BUILD_ROOT%{_includedir} | |
827 | ||
828 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib} | |
829 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib} | |
830 | install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir} | |
831 | ||
832 | touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat} | |
833 | ||
834 | echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts | |
835 | ||
836 | %if %{with cups} | |
837 | install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend | |
838 | ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb | |
839 | %endif | |
840 | ||
841 | > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers | |
842 | > $RPM_BUILD_ROOT/etc/security/blacklist.samba | |
843 | ||
844 | %if %{with ldap} | |
845 | install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir} | |
846 | %endif | |
847 | ||
848 | %if %{with system_libtdb} | |
849 | # remove manuals of tdb if system lib used | |
850 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8* | |
851 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8* | |
852 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8* | |
853 | %endif | |
854 | ||
855 | # remove man pages for not installed commands | |
856 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1* | |
857 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/smbtar.1* | |
858 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_cacheprime.8* | |
859 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_gpfs.8* | |
860 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_prealloc.8* | |
861 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_tsmsm.8* | |
862 | ||
863 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
864 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
865 | find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f | |
866 | ||
867 | %clean | |
868 | rm -rf $RPM_BUILD_ROOT | |
869 | ||
870 | %post | |
871 | /sbin/chkconfig --add samba | |
872 | %service samba restart "Samba AD daemon" | |
873 | %systemd_post samba.service | |
874 | ||
875 | %preun | |
876 | if [ "$1" = "0" ]; then | |
877 | %service samba stop | |
878 | /sbin/chkconfig --del samba | |
879 | fi | |
880 | %systemd_preun samba.service | |
881 | ||
882 | %postun | |
883 | %systemd_reload | |
884 | ||
885 | %post common -p /sbin/ldconfig | |
886 | %postun common -p /sbin/ldconfig | |
887 | ||
888 | %post -n samba3 | |
889 | /sbin/chkconfig --add smb | |
890 | %service smb restart "Samba3 daemons" | |
891 | %systemd_post smb.service nmb.service | |
892 | ||
893 | %preun -n samba3 | |
894 | if [ "$1" = "0" ]; then | |
895 | %service smb stop | |
896 | /sbin/chkconfig --del samba | |
897 | fi | |
898 | %systemd_preun smb.service nmb.service | |
899 | ||
900 | %postun -n samba3 | |
901 | %systemd_reload | |
902 | ||
903 | %post -n samba3-winbind | |
904 | /sbin/chkconfig --add winbind | |
905 | %service winbind restart "Winbind daemon" | |
906 | %systemd_post winbind.service | |
907 | ||
908 | %preun -n samba3-winbind | |
909 | if [ "$1" = "0" ]; then | |
910 | %service winbind stop | |
911 | /sbin/chkconfig --del winbind | |
912 | fi | |
913 | %systemd_preun winbind.service | |
914 | ||
915 | %postun -n samba3-winbind | |
916 | %systemd_reload | |
917 | ||
918 | %post -n samba3-swat | |
919 | %service -q rc-inetd reload | |
920 | ||
921 | %postun -n samba3-swat | |
922 | if [ "$1" = 0 ]; then | |
923 | %service -q rc-inetd reload | |
924 | fi | |
925 | ||
926 | %post -n openldap-schema-samba | |
927 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) | |
928 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
929 | %service -q ldap restart | |
930 | ||
931 | %postun -n openldap-schema-samba | |
932 | if [ "$1" = "0" ]; then | |
933 | %openldap_schema_unregister %{schemadir}/samba.schema | |
934 | %service -q ldap restart | |
935 | fi | |
936 | ||
937 | %files | |
938 | %defattr(644,root,root,755) | |
939 | %{systemdunitdir}/samba.service | |
940 | %{systemdtmpfilesdir}/samba.conf | |
941 | %attr(755,root,root) %{_bindir}/oLschema2ldif | |
942 | %attr(755,root,root) %{_sbindir}/samba | |
943 | %attr(755,root,root) %{_sbindir}/samba_dnsupdate | |
944 | %attr(755,root,root) %{_sbindir}/samba_spnupdate | |
945 | %attr(755,root,root) %{_sbindir}/samba_upgradedns | |
946 | %attr(755,root,root) %{_sbindir}/samba_upgradeprovision | |
947 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.* | |
948 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0 | |
949 | %attr(755,root,root) %{_libdir}/samba/libdb-glue.so | |
950 | %attr(755,root,root) %{_libdir}/samba/libdsdb-module.so | |
951 | %attr(755,root,root) %{_libdir}/samba/libHDB_SAMBA4.so | |
952 | %attr(755,root,root) %{_libdir}/samba/libntvfs.so | |
953 | %attr(755,root,root) %{_libdir}/samba/libpac.so | |
954 | %attr(755,root,root) %{_libdir}/samba/libprocess_model.so | |
955 | %attr(755,root,root) %{_libdir}/samba/libservice.so | |
956 | %attr(755,root,root) %{_libdir}/samba/libshares.so | |
957 | %dir %{_libdir}/samba/bind9 | |
958 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so | |
959 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so | |
960 | %dir %{_libdir}/samba/hdb | |
961 | %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so | |
962 | %dir %{_libdir}/samba/gensec | |
963 | %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so | |
964 | %dir %{_libdir}/samba/ldb | |
965 | %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so | |
966 | %attr(755,root,root) %{_libdir}/samba/ldb/acl.so | |
967 | %attr(755,root,root) %{_libdir}/samba/ldb/anr.so | |
968 | %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so | |
969 | %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so | |
970 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so | |
971 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so | |
972 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so | |
973 | %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so | |
974 | %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so | |
975 | %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so | |
976 | %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so | |
977 | %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so | |
978 | %attr(755,root,root) %{_libdir}/samba/ldb/local_password.so | |
979 | %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so | |
980 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so | |
981 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so | |
982 | %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so | |
983 | %attr(755,root,root) %{_libdir}/samba/ldb/operational.so | |
984 | %attr(755,root,root) %{_libdir}/samba/ldb/partition.so | |
985 | %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so | |
986 | %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so | |
987 | %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so | |
988 | %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so | |
989 | %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so | |
990 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so | |
991 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so | |
992 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so | |
993 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so | |
994 | %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so | |
995 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so | |
996 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so | |
997 | %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so | |
998 | %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so | |
999 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so | |
1000 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so | |
1001 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so | |
1002 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so | |
1003 | %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so | |
1004 | %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so | |
1005 | %dir %{_libdir}/samba/process_model | |
1006 | %attr(755,root,root) %{_libdir}/samba/process_model/onefork.so | |
1007 | %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so | |
1008 | %attr(755,root,root) %{_libdir}/samba/process_model/standard.so | |
1009 | %dir %{_libdir}/samba/service | |
1010 | %attr(755,root,root) %{_libdir}/samba/service/cldap.so | |
1011 | %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so | |
1012 | %attr(755,root,root) %{_libdir}/samba/service/dns.so | |
1013 | %attr(755,root,root) %{_libdir}/samba/service/dns_update.so | |
1014 | %attr(755,root,root) %{_libdir}/samba/service/drepl.so | |
1015 | %attr(755,root,root) %{_libdir}/samba/service/kcc.so | |
1016 | %attr(755,root,root) %{_libdir}/samba/service/kdc.so | |
1017 | %attr(755,root,root) %{_libdir}/samba/service/ldap.so | |
1018 | %attr(755,root,root) %{_libdir}/samba/service/nbtd.so | |
1019 | %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so | |
1020 | %attr(755,root,root) %{_libdir}/samba/service/s3fs.so | |
1021 | %attr(755,root,root) %{_libdir}/samba/service/smb.so | |
1022 | %attr(755,root,root) %{_libdir}/samba/service/web.so | |
1023 | %attr(755,root,root) %{_libdir}/samba/service/winbind.so | |
1024 | %attr(755,root,root) %{_libdir}/samba/service/wrepl.so | |
1025 | %{_datadir}/samba/setup | |
1026 | %{_mandir}/man1/oLschema2ldif.1* | |
1027 | %{_mandir}/man8/samba.8* | |
1028 | ||
1029 | %files client | |
1030 | %defattr(644,root,root,755) | |
1031 | %attr(755,root,root) %{_bindir}/cifsdd | |
1032 | %attr(755,root,root) %{_bindir}/nmblookup4 | |
1033 | %attr(755,root,root) %{_bindir}/reg* | |
1034 | %attr(755,root,root) %{_bindir}/smbclient4 | |
1035 | %{_mandir}/man1/findsmb.1* | |
1036 | %{_mandir}/man1/nmblookup4.1* | |
1037 | %{_mandir}/man1/reg*.1* | |
1038 | ||
1039 | %files common | |
1040 | %defattr(644,root,root,755) | |
1041 | %doc README WHATSNEW.txt Roadmap | |
1042 | %attr(755,root,root) %{_bindir}/samba-tool | |
1043 | %attr(755,root,root) %{_sbindir}/samba_kcc | |
1044 | %dir %{_sysconfdir}/samba | |
1045 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf | |
1046 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts | |
1047 | %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.* | |
1048 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0 | |
1049 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so.*.*.* | |
1050 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-atsvc.so.0 | |
1051 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.* | |
1052 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0 | |
1053 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.* | |
1054 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0 | |
1055 | %attr(755,root,root) %{_libdir}/libgensec.so.*.*.* | |
1056 | %attr(755,root,root) %ghost %{_libdir}/libgensec.so.0 | |
1057 | %attr(755,root,root) %{_libdir}/libndr.so.*.*.* | |
1058 | %attr(755,root,root) %ghost %{_libdir}/libndr.so.0 | |
1059 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.* | |
1060 | %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0 | |
1061 | %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.* | |
1062 | %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0 | |
1063 | %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.* | |
1064 | %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0 | |
1065 | %attr(755,root,root) %{_libdir}/libregistry.so.*.*.* | |
1066 | %attr(755,root,root) %ghost %{_libdir}/libregistry.so.0 | |
1067 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.* | |
1068 | %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0 | |
1069 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.* | |
1070 | %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0 | |
1071 | %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.* | |
1072 | %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0 | |
1073 | %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.* | |
1074 | %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0 | |
1075 | %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.* | |
1076 | %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0 | |
1077 | %attr(755,root,root) %{_libdir}/libsamba-policy.so.*.*.* | |
1078 | %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.so.0 | |
1079 | %dir %{_libdir}/samba | |
1080 | %attr(755,root,root) %{_libdir}/samba/libxattr_tdb.so | |
1081 | %attr(755,root,root) %{_libdir}/samba/libasn1util.so | |
1082 | %attr(755,root,root) %{_libdir}/samba/libauth4.so | |
1083 | %attr(755,root,root) %{_libdir}/samba/libauthkrb5.so | |
1084 | %attr(755,root,root) %{_libdir}/samba/libauth_sam_reply.so | |
1085 | %attr(755,root,root) %{_libdir}/samba/libauth_unix_token.so | |
1086 | %attr(755,root,root) %{_libdir}/samba/libcliauth.so | |
1087 | %attr(755,root,root) %{_libdir}/samba/libcli_cldap.so | |
1088 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common.so | |
1089 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap.so | |
1090 | %attr(755,root,root) %{_libdir}/samba/libcli-nbt.so | |
1091 | %attr(755,root,root) %{_libdir}/samba/libcli_smb_common.so | |
1092 | %attr(755,root,root) %{_libdir}/samba/libcluster.so | |
1093 | %attr(755,root,root) %{_libdir}/samba/libcmdline-credentials.so | |
1094 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so | |
1095 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba.so | |
1096 | %attr(755,root,root) %{_libdir}/samba/libdfs_server_ad.so | |
1097 | %attr(755,root,root) %{_libdir}/samba/liberrors.so | |
1098 | %attr(755,root,root) %{_libdir}/samba/libevents.so | |
1099 | %attr(755,root,root) %{_libdir}/samba/libflag_mapping.so | |
1100 | %attr(755,root,root) %{_libdir}/samba/libiniparser.so | |
1101 | %attr(755,root,root) %{_libdir}/samba/libinterfaces.so | |
1102 | %attr(755,root,root) %{_libdir}/samba/libkrb5samba.so | |
1103 | %attr(755,root,root) %{_libdir}/samba/libldb-cmdline.so | |
1104 | %attr(755,root,root) %{_libdir}/samba/libldbsamba.so | |
1105 | %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT_OLD.so | |
1106 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING.so | |
1107 | %attr(755,root,root) %{_libdir}/samba/libndr-samba4.so | |
1108 | %attr(755,root,root) %{_libdir}/samba/libndr-samba.so | |
1109 | %attr(755,root,root) %{_libdir}/samba/libnetif.so | |
1110 | %attr(755,root,root) %{_libdir}/samba/libnpa_tstream.so | |
1111 | %attr(755,root,root) %{_libdir}/samba/libposix_eadb.so | |
1112 | %attr(755,root,root) %{_libdir}/samba/libsamba3-util.so | |
1113 | %attr(755,root,root) %{_libdir}/samba/libsamba-modules.so | |
1114 | %attr(755,root,root) %{_libdir}/samba/libsamba-net.so | |
1115 | %attr(755,root,root) %{_libdir}/samba/libsamba-security.so | |
1116 | %attr(755,root,root) %{_libdir}/samba/libsamba-sockets.so | |
1117 | %attr(755,root,root) %{_libdir}/samba/libsamdb-common.so | |
1118 | %attr(755,root,root) %{_libdir}/samba/libserver-role.so | |
1119 | %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser.so | |
1120 | %attr(755,root,root) %{_libdir}/samba/libsmb_transport.so | |
1121 | %attr(755,root,root) %{_libdir}/samba/libtdb-wrap.so | |
1122 | %attr(755,root,root) %{_libdir}/samba/libutil_reg.so | |
1123 | %attr(755,root,root) %{_libdir}/samba/libutil_setid.so | |
1124 | %attr(755,root,root) %{_libdir}/samba/libutil_tdb.so | |
1125 | %attr(755,root,root) %{_libdir}/samba/libwinbind-client.so | |
1126 | %dir %{_libdir}/samba/vfs | |
1127 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so | |
1128 | %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so | |
1129 | %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so | |
1130 | %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so | |
1131 | %dir %{_datadir}/samba | |
1132 | %dir %{_datadir}/samba/codepages | |
1133 | %{_datadir}/samba/codepages/lowcase.dat | |
1134 | %{_datadir}/samba/codepages/upcase.dat | |
1135 | %{_datadir}/samba/codepages/valid.dat | |
1136 | %{_mandir}/man5/lmhosts.5* | |
1137 | %{_mandir}/man5/smb.conf.5* | |
1138 | %{_mandir}/man7/samba.7* | |
1139 | %{_mandir}/man8/samba-tool.8* | |
1140 | %if %{without system_libs} | |
1141 | %attr(755,root,root) %{_bindir}/tdbbackup | |
1142 | %attr(755,root,root) %{_bindir}/tdbdump | |
1143 | %attr(755,root,root) %{_bindir}/tdbtool | |
1144 | %attr(755,root,root) %{_libdir}/samba/libtalloc.so.* | |
1145 | %attr(755,root,root) %{_libdir}/samba/libtdb.so.* | |
1146 | %{_mandir}/man8/tdbbackup.8* | |
1147 | %{_mandir}/man8/tdbdump.8* | |
1148 | %{_mandir}/man8/tdbtool.8* | |
1149 | %endif | |
1150 | ||
1151 | %files common-server | |
1152 | %defattr(644,root,root,755) | |
1153 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers | |
1154 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba | |
1155 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba | |
1156 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba | |
1157 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba | |
1158 | ||
1159 | %dir %{_sambahome} | |
1160 | %dir /var/lib/samba | |
1161 | %ghost /var/lib/samba/*.dat | |
1162 | %dir /var/lib/samba/printing | |
1163 | ||
1164 | %attr(750,root,root) %dir /var/log/samba | |
1165 | %attr(750,root,root) %dir /var/log/samba/cores | |
1166 | %attr(750,root,root) %dir /var/log/samba/cores/smbd | |
1167 | %attr(750,root,root) %dir /var/log/samba/cores/nmbd | |
1168 | %attr(750,root,root) %dir /var/log/archive/samba | |
1169 | %attr(1777,root,root) %dir /var/spool/samba | |
1170 | %if %{with ldap} | |
1171 | %doc examples/LDAP | |
1172 | %endif | |
1173 | ||
1174 | %files winbind | |
1175 | %defattr(644,root,root,755) | |
1176 | %attr(755,root,root) %{_bindir}/wbinfo | |
1177 | %attr(755,root,root) /%{_lib}/security/pam_winbind* | |
1178 | %attr(755,root,root) /%{_lib}/libnss_winbind* | |
1179 | %attr(755,root,root) %{_libdir}/winbind_krb5_locator.so | |
1180 | %{_mandir}/man1/wbinfo*.1* | |
1181 | %{_mandir}/man5/pam_winbind.conf.5* | |
1182 | %{_mandir}/man7/winbind_krb5_locator.7* | |
1183 | %{_mandir}/man8/pam_winbind.8* | |
1184 | ||
1185 | %files -n libsmbclient-raw | |
1186 | %defattr(644,root,root,755) | |
1187 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so.*.*.* | |
1188 | %attr(755,root,root) %ghost %{_libdir}/libsmbclient-raw.so.0 | |
1189 | %attr(755,root,root) %{_libdir}/libsmbconf.so.0 | |
1190 | %attr(755,root,root) %{_libdir}/samba/libCHARSET3.so | |
1191 | %attr(755,root,root) %{_libdir}/samba/libgse.so | |
1192 | %attr(755,root,root) %{_libdir}/samba/liblibsmb.so | |
1193 | %attr(755,root,root) %{_libdir}/samba/libsecrets3.so | |
1194 | %attr(755,root,root) %{_libdir}/samba/libsmbregistry.so | |
1195 | %attr(755,root,root) %{_libdir}/samba/libutil_cmdline.so | |
1196 | %attr(755,root,root) %{_libdir}/samba/libaddns.so | |
1197 | ||
1198 | %files -n libsmbclient-raw-devel | |
1199 | %defattr(644,root,root,755) | |
1200 | %{_includedir}/samba-4.0/gen_ndr/drsblobs.h | |
1201 | %{_includedir}/samba-4.0/gen_ndr/drsuapi.h | |
1202 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h | |
1203 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h | |
1204 | %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h | |
1205 | %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h | |
1206 | %{_includedir}/samba-4.0/read_smb.h | |
1207 | %{_includedir}/samba-4.0/smb2_constants.h | |
1208 | %{_includedir}/samba-4.0/smb2_create_blob.h | |
1209 | %{_includedir}/samba-4.0/smb2.h | |
1210 | %{_includedir}/samba-4.0/smb2_signing.h | |
1211 | %{_includedir}/samba-4.0/smb_cli.h | |
1212 | %{_includedir}/samba-4.0/smb_cliraw.h | |
1213 | %{_includedir}/samba-4.0/smb_common.h | |
1214 | %{_includedir}/samba-4.0/smb_composite.h | |
1215 | %{_includedir}/samba-4.0/smb_constants.h | |
1216 | %{_includedir}/samba-4.0/smb_raw.h | |
1217 | %{_includedir}/samba-4.0/smb_raw_interfaces.h | |
1218 | %{_includedir}/samba-4.0/smb_raw_signing.h | |
1219 | %{_includedir}/samba-4.0/smb_raw_trans2.h | |
1220 | %{_includedir}/samba-4.0/smb_request.h | |
1221 | %{_includedir}/samba-4.0/smb_seal.h | |
1222 | %{_includedir}/samba-4.0/smb_signing.h | |
1223 | %{_includedir}/samba-4.0/smb_unix_ext.h | |
1224 | %{_includedir}/samba-4.0/smb_util.h | |
1225 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so | |
1226 | %attr(755,root,root) %{_libdir}/libsmbconf.so | |
1227 | %{_pkgconfigdir}/smbclient-raw.pc | |
1228 | ||
1229 | %files devel | |
1230 | %defattr(644,root,root,755) | |
1231 | %dir %{_includedir}/samba-4.0 | |
1232 | %{_includedir}/samba-4.0/charset.h | |
1233 | %dir %{_includedir}/samba-4.0/core | |
1234 | %{_includedir}/samba-4.0/core/doserr.h | |
1235 | %{_includedir}/samba-4.0/core/error.h | |
1236 | %{_includedir}/samba-4.0/core/ntstatus.h | |
1237 | %{_includedir}/samba-4.0/core/werror.h | |
1238 | %{_includedir}/samba-4.0/credentials.h | |
1239 | %{_includedir}/samba-4.0/dcerpc.h | |
1240 | %{_includedir}/samba-4.0/dcerpc_server.h | |
1241 | %{_includedir}/samba-4.0/dlinklist.h | |
1242 | %{_includedir}/samba-4.0/domain_credentials.h | |
1243 | %dir %{_includedir}/samba-4.0/gen_ndr | |
1244 | %{_includedir}/samba-4.0/gen_ndr/atsvc.h | |
1245 | %{_includedir}/samba-4.0/gen_ndr/auth.h | |
1246 | %{_includedir}/samba-4.0/gen_ndr/dcerpc.h | |
1247 | %{_includedir}/samba-4.0/gen_ndr/epmapper.h | |
1248 | %{_includedir}/samba-4.0/gen_ndr/krb5pac.h | |
1249 | %{_includedir}/samba-4.0/gen_ndr/lsa.h | |
1250 | %{_includedir}/samba-4.0/gen_ndr/mgmt.h | |
1251 | %{_includedir}/samba-4.0/gen_ndr/misc.h | |
1252 | %{_includedir}/samba-4.0/gen_ndr/nbt.h | |
1253 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h | |
1254 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h | |
1255 | %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h | |
1256 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h | |
1257 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h | |
1258 | %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h | |
1259 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h | |
1260 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h | |
1261 | %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h | |
1262 | %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h | |
1263 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h | |
1264 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h | |
1265 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h | |
1266 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h | |
1267 | %{_includedir}/samba-4.0/gen_ndr/netlogon.h | |
1268 | %{_includedir}/samba-4.0/gen_ndr/samr.h | |
1269 | %{_includedir}/samba-4.0/gen_ndr/security.h | |
1270 | %{_includedir}/samba-4.0/gen_ndr/server_id.h | |
1271 | %{_includedir}/samba-4.0/gen_ndr/svcctl.h | |
1272 | %{_includedir}/samba-4.0/gensec.h | |
1273 | %{_includedir}/samba-4.0/ldap_errors.h | |
1274 | %{_includedir}/samba-4.0/ldap_message.h | |
1275 | %{_includedir}/samba-4.0/ldap_ndr.h | |
1276 | %{_includedir}/samba-4.0/ldap-util.h | |
1277 | %{_includedir}/samba-4.0/ldb_wrap.h | |
1278 | %{_includedir}/samba-4.0/ndr.h | |
1279 | %dir %{_includedir}/samba-4.0/ndr | |
1280 | %{_includedir}/samba-4.0/ndr/ndr_nbt.h | |
1281 | %{_includedir}/samba-4.0/ndr/ndr_svcctl.h | |
1282 | %{_includedir}/samba-4.0/param.h | |
1283 | %{_includedir}/samba-4.0/policy.h | |
1284 | %{_includedir}/samba-4.0/registry.h | |
1285 | %{_includedir}/samba-4.0/roles.h | |
1286 | %{_includedir}/samba-4.0/rpc_common.h | |
1287 | %dir %{_includedir}/samba-4.0/samba | |
1288 | %{_includedir}/samba-4.0/samba/session.h | |
1289 | %{_includedir}/samba-4.0/samba_util.h | |
1290 | %{_includedir}/samba-4.0/samba/version.h | |
1291 | %{_includedir}/samba-4.0/share.h | |
1292 | %{_includedir}/samba-4.0/tdr.h | |
1293 | %{_includedir}/samba-4.0/tsocket.h | |
1294 | %{_includedir}/samba-4.0/tsocket_internal.h | |
1295 | %dir %{_includedir}/samba-4.0/util | |
1296 | %{_includedir}/samba-4.0/util/attr.h | |
1297 | %{_includedir}/samba-4.0/util/byteorder.h | |
1298 | %{_includedir}/samba-4.0/util/data_blob.h | |
1299 | %{_includedir}/samba-4.0/util/debug.h | |
1300 | %{_includedir}/samba-4.0/util_ldb.h | |
1301 | %{_includedir}/samba-4.0/util/memory.h | |
1302 | %{_includedir}/samba-4.0/util/safe_string.h | |
1303 | %{_includedir}/samba-4.0/util/string_wrappers.h | |
1304 | %{_includedir}/samba-4.0/util/talloc_stack.h | |
1305 | %{_includedir}/samba-4.0/util/tevent_ntstatus.h | |
1306 | %{_includedir}/samba-4.0/util/tevent_unix.h | |
1307 | %{_includedir}/samba-4.0/util/tevent_werror.h | |
1308 | %{_includedir}/samba-4.0/util/time.h | |
1309 | %{_includedir}/samba-4.0/util/xfile.h | |
1310 | %{_libdir}/libdcerpc-atsvc.so | |
1311 | %{_libdir}/libdcerpc-binding.so | |
1312 | %{_libdir}/libdcerpc-samr.so | |
1313 | %{_libdir}/libdcerpc-server.so | |
1314 | %{_libdir}/libdcerpc.so | |
1315 | %{_libdir}/libgensec.so | |
1316 | %{_libdir}/libndr-krb5pac.so | |
1317 | %{_libdir}/libndr-nbt.so | |
1318 | %{_libdir}/libndr.so | |
1319 | %{_libdir}/libndr-standard.so | |
1320 | %{_libdir}/libregistry.so | |
1321 | %{_libdir}/libsamba-credentials.so | |
1322 | %{_libdir}/libsamba-hostconfig.so | |
1323 | %{_libdir}/libsamba-policy.so | |
1324 | %{_libdir}/libsamba-util.so | |
1325 | %{_libdir}/libsamdb.so | |
1326 | %{_libdir}/libtevent-util.so | |
1327 | %{_pkgconfigdir}/dcerpc_atsvc.pc | |
1328 | %{_pkgconfigdir}/dcerpc.pc | |
1329 | %{_pkgconfigdir}/dcerpc_samr.pc | |
1330 | %{_pkgconfigdir}/dcerpc_server.pc | |
1331 | %{_pkgconfigdir}/gensec.pc | |
1332 | %{_pkgconfigdir}/ndr_krb5pac.pc | |
1333 | %{_pkgconfigdir}/ndr_nbt.pc | |
1334 | %{_pkgconfigdir}/ndr.pc | |
1335 | %{_pkgconfigdir}/ndr_standard.pc | |
1336 | %{_pkgconfigdir}/registry.pc | |
1337 | %{_pkgconfigdir}/samba-credentials.pc | |
1338 | %{_pkgconfigdir}/samba-hostconfig.pc | |
1339 | %{_pkgconfigdir}/samba-policy.pc | |
1340 | %{_pkgconfigdir}/samba-util.pc | |
1341 | %{_pkgconfigdir}/samdb.pc | |
1342 | ||
1343 | %files -n pam-pam_smbpass | |
1344 | %defattr(644,root,root,755) | |
1345 | %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples | |
1346 | %attr(755,root,root) /%{_lib}/security/pam_smbpass.so | |
1347 | ||
1348 | %files pidl | |
1349 | %defattr(644,root,root,755) | |
1350 | %attr(755,root,root) %{_bindir}/pidl | |
1351 | %{_mandir}/man1/pidl.1* | |
1352 | %{_mandir}/man3/Parse::Pidl*.3* | |
1353 | %{perl_vendorlib}/Parse/Pidl* | |
1354 | ||
1355 | %files -n python-samba4 | |
1356 | %defattr(644,root,root,755) | |
1357 | %attr(755,root,root) %{_libdir}/libnetapi.so.0 | |
1358 | %attr(755,root,root) %{_libdir}/libpdb.so.0 | |
1359 | %attr(755,root,root) %{_libdir}/libsmbldap.so.0 | |
1360 | %attr(755,root,root) %{_libdir}/samba/libads.so | |
1361 | %attr(755,root,root) %{_libdir}/samba/libauth.so | |
1362 | %attr(755,root,root) %{_libdir}/samba/libcli_spoolss.so | |
1363 | %attr(755,root,root) %{_libdir}/samba/libdbwrap.so | |
1364 | %attr(755,root,root) %{_libdir}/samba/liblibcli_lsa3.so | |
1365 | %attr(755,root,root) %{_libdir}/samba/liblibcli_netlogon3.so | |
1366 | %attr(755,root,root) %{_libdir}/samba/libmsrpc3.so | |
1367 | %attr(755,root,root) %{_libdir}/samba/libprinting_migrate.so | |
1368 | %attr(755,root,root) %{_libdir}/samba/libsamba_python.so | |
1369 | %attr(755,root,root) %{_libdir}/samba/libsmbd_base.so | |
1370 | %attr(755,root,root) %{_libdir}/samba/libsmbd_conn.so | |
1371 | %attr(755,root,root) %{_libdir}/samba/libsmbd_shim.so | |
1372 | %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper.so | |
1373 | %attr(755,root,root) %{_libdir}/samba/libtdb_compat.so | |
1374 | %attr(755,root,root) %{_libdir}/samba/libtrusts_util.so | |
1375 | %dir %{py_sitedir}/samba | |
1376 | %attr(755,root,root) %{py_sitedir}/samba/*.so | |
1377 | %{py_sitedir}/samba/*.py[co] | |
1378 | %dir %{py_sitedir}/samba/dcerpc | |
1379 | %{py_sitedir}/samba/dcerpc/*.py[co] | |
1380 | %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so | |
1381 | %dir %{py_sitedir}/samba/external | |
1382 | %{py_sitedir}/samba/external/*.py[co] | |
1383 | %dir %{py_sitedir}/samba/external/subunit | |
1384 | %{py_sitedir}/samba/external/subunit/*.py[co] | |
1385 | %dir %{py_sitedir}/samba/external/subunit/tests | |
1386 | %{py_sitedir}/samba/external/subunit/tests/*.py[co] | |
1387 | %dir %{py_sitedir}/samba/netcmd | |
1388 | %{py_sitedir}/samba/netcmd/*.py[co] | |
1389 | %dir %{py_sitedir}/samba/provision | |
1390 | %{py_sitedir}/samba/provision/*.py[co] | |
1391 | %dir %{py_sitedir}/samba/samba3 | |
1392 | %attr(755,root,root) %{py_sitedir}/samba/samba3/*.so | |
1393 | %{py_sitedir}/samba/samba3/*.py[co] | |
1394 | %dir %{py_sitedir}/samba/tests | |
1395 | %{py_sitedir}/samba/tests/*.py[co] | |
1396 | %dir %{py_sitedir}/samba/tests/blackbox | |
1397 | %{py_sitedir}/samba/tests/blackbox/*.py[co] | |
1398 | %dir %{py_sitedir}/samba/tests/samba_tool | |
1399 | %{py_sitedir}/samba/tests/samba_tool/*.py[co] | |
1400 | %dir %{py_sitedir}/samba/tests/dcerpc | |
1401 | %{py_sitedir}/samba/tests/dcerpc/*.py[co] | |
1402 | %dir %{py_sitedir}/samba/web_server | |
1403 | %{py_sitedir}/samba/web_server/*.py[co] | |
1404 | %if %{without system_libs} | |
1405 | %attr(755,root,root) %{py_sitedir}/*.so | |
1406 | %{py_sitedir}/tevent.py[co] | |
1407 | %endif | |
1408 | ||
1409 | %files test | |
1410 | %defattr(644,root,root,755) | |
1411 | %attr(755,root,root) %{_bindir}/gentest | |
1412 | %attr(755,root,root) %{_bindir}/locktest | |
1413 | %attr(755,root,root) %{_bindir}/masktest | |
1414 | %attr(755,root,root) %{_bindir}/ndrdump | |
1415 | %attr(755,root,root) %{_bindir}/smbtorture | |
1416 | %attr(755,root,root) %{_libdir}/libtorture.so.*.*.* | |
1417 | %attr(755,root,root) %ghost %{_libdir}/libtorture.so.0 | |
1418 | %attr(755,root,root) %{_libdir}/samba/libsubunit.so | |
1419 | %attr(755,root,root) %{_libdir}/samba/libdlz_bind9_for_torture.so | |
1420 | %{_mandir}/man1/gentest.1* | |
1421 | %{_mandir}/man1/locktest.1* | |
1422 | %{_mandir}/man1/masktest.1* | |
1423 | %{_mandir}/man1/ndrdump.1* | |
1424 | %{_mandir}/man1/smbtorture.1* | |
1425 | ||
1426 | %files test-devel | |
1427 | %defattr(644,root,root,755) | |
1428 | %attr(755,root,root) %{_libdir}/libtorture.so | |
1429 | %{_includedir}/samba-4.0/torture.h | |
1430 | %{_pkgconfigdir}/torture.pc | |
1431 | ||
1432 | %files -n samba3 | |
1433 | %defattr(644,root,root,755) | |
1434 | %attr(754,root,root) /etc/rc.d/init.d/smb | |
1435 | %{systemdunitdir}/nmb.service | |
1436 | %{systemdunitdir}/smb.service | |
1437 | %attr(755,root,root) %{_bindir}/dbwrap_tool | |
1438 | %attr(755,root,root) %{_bindir}/smbcontrol | |
1439 | %attr(755,root,root) %{_bindir}/smbpasswd | |
1440 | %attr(755,root,root) %{_bindir}/smbstatus | |
1441 | %attr(755,root,root) %{_bindir}/smbta-util | |
1442 | %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh | |
1443 | %attr(755,root,root) %{_sbindir}/nmbd | |
1444 | %attr(755,root,root) %{_sbindir}/smbd | |
1445 | %attr(755,root,root) %{_libdir}/samba/auth/samba4.so | |
1446 | %attr(755,root,root) %{_libdir}/samba/auth/unix.so | |
1447 | %attr(755,root,root) %{_libdir}/samba/auth/wbc.so | |
1448 | %attr(755,root,root) %{_libdir}/samba/libgpo.so | |
1449 | %attr(755,root,root) %{_libdir}/samba/libidmap.so | |
1450 | %attr(755,root,root) %{_libdir}/samba/libnet_keytab.so | |
1451 | %attr(755,root,root) %{_libdir}/samba/libnss_info.so | |
1452 | %attr(755,root,root) %{_libdir}/samba/libpopt_samba3.so | |
1453 | %attr(755,root,root) %{_libdir}/samba/libsmbsharemodes.so.0 | |
1454 | %dir %{_libdir}/samba/idmap | |
1455 | %attr(755,root,root) %{_libdir}/samba/idmap/ad.so | |
1456 | %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so | |
1457 | %attr(755,root,root) %{_libdir}/samba/idmap/hash.so | |
1458 | %attr(755,root,root) %{_libdir}/samba/idmap/rid.so | |
1459 | %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so | |
1460 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so | |
1461 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so | |
1462 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_linux.so | |
1463 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_posix.so | |
1464 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so | |
1465 | %attr(755,root,root) %{_libdir}/samba/vfs/commit.so | |
1466 | %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so | |
1467 | %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so | |
1468 | %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so | |
1469 | %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so | |
1470 | %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so | |
1471 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so | |
1472 | %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so | |
1473 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so | |
1474 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so | |
1475 | %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so | |
1476 | %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so | |
1477 | %dir %{_libdir}/samba/pdb | |
1478 | %attr(755,root,root) %{_libdir}/samba/pdb/ldap.so | |
1479 | %attr(755,root,root) %{_libdir}/samba/pdb/smbpasswd.so | |
1480 | %attr(755,root,root) %{_libdir}/samba/pdb/tdbsam.so | |
1481 | %attr(755,root,root) %{_libdir}/samba/pdb/wbc_sam.so | |
1482 | %dir %{_libdir}/samba/nss_info | |
1483 | %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so | |
1484 | %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so | |
1485 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so | |
1486 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so | |
1487 | %{_mandir}/man1/dbwrap_tool.1* | |
1488 | %{_mandir}/man1/smbcontrol.1* | |
1489 | %{_mandir}/man1/smbstatus.1* | |
1490 | %{_mandir}/man5/smbpasswd.5* | |
1491 | %{_mandir}/man8/idmap_ad.8* | |
1492 | %{_mandir}/man8/idmap_autorid.8* | |
1493 | %{_mandir}/man8/idmap_hash.8* | |
1494 | %{_mandir}/man8/idmap_ldap.8* | |
1495 | %{_mandir}/man8/idmap_nss.8* | |
1496 | %{_mandir}/man8/idmap_rid.8* | |
1497 | %{_mandir}/man8/idmap_tdb2.8* | |
1498 | %{_mandir}/man8/idmap_tdb.8* | |
1499 | %{_mandir}/man8/nmbd.8* | |
1500 | %{_mandir}/man8/smbd.8* | |
1501 | %{_mandir}/man8/smbpasswd.8* | |
1502 | %{_mandir}/man8/smbta-util.8* | |
1503 | %{_mandir}/man8/vfs_acl_tdb.8* | |
1504 | %{_mandir}/man8/vfs_acl_xattr.8* | |
1505 | %{_mandir}/man8/vfs_aio_fork.8* | |
1506 | %{_mandir}/man8/vfs_aio_linux.8* | |
1507 | %{_mandir}/man8/vfs_aio_pthread.8* | |
1508 | %{_mandir}/man8/vfs_commit.8* | |
1509 | %{_mandir}/man8/vfs_crossrename.8* | |
1510 | %{_mandir}/man8/vfs_dirsort.8* | |
1511 | %{_mandir}/man8/vfs_fileid.8* | |
1512 | %{_mandir}/man8/vfs_media_harmony.8* | |
1513 | %{_mandir}/man8/vfs_preopen.8* | |
1514 | %{_mandir}/man8/vfs_shadow_copy2.8* | |
1515 | %{_mandir}/man8/vfs_smb_traffic_analyzer.8* | |
1516 | %{_mandir}/man8/vfs_streams_depot.8* | |
1517 | %{_mandir}/man8/vfs_streams_xattr.8* | |
1518 | %{_mandir}/man8/vfs_time_audit.8* | |
1519 | %{_mandir}/man8/vfs_xattr_tdb.8* | |
1520 | ||
1521 | %files -n samba3-client | |
1522 | %defattr(644,root,root,755) | |
1523 | %attr(755,root,root) %{_bindir}/net | |
1524 | %attr(755,root,root) %{_bindir}/nmblookup | |
1525 | %attr(755,root,root) %{_bindir}/rpcclient | |
1526 | %attr(755,root,root) %{_bindir}/sharesec | |
1527 | %attr(755,root,root) %{_bindir}/smbcacls | |
1528 | %attr(755,root,root) %{_bindir}/smbclient | |
1529 | %attr(755,root,root) %{_bindir}/smbtree | |
1530 | %{_mandir}/man1/nmblookup.1* | |
1531 | %{_mandir}/man1/rpcclient.1* | |
1532 | %{_mandir}/man1/sharesec.1* | |
1533 | %{_mandir}/man1/smbcacls.1* | |
1534 | %{_mandir}/man1/smbclient.1* | |
1535 | %{_mandir}/man1/smbtree.1* | |
1536 | %{_mandir}/man8/net.8* | |
1537 | ||
1538 | %files -n samba3-common | |
1539 | %defattr(644,root,root,755) | |
1540 | %attr(755,root,root) %{_bindir}/eventlogadm | |
1541 | %attr(755,root,root) %{_bindir}/ntlm_auth | |
1542 | %attr(755,root,root) %{_bindir}/pdbedit | |
1543 | %attr(755,root,root) %{_bindir}/profiles | |
1544 | %attr(755,root,root) %{_bindir}/smbcquotas | |
1545 | %attr(755,root,root) %{_bindir}/testparm | |
1546 | %attr(755,root,root) %{_bindir}/vfstest | |
1547 | %dir %{_libdir}/samba/auth | |
1548 | %attr(755,root,root) %{_libdir}/samba/auth/script.so | |
1549 | %{_mandir}/man1/ntlm_auth.1* | |
1550 | %{_mandir}/man1/profiles.1* | |
1551 | %{_mandir}/man1/smbcquotas.1* | |
1552 | %{_mandir}/man1/testparm.1* | |
1553 | %{_mandir}/man1/vfstest.1* | |
1554 | %{_mandir}/man8/eventlogadm.8* | |
1555 | %{_mandir}/man8/pdbedit.8* | |
1556 | ||
1557 | %files -n samba3-devel | |
1558 | %defattr(644,root,root,755) | |
1559 | %attr(755,root,root) %{_libdir}/libnetapi.so | |
1560 | %attr(755,root,root) %{_libdir}/libpdb.so | |
1561 | %attr(755,root,root) %{_libdir}/libsmbldap.so | |
1562 | %{_includedir}/samba-4.0/lookup_sid.h | |
1563 | %{_includedir}/samba-4.0/machine_sid.h | |
1564 | %{_includedir}/samba-4.0/netapi.h | |
1565 | %{_includedir}/samba-4.0/passdb.h | |
1566 | %{_includedir}/samba-4.0/smbconf.h | |
1567 | %{_includedir}/samba-4.0/smb_ldap.h | |
1568 | %{_includedir}/samba-4.0/smbldap.h | |
1569 | %{_includedir}/samba-4.0/smb_share_modes.h | |
1570 | %{_pkgconfigdir}/netapi.pc | |
1571 | ||
1572 | %files -n samba3-vfs-audit | |
1573 | %defattr(644,root,root,755) | |
1574 | %attr(755,root,root) %{_libdir}/samba/vfs/audit.so | |
1575 | %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so | |
1576 | %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so | |
1577 | %{_mandir}/man8/vfs_audit.8* | |
1578 | %{_mandir}/man8/vfs_extd_audit.8* | |
1579 | %{_mandir}/man8/vfs_full_audit.8* | |
1580 | ||
1581 | %files -n samba3-vfs-cap | |
1582 | %defattr(644,root,root,755) | |
1583 | %attr(755,root,root) %{_libdir}/samba/vfs/cap.so | |
1584 | %{_mandir}/man8/vfs_cap.8* | |
1585 | ||
1586 | %files -n samba3-vfs-default_quota | |
1587 | %defattr(644,root,root,755) | |
1588 | %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so | |
1589 | %{_mandir}/man8/vfs_default_quota.8* | |
1590 | ||
1591 | %files -n samba3-vfs-expand_msdfs | |
1592 | %defattr(644,root,root,755) | |
1593 | %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so | |
1594 | ||
1595 | %files -n samba3-vfs-fake_perms | |
1596 | %defattr(644,root,root,755) | |
1597 | %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so | |
1598 | %{_mandir}/man8/vfs_fake_perms.8* | |
1599 | ||
1600 | %files -n samba3-vfs-notify_fam | |
1601 | %defattr(644,root,root,755) | |
1602 | %attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so | |
1603 | %{_mandir}/man8/vfs_notify_fam.8* | |
1604 | ||
1605 | %files -n samba3-vfs-netatalk | |
1606 | %defattr(644,root,root,755) | |
1607 | %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so | |
1608 | %{_mandir}/man8/vfs_netatalk.8* | |
1609 | ||
1610 | %files -n samba3-vfs-readahead | |
1611 | %defattr(644,root,root,755) | |
1612 | %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so | |
1613 | %{_mandir}/man8/vfs_readahead.8* | |
1614 | ||
1615 | %files -n samba3-vfs-readonly | |
1616 | %defattr(644,root,root,755) | |
1617 | %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so | |
1618 | %{_mandir}/man8/vfs_readonly.8* | |
1619 | ||
1620 | %files -n samba3-vfs-recycle | |
1621 | %defattr(644,root,root,755) | |
1622 | %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so | |
1623 | %{_mandir}/man8/vfs_recycle.8* | |
1624 | ||
1625 | %files -n samba3-vfs-shadow_copy | |
1626 | %defattr(644,root,root,755) | |
1627 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so | |
1628 | %{_mandir}/man8/vfs_shadow_copy.8* | |
1629 | ||
1630 | %files -n samba3-vfs-catia | |
1631 | %defattr(644,root,root,755) | |
1632 | %attr(755,root,root) %{_libdir}/samba/vfs/catia.so | |
1633 | %{_mandir}/man8/vfs_catia.8* | |
1634 | ||
1635 | %files -n samba3-vfs-scannedonly | |
1636 | %defattr(644,root,root,755) | |
1637 | %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so | |
1638 | %{_mandir}/man8/vfs_scannedonly.8* | |
1639 | ||
1640 | %files -n samba3-smbget | |
1641 | %defattr(644,root,root,755) | |
1642 | %attr(755,root,root) %{_bindir}/smbget | |
1643 | %{_mandir}/man1/smbget.1* | |
1644 | %{_mandir}/man5/smbgetrc.5* | |
1645 | ||
1646 | %if %{with cups} | |
1647 | %files -n cups-backend-samba3-smb | |
1648 | %defattr(644,root,root,755) | |
1649 | %attr(755,root,root) %{cups_serverbin}/backend/smb | |
1650 | %attr(755,root,root) %{_bindir}/smbspool | |
1651 | %{_mandir}/man8/smbspool.8* | |
1652 | %endif | |
1653 | ||
1654 | %files -n samba3-swat | |
1655 | %defattr(644,root,root,755) | |
1656 | #%doc swat/README* swat/help/* | |
1657 | %doc swat/help/* | |
1658 | %attr(755,root,root) %{_sbindir}/swat | |
1659 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat | |
1660 | %dir %{_datadir}/samba/swat | |
1661 | %{_datadir}/samba/swat/help | |
1662 | %{_datadir}/samba/swat/images | |
1663 | %{_datadir}/samba/swat/include | |
1664 | %dir %{_datadir}/samba/swat/lang | |
1665 | %lang(ja) %{_datadir}/samba/swat/lang/ja | |
1666 | %lang(ru) %{_datadir}/samba/swat/lang/ru | |
1667 | %lang(tr) %{_datadir}/samba/swat/lang/tr | |
1668 | %{_mandir}/man8/swat.8* | |
1669 | %lang(de) %{_datadir}/samba/codepages/de.msg | |
1670 | %{_datadir}/samba/codepages/en.msg | |
1671 | %lang(fi) %{_datadir}/samba/codepages/fi.msg | |
1672 | %lang(fr) %{_datadir}/samba/codepages/fr.msg | |
1673 | %lang(it) %{_datadir}/samba/codepages/it.msg | |
1674 | %lang(ja) %{_datadir}/samba/codepages/ja.msg | |
1675 | %lang(nl) %{_datadir}/samba/codepages/nl.msg | |
1676 | %lang(pl) %{_datadir}/samba/codepages/pl.msg | |
1677 | %lang(ru) %{_datadir}/samba/codepages/ru* | |
1678 | %lang(tr) %{_datadir}/samba/codepages/tr.msg | |
1679 | ||
1680 | %files -n samba3-winbind | |
1681 | %attr(755,root,root) %{_sbindir}/winbindd | |
1682 | %attr(754,root,root) /etc/rc.d/init.d/winbind | |
1683 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind | |
1684 | %{systemdunitdir}/winbind.service | |
1685 | %{_mandir}/man8/winbindd*.8* | |
1686 | ||
1687 | %files -n nss_wins | |
1688 | %defattr(644,root,root,755) | |
1689 | %attr(755,root,root) /%{_lib}/libnss_wins* | |
1690 | ||
1691 | %files -n samba3-libsmbclient | |
1692 | %defattr(644,root,root,755) | |
1693 | %attr(755,root,root) %{_libdir}/libsmbclient.so.* | |
1694 | %attr(755,root,root) %{_libdir}/libwbclient.so.* | |
1695 | %{_mandir}/man7/libsmbclient.7* | |
1696 | ||
1697 | %files -n samba3-libsmbclient-devel | |
1698 | %defattr(644,root,root,755) | |
1699 | %attr(755,root,root) %{_libdir}/libsmbclient.so | |
1700 | %attr(755,root,root) %{_libdir}/libwbclient.so | |
1701 | %{_includedir}/libsmbclient.h | |
1702 | %{_includedir}/wbclient.h | |
1703 | ||
1704 | %if %{with ldap} | |
1705 | %files -n openldap-schema-samba | |
1706 | %defattr(644,root,root,755) | |
1707 | %{schemadir}/*.schema | |
1708 | %endif |