2 # - drop tdb.spec and build tdb,tdb-devel,tdb-static package from samba
3 # - look into other distro specs for valid %descriptions for samba 3
4 # - unpackaged man pages for modules that are not built by default,
5 # maybe we should build them?
6 # /usr/share/man/man8/vfs_cacheprime.8*
7 # /usr/share/man/man8/vfs_catia.8*
8 # /usr/share/man/man8/vfs_commit.8*
9 # /usr/share/man/man8/vfs_gpfs.8*
10 # /usr/share/man/man8/vfs_notify_fam.8*
11 # /usr/share/man/man8/vfs_prealloc.8*
12 # - libmsrpc.so is broken (references smbc_attr_server() which is no longer exported from libsmbclient)
16 # - MERGE vfs modules into main package, what was the point of splitting these?
19 %bcond_without ads # without ActiveDirectory support
20 %bcond_without cups # without CUPS support
21 %bcond_without kerberos5 # without Kerberos V support
22 %bcond_without ldap # without LDAP support
23 %bcond_with mks # with vfs-mks (mksd dependency not distributale)
26 # ADS requires kerberos5 and LDAP
27 %if !%{with kerberos5} || !%{with ldap}
30 %define vscan_version 0.3.6c-beta5
32 Summary(cs.UTF-8): Server SMB
33 Summary(da.UTF-8): SMB server
34 Summary(de.UTF-8): SMB-Server
35 Summary(es.UTF-8): El servidor SMB
36 Summary(fi.UTF-8): SMB-palvelin
37 Summary(fr.UTF-8): Serveur SMB
38 Summary(it.UTF-8): Server SMB
39 Summary(ja.UTF-8): Samba SMB サーバー
40 Summary(ko.UTF-8): 삼바 SMB 서버
41 Summary(pl.UTF-8): Serwer SMB
42 Summary(pt_BR.UTF-8): Cliente e servidor SMB
43 Summary(ru.UTF-8): SMB клиент и сервер
44 Summary(tr.UTF-8): SMB sunucusu
45 Summary(uk.UTF-8): SMB клієнт та сервер
46 Summary(zh_CN.UTF-8): Samba 客户端和服务器
52 Group: Networking/Daemons
53 Source0: http://www.samba.org/samba/ftp/%{name}-%{version}.tar.gz
54 # Source0-md5: 5c5178ea2c5d9bd5f6569285f2e0e6d7
58 Source4: %{name}.sysconfig
59 Source5: %{name}.logrotate
61 Source7: http://www.openantivirus.org/download/%{name}-vscan-%{vscan_version}.tar.gz
62 # Source7-md5: 8f1dd119172e04e6d7c2d05526a4cf8b
64 Source9: winbind.sysconfig
65 Patch0: %{name}-smbwrapper.patch
66 Patch1: %{name}-c++-nofail.patch
67 Patch2: %{name}-pthread.patch
68 Patch3: %{name}-nscd.patch
69 Patch4: %{name}-lprng-no-dot-printers.patch
70 Patch5: %{name}-link.patch
71 URL: http://www.samba.org/
72 BuildRequires: acl-devel
73 BuildRequires: autoconf
74 BuildRequires: automake
75 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
76 BuildRequires: dmapi-devel
77 BuildRequires: fam-devel
79 %{?with_kerberos5:BuildRequires: krb5-devel}
80 BuildRequires: libmagic-devel
81 BuildRequires: libnscd-devel
82 BuildRequires: libtool >= 2:1.4d
83 BuildRequires: ncurses-devel >= 5.2
84 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
85 BuildRequires: openssl-devel >= 0.9.7d
86 BuildRequires: pam-devel >= 0.99.8.1
87 BuildRequires: popt-devel
88 %{?with_pgsql:BuildRequires: postgresql-devel}
89 BuildRequires: readline-devel >= 4.2
90 BuildRequires: rpmbuild(macros) >= 1.304
91 BuildRequires: sed >= 4.0
92 BuildRequires: xfsprogs-devel
93 Requires(post,preun): /sbin/chkconfig
94 Requires: %{name}-common = %{epoch}:%{version}-%{release}
95 Requires: logrotate >= 3.7-4
96 Requires: pam >= 0.99.8.1
98 Requires: setup >= 2.4.6-7
99 # smbd links with libcups
100 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
101 Obsoletes: samba-pdb-xml
102 Obsoletes: samba-vfs-block
103 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
105 %define _vfsdir %{_libdir}/%{name}/vfs
106 %define _sambahome /home/services/samba
107 %define _sambalibdir %{_libdir}/%{name}
109 %define cups_serverbin %{_prefix}/lib/cups
111 %define schemadir /usr/share/openldap/schema
113 # CFLAGS modified (the second ./configure)
114 %undefine configure_cache
117 Samba provides an SMB server which can be used to provide network
118 services to SMB (sometimes called "Lan Manager") clients, including
119 various versions of MS Windows, OS/2, and other Linux machines. Samba
120 also provides some SMB clients, which complement the built-in SMB
121 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
122 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
124 This release is known as the "Locking Update" and has full support for
125 Opportunistic File Locking. In addition this update includes native
126 support for Microsoft encrypted passwords, improved browse list and
127 WINS database management.
129 Please refer to the WHATSNEW.txt document for fixup information. This
130 binary release includes encrypted password support. Please read the
131 smb.conf file for implementation details.
133 %description -l cs.UTF-8
134 Samba poskytuje server SMB, který lze použít pro poskytování síťových
135 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
136 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
137 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
138 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
139 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
140 NetBIOS od společnosti Microsoft.
142 %description -l da.UTF-8
143 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
144 services til SMB (også kaldet "Lan Manager") klienter, incl.
145 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
146 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
147 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
148 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
151 %description -l de.UTF-8
152 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
153 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
154 verschiedenen Versionen von MS Windows-, OS/2- und anderen
155 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
156 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
157 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
158 (Microsoft Raw NetBIOS frame)-Protokoll.
160 %description -l es.UTF-8
161 Samba provee un servidor SMB que se puede usar para ofrecer servicios
162 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
163 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
164 Linux. Samba también ofrece algunos clientes SMB, que complementan el
165 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
166 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
169 %description -l fi.UTF-8
170 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
171 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
172 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
173 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
174 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
175 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
176 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
179 %description -l it.UTF-8
180 Samba fornisce un server SMB che puo` essere usato per fornire servizi
181 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
182 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
183 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
185 %description -l ja.UTF-8
186 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
187 を含む SMB (たまに "Lan Manager" と呼ばれる)
188 クライアントにネットワーク サービスを提供するために使用される SMB
189 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
190 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
193 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
194 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
195 新しい SWAT (Samba Web Administration Tool) を含みます。
196 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
198 %description -l ko.UTF-8
199 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
200 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
201 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
202 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
205 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
206 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
207 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
210 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
211 릴리즈는 암호화된 패스워드를 제공한다.
213 %description -l pl.UTF-8
214 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
215 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
216 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
217 znajduje się również oprogramowanie klienckie. Samba używa protokołu
218 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
219 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
220 haseł w standardzie MS i zarządzania bazą WINS.
222 %description -l pt_BR.UTF-8
223 O Samba provê um servidor SMB que pode ser usado para oferecer
224 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
225 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
226 máquinas Linux. O Samba também fornece alguns clientes SMB, que
227 complementam o sistema de arquivos SMB do Linux. O Samba usa o
228 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
229 NetBEUI (Microsoft Raw NetBIOS frame).
231 O Samba inclui a maioria das características de um servidor de
232 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
233 permite que o arquivo smb.conf seja gerenciado remotamente através de
234 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
237 %description -l ru.UTF-8
238 Samba предоставляет SMB-сервер, который может быть использован для
239 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
240 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
241 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
242 со встроенной в Linux файловой системой SMB.
244 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
245 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
247 Samba содержит практически работающую реализацию NT Domain Control и
248 включает новый SWAT (Samba Web Administration Tool), который позволяет
249 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
250 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
253 %description -l uk.UTF-8
254 Samba надає SMB-сервер, що може бути використаний для надання
255 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
256 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
257 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
258 файловою системою SMB.
260 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
261 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
263 Samba містить майже працюючу реализацію NT Domain Control та новый
264 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
265 керувати конфігураційним файлом smb.conf за допомогою вашого
266 улюбленого WEB-броузера. Поки що він дозволений через inetd на
270 Summary: Samba Web Administration Tool
271 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
272 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
273 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
274 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
275 Group: Networking/Admin
276 Requires: %{name} = %{epoch}:%{version}-%{release}
278 Requires: rc-inetd >= 0.8.2
282 swat allows a Samba administrator to configure the complex smb.conf
283 file via a Web browser. In addition, a swat configuration page has
284 help links to all the configurable options in the smb.conf file
285 allowing an administrator to easily look up the effects of any change.
287 %description swat -l pl.UTF-8
288 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
291 %description swat -l pt_BR.UTF-8
292 SWAT - ferramentada Web de configuração do Samba.
294 %description swat -l ru.UTF-8
295 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
296 для удаленного администрирования файла smb.conf при помощи вашего
297 любимого Web-браузера.
299 %description swat -l uk.UTF-8
300 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
301 для дистанційного адміністрування файлу smb.conf за допомогою вашого
302 улюбленого Web-браузеру.
305 Summary: Samba client programs
306 Summary(es.UTF-8): Cliente SMB de Samba
307 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
308 Summary(pl.UTF-8): Klienci serwera Samba
309 Summary(pt_BR.UTF-8): Cliente SMB do samba
310 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
311 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
312 Group: Applications/Networking
313 Requires: %{name}-common = %{epoch}:%{version}-%{release}
314 Requires: libsmbclient = %{epoch}:%{version}-%{release}
315 %{?with_kerberos5:Requires: krb5-libs}
316 Obsoletes: mount-cifs
320 Samba-client provides some SMB clients, which complement the build-in
321 SMB filesystem in Linux. These allow accessing of SMB shares and
322 printing to SMB printers.
324 %description client -l pt_BR.UTF-8
325 O pacote samba-clientes prove alguns clientes SMB, que complementam o
326 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
327 e também, à impressoras SMB.
329 %description client -l es.UTF-8
330 Cliente SMB de Samba.
332 %description client -l ja.UTF-8
333 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
334 クライアントを提供します。これらは SMB 共有のアクセスと SMB
337 %description client -l pl.UTF-8
338 Samba-client dostarcza programy uzupełniające obsługę systemu plików
339 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
340 drukowanie w sieci SMB.
342 %description client -l pt_BR.UTF-8
343 O pacote samba-clientes prove alguns clientes SMB, que complementam o
344 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
345 e também, à impressoras SMB.
347 %description client -l ru.UTF-8
348 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
349 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
350 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
352 %description client -l uk.UTF-8
353 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
354 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
355 до каталогів спільного використання SMB та друк на SMB-прінтери.
358 Summary: Files used by both Samba servers and clients
359 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
360 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
361 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
362 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
363 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
364 Group: Networking/Daemons
365 Requires: tdb >= 1.1.3
368 Samba-common provides files necessary for both the server and client
371 %description common -l ja.UTF-8
372 Samba-common は Samba のサーバとクライアントの両方のパッケージで
375 %description common -l pl.UTF-8
376 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
379 %description common -l pt_BR.UTF-8
380 Arquivos em comum entre os pacotes samba e samba-clients.
382 %description common -l ru.UTF-8
383 Samba-common содержит файлы, необходимые для работы как клиента, так и
386 %description common -l uk.UTF-8
387 Samba-common містить файли, необхідні для роботи як клієнта, так і
391 Summary: Samba-winbind daemon, utilities and documentation
392 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
393 Group: Networking/Daemons
394 Requires(post,preun): /sbin/chkconfig
395 Requires: %{name}-common = %{epoch}:%{version}-%{release}
398 Provides the winbind daemon and testing tools to allow authentication
399 and group/user enumeration from a Windows or Samba domain controller.
401 %description winbind -l pl.UTF-8
402 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
403 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
407 Summary: Name Service Switch service for WINS
408 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
410 Requires: %{name}-common = %{epoch}:%{version}-%{release}
412 %description -n nss_wins
413 Provides the libnss_wins shared library which resolves NetBIOS names
416 %description -n nss_wins -l pl.UTF-8
417 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
420 %package -n pam-pam_smbpass
421 Summary: PAM Samba Password Module
422 Summary(pl.UTF-8): Moduł PAM smbpass
424 Obsoletes: pam_smbpass
426 %description -n pam-pam_smbpass
427 PAM module which can be used on conforming systems to keep the
428 smbpasswd (Samba password) database in sync with the Unix password
431 %description -n pam-pam_smbpass -l pl.UTF-8
432 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
433 Samby) zsynchronizowanego z hasłami uniksowymi.
435 %package -n libsmbclient
436 Summary: libsmbclient - samba client library
437 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
440 %description -n libsmbclient
441 libsmbclient - library that allows to use samba clients functions.
443 %description -n libsmbclient -l pl.UTF-8
444 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
447 %package -n libsmbclient-devel
448 Summary: libsmbclient - samba client library
449 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
450 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
451 Group: Development/Libraries
452 Requires: libsmbclient = %{epoch}:%{version}-%{release}
454 %description -n libsmbclient-devel
455 Header files for libsmbclient.
457 %description -n libsmbclient-devel -l pl.UTF-8
458 Pliki nagłówkowe dla libsmbclient.
460 %description -n libsmbclient-devel -l pt_BR.UTF-8
461 Arquivos de inclusão, bibliotecas e documentação necessários para
462 desenvolver aplicativos clientes para o samba.
464 %package -n libsmbclient-static
465 Summary: Static version of libsmbclient - samba client library
466 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
467 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
468 Group: Development/Libraries
469 Requires: libsmbclient = %{epoch}:%{version}-%{release}
471 %description -n libsmbclient-static
472 Static libsmbclient library.
474 %description -n libsmbclient-static -l pl.UTF-8
475 Statyczna biblioteka libsmbclient.
477 %package -n libtalloc
478 Summary: The talloc library
481 %description -n libtalloc
482 The talloc library from the Samba suite.
484 %package -n libtalloc-devel
485 Summary: Developer tools for the talloc library
486 Group: Development/Libraries
487 Requires: libtalloc = %{epoch}:%{version}-%{release}
489 %description -n libtalloc-devel
490 The libtalloc-devel package contains the header files and libraries needed to
491 develop programs that link against the talloc library in the Samba suite.
494 Summary: Header files for Samba
495 Summary(pl.UTF-8): Pliki nagłówkowe Samby
496 Group: Development/Libraries
499 Header files for Samba.
501 %description devel -l pl.UTF-8
502 Pliki nagłówkowe Samby.
505 Summary: A utility for retrieving files using the SMB protocol
506 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
507 Group: Applications/Networking
509 %description -n smbget
510 wget-like utility for download files over SMB.
512 %description -n smbget -l pl.UTF-8
513 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
514 używanym w sieciach MS Windows.
516 %package -n cups-backend-smb
517 Summary: CUPS backend for printing to SMB printers
518 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
519 Group: Applications/Printing
520 Requires: %{name}-client = %{epoch}:%{version}-%{release}
521 Requires: cups >= 1:1.2.0
523 %description -n cups-backend-smb
524 CUPS backend for printing to SMB printers.
526 %description -n cups-backend-smb -l pl.UTF-8
527 Backend CUPS-a drukujący na drukarkach SMB.
530 Summary: VFS module to audit file access
531 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
532 Group: Networking/Daemons
533 Requires: %{name} = %{epoch}:%{version}-%{release}
535 %description vfs-audit
536 A simple module to audit file access to the syslog facility. The
537 following operations are logged:
538 - share connect/disconnect,
539 - directory opens/create/remove,
540 - file open/close/rename/unlink/chmod.
542 %description vfs-audit -l pl.UTF-8
543 Proste moduły do monitorowania dostępu do plików na serwerze samba do
544 do sysloga. Monitorowane są następujące operacje:
545 - podłączenie do/odłączenie od zasobu,
546 - otwarcie/utworzenie/zmiana nazwy katalogu,
547 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
549 Zawiera moduły audit, extd_audit i full_audit.
552 Summary: VFS module for CAP and samba compatibility
553 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
554 Group: Networking/Daemons
555 Requires: %{name} = %{epoch}:%{version}-%{release}
558 Convert an incoming Shift-JIS character to the 3 byte hex
559 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
560 This is used for compatibility between Samba and CAP.
562 %description vfs-cap -l pl.UTF-8
563 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
564 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
566 %package vfs-default_quota
567 Summary: VFS module to store default quotas in a specified quota record
568 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
569 Group: Networking/Daemons
570 Requires: %{name} = %{epoch}:%{version}-%{release}
572 %description vfs-default_quota
573 This VFS modules stores default quotas in a specified quota record.
575 %description vfs-default_quota -l pl.UTF-8
576 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
579 %package vfs-expand_msdfs
580 Summary: VFS module for hosting a Microsoft Distributed File System Tree
581 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
582 Group: Networking/Daemons
583 Requires: %{name} = %{epoch}:%{version}-%{release}
585 %description vfs-expand_msdfs
586 A VFS module for hosting a Microsoft Distributed File System Tree.
588 The Distributed File System (DFS) provides a means of separating the
589 logical view of files and directories that users see from the actual
590 physical locations of these resources on the network. It allows for
591 higher availability, smoother storage expansion, load balancing, and
594 %description vfs-expand_msdfs -l pl.UTF-8
595 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
598 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
599 plików i katalogów widocznych przez użytkowników z fizycznego
600 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
601 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
603 %package vfs-fake_perms
604 Summary: VFS module to report read-only fires as writable
605 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
606 Group: Networking/Daemons
607 Requires: %{name} = %{epoch}:%{version}-%{release}
609 %description vfs-fake_perms
610 This module allow Roaming Profile files and directories to be set (on
611 the Samba server under UNIX) as read only. This module will, if
612 installed on the Profiles share, report to the client that the Profile
613 files and directories are writeable. This satisfies the client even
614 though the files will never be overwritten as the client logs out or
617 %description vfs-fake_perms -l pl.UTF-8
618 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
619 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
620 przypadku zainstalowania na udziale z profilami będzie zgłaszał
621 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
622 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
623 lub wylogowywaniu klienta.
625 %package vfs-notify_fam
626 Summary: VFS module to implement file change notifications
627 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
628 Group: Networking/Daemons
629 Requires: %{name} = %{epoch}:%{version}-%{release}
631 %description vfs-notify_fam
632 The vfs_notify_fam module makes use of the system FAM (File Alteration
633 Monitor) daemon to implement file change notifications for Windows
636 %description vfs-notify_fam -l pl.UTF-8
637 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
638 informowania o zmianach w plikach dla klientów Windows.
640 %package vfs-netatalk
641 Summary: VFS module for ease co-existence of samba and netatalk
642 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
643 Group: Networking/Daemons
644 Requires: %{name} = %{epoch}:%{version}-%{release}
646 %description vfs-netatalk
647 Package contains a netatalk VFS module for ease co-existence of Samba
648 and netatalk file sharing services.
650 %description vfs-netatalk -l pl.UTF-8
651 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
652 i netatalk przy udostępnianiu zasobów.
655 Summary: VFS module to add recycle bin facility to a samba share
656 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
657 Group: Networking/Daemons
658 Requires: %{name} = %{epoch}:%{version}-%{release}
660 %description vfs-recycle
661 VFS module to add recycle bin facility to a samba share.
663 %description vfs-recycle -l pl.UTF-8
664 Moduł VFS dodający możliwość kosza do zasobu samby.
666 %package vfs-readahead
667 Summary: VFS module for pre-loading the kernel buffer cache
668 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
669 Group: Networking/Daemons
670 Requires: %{name} = %{epoch}:%{version}-%{release}
672 %description vfs-readahead
673 This VFS module detects read requests at multiples of a given offset
674 (hex 0x80000 by default) and then tells the kernel via either the
675 readahead system call (on Linux) or the posix_fadvise system call to
676 pre-fetch this data into the buffer cache.
678 This module is useful for Windows Vista clients reading data using the
679 Windows Explorer program, which asynchronously does multiple file read
680 requests at offset boundaries of 0x80000 bytes.
682 %description vfs-readahead -l pl.UTF-8
683 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
684 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
685 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
686 wczesnego odczytu tych danych do bufora cache.
688 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
689 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
690 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
693 %package vfs-readonly
694 Summary: VFS module for read-only limitation for specified share
695 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
696 Group: Networking/Daemons
697 Requires: %{name} = %{epoch}:%{version}-%{release}
699 %description vfs-readonly
700 This module performs a read-only limitation for specified share (or
701 all of them if it is loaded in a [global] section) based on period
702 definition in smb.conf.
704 %description vfs-readonly -l pl.UTF-8
705 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
706 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
707 oparciu o definicje okresów w smb.conf.
709 %package vfs-shadow_copy
710 Summary: VFS module to make automatic copy of data in samba share
711 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
712 Group: Networking/Daemons
713 Requires: %{name} = %{epoch}:%{version}-%{release}
715 %description vfs-shadow_copy
716 VFS module to make automatic copy of data in samba share.
718 %description vfs-shadow_copy -l pl.UTF-8
719 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
721 %package vfs-vscan-antivir
722 Summary: On-access virus scanning for samba using AntiVir
723 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
724 Group: Networking/Daemons
725 Requires: %{name} = %{epoch}:%{version}-%{release}
726 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
728 %description vfs-vscan-antivir
729 A vfs-module for samba to implement on-access scanning using the
730 AntiVir antivirus software (which must be installed to use this).
732 %description vfs-vscan-antivir -l pl.UTF-8
733 Moduł vfs do samby implementujący skaning antywirusowy w czasie
734 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
735 (które musi być zainstalowane, aby wykorzystać ten moduł).
737 %package vfs-vscan-clamav
738 Summary: On-access virus scanning for samba using ClamAV
739 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
740 Group: Networking/Daemons
741 Requires: %{name} = %{epoch}:%{version}-%{release}
743 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
745 %description vfs-vscan-clamav
746 A vfs-module for samba to implement on-access scanning using the
747 ClamAV antivirus software (which must be installed to use this).
749 %description vfs-vscan-clamav -l pl.UTF-8
750 Moduł vfs do samby implementujący skaning antywirusowy w czasie
751 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
752 (które musi być zainstalowane, aby wykorzystać ten moduł).
754 %package vfs-vscan-fprot
755 Summary: On-access virus scanning for samba using FPROT
756 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
757 Group: Networking/Daemons
758 Requires: %{name} = %{epoch}:%{version}-%{release}
759 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
760 Obsoletes: vscan-fprot
762 %description vfs-vscan-fprot
763 A vfs-module for samba to implement on-access scanning using the FPROT
764 antivirus software (which must be installed to use this).
766 %description vfs-vscan-fprot -l pl.UTF-8
767 Moduł vfs do samby implementujący skaning antywirusowy w czasie
768 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
769 (które musi być zainstalowane, aby wykorzystać ten moduł).
771 %package vfs-vscan-fsav
772 Summary: On-access virus scanning for samba using F-Secure AntiVirus
773 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
774 Group: Networking/Daemons
775 Requires: %{name} = %{epoch}:%{version}-%{release}
776 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
777 Obsoletes: vscan-fsav
779 %description vfs-vscan-fsav
780 A vfs-module for samba to implement on-access scanning using the
781 F-Secure AntiVirus antivirus software (which must be installed to use
784 %description vfs-vscan-fsav -l pl.UTF-8
785 Moduł vfs do samby implementujący skaning antywirusowy w czasie
786 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
787 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
789 %package vfs-vscan-kavp
790 Summary: On-access virus scanning for samba using Kaspersky AVP
791 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
792 Group: Networking/Daemons
793 Requires: %{name} = %{epoch}:%{version}-%{release}
794 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
795 Obsoletes: vscan-kavp
797 %description vfs-vscan-kavp
798 A vfs-module for samba to implement on-access scanning using the
799 Kaspersky AVP antivirus software (which must be installed to use
802 %description vfs-vscan-kavp -l pl.UTF-8
803 Moduł vfs do samby implementujący skaning antywirusowy w czasie
804 dostępu do plików korzystając z oprogramowania antywirusowego
805 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
808 %package vfs-vscan-mcafee
809 Summary: On-access virus scanning for samba using mcafee
810 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
811 Group: Networking/Daemons
812 Requires: %{name} = %{epoch}:%{version}-%{release}
814 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
815 Obsoletes: vscan-mcafee
817 %description vfs-vscan-mcafee
818 A vfs-module for samba to implement on-access scanning using the
819 mcafee antivirus software (which must be installed to use this).
821 %description vfs-vscan-mcafee -l pl.UTF-8
822 Moduł vfs do samby implementujący skaning antywirusowy w czasie
823 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
824 (które musi być zainstalowane, aby wykorzystać ten moduł).
826 %package vfs-vscan-mks
827 Summary: On-access virus scanning for samba using mks
828 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
829 Group: Networking/Daemons
830 Requires: %{name} = %{epoch}:%{version}-%{release}
832 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
835 %description vfs-vscan-mks
836 A vfs-module for samba to implement on-access scanning using the mks
837 antivirus software (which must be installed to use this).
839 %description vfs-vscan-mks -l pl.UTF-8
840 Moduł vfs do samby implementujący skaning antywirusowy w czasie
841 dostępu do plików korzystając z oprogramowania antywirusowego mks
842 (które musi być zainstalowane, aby wykorzystać ten moduł).
844 %package vfs-vscan-openantivirus
845 Summary: On-access virus scanning for samba using OpenAntivirus
846 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
847 Group: Networking/Daemons
848 Requires: %{name} = %{epoch}:%{version}-%{release}
849 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
850 Obsoletes: vscan-openantivirus
852 %description vfs-vscan-openantivirus
853 A vfs-module for samba to implement on-access scanning using the
854 OpenAntivirus antivirus software (which must be installed to use
857 %description vfs-vscan-openantivirus -l pl.UTF-8
858 Moduł vfs do samby implementujący skaning antywirusowy w czasie
859 dostępu do plików korzystając z oprogramowania antywirusowego
860 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
863 %package vfs-vscan-sophos
864 Summary: On-access virus scanning for samba using Sophos
865 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
866 Group: Networking/Daemons
867 Requires: %{name} = %{epoch}:%{version}-%{release}
868 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
869 Obsoletes: vscan-sophos
871 %description vfs-vscan-sophos
872 A vfs-module for samba to implement on-access scanning using the
873 Sophos antivirus software (which must be installed to use this).
875 %description vfs-vscan-sophos -l pl.UTF-8
876 Moduł vfs do samby implementujący skaning antywirusowy w czasie
877 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
878 (które musi być zainstalowane, aby wykorzystać ten moduł).
880 %package vfs-vscan-symantec
881 Summary: On-access virus scanning for samba using Symantec
882 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
883 Group: Networking/Daemons
884 Requires: %{name} = %{epoch}:%{version}-%{release}
885 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
886 Obsoletes: vscan-symantec
888 %description vfs-vscan-symantec
889 A vfs-module for samba to implement on-access scanning using the
890 Symantec antivirus software (which must be installed to use this).
892 %description vfs-vscan-symantec -l pl.UTF-8
893 Moduł vfs do samby implementujący skaning antywirusowy w czasie
894 dostępu do plików korzystając z oprogramowania antywirusowego firmy
895 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
897 %package vfs-vscan-trend
898 Summary: On-access virus scanning for samba using Trend
899 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
900 Group: Networking/Daemons
901 Requires: %{name} = %{epoch}:%{version}-%{release}
902 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
903 Obsoletes: vscan-trend
905 %description vfs-vscan-trend
906 A vfs-module for samba to implement on-access scanning using the Trend
907 antivirus software (which must be installed to use this).
909 %description vfs-vscan-trend -l pl.UTF-8
910 Moduł vfs do samby implementujący skaning antywirusowy w czasie
911 dostępu do plików korzystając z oprogramowania antywirusowego Trend
912 (które musi być zainstalowane, aby wykorzystać ten moduł).
914 %package -n openldap-schema-samba
915 Summary: Samba LDAP schema
916 Summary(pl.UTF-8): Schemat LDAP dla samby
917 Group: Networking/Daemons
918 Requires(post,postun): sed >= 4.0
919 Requires: openldap-servers
921 %description -n openldap-schema-samba
922 This package contains samba.schema for openldap.
924 %description -n openldap-schema-samba -l pl.UTF-8
925 Ten pakiet zawiera schemat samby dla openldap-a.
928 Summary: Samba HTML documentation
929 Summary(pl.UTF-8): Documentacja samby w formacie HTML
932 %description doc-html
933 Samba HTML documentation.
935 %description doc-html -l pl.UTF-8
936 Documentacja samby w formacie HTML.
939 Summary: Samba documentation - PDF format
940 Summary(pl.UTF-8): Documentacja samby w formacie PDF
944 Samba PDF documentation.
946 %description doc-pdf -l pl.UTF-8
947 Documentacja samby w formacie PDF.
958 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
968 %{__autoconf} -Im4 -Ilib/replace
970 --with-modulesdir=%{_sambalibdir} \
971 --with-rootsbindir=/sbin \
972 --with-pammodulesdir=/%{_lib}/security \
975 --with-libsmbclient \
976 --with-lockdir=/var/lib/samba \
979 --with%{!?with_ads:out}-ads \
980 --with-privatedir=%{_sysconfdir}/samba \
983 --with-swatdir=%{_datadir}/swat \
987 --with%{!?with_ldap:out}-ldap \
988 --with%{!?with_kerberos5:out}-krb5
991 %{__make} everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
994 %{__make} -C libsmbclient/smbwrapper \
996 CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1002 CFLAGS="%{rpmcflags} -fPIC"
1006 cd samba-vscan-%{vscan_version}
1007 cp -f /usr/share/automake/config.sub .
1009 ln -s ../../../source/lib .
1014 rm -rf $RPM_BUILD_ROOT
1015 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1016 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1017 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1018 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1020 %{__make} -C source install \
1021 DESTDIR=$RPM_BUILD_ROOT \
1022 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1024 install source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1026 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1027 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1028 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1029 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1030 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1031 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1032 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1033 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1035 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1036 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1037 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1038 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1039 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1040 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1041 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1043 install source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1046 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1047 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1048 install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1050 # these are needed to build samba-pdbsql
1051 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1052 cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1053 cp -a source/lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1054 cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1058 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1059 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
1062 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1064 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1067 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1068 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1071 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1072 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1074 # we have this utility in tdb package
1075 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdb{backup,dump},%{_mandir}/man8/tdb{backup,dump}.8*}
1078 rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
1080 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1083 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1086 %find_lang pam_winbind
1089 rm -rf $RPM_BUILD_ROOT
1092 /sbin/chkconfig --add smb
1093 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1094 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1095 /sbin/service smb stop >&2
1096 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1097 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1098 if [ -d /var/lock/samba/printing ]; then
1099 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1101 /sbin/service smb start >&2
1103 %service smb restart "Samba daemons"
1107 if [ "$1" = "0" ]; then
1109 /sbin/chkconfig --del smb
1113 /sbin/chkconfig --add winbind
1114 %service winbind restart "Winbind daemon"
1117 if [ "$1" = "0" ]; then
1118 %service winbind stop
1119 /sbin/chkconfig --del winbind
1123 %service -q rc-inetd reload
1126 if [ "$1" = 0 ]; then
1127 %service -q rc-inetd reload
1130 %post -n openldap-schema-samba
1131 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1132 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1133 %service -q ldap restart
1135 %postun -n openldap-schema-samba
1136 if [ "$1" = "0" ]; then
1137 %openldap_schema_unregister %{schemadir}/samba.schema
1138 %service -q ldap restart
1141 %triggerpostun -- samba < 1.9.18p7
1142 if [ "$1" != "0" ]; then
1143 /sbin/chkconfig --add smb
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) %{_sbindir}/nmbd
1149 %attr(755,root,root) %{_sbindir}/smbd
1150 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1151 %attr(755,root,root) %{_bindir}/ldb*
1152 %attr(755,root,root) %{_bindir}/smbstatus
1153 %attr(755,root,root) %{_bindir}/smbpasswd
1154 %attr(755,root,root) %{_bindir}/smbcontrol
1155 %attr(755,root,root) %{_bindir}/tdbtool_samba
1157 %dir %{_libdir}/%{name}/pdb
1159 %attr(755,root,root) %{_vfsdir}/acl_tdb.so
1160 %attr(755,root,root) %{_vfsdir}/acl_xattr.so
1161 %attr(755,root,root) %{_vfsdir}/fileid.so
1162 %attr(755,root,root) %{_vfsdir}/preopen.so
1163 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1164 %attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1165 %attr(755,root,root) %{_vfsdir}/streams_depot.so
1166 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1167 %attr(755,root,root) %{_vfsdir}/syncops.so
1168 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1169 %{_mandir}/man8/vfs_acl_tdb.8*
1170 %{_mandir}/man8/vfs_acl_xattr.8*
1171 %{_mandir}/man8/vfs_fileid.8*
1172 %{_mandir}/man8/vfs_preopen.8*
1173 %{_mandir}/man8/vfs_shadow_copy2.8*
1174 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1175 %{_mandir}/man8/vfs_streams_xattr.8*
1176 %{_mandir}/man8/vfs_streams_depot.8*
1177 %{_mandir}/man8/vfs_xattr_tdb.8*
1180 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1181 %attr(754,root,root) /etc/rc.d/init.d/smb
1182 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1183 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1184 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1185 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1186 %{_mandir}/man1/ldb*.1*
1187 %{_mandir}/man1/log2pcap.1*
1188 %{_mandir}/man1/smbstatus.1*
1189 %{_mandir}/man1/smbcontrol.1*
1190 %{_mandir}/man5/smbpasswd.5*
1191 %{_mandir}/man7/samba.7*
1192 %{_mandir}/man8/nmbd.8*
1193 %{_mandir}/man8/smbd.8*
1194 %{_mandir}/man8/smbpasswd.8*
1198 %ghost /var/lib/samba/*.dat
1199 %dir /var/lib/samba/printing
1201 %attr(750,root,root) %dir /var/log/samba
1202 %attr(750,root,root) %dir /var/log/samba/cores
1203 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1204 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1205 %attr(750,root,root) %dir /var/log/archive/samba
1206 %attr(1777,root,root) %dir /var/spool/samba
1211 %files winbind -f pam_winbind.lang
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_sbindir}/winbindd
1214 %attr(755,root,root) %{_bindir}/wbinfo
1215 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1216 %attr(755,root,root) /%{_lib}/libnss_winbind*
1217 %attr(754,root,root) /etc/rc.d/init.d/winbind
1218 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1219 %{_mandir}/man1/wbinfo*.1*
1220 %{_mandir}/man7/pam_winbind.7*
1221 %{_mandir}/man8/winbindd*.8*
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) /%{_lib}/libnss_wins*
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) /sbin/mount.cifs
1230 %attr(755,root,root) /sbin/umount.cifs
1231 %attr(755,root,root) %{_bindir}/findsmb
1232 %attr(755,root,root) %{_bindir}/net
1233 %attr(755,root,root) %{_bindir}/nmblookup
1234 %attr(755,root,root) %{_bindir}/rpcclient
1235 %attr(755,root,root) %{_bindir}/sharesec
1236 %attr(755,root,root) %{_bindir}/smbcacls
1237 %attr(755,root,root) %{_bindir}/smbclient
1238 %attr(755,root,root) %{_bindir}/smbsh
1239 %attr(755,root,root) %{_bindir}/smbtar
1240 %attr(755,root,root) %{_bindir}/smbtree
1241 %attr(755,root,root) %{_sbindir}/cifs.upcall
1242 %attr(755,root,root) %{_libdir}/smbwrapper.so
1243 %{_mandir}/man1/findsmb.1*
1244 %{_mandir}/man1/nmblookup.1*
1245 %{_mandir}/man1/rpcclient.1*
1246 %{_mandir}/man1/sharesec.1*
1247 %{_mandir}/man1/smbcacls.1*
1248 %{_mandir}/man1/smbclient.1*
1249 %{_mandir}/man1/smbsh.1*
1250 %{_mandir}/man1/smbtar.1*
1251 %{_mandir}/man1/smbtree.1*
1252 %{_mandir}/man8/cifs.upcall.8*
1253 %{_mandir}/man8/net.8*
1254 %{_mandir}/man8/*mount.cifs.8*
1257 %defattr(644,root,root,755)
1258 %doc README Manifest WHATSNEW.txt
1259 %doc Roadmap docs/registry/*
1260 %doc docs/{history,THANKS}
1261 %dir %{_sysconfdir}/samba
1262 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1263 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1264 %attr(755,root,root) %{_bindir}/eventlogadm
1265 %attr(755,root,root) %{_bindir}/ntlm_auth
1266 %attr(755,root,root) %{_bindir}/pdbedit
1267 %attr(755,root,root) %{_bindir}/profiles
1268 %attr(755,root,root) %{_bindir}/smbcquotas
1269 %attr(755,root,root) %{_bindir}/testparm
1270 %attr(755,root,root) %{_bindir}/vfstest
1271 %dir %{_libdir}/%{name}
1272 %{_libdir}/%{name}/*.dat
1273 %dir %{_libdir}/%{name}/auth
1274 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1275 %dir %{_libdir}/%{name}/charset
1276 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1277 %{_mandir}/man1/ntlm_auth.1*
1278 %{_mandir}/man1/profiles.1*
1279 %{_mandir}/man1/smbcquotas.1*
1280 %{_mandir}/man1/testparm.1*
1281 %{_mandir}/man1/vfstest.1*
1282 #%{_mandir}/man1/log2pcap.1*
1283 %{_mandir}/man5/lmhosts.5*
1284 %{_mandir}/man5/smb.conf.5*
1285 %{_mandir}/man8/pdbedit.8*
1286 %{_mandir}/man8/eventlogadm.8*
1287 %{_mandir}/man8/idmap_ad.8*
1288 %{_mandir}/man8/idmap_adex.8*
1289 %{_mandir}/man8/idmap_hash.8*
1290 %{_mandir}/man8/idmap_ldap.8*
1291 %{_mandir}/man8/idmap_nss.8*
1292 %{_mandir}/man8/idmap_rid.8*
1293 %{_mandir}/man8/idmap_tdb.8*
1294 %{_mandir}/man8/idmap_tdb2.8*
1295 %{_mandir}/man8/tdbtool.8*
1298 %defattr(644,root,root,755)
1299 #%doc swat/README* swat/help/*
1301 %attr(755,root,root) %{_sbindir}/swat
1302 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1303 %dir %{_datadir}/swat
1304 %{_datadir}/swat/help
1305 %{_datadir}/swat/images
1306 %{_datadir}/swat/include
1307 %dir %{_datadir}/swat/lang
1308 %lang(ja) %{_datadir}/swat/lang/ja
1309 %lang(tr) %{_datadir}/swat/lang/tr
1310 %lang(de) %{_libdir}/%{name}/de.msg
1311 %{_libdir}/%{name}/en.msg
1312 %lang(fi) %{_libdir}/%{name}/fi.msg
1313 %lang(fr) %{_libdir}/%{name}/fr.msg
1314 %lang(it) %{_libdir}/%{name}/it.msg
1315 %lang(ja) %{_libdir}/%{name}/ja.msg
1316 %lang(nl) %{_libdir}/%{name}/nl.msg
1317 %lang(pl) %{_libdir}/%{name}/pl.msg
1318 %lang(tr) %{_libdir}/%{name}/tr.msg
1319 %{_mandir}/man8/swat.8*
1321 %files -n pam-pam_smbpass
1322 %defattr(644,root,root,755)
1323 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1324 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1326 %files -n libsmbclient
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1329 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1330 %{_mandir}/man7/libsmbclient.7*
1332 %files -n libsmbclient-devel
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/libsmbclient.so
1335 %attr(755,root,root) %{_libdir}/libwbclient.so
1336 %{_includedir}/libsmbclient.h
1337 %{_includedir}/wbclient.h
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1343 %files -n libtalloc-devel
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) %{_libdir}/libtalloc.so
1346 %{_includedir}/talloc.h
1349 %defattr(644,root,root,755)
1350 %{_includedir}/%{name}
1352 %files -n libsmbclient-static
1353 %defattr(644,root,root,755)
1354 %{_libdir}/libsmbclient.a
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_bindir}/smbget
1359 %{_mandir}/man1/smbget.1*
1360 %{_mandir}/man5/smbgetrc.5*
1363 %files -n cups-backend-smb
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_bindir}/smbspool
1366 %attr(755,root,root) %{cups_serverbin}/backend/smb
1367 %{_mandir}/man8/smbspool.8*
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_vfsdir}/audit.so
1373 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1374 %attr(755,root,root) %{_vfsdir}/full_audit.so
1375 %{_mandir}/man8/vfs_audit.8*
1376 %{_mandir}/man8/vfs_extd_audit.8*
1377 %{_mandir}/man8/vfs_full_audit.8*
1380 %defattr(644,root,root,755)
1381 %attr(755,root,root) %{_vfsdir}/cap.so
1382 %{_mandir}/man8/vfs_cap.8*
1384 %files vfs-default_quota
1385 %defattr(644,root,root,755)
1386 %attr(755,root,root) %{_vfsdir}/default_quota.so
1387 %{_mandir}/man8/vfs_default_quota.8*
1389 %files vfs-expand_msdfs
1390 %defattr(644,root,root,755)
1391 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1393 %files vfs-fake_perms
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1396 %{_mandir}/man8/vfs_fake_perms.8*
1398 %files vfs-notify_fam
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1401 %{_mandir}/man8/vfs_notify_fam.8*
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_vfsdir}/netatalk.so
1406 %{_mandir}/man8/vfs_netatalk.8*
1408 %files vfs-readahead
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_vfsdir}/readahead.so
1411 %{_mandir}/man8/vfs_readahead.8*
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_vfsdir}/readonly.so
1416 %{_mandir}/man8/vfs_readonly.8*
1419 %defattr(644,root,root,755)
1420 %attr(755,root,root) %{_vfsdir}/recycle.so
1421 %{_mandir}/man8/vfs_recycle.8*
1423 %files vfs-shadow_copy
1424 %defattr(644,root,root,755)
1425 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1426 %{_mandir}/man8/vfs_shadow_copy.8*
1429 %files vfs-vscan-antivir
1430 %defattr(644,root,root,755)
1431 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1432 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1433 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1435 %files vfs-vscan-clamav
1436 %defattr(644,root,root,755)
1437 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1439 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1441 %files vfs-vscan-fprot
1442 %defattr(644,root,root,755)
1443 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1444 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1445 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1447 %files vfs-vscan-fsav
1448 %defattr(644,root,root,755)
1449 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1450 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1451 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1453 %files vfs-vscan-kavp
1454 %defattr(644,root,root,755)
1455 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1456 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1457 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1459 %files vfs-vscan-mcafee
1460 %defattr(644,root,root,755)
1461 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1462 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1463 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1466 %ifarch %{ix86} %{x8664}
1467 %files vfs-vscan-mks
1468 %defattr(644,root,root,755)
1469 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1470 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1471 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1475 %files vfs-vscan-openantivirus
1476 %defattr(644,root,root,755)
1477 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1478 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1479 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1481 %files vfs-vscan-sophos
1482 %defattr(644,root,root,755)
1483 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1484 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1485 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1487 %files vfs-vscan-symantec
1488 %defattr(644,root,root,755)
1489 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1490 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1491 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1493 %files vfs-vscan-trend
1494 %defattr(644,root,root,755)
1495 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1496 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1497 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1501 %files -n openldap-schema-samba
1502 %defattr(644,root,root,755)
1503 %{schemadir}/*.schema
1507 %defattr(644,root,root,755)
1508 %doc docs/htmldocs/*
1511 %defattr(644,root,root,755)