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: 0f7539e09803ae60a2912e70adf1c747
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}-lib64.patch
65 Patch1: %{name}-smbwrapper.patch
66 Patch2: %{name}-c++-nofail.patch
67 Patch3: %{name}-pthread.patch
68 Patch4: %{name}-nscd.patch
69 Patch5: %{name}-doc.patch
70 Patch6: %{name}-libs-needed.patch
71 Patch7: %{name}-lprng-no-dot-printers.patch
72 Patch8: %{name}-cap.patch
73 Patch9: %{name}-printerlocation.patch
74 Patch10: %{name}-ac.patch
75 Patch11: %{name}-link.patch
76 Patch12: %{name}-install.patch
77 URL: http://www.samba.org/
78 BuildRequires: acl-devel
79 BuildRequires: autoconf
80 BuildRequires: automake
81 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
82 BuildRequires: dmapi-devel
83 BuildRequires: fam-devel
85 %{?with_kerberos5:BuildRequires: krb5-devel}
86 BuildRequires: libmagic-devel
87 BuildRequires: libnscd-devel
88 BuildRequires: libtool >= 2:1.4d
89 BuildRequires: ncurses-devel >= 5.2
90 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
91 BuildRequires: openssl-devel >= 0.9.7d
92 BuildRequires: pam-devel >= 0.99.8.1
93 BuildRequires: popt-devel
94 %{?with_pgsql:BuildRequires: postgresql-devel}
95 BuildRequires: readline-devel >= 4.2
96 BuildRequires: rpmbuild(macros) >= 1.304
97 BuildRequires: sed >= 4.0
98 BuildRequires: xfsprogs-devel
99 Requires(post,preun): /sbin/chkconfig
100 Requires: %{name}-common = %{epoch}:%{version}-%{release}
101 Requires: logrotate >= 3.7-4
102 Requires: pam >= 0.99.8.1
104 Requires: setup >= 2.4.6-7
105 # smbd links with libcups
106 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
107 Obsoletes: samba-pdb-xml
108 Obsoletes: samba-vfs-block
109 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
111 %define _vfsdir %{_libdir}/%{name}/vfs
112 %define _sambahome /home/services/samba
113 %define _sambalibdir %{_libdir}/%{name}
115 %define cups_serverbin %{_prefix}/lib/cups
117 %define schemadir /usr/share/openldap/schema
119 # CFLAGS modified (the second ./configure)
120 %undefine configure_cache
123 Samba provides an SMB server which can be used to provide network
124 services to SMB (sometimes called "Lan Manager") clients, including
125 various versions of MS Windows, OS/2, and other Linux machines. Samba
126 also provides some SMB clients, which complement the built-in SMB
127 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
128 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
130 This release is known as the "Locking Update" and has full support for
131 Opportunistic File Locking. In addition this update includes native
132 support for Microsoft encrypted passwords, improved browse list and
133 WINS database management.
135 Please refer to the WHATSNEW.txt document for fixup information. This
136 binary release includes encrypted password support. Please read the
137 smb.conf file for implementation details.
139 %description -l cs.UTF-8
140 Samba poskytuje server SMB, který lze použít pro poskytování síťových
141 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
142 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
143 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
144 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
145 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
146 NetBIOS od společnosti Microsoft.
148 %description -l da.UTF-8
149 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
150 services til SMB (også kaldet "Lan Manager") klienter, incl.
151 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
152 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
153 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
154 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
157 %description -l de.UTF-8
158 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
159 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
160 verschiedenen Versionen von MS Windows-, OS/2- und anderen
161 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
162 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
163 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
164 (Microsoft Raw NetBIOS frame)-Protokoll.
166 %description -l es.UTF-8
167 Samba provee un servidor SMB que se puede usar para ofrecer servicios
168 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
169 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
170 Linux. Samba también ofrece algunos clientes SMB, que complementan el
171 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
172 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
175 %description -l fi.UTF-8
176 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
177 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
178 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
179 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
180 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
181 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
182 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
185 %description -l it.UTF-8
186 Samba fornisce un server SMB che puo` essere usato per fornire servizi
187 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
188 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
189 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
191 %description -l ja.UTF-8
192 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
193 を含む SMB (たまに "Lan Manager" と呼ばれる)
194 クライアントにネットワーク サービスを提供するために使用される SMB
195 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
196 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
199 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
200 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
201 新しい SWAT (Samba Web Administration Tool) を含みます。
202 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
204 %description -l ko.UTF-8
205 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
206 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
207 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
208 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
211 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
212 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
213 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
216 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
217 릴리즈는 암호화된 패스워드를 제공한다.
219 %description -l pl.UTF-8
220 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
221 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
222 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
223 znajduje się również oprogramowanie klienckie. Samba używa protokołu
224 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
225 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
226 haseł w standardzie MS i zarządzania bazą WINS.
228 %description -l pt_BR.UTF-8
229 O Samba provê um servidor SMB que pode ser usado para oferecer
230 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
231 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
232 máquinas Linux. O Samba também fornece alguns clientes SMB, que
233 complementam o sistema de arquivos SMB do Linux. O Samba usa o
234 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
235 NetBEUI (Microsoft Raw NetBIOS frame).
237 O Samba inclui a maioria das características de um servidor de
238 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
239 permite que o arquivo smb.conf seja gerenciado remotamente através de
240 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
243 %description -l ru.UTF-8
244 Samba предоставляет SMB-сервер, который может быть использован для
245 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
246 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
247 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
248 со встроенной в Linux файловой системой SMB.
250 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
251 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
253 Samba содержит практически работающую реализацию NT Domain Control и
254 включает новый SWAT (Samba Web Administration Tool), который позволяет
255 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
256 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
259 %description -l uk.UTF-8
260 Samba надає SMB-сервер, що може бути використаний для надання
261 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
262 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
263 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
264 файловою системою SMB.
266 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
267 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
269 Samba містить майже працюючу реализацію NT Domain Control та новый
270 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
271 керувати конфігураційним файлом smb.conf за допомогою вашого
272 улюбленого WEB-броузера. Поки що він дозволений через inetd на
276 Summary: Samba Web Administration Tool
277 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
278 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
279 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
280 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
281 Group: Networking/Admin
282 Requires: %{name} = %{epoch}:%{version}-%{release}
284 Requires: rc-inetd >= 0.8.2
288 swat allows a Samba administrator to configure the complex smb.conf
289 file via a Web browser. In addition, a swat configuration page has
290 help links to all the configurable options in the smb.conf file
291 allowing an administrator to easily look up the effects of any change.
293 %description swat -l pl.UTF-8
294 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
297 %description swat -l pt_BR.UTF-8
298 SWAT - ferramentada Web de configuração do Samba.
300 %description swat -l ru.UTF-8
301 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
302 для удаленного администрирования файла smb.conf при помощи вашего
303 любимого Web-браузера.
305 %description swat -l uk.UTF-8
306 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
307 для дистанційного адміністрування файлу smb.conf за допомогою вашого
308 улюбленого Web-браузеру.
311 Summary: Samba client programs
312 Summary(es.UTF-8): Cliente SMB de Samba
313 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
314 Summary(pl.UTF-8): Klienci serwera Samba
315 Summary(pt_BR.UTF-8): Cliente SMB do samba
316 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
317 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
318 Group: Applications/Networking
319 Requires: %{name}-common = %{epoch}:%{version}-%{release}
320 Requires: libsmbclient = %{epoch}:%{version}-%{release}
321 %{?with_kerberos5:Requires: krb5-libs}
322 Obsoletes: mount-cifs
326 Samba-client provides some SMB clients, which complement the build-in
327 SMB filesystem in Linux. These allow accessing of SMB shares and
328 printing to SMB printers.
330 %description client -l pt_BR.UTF-8
331 O pacote samba-clientes prove alguns clientes SMB, que complementam o
332 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
333 e também, à impressoras SMB.
335 %description client -l es.UTF-8
336 Cliente SMB de Samba.
338 %description client -l ja.UTF-8
339 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
340 クライアントを提供します。これらは SMB 共有のアクセスと SMB
343 %description client -l pl.UTF-8
344 Samba-client dostarcza programy uzupełniające obsługę systemu plików
345 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
346 drukowanie w sieci SMB.
348 %description client -l pt_BR.UTF-8
349 O pacote samba-clientes prove alguns clientes SMB, que complementam o
350 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
351 e também, à impressoras SMB.
353 %description client -l ru.UTF-8
354 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
355 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
356 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
358 %description client -l uk.UTF-8
359 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
360 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
361 до каталогів спільного використання SMB та друк на SMB-прінтери.
364 Summary: Files used by both Samba servers and clients
365 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
366 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
367 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
368 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
369 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
370 Group: Networking/Daemons
371 Requires: tdb >= 1.1.0
374 Samba-common provides files necessary for both the server and client
377 %description common -l ja.UTF-8
378 Samba-common は Samba のサーバとクライアントの両方のパッケージで
381 %description common -l pl.UTF-8
382 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
385 %description common -l pt_BR.UTF-8
386 Arquivos em comum entre os pacotes samba e samba-clients.
388 %description common -l ru.UTF-8
389 Samba-common содержит файлы, необходимые для работы как клиента, так и
392 %description common -l uk.UTF-8
393 Samba-common містить файли, необхідні для роботи як клієнта, так і
397 Summary: Samba-winbind daemon, utilities and documentation
398 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
399 Group: Networking/Daemons
400 Requires(post,preun): /sbin/chkconfig
401 Requires: %{name}-common = %{epoch}:%{version}-%{release}
404 Provides the winbind daemon and testing tools to allow authentication
405 and group/user enumeration from a Windows or Samba domain controller.
407 %description winbind -l pl.UTF-8
408 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
409 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
413 Summary: Name Service Switch service for WINS
414 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
416 Requires: %{name}-common = %{epoch}:%{version}-%{release}
418 %description -n nss_wins
419 Provides the libnss_wins shared library which resolves NetBIOS names
422 %description -n nss_wins -l pl.UTF-8
423 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
426 %package -n pam-pam_smbpass
427 Summary: PAM Samba Password Module
428 Summary(pl.UTF-8): Moduł PAM smbpass
430 Obsoletes: pam_smbpass
432 %description -n pam-pam_smbpass
433 PAM module which can be used on conforming systems to keep the
434 smbpasswd (Samba password) database in sync with the Unix password
437 %description -n pam-pam_smbpass -l pl.UTF-8
438 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
439 Samby) zsynchronizowanego z hasłami uniksowymi.
441 %package -n libsmbclient
442 Summary: libsmbclient - samba client library
443 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
446 %description -n libsmbclient
447 libsmbclient - library that allows to use samba clients functions.
449 %description -n libsmbclient -l pl.UTF-8
450 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
453 %package -n libsmbclient-devel
454 Summary: libsmbclient - samba client library
455 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
456 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
457 Group: Development/Libraries
458 Requires: libsmbclient = %{epoch}:%{version}-%{release}
460 %description -n libsmbclient-devel
461 Header files for libsmbclient.
463 %description -n libsmbclient-devel -l pl.UTF-8
464 Pliki nagłówkowe dla libsmbclient.
466 %description -n libsmbclient-devel -l pt_BR.UTF-8
467 Arquivos de inclusão, bibliotecas e documentação necessários para
468 desenvolver aplicativos clientes para o samba.
470 %package -n libsmbclient-static
471 Summary: Static version of libsmbclient - samba client library
472 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
473 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
474 Group: Development/Libraries
475 Requires: libsmbclient = %{epoch}:%{version}-%{release}
477 %description -n libsmbclient-static
478 Static libsmbclient library.
480 %description -n libsmbclient-static -l pl.UTF-8
481 Statyczna biblioteka libsmbclient.
483 %package -n libtalloc
484 Summary: The talloc library
487 %description -n libtalloc
488 The talloc library from the Samba suite.
490 %package -n libtalloc-devel
491 Summary: Developer tools for the talloc library
492 Group: Development/Libraries
493 Requires: libtalloc = %{epoch}:%{version}-%{release}
495 %description -n libtalloc-devel
496 The libtalloc-devel package contains the header files and libraries needed to
497 develop programs that link against the talloc library in the Samba suite.
500 Summary: Header files for Samba
501 Summary(pl.UTF-8): Pliki nagłówkowe Samby
502 Group: Development/Libraries
505 Header files for Samba.
507 %description devel -l pl.UTF-8
508 Pliki nagłówkowe Samby.
511 Summary: A utility for retrieving files using the SMB protocol
512 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
513 Group: Applications/Networking
515 %description -n smbget
516 wget-like utility for download files over SMB.
518 %description -n smbget -l pl.UTF-8
519 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
520 używanym w sieciach MS Windows.
522 %package -n cups-backend-smb
523 Summary: CUPS backend for printing to SMB printers
524 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
525 Group: Applications/Printing
526 Requires: %{name}-client = %{epoch}:%{version}-%{release}
527 Requires: cups >= 1:1.2.0
529 %description -n cups-backend-smb
530 CUPS backend for printing to SMB printers.
532 %description -n cups-backend-smb -l pl.UTF-8
533 Backend CUPS-a drukujący na drukarkach SMB.
536 Summary: VFS module to audit file access
537 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
538 Group: Networking/Daemons
539 Requires: %{name} = %{epoch}:%{version}-%{release}
541 %description vfs-audit
542 A simple module to audit file access to the syslog facility. The
543 following operations are logged:
544 - share connect/disconnect,
545 - directory opens/create/remove,
546 - file open/close/rename/unlink/chmod.
548 %description vfs-audit -l pl.UTF-8
549 Proste moduły do monitorowania dostępu do plików na serwerze samba do
550 do sysloga. Monitorowane są następujące operacje:
551 - podłączenie do/odłączenie od zasobu,
552 - otwarcie/utworzenie/zmiana nazwy katalogu,
553 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
555 Zawiera moduły audit, extd_audit i full_audit.
558 Summary: VFS module for CAP and samba compatibility
559 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
560 Group: Networking/Daemons
561 Requires: %{name} = %{epoch}:%{version}-%{release}
564 Convert an incoming Shift-JIS character to the 3 byte hex
565 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
566 This is used for compatibility between Samba and CAP.
568 %description vfs-cap -l pl.UTF-8
569 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
570 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
572 %package vfs-default_quota
573 Summary: VFS module to store default quotas in a specified quota record
574 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
575 Group: Networking/Daemons
576 Requires: %{name} = %{epoch}:%{version}-%{release}
578 %description vfs-default_quota
579 This VFS modules stores default quotas in a specified quota record.
581 %description vfs-default_quota -l pl.UTF-8
582 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
585 %package vfs-expand_msdfs
586 Summary: VFS module for hosting a Microsoft Distributed File System Tree
587 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
588 Group: Networking/Daemons
589 Requires: %{name} = %{epoch}:%{version}-%{release}
591 %description vfs-expand_msdfs
592 A VFS module for hosting a Microsoft Distributed File System Tree.
594 The Distributed File System (DFS) provides a means of separating the
595 logical view of files and directories that users see from the actual
596 physical locations of these resources on the network. It allows for
597 higher availability, smoother storage expansion, load balancing, and
600 %description vfs-expand_msdfs -l pl.UTF-8
601 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
604 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
605 plików i katalogów widocznych przez użytkowników z fizycznego
606 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
607 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
609 %package vfs-fake_perms
610 Summary: VFS module to report read-only fires as writable
611 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
612 Group: Networking/Daemons
613 Requires: %{name} = %{epoch}:%{version}-%{release}
615 %description vfs-fake_perms
616 This module allow Roaming Profile files and directories to be set (on
617 the Samba server under UNIX) as read only. This module will, if
618 installed on the Profiles share, report to the client that the Profile
619 files and directories are writeable. This satisfies the client even
620 though the files will never be overwritten as the client logs out or
623 %description vfs-fake_perms -l pl.UTF-8
624 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
625 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
626 przypadku zainstalowania na udziale z profilami będzie zgłaszał
627 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
628 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
629 lub wylogowywaniu klienta.
631 %package vfs-notify_fam
632 Summary: VFS module to implement file change notifications
633 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
634 Group: Networking/Daemons
635 Requires: %{name} = %{epoch}:%{version}-%{release}
637 %description vfs-notify_fam
638 The vfs_notify_fam module makes use of the system FAM (File Alteration
639 Monitor) daemon to implement file change notifications for Windows
642 %description vfs-notify_fam -l pl.UTF-8
643 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
644 informowania o zmianach w plikach dla klientów Windows.
646 %package vfs-netatalk
647 Summary: VFS module for ease co-existence of samba and netatalk
648 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
649 Group: Networking/Daemons
650 Requires: %{name} = %{epoch}:%{version}-%{release}
652 %description vfs-netatalk
653 Package contains a netatalk VFS module for ease co-existence of Samba
654 and netatalk file sharing services.
656 %description vfs-netatalk -l pl.UTF-8
657 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
658 i netatalk przy udostępnianiu zasobów.
661 Summary: VFS module to add recycle bin facility to a samba share
662 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
663 Group: Networking/Daemons
664 Requires: %{name} = %{epoch}:%{version}-%{release}
666 %description vfs-recycle
667 VFS module to add recycle bin facility to a samba share.
669 %description vfs-recycle -l pl.UTF-8
670 Moduł VFS dodający możliwość kosza do zasobu samby.
672 %package vfs-readahead
673 Summary: VFS module for pre-loading the kernel buffer cache
674 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
675 Group: Networking/Daemons
676 Requires: %{name} = %{epoch}:%{version}-%{release}
678 %description vfs-readahead
679 This VFS module detects read requests at multiples of a given offset
680 (hex 0x80000 by default) and then tells the kernel via either the
681 readahead system call (on Linux) or the posix_fadvise system call to
682 pre-fetch this data into the buffer cache.
684 This module is useful for Windows Vista clients reading data using the
685 Windows Explorer program, which asynchronously does multiple file read
686 requests at offset boundaries of 0x80000 bytes.
688 %description vfs-readahead -l pl.UTF-8
689 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
690 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
691 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
692 wczesnego odczytu tych danych do bufora cache.
694 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
695 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
696 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
699 %package vfs-readonly
700 Summary: VFS module for read-only limitation for specified share
701 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
702 Group: Networking/Daemons
703 Requires: %{name} = %{epoch}:%{version}-%{release}
705 %description vfs-readonly
706 This module performs a read-only limitation for specified share (or
707 all of them if it is loaded in a [global] section) based on period
708 definition in smb.conf.
710 %description vfs-readonly -l pl.UTF-8
711 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
712 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
713 oparciu o definicje okresów w smb.conf.
715 %package vfs-shadow_copy
716 Summary: VFS module to make automatic copy of data in samba share
717 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
718 Group: Networking/Daemons
719 Requires: %{name} = %{epoch}:%{version}-%{release}
721 %description vfs-shadow_copy
722 VFS module to make automatic copy of data in samba share.
724 %description vfs-shadow_copy -l pl.UTF-8
725 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
727 %package vfs-vscan-antivir
728 Summary: On-access virus scanning for samba using AntiVir
729 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
730 Group: Networking/Daemons
731 Requires: %{name} = %{epoch}:%{version}-%{release}
732 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
734 %description vfs-vscan-antivir
735 A vfs-module for samba to implement on-access scanning using the
736 AntiVir antivirus software (which must be installed to use this).
738 %description vfs-vscan-antivir -l pl.UTF-8
739 Moduł vfs do samby implementujący skaning antywirusowy w czasie
740 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
741 (które musi być zainstalowane, aby wykorzystać ten moduł).
743 %package vfs-vscan-clamav
744 Summary: On-access virus scanning for samba using ClamAV
745 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
746 Group: Networking/Daemons
747 Requires: %{name} = %{epoch}:%{version}-%{release}
749 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
751 %description vfs-vscan-clamav
752 A vfs-module for samba to implement on-access scanning using the
753 ClamAV antivirus software (which must be installed to use this).
755 %description vfs-vscan-clamav -l pl.UTF-8
756 Moduł vfs do samby implementujący skaning antywirusowy w czasie
757 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
758 (które musi być zainstalowane, aby wykorzystać ten moduł).
760 %package vfs-vscan-fprot
761 Summary: On-access virus scanning for samba using FPROT
762 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
763 Group: Networking/Daemons
764 Requires: %{name} = %{epoch}:%{version}-%{release}
765 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
766 Obsoletes: vscan-fprot
768 %description vfs-vscan-fprot
769 A vfs-module for samba to implement on-access scanning using the FPROT
770 antivirus software (which must be installed to use this).
772 %description vfs-vscan-fprot -l pl.UTF-8
773 Moduł vfs do samby implementujący skaning antywirusowy w czasie
774 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
775 (które musi być zainstalowane, aby wykorzystać ten moduł).
777 %package vfs-vscan-fsav
778 Summary: On-access virus scanning for samba using F-Secure AntiVirus
779 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
780 Group: Networking/Daemons
781 Requires: %{name} = %{epoch}:%{version}-%{release}
782 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
783 Obsoletes: vscan-fsav
785 %description vfs-vscan-fsav
786 A vfs-module for samba to implement on-access scanning using the
787 F-Secure AntiVirus antivirus software (which must be installed to use
790 %description vfs-vscan-fsav -l pl.UTF-8
791 Moduł vfs do samby implementujący skaning antywirusowy w czasie
792 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
793 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
795 %package vfs-vscan-kavp
796 Summary: On-access virus scanning for samba using Kaspersky AVP
797 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
798 Group: Networking/Daemons
799 Requires: %{name} = %{epoch}:%{version}-%{release}
800 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
801 Obsoletes: vscan-kavp
803 %description vfs-vscan-kavp
804 A vfs-module for samba to implement on-access scanning using the
805 Kaspersky AVP antivirus software (which must be installed to use
808 %description vfs-vscan-kavp -l pl.UTF-8
809 Moduł vfs do samby implementujący skaning antywirusowy w czasie
810 dostępu do plików korzystając z oprogramowania antywirusowego
811 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
814 %package vfs-vscan-mcafee
815 Summary: On-access virus scanning for samba using mcafee
816 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
817 Group: Networking/Daemons
818 Requires: %{name} = %{epoch}:%{version}-%{release}
820 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
821 Obsoletes: vscan-mcafee
823 %description vfs-vscan-mcafee
824 A vfs-module for samba to implement on-access scanning using the
825 mcafee antivirus software (which must be installed to use this).
827 %description vfs-vscan-mcafee -l pl.UTF-8
828 Moduł vfs do samby implementujący skaning antywirusowy w czasie
829 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
830 (które musi być zainstalowane, aby wykorzystać ten moduł).
832 %package vfs-vscan-mks
833 Summary: On-access virus scanning for samba using mks
834 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
835 Group: Networking/Daemons
836 Requires: %{name} = %{epoch}:%{version}-%{release}
838 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
841 %description vfs-vscan-mks
842 A vfs-module for samba to implement on-access scanning using the mks
843 antivirus software (which must be installed to use this).
845 %description vfs-vscan-mks -l pl.UTF-8
846 Moduł vfs do samby implementujący skaning antywirusowy w czasie
847 dostępu do plików korzystając z oprogramowania antywirusowego mks
848 (które musi być zainstalowane, aby wykorzystać ten moduł).
850 %package vfs-vscan-openantivirus
851 Summary: On-access virus scanning for samba using OpenAntivirus
852 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
853 Group: Networking/Daemons
854 Requires: %{name} = %{epoch}:%{version}-%{release}
855 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
856 Obsoletes: vscan-openantivirus
858 %description vfs-vscan-openantivirus
859 A vfs-module for samba to implement on-access scanning using the
860 OpenAntivirus antivirus software (which must be installed to use
863 %description vfs-vscan-openantivirus -l pl.UTF-8
864 Moduł vfs do samby implementujący skaning antywirusowy w czasie
865 dostępu do plików korzystając z oprogramowania antywirusowego
866 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
869 %package vfs-vscan-sophos
870 Summary: On-access virus scanning for samba using Sophos
871 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
872 Group: Networking/Daemons
873 Requires: %{name} = %{epoch}:%{version}-%{release}
874 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
875 Obsoletes: vscan-sophos
877 %description vfs-vscan-sophos
878 A vfs-module for samba to implement on-access scanning using the
879 Sophos antivirus software (which must be installed to use this).
881 %description vfs-vscan-sophos -l pl.UTF-8
882 Moduł vfs do samby implementujący skaning antywirusowy w czasie
883 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
884 (które musi być zainstalowane, aby wykorzystać ten moduł).
886 %package vfs-vscan-symantec
887 Summary: On-access virus scanning for samba using Symantec
888 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
889 Group: Networking/Daemons
890 Requires: %{name} = %{epoch}:%{version}-%{release}
891 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
892 Obsoletes: vscan-symantec
894 %description vfs-vscan-symantec
895 A vfs-module for samba to implement on-access scanning using the
896 Symantec antivirus software (which must be installed to use this).
898 %description vfs-vscan-symantec -l pl.UTF-8
899 Moduł vfs do samby implementujący skaning antywirusowy w czasie
900 dostępu do plików korzystając z oprogramowania antywirusowego firmy
901 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
903 %package vfs-vscan-trend
904 Summary: On-access virus scanning for samba using Trend
905 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
906 Group: Networking/Daemons
907 Requires: %{name} = %{epoch}:%{version}-%{release}
908 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
909 Obsoletes: vscan-trend
911 %description vfs-vscan-trend
912 A vfs-module for samba to implement on-access scanning using the Trend
913 antivirus software (which must be installed to use this).
915 %description vfs-vscan-trend -l pl.UTF-8
916 Moduł vfs do samby implementujący skaning antywirusowy w czasie
917 dostępu do plików korzystając z oprogramowania antywirusowego Trend
918 (które musi być zainstalowane, aby wykorzystać ten moduł).
920 %package -n openldap-schema-samba
921 Summary: Samba LDAP schema
922 Summary(pl.UTF-8): Schemat LDAP dla samby
923 Group: Networking/Daemons
924 Requires(post,postun): sed >= 4.0
925 Requires: openldap-servers
927 %description -n openldap-schema-samba
928 This package contains samba.schema for openldap.
930 %description -n openldap-schema-samba -l pl.UTF-8
931 Ten pakiet zawiera schemat samby dla openldap-a.
934 Summary: Samba HTML documentation
935 Summary(pl.UTF-8): Documentacja samby w formacie HTML
938 %description doc-html
939 Samba HTML documentation.
941 %description doc-html -l pl.UTF-8
942 Documentacja samby w formacie HTML.
945 Summary: Samba documentation - PDF format
946 Summary(pl.UTF-8): Documentacja samby w formacie PDF
950 Samba PDF documentation.
952 %description doc-pdf -l pl.UTF-8
953 Documentacja samby w formacie PDF.
957 %if "%{_lib}" == "lib64"
974 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
984 %{__autoconf} -Im4 -Ilib/replace
986 --libdir=%{_sambalibdir} \
987 --with-rootsbindir=/sbin \
988 --with-pammodulesdir=/%{_lib}/security \
991 --with-libsmbclient \
992 --with-lockdir=/var/lib/samba \
995 --with%{!?with_ads:out}-ads \
996 --with-privatedir=%{_sysconfdir}/samba \
999 --with-swatdir=%{_datadir}/swat \
1003 --with%{!?with_ldap:out}-ldap \
1004 --with%{!?with_kerberos5:out}-krb5
1007 %{__make} everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
1010 %{__make} -C libsmbclient/smbwrapper \
1012 CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1018 CFLAGS="%{rpmcflags} -fPIC"
1022 cd samba-vscan-%{vscan_version}
1023 cp -f /usr/share/automake/config.sub .
1025 ln -s ../../../source/lib .
1030 rm -rf $RPM_BUILD_ROOT
1031 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1032 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1033 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1034 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1036 %{__make} -C source install \
1037 DESTDIR=$RPM_BUILD_ROOT \
1038 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1040 install source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1042 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1043 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1044 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1045 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1046 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1047 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1048 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1049 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1051 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1052 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1053 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1054 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1055 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1056 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1057 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1059 mv $RPM_BUILD_ROOT%{_libdir}/samba/lib*.so* $RPM_BUILD_ROOT%{_libdir}
1060 install source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1063 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1064 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1065 install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1067 # these are needed to build samba-pdbsql
1068 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1069 cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1070 cp -a source/lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1071 cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1075 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1076 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
1079 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1081 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1084 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1085 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1088 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1089 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1091 # we have this utility in tdb package
1092 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdb{backup,dump},%{_mandir}/man8/tdb{backup,dump}.8*}
1094 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1097 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1101 rm -rf $RPM_BUILD_ROOT
1104 /sbin/chkconfig --add smb
1105 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1106 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1107 /sbin/service smb stop >&2
1108 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1109 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1110 if [ -d /var/lock/samba/printing ]; then
1111 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1113 /sbin/service smb start >&2
1115 %service smb restart "Samba daemons"
1119 if [ "$1" = "0" ]; then
1121 /sbin/chkconfig --del smb
1125 /sbin/chkconfig --add winbind
1126 %service winbind restart "Winbind daemon"
1129 if [ "$1" = "0" ]; then
1130 %service winbind stop
1131 /sbin/chkconfig --del winbind
1135 %service -q rc-inetd reload
1138 if [ "$1" = 0 ]; then
1139 %service -q rc-inetd reload
1142 %post -n openldap-schema-samba
1143 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1144 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1145 %service -q ldap restart
1147 %postun -n openldap-schema-samba
1148 if [ "$1" = "0" ]; then
1149 %openldap_schema_unregister %{schemadir}/samba.schema
1150 %service -q ldap restart
1153 %triggerpostun -- samba < 1.9.18p7
1154 if [ "$1" != "0" ]; then
1155 /sbin/chkconfig --add smb
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_sbindir}/nmbd
1161 %attr(755,root,root) %{_sbindir}/smbd
1162 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1163 %attr(755,root,root) %{_bindir}/ldb*
1164 %attr(755,root,root) %{_bindir}/smbstatus
1165 %attr(755,root,root) %{_bindir}/smbpasswd
1166 %attr(755,root,root) %{_bindir}/smbcontrol
1167 %attr(755,root,root) %{_bindir}/tdbtool_samba
1169 %dir %{_libdir}/%{name}/pdb
1171 %attr(755,root,root) %{_vfsdir}/fileid.so
1172 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1173 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1174 %attr(755,root,root) %{_vfsdir}/syncops.so
1175 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1177 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1178 %attr(754,root,root) /etc/rc.d/init.d/smb
1179 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1180 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1181 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1182 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1183 %{_mandir}/man1/ldb*.1*
1184 %{_mandir}/man1/log2pcap.1*
1185 %{_mandir}/man1/smbstatus.1*
1186 %{_mandir}/man1/smbcontrol.1*
1187 %{_mandir}/man5/smbpasswd.5*
1188 %{_mandir}/man7/samba.7*
1189 %{_mandir}/man8/nmbd.8*
1190 %{_mandir}/man8/smbd.8*
1191 %{_mandir}/man8/smbpasswd.8*
1192 %{_mandir}/man8/vfs_streams_xattr.8*
1193 %{_mandir}/man8/vfs_xattr_tdb.8*
1197 %ghost /var/lib/samba/*.dat
1198 %dir /var/lib/samba/printing
1200 %attr(750,root,root) %dir /var/log/samba
1201 %attr(750,root,root) %dir /var/log/samba/cores
1202 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1203 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1204 %attr(750,root,root) %dir /var/log/archive/samba
1205 %attr(1777,root,root) %dir /var/spool/samba
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) %{_sbindir}/winbindd
1213 %attr(755,root,root) %{_bindir}/wbinfo
1214 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1215 %attr(755,root,root) /%{_lib}/libnss_winbind*
1216 %attr(754,root,root) /etc/rc.d/init.d/winbind
1217 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1218 %{_mandir}/man1/wbinfo*.1*
1219 %{_mandir}/man7/pam_winbind.7*
1220 %{_mandir}/man8/winbindd*.8*
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) /%{_lib}/libnss_wins*
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) /sbin/mount.cifs
1229 %attr(755,root,root) /sbin/umount.cifs
1230 %attr(755,root,root) %{_bindir}/findsmb
1231 %attr(755,root,root) %{_bindir}/net
1232 %attr(755,root,root) %{_bindir}/nmblookup
1233 %attr(755,root,root) %{_bindir}/rpcclient
1234 %attr(755,root,root) %{_bindir}/smbcacls
1235 %attr(755,root,root) %{_bindir}/smbclient
1236 %attr(755,root,root) %{_bindir}/smbsh
1237 %attr(755,root,root) %{_bindir}/smbtar
1238 %attr(755,root,root) %{_bindir}/smbtree
1239 %attr(755,root,root) %{_sbindir}/cifs.upcall
1240 %attr(755,root,root) %{_libdir}/smbwrapper.so
1241 %{_mandir}/man1/findsmb.1*
1242 %{_mandir}/man1/nmblookup.1*
1243 %{_mandir}/man1/rpcclient.1*
1244 %{_mandir}/man1/smbcacls.1*
1245 %{_mandir}/man1/smbclient.1*
1246 %{_mandir}/man1/smbsh.1*
1247 %{_mandir}/man1/smbtar.1*
1248 %{_mandir}/man1/smbtree.1*
1249 %{_mandir}/man8/cifs.upcall.8*
1250 %{_mandir}/man8/net.8*
1251 %{_mandir}/man8/*mount.cifs.8*
1254 %defattr(644,root,root,755)
1255 %doc README Manifest WHATSNEW.txt
1256 %doc Roadmap docs/registry/*
1257 %doc docs/{history,THANKS}
1258 %dir %{_sysconfdir}/samba
1259 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1261 %attr(755,root,root) %{_bindir}/eventlogadm
1262 %attr(755,root,root) %{_bindir}/ntlm_auth
1263 %attr(755,root,root) %{_bindir}/pdbedit
1264 %attr(755,root,root) %{_bindir}/profiles
1265 %attr(755,root,root) %{_bindir}/smbcquotas
1266 %attr(755,root,root) %{_bindir}/testparm
1267 %attr(755,root,root) %{_bindir}/vfstest
1268 %dir %{_libdir}/%{name}
1269 %{_libdir}/%{name}/*.dat
1270 %dir %{_libdir}/%{name}/auth
1271 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1272 %dir %{_libdir}/%{name}/charset
1273 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1274 %{_mandir}/man1/ntlm_auth.1*
1275 %{_mandir}/man1/profiles.1*
1276 %{_mandir}/man1/smbcquotas.1*
1277 %{_mandir}/man1/testparm.1*
1278 %{_mandir}/man1/vfstest.1*
1279 #%{_mandir}/man1/log2pcap.1*
1280 %{_mandir}/man5/lmhosts.5*
1281 %{_mandir}/man5/smb.conf.5*
1282 %{_mandir}/man8/pdbedit.8*
1283 %{_mandir}/man8/eventlogadm.8*
1284 %{_mandir}/man8/idmap_ad.8*
1285 %{_mandir}/man8/idmap_ldap.8*
1286 %{_mandir}/man8/idmap_nss.8*
1287 %{_mandir}/man8/idmap_rid.8*
1288 %{_mandir}/man8/idmap_tdb.8*
1289 %{_mandir}/man8/tdbtool.8*
1292 %defattr(644,root,root,755)
1293 #%doc swat/README* swat/help/*
1295 %attr(755,root,root) %{_sbindir}/swat
1296 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1297 %dir %{_datadir}/swat
1298 %{_datadir}/swat/help
1299 %{_datadir}/swat/images
1300 %{_datadir}/swat/include
1301 %dir %{_datadir}/swat/lang
1302 %lang(ja) %{_datadir}/swat/lang/ja
1303 %lang(tr) %{_datadir}/swat/lang/tr
1304 %lang(de) %{_libdir}/%{name}/de.msg
1305 %{_libdir}/%{name}/en.msg
1306 %lang(fi) %{_libdir}/%{name}/fi.msg
1307 %lang(fr) %{_libdir}/%{name}/fr.msg
1308 %lang(it) %{_libdir}/%{name}/it.msg
1309 %lang(ja) %{_libdir}/%{name}/ja.msg
1310 %lang(nl) %{_libdir}/%{name}/nl.msg
1311 %lang(pl) %{_libdir}/%{name}/pl.msg
1312 %lang(tr) %{_libdir}/%{name}/tr.msg
1313 %{_mandir}/man8/swat.8*
1315 %files -n pam-pam_smbpass
1316 %defattr(644,root,root,755)
1317 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1318 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1320 %files -n libsmbclient
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1323 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1324 %{_mandir}/man7/libsmbclient.7*
1326 %files -n libsmbclient-devel
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_libdir}/libsmbclient.so
1329 %attr(755,root,root) %{_libdir}/libwbclient.so
1330 %{_includedir}/libsmbclient.h
1331 %{_includedir}/wbclient.h
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1337 %files -n libtalloc-devel
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/libtalloc.so
1340 %{_includedir}/talloc.h
1343 %defattr(644,root,root,755)
1344 %{_includedir}/%{name}
1346 %files -n libsmbclient-static
1347 %defattr(644,root,root,755)
1348 %{_libdir}/libsmbclient.a
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_bindir}/smbget
1353 %{_mandir}/man1/smbget.1*
1354 %{_mandir}/man5/smbgetrc.5*
1357 %files -n cups-backend-smb
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_bindir}/smbspool
1360 %attr(755,root,root) %{cups_serverbin}/backend/smb
1361 %{_mandir}/man8/smbspool.8*
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_vfsdir}/audit.so
1367 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1368 %attr(755,root,root) %{_vfsdir}/full_audit.so
1369 %{_mandir}/man8/vfs_audit.8*
1370 %{_mandir}/man8/vfs_extd_audit.8*
1371 %{_mandir}/man8/vfs_full_audit.8*
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_vfsdir}/cap.so
1376 %{_mandir}/man8/vfs_cap.8*
1378 %files vfs-default_quota
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_vfsdir}/default_quota.so
1381 %{_mandir}/man8/vfs_default_quota.8*
1383 %files vfs-expand_msdfs
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1387 %files vfs-fake_perms
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1390 %{_mandir}/man8/vfs_fake_perms.8*
1392 %files vfs-notify_fam
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1395 %{_mandir}/man8/vfs_notify_fam.8*
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_vfsdir}/netatalk.so
1400 %{_mandir}/man8/vfs_netatalk.8*
1402 %files vfs-readahead
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_vfsdir}/readahead.so
1405 %{_mandir}/man8/vfs_readahead.8*
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_vfsdir}/readonly.so
1410 %{_mandir}/man8/vfs_readonly.8*
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_vfsdir}/recycle.so
1415 %{_mandir}/man8/vfs_recycle.8*
1417 %files vfs-shadow_copy
1418 %defattr(644,root,root,755)
1419 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1420 %{_mandir}/man8/vfs_shadow_copy.8*
1423 %files vfs-vscan-antivir
1424 %defattr(644,root,root,755)
1425 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1427 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1429 %files vfs-vscan-clamav
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-clamav.conf
1433 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1435 %files vfs-vscan-fprot
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-fprotd.conf
1439 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1441 %files vfs-vscan-fsav
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-fsav.conf
1445 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1447 %files vfs-vscan-kavp
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-kavp.conf
1451 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1453 %files vfs-vscan-mcafee
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-mcdaemon.conf
1457 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1460 %ifarch %{ix86} %{x8664}
1461 %files vfs-vscan-mks
1462 %defattr(644,root,root,755)
1463 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1464 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1465 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1469 %files vfs-vscan-openantivirus
1470 %defattr(644,root,root,755)
1471 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1473 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1475 %files vfs-vscan-sophos
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-sophos.conf
1479 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1481 %files vfs-vscan-symantec
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-icap.conf
1485 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1487 %files vfs-vscan-trend
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-trend.conf
1491 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1495 %files -n openldap-schema-samba
1496 %defattr(644,root,root,755)
1497 %{schemadir}/*.schema
1501 %defattr(644,root,root,755)
1502 %doc docs/htmldocs/*
1505 %defattr(644,root,root,755)