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