2 # - look into other distro specs for valid %descriptions for samba 3
5 %bcond_without ads # without ActiveDirectory support
6 %bcond_without cups # without CUPS support
7 %bcond_without krb5 # without Kerberos5/Heimdal support
8 %bcond_without ldap # without LDAP support
9 %bcond_without python # without python libs/utils
11 # ADS requires krb5 and LDAP
12 %if !%{with krb5} || !%{with ldap}
15 %define vscan_version 0.3.6b
17 Summary(cs.UTF-8): Server SMB
18 Summary(da.UTF-8): SMB server
19 Summary(de.UTF-8): SMB-Server
20 Summary(es.UTF-8): El servidor SMB
21 Summary(fi.UTF-8): SMB-palvelin
22 Summary(fr.UTF-8): Serveur SMB
23 Summary(it.UTF-8): Server SMB
24 Summary(ja.UTF-8): Samba SMB サーバー
25 Summary(ko.UTF-8): 삼바 SMB 서버
26 Summary(pl.UTF-8): Serwer SMB
27 Summary(pt_BR.UTF-8): Cliente e servidor SMB
28 Summary(ru.UTF-8): SMB клиент и сервер
29 Summary(tr.UTF-8): SMB sunucusu
30 Summary(uk.UTF-8): SMB клієнт та сервер
31 Summary(zh_CN.UTF-8): Samba 客户端和服务器
37 Group: Networking/Daemons
38 Source0: http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
39 # Source0-md5: afe6923d05fed5b5ccab593c7a407cd1
43 Source4: %{name}.sysconfig
44 Source5: %{name}.logrotate
46 Source7: http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
47 # Source7-md5: 900502ba36b80620229b94e5129bc856
49 Source9: winbind.sysconfig
50 Patch0: %{name}-lib64.patch
51 Patch1: %{name}-FHS.patch
52 Patch2: %{name}-c++-nofail.patch
53 Patch3: %{name}-pthread.patch
54 Patch4: %{name}-libsmbclient-libnscd_link.patch
55 URL: http://www.samba.org/
56 BuildRequires: acl-devel
57 BuildRequires: autoconf
58 BuildRequires: automake
59 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
60 BuildRequires: dmapi-devel
61 %{?with_krb5:BuildRequires: heimdal-devel >= 0.7}
63 BuildRequires: libnscd-devel
64 BuildRequires: libmagic-devel
65 BuildRequires: libtool >= 2:1.4d
66 BuildRequires: ncurses-devel >= 5.2
67 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
68 BuildRequires: openssl-devel >= 0.9.7d
69 BuildRequires: pam-devel > 0.66
70 BuildRequires: popt-devel
71 %{?with_pgsql:BuildRequires: postgresql-devel}
73 BuildRequires: python-devel
74 BuildRequires: rpm-pythonprov
76 BuildRequires: readline-devel >= 4.2
77 BuildRequires: rpmbuild(macros) >= 1.304
78 BuildRequires: xfsprogs-devel
79 Requires(post,preun): /sbin/chkconfig
80 Requires: %{name}-common = %{epoch}:%{version}-%{release}
84 Requires: setup >= 2.4.6-7
85 # smbd links with libcups
86 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
87 Obsoletes: samba-pdb-xml
88 Obsoletes: samba-vfs-block
89 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91 %define _vfsdir %{_libdir}/%{name}/vfs
92 %define _sambahome /home/services/samba
94 %define cups_serverbin %{_prefix}/lib/cups
96 %define schemadir /usr/share/openldap/schema
98 # CFLAGS modified (the second ./configure)
99 %undefine configure_cache
102 Samba provides an SMB server which can be used to provide network
103 services to SMB (sometimes called "Lan Manager") clients, including
104 various versions of MS Windows, OS/2, and other Linux machines. Samba
105 also provides some SMB clients, which complement the built-in SMB
106 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
107 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
109 This release is known as the "Locking Update" and has full support for
110 Opportunistic File Locking. In addition this update includes native
111 support for Microsoft encrypted passwords, improved browse list and
112 WINS database management.
114 Please refer to the WHATSNEW.txt document for fixup information. This
115 binary release includes encrypted password support. Please read the
116 smb.conf file for implementation details.
118 %description -l cs.UTF-8
119 Samba poskytuje server SMB, který lze použít pro poskytování síťových
120 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
121 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
122 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
123 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
124 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
125 NetBIOS od společnosti Microsoft.
127 %description -l da.UTF-8
128 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
129 services til SMB (også kaldet "Lan Manager") klienter, incl.
130 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
131 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
132 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
133 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
136 %description -l de.UTF-8
137 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
138 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
139 verschiedenen Versionen von MS Windows-, OS/2- und anderen
140 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
141 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
142 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
143 (Microsoft Raw NetBIOS frame)-Protokoll.
145 %description -l es.UTF-8
146 Samba provee un servidor SMB que se puede usar para ofrecer servicios
147 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
148 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
149 Linux. Samba también ofrece algunos clientes SMB, que complementan el
150 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
151 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
154 %description -l fi.UTF-8
155 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
156 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
157 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
158 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
159 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
160 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
161 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
164 %description -l it.UTF-8
165 Samba fornisce un server SMB che puo` essere usato per fornire servizi
166 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
167 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
168 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
170 %description -l ja.UTF-8
171 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
172 を含む SMB (たまに "Lan Manager" と呼ばれる)
173 クライアントにネットワーク サービスを提供するために使用される SMB
174 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
175 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
178 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
179 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
180 新しい SWAT (Samba Web Administration Tool) を含みます。
181 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
183 %description -l ko.UTF-8
184 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
185 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
186 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
187 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
190 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
191 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
192 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
195 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
196 릴리즈는 암호화된 패스워드를 제공한다.
198 %description -l pl.UTF-8
199 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
200 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
201 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
202 znajduje się również oprogramowanie klienckie. Samba używa protokołu
203 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
204 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
205 haseł w standardzie MS i zarządzania bazą WINS.
207 %description -l pt_BR.UTF-8
208 O Samba provê um servidor SMB que pode ser usado para oferecer
209 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
210 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
211 máquinas Linux. O Samba também fornece alguns clientes SMB, que
212 complementam o sistema de arquivos SMB do Linux. O Samba usa o
213 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
214 NetBEUI (Microsoft Raw NetBIOS frame).
216 O Samba inclui a maioria das características de um servidor de
217 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
218 permite que o arquivo smb.conf seja gerenciado remotamente através de
219 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
222 %description -l ru.UTF-8
223 Samba предоставляет SMB-сервер, который может быть использован для
224 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
225 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
226 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
227 со встроенной в Linux файловой системой SMB.
229 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
230 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
232 Samba содержит практически работающую реализацию NT Domain Control и
233 включает новый SWAT (Samba Web Administration Tool), который позволяет
234 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
235 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
238 %description -l uk.UTF-8
239 Samba надає SMB-сервер, що може бути використаний для надання
240 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
241 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
242 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
243 файловою системою SMB.
245 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
246 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
248 Samba містить майже працюючу реализацію NT Domain Control та новый
249 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
250 керувати конфігураційним файлом smb.conf за допомогою вашого
251 улюбленого WEB-броузера. Поки що він дозволений через inetd на
255 Summary: Samba Web Administration Tool
256 Summary(es.UTF-8): Samba SWAT and Web documentation
257 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
258 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
259 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
260 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
261 Group: Networking/Admin
262 Requires: %{name} = %{epoch}:%{version}-%{release}
264 Requires: rc-inetd >= 0.8.2
268 swat allows a Samba administrator to configure the complex smb.conf
269 file via a Web browser. In addition, a swat configuration page has
270 help links to all the configurable options in the smb.conf file
271 allowing an administrator to easily look up the effects of any change.
273 %description swat -l pl.UTF-8
274 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
277 %description swat -l pt_BR.UTF-8
278 SWAT - ferramentada Web de configuração do Samba.
280 %description swat -l ru.UTF-8
281 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
282 для удаленного администрирования файла smb.conf при помощи вашего
283 любимого Web-браузера.
285 %description swat -l uk.UTF-8
286 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
287 для дистанційного адміністрування файлу smb.conf за допомогою вашого
288 улюбленого Web-браузеру.
291 Summary: Samba client programs
292 Summary(es.UTF-8): Cliente SMB de Samba
293 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
294 Summary(pl.UTF-8): Klienci serwera Samba
295 Summary(pt_BR.UTF-8): Cliente SMB do samba
296 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
297 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
298 Group: Applications/Networking
299 Requires: %{name}-common = %{epoch}:%{version}-%{release}
300 %{?with_krb5:Requires: heimdal-libs >= 0.7}
301 Obsoletes: mount-cifs
305 Samba-client provides some SMB clients, which complement the build-in
306 SMB filesystem in Linux. These allow accessing of SMB shares and
307 printing to SMB printers.
309 %description client -l pt_BR.UTF-8
310 O pacote samba-clientes prove alguns clientes SMB, que complementam o
311 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
312 e também, à impressoras SMB.
314 %description client -l es.UTF-8
315 Cliente SMB de Samba.
317 %description client -l ja.UTF-8
318 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
319 クライアントを提供します。これらは SMB 共有のアクセスと SMB
322 %description client -l pl.UTF-8
323 Samba-client dostarcza programy uzupełniające obsługę systemu plików
324 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
325 drukowanie w sieci SMB.
327 %description client -l pt_BR.UTF-8
328 O pacote samba-clientes prove alguns clientes SMB, que complementam o
329 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
330 e também, à impressoras SMB.
332 %description client -l ru.UTF-8
333 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
334 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
335 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
337 %description client -l uk.UTF-8
338 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
339 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
340 до каталогів спільного використання SMB та друк на SMB-прінтери.
343 Summary: Files used by both Samba servers and clients
344 Summary(es.UTF-8): Common files between samba and samba-clients
345 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
346 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
347 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
348 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
349 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
350 Group: Networking/Daemons
353 Samba-common provides files necessary for both the server and client
356 %description common -l ja.UTF-8
357 Samba-common は Samba のサーバとクライアントの両方のパッケージで
360 %description common -l pl.UTF-8
361 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
364 %description common -l pt_BR.UTF-8
365 Arquivos em comum entre os pacotes samba e samba-clients.
367 %description common -l ru.UTF-8
368 Samba-common содержит файлы, необходимые для работы как клиента, так и
371 %description common -l uk.UTF-8
372 Samba-common містить файли, необхідні для роботи як клієнта, так і
376 Summary: Samba-winbind daemon, utilities and documentation
377 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
378 Group: Networking/Daemons
379 Requires(post,preun): /sbin/chkconfig
380 Requires: %{name}-common = %{epoch}:%{version}-%{release}
383 Provides the winbind daemon and testing tools to allow authentication
384 and group/user enumeration from a Windows or Samba domain controller.
386 %description winbind -l pl.UTF-8
387 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
388 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
392 Summary: Name Service Switch service for WINS
393 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
395 Requires: %{name}-common = %{epoch}:%{version}-%{release}
397 %description -n nss_wins
398 Provides the libnss_wins shared library which resolves NetBIOS names
401 %description -n nss_wins -l pl.UTF-8
402 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
405 %package -n pam-pam_smbpass
406 Summary: PAM Samba Password Module
407 Summary(pl.UTF-8): Moduł PAM smbpass
409 Obsoletes: pam_smbpass
411 %description -n pam-pam_smbpass
412 PAM module which can be used on conforming systems to keep the
413 smbpasswd (Samba password) database in sync with the unix password
416 %description -n pam-pam_smbpass -l pl.UTF-8
417 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
418 Samby) zsynchronizowanego z hasłami uniksowymi.
420 %package -n libsmbclient
421 Summary: libsmbclient - samba client library
422 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
425 %description -n libsmbclient
426 libsmbclient - library that allows to use samba clients functions.
428 %description -n libsmbclient -l pl.UTF-8
429 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
432 %package -n libsmbclient-devel
433 Summary: libsmbclient - samba client library
434 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
435 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
436 Group: Development/Libraries
437 Requires: libsmbclient = %{epoch}:%{version}-%{release}
439 %description -n libsmbclient-devel
440 Header files for libsmbclient.
442 %description -n libsmbclient-devel -l pl.UTF-8
443 Pliki nagłówkowe dla libsmbclient.
445 %description -n libsmbclient-devel -l pt_BR.UTF-8
446 Arquivos de inclusão, bibliotecas e documentação necessários para
447 desenvolver aplicativos clientes para o samba.
449 %package -n libsmbclient-static
450 Summary: Static version of libsmbclient - samba client library
451 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
452 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
453 Group: Development/Libraries
454 Requires: libsmbclient = %{epoch}:%{version}-%{release}
456 %description -n libsmbclient-static
457 Static libsmbclient library.
459 %description -n libsmbclient-static -l pl.UTF-8
460 Statyczna biblioteka libsmbclient.
463 Summary: Header files for Samba
464 Summary(pl.UTF-8): Pliki nagłówkowe Samby
465 Group: Development/Libraries
468 Header files for Samba.
470 %description devel -l pl.UTF-8
471 Pliki nagłówkowe Samby.
474 Summary: A utility for retrieving files using the SMB protocol
475 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
476 Group: Applications/Networking
478 %description -n smbget
479 wget-like utility for download files over SMB.
481 %description -n smbget -l pl.UTF-8
482 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
483 używanym w sieciach MS Windows.
485 %package -n cups-backend-smb
486 Summary: CUPS backend for printing to SMB printers
487 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
488 Group: Applications/Printing
489 Requires: %{name}-client = %{epoch}:%{version}-%{release}
490 Requires: cups >= 1:1.2.0
492 %description -n cups-backend-smb
493 CUPS backend for printing to SMB printers.
495 %description -n cups-backend-smb -l pl.UTF-8
496 Backend CUPS-a drukujący na drukarkach SMB.
498 %package -n python-samba
499 Summary: Samba python tools and libraries
500 Summary(pl.UTF-8): Narzędzia i biblioteki pythona do samby
501 Group: Applications/Networking
502 %pyrequires_eq python-libs
504 %description -n python-samba
505 Samba python tools and libraries.
507 %description -n python-samba -l pl.UTF-8
508 Narzędzia i biblioteki pythona do samby.
511 Summary: VFS module to audit file access
512 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
513 Group: Networking/Daemons
514 Requires: %{name} = %{epoch}:%{version}-%{release}
516 %description vfs-audit
517 A simple module to audit file access to the syslog facility. The
518 following operations are logged:
519 - share connect/disconnect,
520 - directory opens/create/remove,
521 - file open/close/rename/unlink/chmod.
523 %description vfs-audit -l pl.UTF-8
524 Proste moduły do monitorowania dostępu do plików na serwerze samba do
525 do sysloga. Monitorowane są następujące operacje:
526 - podłączenie do/odłączenie od zasobu,
527 - otwarcie/utworzenie/zmiana nazwy katalogu,
528 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
529 Zawiera moduły audit, extd_audit i full_audit.
532 Summary: VFS module for CAP and samba compatibility
533 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
534 Group: Networking/Daemons
535 Requires: %{name} = %{epoch}:%{version}-%{release}
538 Convert an incoming Shift-JIS character to the 3 byte hex
539 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
540 This is used for compatibility between Samba and CAP.
542 %description vfs-cap -l pl.UTF-8
543 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
544 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
546 %package vfs-default_quota
547 Summary: VFS module to store default quotas in a specified quota record
548 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
549 Group: Networking/Daemons
550 Requires: %{name} = %{epoch}:%{version}-%{release}
552 %description vfs-default_quota
553 This VFS modules stores default quotas in a specified quota record.
555 %description vfs-default_quota -l pl.UTF-8
556 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
559 %package vfs-expand_msdfs
560 Summary: VFS module for hosting a Microsoft Distributed File System Tree
561 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
562 Group: Networking/Daemons
563 Requires: %{name} = %{epoch}:%{version}-%{release}
565 %description vfs-expand_msdfs
566 A VFS module for hosting a Microsoft Distributed File System Tree.
568 The Distributed File System (DFS) provides a means of separating the
569 logical view of files and directories that users see from the actual
570 physical locations of these resources on the network. It allows for
571 higher availability, smoother storage expansion, load balancing, and
574 %description vfs-expand_msdfs -l pl.UTF-8
575 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
578 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
579 plików i katalogów widocznych przez użytkowników z fizycznego
580 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
581 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
583 %package vfs-fake_perms
584 Summary: VFS module to report read-only fires as writable
585 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
586 Group: Networking/Daemons
587 Requires: %{name} = %{epoch}:%{version}-%{release}
589 %description vfs-fake_perms
590 This module allow Roaming Profile files and directories to be set (on
591 the Samba server under UNIX) as read only. This module will, if
592 installed on the Profiles share, report to the client that the Profile
593 files and directories are writeable. This satisfies the client even
594 though the files will never be overwritten as the client logs out or
597 %description vfs-fake_perms -l pl.UTF-8
598 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
599 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
600 przypadku zainstalowania na udziale z profilami będzie zgłaszał
601 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
602 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
603 lub wylogowywaniu klienta.
605 %package vfs-netatalk
606 Summary: VFS module for ease co-existence of samba and netatalk
607 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
608 Group: Networking/Daemons
609 Requires: %{name} = %{epoch}:%{version}-%{release}
611 %description vfs-netatalk
612 Package contains a netatalk VFS module for ease co-existence of Samba
613 and netatalk file sharing services.
615 %description vfs-netatalk -l pl.UTF-8
616 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
617 i netatalk przy udostępnianiu zasobów.
620 Summary: VFS module to add recycle bin facility to a samba share
621 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
622 Group: Networking/Daemons
623 Requires: %{name} = %{epoch}:%{version}-%{release}
625 %description vfs-recycle
626 VFS module to add recycle bin facility to a samba share.
628 %description vfs-recycle -l pl.UTF-8
629 Moduł VFS dodający możliwość kosza do zasobu samby.
631 %package vfs-readonly
632 Summary: VFS module for read-only limitation for specified share
633 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
634 Group: Networking/Daemons
635 Requires: %{name} = %{epoch}:%{version}-%{release}
637 %description vfs-readonly
638 This module performs a read-only limitation for specified share (or
639 all of them if it is loaded in a [global] section) based on period
640 definition in smb.conf.
642 %description vfs-readonly -l pl.UTF-8
643 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
644 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
645 oparciu o definicje okresów w smb.conf.
647 %package vfs-shadow_copy
648 Summary: VFS module to make automatic copy of data in samba share
649 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
650 Group: Networking/Daemons
651 Requires: %{name} = %{epoch}:%{version}-%{release}
653 %description vfs-shadow_copy
654 VFS module to make automatic copy of data in samba share.
656 %description vfs-shadow_copy -l pl.UTF-8
657 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
659 %package vfs-vscan-antivir
660 Summary: On-access virus scanning for samba using AntiVir
661 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
662 Group: Networking/Daemons
663 Requires: %{name} = %{epoch}:%{version}-%{release}
664 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
666 %description vfs-vscan-antivir
667 A vfs-module for samba to implement on-access scanning using the
668 AntiVir antivirus software (which must be installed to use this).
670 %description vfs-vscan-antivir -l pl.UTF-8
671 Moduł vfs do samby implementujący skaning antywirusowy w czasie
672 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
673 (które musi być zainstalowane, aby wykorzystać ten moduł).
675 %package vfs-vscan-clamav
676 Summary: On-access virus scanning for samba using ClamAV
677 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
678 Group: Networking/Daemons
679 Requires: %{name} = %{epoch}:%{version}-%{release}
681 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
683 %description vfs-vscan-clamav
684 A vfs-module for samba to implement on-access scanning using the
685 ClamAV antivirus software (which must be installed to use this).
687 %description vfs-vscan-clamav -l pl.UTF-8
688 Moduł vfs do samby implementujący skaning antywirusowy w czasie
689 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
690 (które musi być zainstalowane, aby wykorzystać ten moduł).
692 %package vfs-vscan-fprot
693 Summary: On-access virus scanning for samba using FPROT
694 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
695 Group: Networking/Daemons
696 Requires: %{name} = %{epoch}:%{version}-%{release}
697 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
698 Obsoletes: vscan-fprot
700 %description vfs-vscan-fprot
701 A vfs-module for samba to implement on-access scanning using the FPROT
702 antivirus software (which must be installed to use this).
704 %description vfs-vscan-fprot -l pl.UTF-8
705 Moduł vfs do samby implementujący skaning antywirusowy w czasie
706 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
707 (które musi być zainstalowane, aby wykorzystać ten moduł).
709 %package vfs-vscan-fsav
710 Summary: On-access virus scanning for samba using F-Secure AntiVirus
711 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
712 Group: Networking/Daemons
713 Requires: %{name} = %{epoch}:%{version}-%{release}
714 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
715 Obsoletes: vscan-fsav
717 %description vfs-vscan-fsav
718 A vfs-module for samba to implement on-access scanning using the
719 F-Secure AntiVirus antivirus software (which must be installed to use
722 %description vfs-vscan-fsav -l pl.UTF-8
723 Moduł vfs do samby implementujący skaning antywirusowy w czasie
724 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
725 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
727 %package vfs-vscan-kavp
728 Summary: On-access virus scanning for samba using Kaspersky AVP
729 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
730 Group: Networking/Daemons
731 Requires: %{name} = %{epoch}:%{version}-%{release}
732 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
733 Obsoletes: vscan-kavp
735 %description vfs-vscan-kavp
736 A vfs-module for samba to implement on-access scanning using the
737 Kaspersky AVP antivirus software (which must be installed to use
740 %description vfs-vscan-kavp -l pl.UTF-8
741 Moduł vfs do samby implementujący skaning antywirusowy w czasie
742 dostępu do plików korzystając z oprogramowania antywirusowego
743 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
746 %package vfs-vscan-mcafee
747 Summary: On-access virus scanning for samba using mcafee
748 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
749 Group: Networking/Daemons
750 Requires: %{name} = %{epoch}:%{version}-%{release}
752 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
753 Obsoletes: vscan-mcafee
755 %description vfs-vscan-mcafee
756 A vfs-module for samba to implement on-access scanning using the
757 mcafee antivirus software (which must be installed to use this).
759 %description vfs-vscan-mcafee -l pl.UTF-8
760 Moduł vfs do samby implementujący skaning antywirusowy w czasie
761 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
762 (które musi być zainstalowane, aby wykorzystać ten moduł).
764 %package vfs-vscan-mks
765 Summary: On-access virus scanning for samba using mks
766 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
767 Group: Networking/Daemons
768 Requires: %{name} = %{epoch}:%{version}-%{release}
770 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
773 %description vfs-vscan-mks
774 A vfs-module for samba to implement on-access scanning using the mks
775 antivirus software (which must be installed to use this).
777 %description vfs-vscan-mks -l pl.UTF-8
778 Moduł vfs do samby implementujący skaning antywirusowy w czasie
779 dostępu do plików korzystając z oprogramowania antywirusowego mks
780 (które musi być zainstalowane, aby wykorzystać ten moduł).
782 %package vfs-vscan-openantivirus
783 Summary: On-access virus scanning for samba using OpenAntivirus
784 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
785 Group: Networking/Daemons
786 Requires: %{name} = %{epoch}:%{version}-%{release}
787 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
788 Obsoletes: vscan-openantivirus
790 %description vfs-vscan-openantivirus
791 A vfs-module for samba to implement on-access scanning using the
792 OpenAntivirus antivirus software (which must be installed to use
795 %description vfs-vscan-openantivirus -l pl.UTF-8
796 Moduł vfs do samby implementujący skaning antywirusowy w czasie
797 dostępu do plików korzystając z oprogramowania antywirusowego
798 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
801 %package vfs-vscan-sophos
802 Summary: On-access virus scanning for samba using Sophos
803 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
804 Group: Networking/Daemons
805 Requires: %{name} = %{epoch}:%{version}-%{release}
806 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
807 Obsoletes: vscan-sophos
809 %description vfs-vscan-sophos
810 A vfs-module for samba to implement on-access scanning using the
811 Sophos antivirus software (which must be installed to use this).
813 %description vfs-vscan-sophos -l pl.UTF-8
814 Moduł vfs do samby implementujący skaning antywirusowy w czasie
815 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
816 (które musi być zainstalowane, aby wykorzystać ten moduł).
818 %package vfs-vscan-symantec
819 Summary: On-access virus scanning for samba using Symantec
820 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
821 Group: Networking/Daemons
822 Requires: %{name} = %{epoch}:%{version}-%{release}
823 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
824 Obsoletes: vscan-symantec
826 %description vfs-vscan-symantec
827 A vfs-module for samba to implement on-access scanning using the
828 Symantec antivirus software (which must be installed to use this).
830 %description vfs-vscan-symantec -l pl.UTF-8
831 Moduł vfs do samby implementujący skaning antywirusowy w czasie
832 dostępu do plików korzystając z oprogramowania antywirusowego firmy
833 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
835 %package vfs-vscan-trend
836 Summary: On-access virus scanning for samba using Trend
837 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
838 Group: Networking/Daemons
839 Requires: %{name} = %{epoch}:%{version}-%{release}
840 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
841 Obsoletes: vscan-trend
843 %description vfs-vscan-trend
844 A vfs-module for samba to implement on-access scanning using the Trend
845 antivirus software (which must be installed to use this).
847 %description vfs-vscan-trend -l pl.UTF-8
848 Moduł vfs do samby implementujący skaning antywirusowy w czasie
849 dostępu do plików korzystając z oprogramowania antywirusowego Trend
850 (które musi być zainstalowane, aby wykorzystać ten moduł).
852 %package -n openldap-schema-samba
853 Summary: Samba LDAP schema
854 Summary(pl.UTF-8): Schemat LDAP dla samby
855 Group: Networking/Daemons
856 Requires(post,postun): sed >= 4.0
857 Requires: openldap-servers
859 %description -n openldap-schema-samba
860 This package contains samba.schema for openldap.
862 %description -n openldap-schema-samba -l pl.UTF-8
863 Ten pakiet zawiera schemat samby dla openldap-a.
866 Summary: Samba HTML documentation
867 Summary(pl.UTF-8): Documentacja samby w formacie HTML
870 %description doc-html
871 Samba HTML documentation, consists of:
873 1. SAMBA Developers Guide
874 This book is a collection of documents that might be useful for
875 people developing samba or those interested in doing so. It's nothing
876 more than a collection of documents written by samba developers about
877 the internals of various parts of samba and the SMB protocol. It's
878 still (and will always be) incomplete.
880 2. Samba-3 by Example
881 Practical Exercises in Successful Samba Deployment.
883 3. The Official Samba-3 HOWTO and Reference Guide
884 This book provides example configurations, it documents key aspects
885 of Microsoft Windows networking, provides in-depth insight into the
886 important configuration of Samba-3, and helps to put all of these
887 into a useful framework.
889 4. Using Samba, 2nd Edition
890 Using Samba, Second Edition is a comprehensive guide to Samba
891 administration. It covers all versions of Samba from 2.0 to 2.2,
892 including selected features from an alpha version of 3.0, as well as
893 the SWAT graphical configuration tool. Updated for Windows 2000, ME,
894 and XP, the book also explores Samba's new role as a primary domain
895 controller and domain member server, its support for the use of
896 Windows NT/2000/XP authentication and filesystem security on the host
897 Unix system, and accessing shared files and printers from Unix
900 5. Man pages The Samba man pages in HTML.
902 %description doc-html -l pl.UTF-8
903 Documentacja samby w formacie HTML.
906 Summary: Samba documentation - PDF format
907 Summary(pl.UTF-8): Documentacja samby w formacie PDF
911 Samba PDF documentation, consists of:
913 1. SAMBA Developers Guide
914 This book is a collection of documents that might be useful for
915 people developing samba or those interested in doing so. It's nothing
916 more than a collection of documents written by samba developers about
917 the internals of various parts of samba and the SMB protocol. It's
918 still (and will always be) incomplete.
920 2. Samba-3 by Example
921 Practical Exercises in Successful Samba Deployment.
923 3. The Official Samba-3 HOWTO and Reference Guide
924 This book provides example configurations, it documents key aspects
925 of Microsoft Windows networking, provides in-depth insight into the
926 important configuration of Samba-3, and helps to put all of these
927 into a useful framework.
929 %description doc-pdf -l pl.UTF-8
930 Documentacja samby w formacie PDF.
934 %if "%{_lib}" == "lib64"
951 # Removed options (default or not supported by configure script)
954 # --without-smbwrapper \
955 # --with-sslinc=%{_prefix} \
958 # %{?with_ipv6:--with-ipv6} \
961 --with-rootsbindir=/sbin \
962 --with-pammodulesdir=/%{_lib}/security \
965 --with-libsmbclient \
966 --with-lockdir=/var/lib/samba \
969 --with%{!?with_ads:out}-ads \
970 --with-privatedir=%{_sysconfdir}/samba \
975 --with-swatdir=%{_datadir}/swat \
979 %{?with_python:--with-python} \
980 --with%{!?with_ldap:out}-ldap \
981 --with%{!?with_krb5:out}-krb5
984 %{__make} everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
989 CFLAGS="%{rpmcflags} -fPIC"
992 cd samba-vscan-%{vscan_version}
993 cp -f /usr/share/automake/config.sub .
998 rm -rf $RPM_BUILD_ROOT
999 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1000 $RPM_BUILD_ROOT{/var/{log,log/archiv,spool}/samba,/var/lib/samba/printing} \
1001 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1002 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1006 DESTDIR=$RPM_BUILD_ROOT \
1007 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1009 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1012 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
1014 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1015 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1016 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1017 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1018 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1019 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1020 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1021 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1023 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1024 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1025 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1026 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1027 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1028 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1029 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1031 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
1032 install source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1033 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
1034 mv $RPM_BUILD_ROOT%{_libdir}/samba/libmsrpc.so $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so.0
1035 install source/bin/libmsrpc.a $RPM_BUILD_ROOT%{_libdir}/libmsrpc.a
1036 ln -s libmsrpc.so.0 $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so
1038 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
1040 # these are needed to build samba-pdbsql
1041 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{smbwrapper,tdb,nsswitch}
1042 cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1043 cp -a source/smbwrapper/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/smbwrapper
1044 cp -a source/tdb/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1045 cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1048 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1049 install examples/VFS/samba-vscan-%{vscan_version}/{antivir,clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
1051 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1053 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1056 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1057 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1060 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1061 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1063 # we have this utility in tdb package
1064 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
1068 install -d $RPM_BUILD_ROOT%{py_sitedir}
1069 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1072 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1075 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1079 rm -rf $RPM_BUILD_ROOT
1082 /sbin/chkconfig --add smb
1083 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1084 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1085 /sbin/service smb stop >&2
1086 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1087 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1088 if [ -d /var/lock/samba/printing ]; then
1089 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1091 /sbin/service smb start >&2
1093 %service smb restart "Samba daemons"
1097 if [ "$1" = "0" ]; then
1099 /sbin/chkconfig --del smb
1103 /sbin/chkconfig --add winbind
1104 %service winbind restart "Winbind daemon"
1107 if [ "$1" = "0" ]; then
1108 %service winbind stop
1109 /sbin/chkconfig --del winbind
1113 %service -q rc-inetd reload
1116 if [ "$1" = 0 ]; then
1117 %service -q rc-inetd reload
1120 %post -n openldap-schema-samba
1121 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1122 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1123 %service -q ldap restart
1125 %postun -n openldap-schema-samba
1126 if [ "$1" = "0" ]; then
1127 %openldap_schema_unregister %{schemadir}/samba.schema
1128 %service -q ldap restart
1131 %triggerpostun -- samba < 1.9.18p7
1132 if [ "$1" != "0" ]; then
1133 /sbin/chkconfig --add smb
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_sbindir}/nmbd
1139 %attr(755,root,root) %{_sbindir}/smbd
1140 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1141 %attr(755,root,root) %{_bindir}/smbstatus
1142 %attr(755,root,root) %{_bindir}/smbpasswd
1143 %attr(755,root,root) %{_bindir}/smbcontrol
1144 %attr(755,root,root) %{_bindir}/tdbbackup
1145 %attr(755,root,root) %{_bindir}/tdbtool_samba
1147 %dir %{_libdir}/%{name}/pdb
1150 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1151 %attr(754,root,root) /etc/rc.d/init.d/smb
1152 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1153 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1154 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1155 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1156 %{_mandir}/man1/log2pcap.1*
1157 %{_mandir}/man1/smbstatus.1*
1158 %{_mandir}/man1/smbcontrol.1*
1159 %{_mandir}/man5/smbpasswd.5*
1160 %{_mandir}/man7/samba.7*
1161 %{_mandir}/man8/nmbd.8*
1162 %{_mandir}/man8/smbd.8*
1163 %{_mandir}/man8/smbpasswd.8*
1164 %{_mandir}/man8/tdbbackup.8*
1168 %ghost /var/lib/samba/*.dat
1169 %dir /var/lib/samba/printing
1171 %attr(750,root,root) %dir /var/log/samba
1172 %attr(750,root,root) %dir /var/log/samba/cores
1173 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1174 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1175 %attr(750,root,root) %dir /var/log/archiv/samba
1176 %attr(1777,root,root) %dir /var/spool/samba
1182 %defattr(644,root,root,755)
1183 %attr(755,root,root) %{_sbindir}/winbindd
1184 %attr(755,root,root) %{_bindir}/wbinfo
1185 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1186 %attr(755,root,root) /%{_lib}/libnss_winbind*
1187 %attr(754,root,root) /etc/rc.d/init.d/winbind
1188 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1189 %{_mandir}/man1/wbinfo*.1*
1190 %{_mandir}/man7/pam_winbind.7*
1191 %{_mandir}/man8/winbindd*.8*
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) /%{_lib}/libnss_wins*
1198 %defattr(644,root,root,755)
1199 %attr(755,root,root) /sbin/mount.smbfs
1200 %attr(755,root,root) /sbin/mount.cifs
1201 %attr(755,root,root) /sbin/umount.cifs
1202 %attr(755,root,root) %{_bindir}/net
1203 %attr(755,root,root) %{_bindir}/smbmnt
1204 %attr(755,root,root) %{_bindir}/smbmount
1205 %attr(755,root,root) %{_bindir}/smbtree
1206 %attr(755,root,root) %{_bindir}/smbumount
1207 %{_mandir}/man1/smbtree.1*
1208 %{_mandir}/man8/net.8*
1209 %{_mandir}/man8/smbmnt.8*
1210 %{_mandir}/man8/smbmount.8*
1211 %{_mandir}/man8/smbumount.8*
1212 %{_mandir}/man8/*mount.cifs.8*
1213 %attr(755,root,root) %{_bindir}/nmblookup
1214 %attr(755,root,root) %{_bindir}/smbcacls
1215 %attr(755,root,root) %{_bindir}/smbclient
1216 %attr(755,root,root) %{_bindir}/smbtar
1217 %{_mandir}/man1/nmblookup.1*
1218 %{_mandir}/man1/smbcacls.1*
1219 %{_mandir}/man1/smbclient.1*
1220 %{_mandir}/man1/smbtar.1*
1221 %{_mandir}/man1/smbsh.1*
1222 %attr(755,root,root) %{_bindir}/rpcclient
1223 %{_mandir}/man1/rpcclient.1*
1224 %attr(755,root,root) %{_bindir}/findsmb
1225 %{_mandir}/man1/findsmb.1*
1228 %defattr(644,root,root,755)
1229 %doc README Manifest WHATSNEW.txt
1230 %doc Roadmap docs/registry/*
1231 %doc docs/{history,THANKS}
1232 %dir %{_sysconfdir}/samba
1233 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1235 %attr(755,root,root) %{_bindir}/eventlogadm
1236 %attr(755,root,root) %{_bindir}/ntlm_auth
1237 %attr(755,root,root) %{_bindir}/pdbedit
1238 %attr(755,root,root) %{_bindir}/profiles
1239 %attr(755,root,root) %{_bindir}/smbcquotas
1240 %attr(755,root,root) %{_bindir}/testparm
1241 %attr(755,root,root) %{_bindir}/vfstest
1242 %dir %{_libdir}/%{name}
1243 %{_libdir}/%{name}/*.dat
1244 %dir %{_libdir}/%{name}/auth
1245 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1246 %dir %{_libdir}/%{name}/charset
1247 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1248 %{_mandir}/man1/ntlm_auth.1*
1249 %{_mandir}/man1/profiles.1*
1250 %{_mandir}/man1/smbcquotas.1*
1251 %{_mandir}/man1/testparm.1*
1252 %{_mandir}/man1/vfstest.1*
1253 #%{_mandir}/man1/log2pcap.1*
1254 %{_mandir}/man5/lmhosts.5*
1255 %{_mandir}/man5/smb.conf.5*
1256 %{_mandir}/man8/pdbedit.8*
1259 %defattr(644,root,root,755)
1260 #%doc swat/README* swat/help/*
1262 %attr(755,root,root) %{_sbindir}/swat
1263 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1264 %dir %{_datadir}/swat
1265 %{_datadir}/swat/help
1266 %{_datadir}/swat/images
1267 %{_datadir}/swat/include
1268 %{_datadir}/swat/using_samba
1269 %dir %{_datadir}/swat/lang
1270 %lang(ja) %{_datadir}/swat/lang/ja
1271 %lang(tr) %{_datadir}/swat/lang/tr
1272 %lang(de) %{_libdir}/%{name}/de.msg
1273 %{_libdir}/%{name}/en.msg
1274 %lang(fr) %{_libdir}/%{name}/fr.msg
1275 %lang(it) %{_libdir}/%{name}/it.msg
1276 %lang(ja) %{_libdir}/%{name}/ja.msg
1277 %lang(nl) %{_libdir}/%{name}/nl.msg
1278 %lang(pl) %{_libdir}/%{name}/pl.msg
1279 %lang(tr) %{_libdir}/%{name}/tr.msg
1280 %{_mandir}/man8/swat.8*
1283 %files -n python-samba
1284 %defattr(644,root,root,755)
1285 %dir %{py_sitedir}/samba
1286 %attr(755,root,root) %{py_sitedir}/samba/*.so
1287 %{py_sitedir}/samba/*.py
1288 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1289 %doc source/python/examples
1292 %files -n pam-pam_smbpass
1293 %defattr(644,root,root,755)
1294 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1295 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1297 %files -n libsmbclient
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_libdir}/libmsrpc.so.*
1300 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1301 %{_mandir}/man7/libsmbclient.7*
1303 %files -n libsmbclient-devel
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/libmsrpc.so
1306 %attr(755,root,root) %{_libdir}/libsmbclient.so
1307 %{_includedir}/libmsrpc.h
1308 %{_includedir}/libsmbclient.h
1311 %defattr(644,root,root,755)
1312 %{_includedir}/%{name}
1314 %files -n libsmbclient-static
1315 %defattr(644,root,root,755)
1316 %{_libdir}/libmsrpc.a
1317 %{_libdir}/libsmbclient.a
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_bindir}/smbget
1322 %{_mandir}/man1/smbget.1*
1323 %{_mandir}/man5/smbgetrc.5*
1326 %files -n cups-backend-smb
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_bindir}/smbspool
1329 %attr(755,root,root) %{cups_serverbin}/backend/smb
1330 %{_mandir}/man8/smbspool.8*
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_vfsdir}/audit.so
1336 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1337 %attr(755,root,root) %{_vfsdir}/full_audit.so
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_vfsdir}/cap.so
1343 %files vfs-default_quota
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) %{_vfsdir}/default_quota.so
1347 %files vfs-expand_msdfs
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1351 %files vfs-fake_perms
1352 %defattr(644,root,root,755)
1353 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_vfsdir}/netatalk.so
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_vfsdir}/readonly.so
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_vfsdir}/recycle.so
1367 %files vfs-shadow_copy
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1371 %files vfs-vscan-antivir
1372 %defattr(644,root,root,755)
1373 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1374 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1375 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1377 %files vfs-vscan-clamav
1378 %defattr(644,root,root,755)
1379 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1380 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1381 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1383 %files vfs-vscan-fprot
1384 %defattr(644,root,root,755)
1385 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1386 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1387 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1389 %files vfs-vscan-fsav
1390 %defattr(644,root,root,755)
1391 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1392 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1393 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1395 %files vfs-vscan-kavp
1396 %defattr(644,root,root,755)
1397 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1398 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1399 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1401 %files vfs-vscan-mcafee
1402 %defattr(644,root,root,755)
1403 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1404 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1405 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1407 %ifarch %{ix86} %{x8664}
1408 %files vfs-vscan-mks
1409 %defattr(644,root,root,755)
1410 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1412 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1415 %files vfs-vscan-openantivirus
1416 %defattr(644,root,root,755)
1417 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1419 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1421 %files vfs-vscan-sophos
1422 %defattr(644,root,root,755)
1423 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1425 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1427 %files vfs-vscan-symantec
1428 %defattr(644,root,root,755)
1429 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1430 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1431 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1433 %files vfs-vscan-trend
1434 %defattr(644,root,root,755)
1435 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1436 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1437 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1440 %files -n openldap-schema-samba
1441 %defattr(644,root,root,755)
1442 %{schemadir}/*.schema
1446 %defattr(644,root,root,755)
1447 %doc docs/htmldocs/*
1450 %defattr(644,root,root,755)