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