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