3 %bcond_without ads # without ActiveDirectory support
4 %bcond_without cups # without CUPS support
5 %bcond_without kerberos5 # without Kerberos V support
6 %bcond_without ldap # without LDAP support
8 %bcond_with system_libtalloc
9 %bcond_with system_libtdb
10 # http://wiki.samba.org/index.php/Franky
11 %bcond_with mks # with vfs-mks (mksd dependency not distributale)
13 # ADS requires kerberos5 and LDAP
14 %if %{without kerberos5} || %{without ldap}
18 %if %{with system_libtalloc}
19 %define libtalloc_ver 2.0.7
21 %define libtalloc_ver %{version}-%{release}
24 %if %{with system_libtdb}
25 %define libtdb_ver 2:1.2.10
27 %define libtdb_ver %{version}-%{release}
30 %define virusfilter_version 0.1.3
32 Summary(cs.UTF-8): Server SMB
33 Summary(da.UTF-8): SMB server
34 Summary(de.UTF-8): SMB-Server
35 Summary(es.UTF-8): El servidor SMB
36 Summary(fi.UTF-8): SMB-palvelin
37 Summary(fr.UTF-8): Serveur SMB
38 Summary(it.UTF-8): Server SMB
39 Summary(ja.UTF-8): Samba SMB サーバー
40 Summary(ko.UTF-8): 삼바 SMB 서버
41 Summary(pl.UTF-8): Serwer SMB
42 Summary(pt_BR.UTF-8): Cliente e servidor SMB
43 Summary(ru.UTF-8): SMB клиент и сервер
44 Summary(tr.UTF-8): SMB sunucusu
45 Summary(uk.UTF-8): SMB клієнт та сервер
46 Summary(zh_CN.UTF-8): Samba 客户端和服务器
51 Group: Networking/Daemons
52 Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz
53 # Source0-md5: 93e9aad40893ba48d08e1b28e7efff72
57 Source4: samba.sysconfig
58 Source5: samba.logrotate
61 Source8: winbind.sysconfig
62 Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2
63 # Source10-md5: a3a30d5fbf309d356e8c5833db680c17
64 Patch0: system-heimdal.patch
65 Patch1: samba-c++-nofail.patch
66 Patch3: samba-nscd.patch
67 Patch4: samba-lprng-no-dot-printers.patch
68 Patch5: samba-passdb-smbpasswd.patch
69 URL: http://www.samba.org/
70 BuildRequires: acl-devel
71 BuildRequires: autoconf
72 BuildRequires: automake
73 %{?with_avahi:BuildRequires: avahi-devel}
74 BuildRequires: ctdb-devel
75 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
76 BuildRequires: dmapi-devel
77 BuildRequires: gamin-devel
78 BuildRequires: gdbm-devel
79 BuildRequires: gettext-devel
80 %{?with_kerberos5:BuildRequires: heimdal-devel >= 1.5.3-1}
82 BuildRequires: keyutils-devel
83 BuildRequires: libcom_err-devel
84 BuildRequires: libmagic-devel
85 BuildRequires: libnscd-devel
86 BuildRequires: libtool >= 2:1.4d
87 BuildRequires: make >= 3.81
88 BuildRequires: ncurses-devel >= 5.2
89 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
90 BuildRequires: openssl-devel >= 0.9.7d
91 BuildRequires: pam-devel >= 0.99.8.1
92 BuildRequires: pkgconfig
93 BuildRequires: popt-devel
94 %{?with_pgsql:BuildRequires: postgresql-devel}
95 BuildRequires: python-devel
96 BuildRequires: python-modules
97 BuildRequires: readline-devel >= 4.2
98 BuildRequires: rpmbuild(macros) >= 1.304
99 BuildRequires: sed >= 4.0
100 %{?with_system_libtalloc:BuildRequires: talloc-devel >= %{libtalloc_ver}}
101 %{?with_system_libtdb:BuildRequires: tdb-devel >= %{libtdb_ver}}
102 BuildRequires: xfsprogs-devel
103 BuildConflicts: libbsd-devel
104 Requires(post,preun): /sbin/chkconfig
105 Requires: %{name}-common = %{version}-%{release}
106 Requires: logrotate >= 3.7-4
107 Requires: pam >= 0.99.8.1
108 Requires: rc-scripts >= 0.4.0.12
109 Requires: setup >= 2.4.6-7
110 # smbd links with libcups
111 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
112 Obsoletes: python-samba
113 Obsoletes: samba-pdb-xml
114 Obsoletes: samba-vfs-block
115 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
117 %define _sambahome /home/services/samba
119 %define cups_serverbin %{_prefix}/lib/cups
121 %define schemadir /usr/share/openldap/schema
123 # CFLAGS modified (the second ./configure)
124 %undefine configure_cache
127 Samba provides an SMB server which can be used to provide network
128 services to SMB (sometimes called "Lan Manager") clients, including
129 various versions of MS Windows, OS/2, and other Linux machines. Samba
130 also provides some SMB clients, which complement the built-in SMB
131 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
132 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
134 This release is known as the "Locking Update" and has full support for
135 Opportunistic File Locking. In addition this update includes native
136 support for Microsoft encrypted passwords, improved browse list and
137 WINS database management.
139 Please refer to the WHATSNEW.txt document for fixup information. This
140 binary release includes encrypted password support. Please read the
141 smb.conf file for implementation details.
143 %description -l cs.UTF-8
144 Samba poskytuje server SMB, který lze použít pro poskytování síťových
145 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
146 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
147 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
148 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
149 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
150 NetBIOS od společnosti Microsoft.
152 %description -l da.UTF-8
153 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
154 services til SMB (også kaldet "Lan Manager") klienter, incl.
155 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
156 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
157 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
158 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
161 %description -l de.UTF-8
162 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
163 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
164 verschiedenen Versionen von MS Windows-, OS/2- und anderen
165 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
166 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
167 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
168 (Microsoft Raw NetBIOS frame)-Protokoll.
170 %description -l es.UTF-8
171 Samba provee un servidor SMB que se puede usar para ofrecer servicios
172 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
173 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
174 Linux. Samba también ofrece algunos clientes SMB, que complementan el
175 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
176 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
179 %description -l fi.UTF-8
180 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
181 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
182 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
183 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
184 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
185 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
186 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
189 %description -l it.UTF-8
190 Samba fornisce un server SMB che puo` essere usato per fornire servizi
191 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
192 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
193 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
195 %description -l ja.UTF-8
196 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
197 を含む SMB (たまに "Lan Manager" と呼ばれる)
198 クライアントにネットワーク サービスを提供するために使用される SMB
199 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
200 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
203 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
204 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
205 新しい SWAT (Samba Web Administration Tool) を含みます。
206 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
208 %description -l ko.UTF-8
209 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
210 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
211 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
212 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
215 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
216 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
217 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
220 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
221 릴리즈는 암호화된 패스워드를 제공한다.
223 %description -l pl.UTF-8
224 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
225 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
226 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
227 znajduje się również oprogramowanie klienckie. Samba używa protokołu
228 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
229 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
230 haseł w standardzie MS i zarządzania bazą WINS.
232 %description -l pt_BR.UTF-8
233 O Samba provê um servidor SMB que pode ser usado para oferecer
234 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
235 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
236 máquinas Linux. O Samba também fornece alguns clientes SMB, que
237 complementam o sistema de arquivos SMB do Linux. O Samba usa o
238 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
239 NetBEUI (Microsoft Raw NetBIOS frame).
241 O Samba inclui a maioria das características de um servidor de
242 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
243 permite que o arquivo smb.conf seja gerenciado remotamente através de
244 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
247 %description -l ru.UTF-8
248 Samba предоставляет SMB-сервер, который может быть использован для
249 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
250 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
251 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
252 со встроенной в Linux файловой системой SMB.
254 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
255 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
257 Samba содержит практически работающую реализацию NT Domain Control и
258 включает новый SWAT (Samba Web Administration Tool), который позволяет
259 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
260 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
263 %description -l uk.UTF-8
264 Samba надає SMB-сервер, що може бути використаний для надання
265 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
266 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
267 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
268 файловою системою SMB.
270 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
271 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
273 Samba містить майже працюючу реализацію NT Domain Control та новый
274 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
275 керувати конфігураційним файлом smb.conf за допомогою вашого
276 улюбленого WEB-броузера. Поки що він дозволений через inetd на
280 Summary: Samba Web Administration Tool
281 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
282 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
283 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
284 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
285 Group: Networking/Admin
286 Requires: %{name} = %{version}-%{release}
288 Requires: rc-inetd >= 0.8.2
292 swat allows a Samba administrator to configure the complex smb.conf
293 file via a Web browser. In addition, a swat configuration page has
294 help links to all the configurable options in the smb.conf file
295 allowing an administrator to easily look up the effects of any change.
297 %description swat -l pl.UTF-8
298 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
301 %description swat -l pt_BR.UTF-8
302 SWAT - ferramentada Web de configuração do Samba.
304 %description swat -l ru.UTF-8
305 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
306 для удаленного администрирования файла smb.conf при помощи вашего
307 любимого Web-браузера.
309 %description swat -l uk.UTF-8
310 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
311 для дистанційного адміністрування файлу smb.conf за допомогою вашого
312 улюбленого Web-браузеру.
315 Summary: Samba client programs
316 Summary(es.UTF-8): Cliente SMB de Samba
317 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
318 Summary(pl.UTF-8): Klienci serwera Samba
319 Summary(pt_BR.UTF-8): Cliente SMB do samba
320 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
321 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
322 Group: Applications/Networking
323 Requires: %{name}-common = %{version}-%{release}
324 %{?with_kerberos5:Requires: heimdal-libs >= 1.5.3-1}
325 Requires: libsmbclient = %{version}-%{release}
330 Samba-client provides some SMB clients, which complement the build-in
331 SMB filesystem in Linux. These allow accessing of SMB shares and
332 printing to SMB printers.
334 %description client -l es.UTF-8
335 Cliente SMB de Samba.
337 %description client -l ja.UTF-8
338 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
339 クライアントを提供します。これらは SMB 共有のアクセスと SMB
342 %description client -l pl.UTF-8
343 Samba-client dostarcza programy uzupełniające obsługę systemu plików
344 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
345 drukowanie w sieci SMB.
347 %description client -l pt_BR.UTF-8
348 O pacote samba-clientes prove alguns clientes SMB, que complementam o
349 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
350 e também, à impressoras SMB.
352 %description client -l ru.UTF-8
353 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
354 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
355 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
357 %description client -l uk.UTF-8
358 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
359 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
360 до каталогів спільного використання SMB та друк на SMB-прінтери.
363 Summary: Files used by both Samba servers and clients
364 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
365 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
366 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
367 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
368 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
369 Group: Networking/Daemons
370 Requires: talloc >= %{libtalloc_ver}
371 Requires: tdb >= %{libtdb_ver}
374 Samba-common provides files necessary for both the server and client
377 %description common -l ja.UTF-8
378 Samba-common は Samba のサーバとクライアントの両方のパッケージで
381 %description common -l pl.UTF-8
382 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
385 %description common -l pt_BR.UTF-8
386 Arquivos em comum entre os pacotes samba e samba-clients.
388 %description common -l ru.UTF-8
389 Samba-common содержит файлы, необходимые для работы как клиента, так и
392 %description common -l uk.UTF-8
393 Samba-common містить файли, необхідні для роботи як клієнта, так і
397 Summary: Samba-winbind daemon, utilities and documentation
398 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
399 Group: Networking/Daemons
400 Requires(post,preun): /sbin/chkconfig
401 Requires: %{name}-common = %{version}-%{release}
404 Provides the winbind daemon and testing tools to allow authentication
405 and group/user enumeration from a Windows or Samba domain controller.
407 %description winbind -l pl.UTF-8
408 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
409 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
413 Summary: Name Service Switch service for WINS
414 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
416 Requires: %{name}-common = %{version}-%{release}
418 %description -n nss_wins
419 Provides the libnss_wins shared library which resolves NetBIOS names
422 %description -n nss_wins -l pl.UTF-8
423 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
426 %package -n pam-pam_smbpass
427 Summary: PAM Samba Password Module
428 Summary(pl.UTF-8): Moduł PAM smbpass
430 Obsoletes: pam_smbpass
432 %description -n pam-pam_smbpass
433 PAM module which can be used on conforming systems to keep the
434 smbpasswd (Samba password) database in sync with the Unix password
437 %description -n pam-pam_smbpass -l pl.UTF-8
438 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
439 Samby) zsynchronizowanego z hasłami uniksowymi.
441 %package -n libsmbclient
442 Summary: libsmbclient - samba client library
443 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
446 %description -n libsmbclient
447 libsmbclient - library that allows to use samba clients functions.
449 %description -n libsmbclient -l pl.UTF-8
450 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
453 %package -n libsmbclient-devel
454 Summary: libsmbclient - samba client library
455 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
456 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
457 Group: Development/Libraries
458 Requires: libsmbclient = %{version}-%{release}
460 %description -n libsmbclient-devel
461 Header files for libsmbclient.
463 %description -n libsmbclient-devel -l pl.UTF-8
464 Pliki nagłówkowe dla libsmbclient.
466 %description -n libsmbclient-devel -l pt_BR.UTF-8
467 Arquivos de inclusão, bibliotecas e documentação necessários para
468 desenvolver aplicativos clientes para o samba.
470 %package -n libsmbclient-static
471 Summary: Static version of libsmbclient - samba client library
472 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
473 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
474 Group: Development/Libraries
475 Requires: libsmbclient = %{version}-%{release}
477 %description -n libsmbclient-static
478 Static libsmbclient library.
480 %description -n libsmbclient-static -l pl.UTF-8
481 Statyczna biblioteka libsmbclient.
483 %package -n libtalloc
484 Summary: The talloc library
487 %description -n libtalloc
488 The talloc library from the Samba suite.
490 %package -n libtalloc-devel
491 Summary: Developer tools for the talloc library
492 Group: Development/Libraries
493 Requires: libtalloc = %{version}-%{release}
495 %description -n libtalloc-devel
496 The libtalloc-devel package contains the header files and libraries
497 needed to develop programs that link against the talloc library in the
501 Summary: TDB - Trivial Database
502 Summary(pl.UTF-8): TDB - prosta baza danych
504 Obsoletes: tdb-extras
507 TDB is a Trivial Database. In concept, it is very much like GDBM, and
508 BSD's DB except that it allows multiple simultaneous writers and uses
509 locking internally to keep writers from trampling on each other. TDB
510 is also extremely small.
512 %description -n tdb -l pl.UTF-8
513 TDB to Trivial Database, czyli prosta baza danych. W założeniach jest
514 bardzo podobna do GDBM lub DB z BSD z wyjątkiem tego, że pozwala na
515 zapis wielu procesom jednocześnie i używa wewnętrznie blokowania, aby
516 nie pozwolić piszącym na zadeptanie się nawzajem. TDB jest ponadto
519 %package -n tdb-devel
520 Summary: Header files for TDB library
521 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki TDB
522 Group: Development/Libraries
523 Requires: tdb = %{version}-%{release}
525 %description -n tdb-devel
526 Header files for TDB library.
528 %description -n tdb-devel -l pl.UTF-8
529 Pliki nagłówkowe biblioteki TDB.
532 Summary: Header files for Samba
533 Summary(pl.UTF-8): Pliki nagłówkowe Samby
534 Group: Development/Libraries
537 Header files for Samba.
539 %description devel -l pl.UTF-8
540 Pliki nagłówkowe Samby.
543 Summary: A utility for retrieving files using the SMB protocol
544 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
545 Group: Applications/Networking
547 %description -n smbget
548 wget-like utility for download files over SMB.
550 %description -n smbget -l pl.UTF-8
551 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
552 używanym w sieciach MS Windows.
554 %package -n cups-backend-smb
555 Summary: CUPS backend for printing to SMB printers
556 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
557 Group: Applications/Printing
558 Requires: %{name}-client = %{version}-%{release}
559 Requires: cups >= 1:1.2.0
561 %description -n cups-backend-smb
562 CUPS backend for printing to SMB printers.
564 %description -n cups-backend-smb -l pl.UTF-8
565 Backend CUPS-a drukujący na drukarkach SMB.
568 Summary: VFS module to audit file access
569 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
570 Group: Networking/Daemons
571 Requires: %{name} = %{version}-%{release}
573 %description vfs-audit
574 A simple module to audit file access to the syslog facility. The
575 following operations are logged:
576 - share connect/disconnect,
577 - directory opens/create/remove,
578 - file open/close/rename/unlink/chmod.
580 %description vfs-audit -l pl.UTF-8
581 Proste moduły do monitorowania dostępu do plików na serwerze samba do
582 do sysloga. Monitorowane są następujące operacje:
583 - podłączenie do/odłączenie od zasobu,
584 - otwarcie/utworzenie/zmiana nazwy katalogu,
585 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
587 Zawiera moduły audit, extd_audit i full_audit.
590 Summary: VFS module for CAP and samba compatibility
591 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
592 Group: Networking/Daemons
593 Requires: %{name} = %{version}-%{release}
596 Convert an incoming Shift-JIS character to the 3 byte hex
597 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
598 This is used for compatibility between Samba and CAP.
600 %description vfs-cap -l pl.UTF-8
601 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
602 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
604 %package vfs-default_quota
605 Summary: VFS module to store default quotas in a specified quota record
606 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
607 Group: Networking/Daemons
608 Requires: %{name} = %{version}-%{release}
610 %description vfs-default_quota
611 This VFS modules stores default quotas in a specified quota record.
613 %description vfs-default_quota -l pl.UTF-8
614 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
617 %package vfs-expand_msdfs
618 Summary: VFS module for hosting a Microsoft Distributed File System Tree
619 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
620 Group: Networking/Daemons
621 Requires: %{name} = %{version}-%{release}
623 %description vfs-expand_msdfs
624 A VFS module for hosting a Microsoft Distributed File System Tree.
626 The Distributed File System (DFS) provides a means of separating the
627 logical view of files and directories that users see from the actual
628 physical locations of these resources on the network. It allows for
629 higher availability, smoother storage expansion, load balancing, and
632 %description vfs-expand_msdfs -l pl.UTF-8
633 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
636 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
637 plików i katalogów widocznych przez użytkowników z fizycznego
638 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
639 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
641 %package vfs-fake_perms
642 Summary: VFS module to report read-only fires as writable
643 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
644 Group: Networking/Daemons
645 Requires: %{name} = %{version}-%{release}
647 %description vfs-fake_perms
648 This module allow Roaming Profile files and directories to be set (on
649 the Samba server under UNIX) as read only. This module will, if
650 installed on the Profiles share, report to the client that the Profile
651 files and directories are writeable. This satisfies the client even
652 though the files will never be overwritten as the client logs out or
655 %description vfs-fake_perms -l pl.UTF-8
656 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
657 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
658 przypadku zainstalowania na udziale z profilami będzie zgłaszał
659 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
660 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
661 lub wylogowywaniu klienta.
663 %package vfs-notify_fam
664 Summary: VFS module to implement file change notifications
665 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
666 Group: Networking/Daemons
667 Requires: %{name} = %{version}-%{release}
669 %description vfs-notify_fam
670 The vfs_notify_fam module makes use of the system FAM (File Alteration
671 Monitor) daemon to implement file change notifications for Windows
674 %description vfs-notify_fam -l pl.UTF-8
675 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
676 informowania o zmianach w plikach dla klientów Windows.
678 %package vfs-netatalk
679 Summary: VFS module for ease co-existence of samba and netatalk
680 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
681 Group: Networking/Daemons
682 Requires: %{name} = %{version}-%{release}
684 %description vfs-netatalk
685 Package contains a netatalk VFS module for ease co-existence of Samba
686 and netatalk file sharing services.
688 %description vfs-netatalk -l pl.UTF-8
689 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
690 i netatalk przy udostępnianiu zasobów.
693 Summary: VFS module to add recycle bin facility to a samba share
694 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
695 Group: Networking/Daemons
696 Requires: %{name} = %{version}-%{release}
698 %description vfs-recycle
699 VFS module to add recycle bin facility to a samba share.
701 %description vfs-recycle -l pl.UTF-8
702 Moduł VFS dodający możliwość kosza do zasobu samby.
704 %package vfs-readahead
705 Summary: VFS module for pre-loading the kernel buffer cache
706 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
707 Group: Networking/Daemons
708 Requires: %{name} = %{version}-%{release}
710 %description vfs-readahead
711 This VFS module detects read requests at multiples of a given offset
712 (hex 0x80000 by default) and then tells the kernel via either the
713 readahead system call (on Linux) or the posix_fadvise system call to
714 pre-fetch this data into the buffer cache.
716 This module is useful for Windows Vista clients reading data using the
717 Windows Explorer program, which asynchronously does multiple file read
718 requests at offset boundaries of 0x80000 bytes.
720 %description vfs-readahead -l pl.UTF-8
721 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
722 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
723 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
724 wczesnego odczytu tych danych do bufora cache.
726 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
727 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
728 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
731 %package vfs-readonly
732 Summary: VFS module for read-only limitation for specified share
733 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
734 Group: Networking/Daemons
735 Requires: %{name} = %{version}-%{release}
737 %description vfs-readonly
738 This module performs a read-only limitation for specified share (or
739 all of them if it is loaded in a [global] section) based on period
740 definition in smb.conf.
742 %description vfs-readonly -l pl.UTF-8
743 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
744 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
745 oparciu o definicje okresów w smb.conf.
747 %package vfs-shadow_copy
748 Summary: VFS module to make automatic copy of data in samba share
749 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
750 Group: Networking/Daemons
751 Requires: %{name} = %{version}-%{release}
753 %description vfs-shadow_copy
754 VFS module to make automatic copy of data in samba share.
756 %description vfs-shadow_copy -l pl.UTF-8
757 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
760 Summary: VFS module to fix Catia CAD filenames
761 Group: Networking/Daemons
762 Requires: %{name} = %{version}-%{release}
764 %description vfs-catia
765 The Catia CAD package commonly creates filenames that use characters
766 that are illegal in CIFS filenames. The vfs_catia VFS module
767 implements a fixed character mapping so that these files can be shared
770 %package vfs-scannedonly
771 Summary: Anti-virus solution as VFS module
772 Group: Networking/Daemons
773 Requires: %{name} = %{version}-%{release}
775 %description vfs-scannedonly
776 The vfs_scannedonly VFS module ensures that only files that have been
777 scanned for viruses are visible and accessible to the end user. If
778 non-scanned files are found an anti-virus scanning daemon is notified.
780 %package -n openldap-schema-samba
781 Summary: Samba LDAP schema
782 Summary(pl.UTF-8): Schemat LDAP dla samby
783 Group: Networking/Daemons
784 Requires(post,postun): sed >= 4.0
785 Requires: openldap-servers
787 %description -n openldap-schema-samba
788 This package contains samba.schema for openldap.
790 %description -n openldap-schema-samba -l pl.UTF-8
791 Ten pakiet zawiera schemat samby dla openldap-a.
794 Summary: Samba HTML documentation
795 Summary(pl.UTF-8): Documentacja samby w formacie HTML
798 %description doc-html
799 Samba HTML documentation.
801 %description doc-html -l pl.UTF-8
802 Documentacja samby w formacie HTML.
805 Summary: Samba documentation - PDF format
806 Summary(pl.UTF-8): Documentacja samby w formacie PDF
810 Samba PDF documentation.
812 %description doc-pdf -l pl.UTF-8
813 Documentacja samby w formacie PDF.
815 %package -n python-samba
816 Summary: Samba Module for Python
817 Group: Development/Languages/Python
818 %pyrequires_eq python
819 Requires: %{name}-common = %{version}-%{release}
821 %description -n python-samba
822 Samba Module for Python.
825 %setup -q -n samba-%{version}
832 LDFLAGS="${LDFLAGS:-%rpmldflags}" \
833 CFLAGS="${CFLAGS:-%rpmcflags}" \
834 CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \
835 FFLAGS="${FFLAGS:-%rpmcflags}" \
836 FCFLAGS="${FCFLAGS:-%rpmcflags}" \
837 CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \
838 %{?__cc:CC="%{__cc}"} \
839 %{?__cxx:CXX="%{__cxx}"} \
842 --prefix=%{_prefix} \
843 --exec-prefix=%{_exec_prefix} \
844 --bindir=%{_bindir} \
845 --sbindir=%{_sbindir} \
846 --sysconfdir=%{_sysconfdir} \
847 --datadir=%{_datadir} \
848 --includedir=%{_includedir} \
849 --libdir=%{_libdir} \
850 --libexecdir=%{_libexecdir} \
851 --localstatedir=%{_localstatedir} \
852 --sharedstatedir=%{_sharedstatedir} \
853 --mandir=%{_mandir} \
854 --infodir=%{_infodir} \
855 --with-privatelibdir=%{_libdir}/samba \
856 --with-modulesdir=%{_libdir}/samba \
857 --with-pammodulesdir=/%{_lib}/security \
858 --with-lockdir=/var/lib/samba \
859 --with-privatedir=%{_sysconfdir}/samba \
861 --disable-rpath-install \
862 --builtin-libraries=ccan \
863 --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libtalloc:talloc},pytalloc,pytalloc-util,%{!?with_system_libtdb:tdb},pytdb,tevent,pytevent,ldb,pyldb,pyldb-util \
864 --private-libraries=smbclient,smbsharemodes,wbclient \
865 --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4 \
867 --with%{!?with_ads:out}-ads \
873 --with%{!?with_ldap:out}-ldap \
877 --with-sendfile-support \
882 --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
889 rm -rf $RPM_BUILD_ROOT
890 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
891 $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \
892 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
893 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \
894 $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}}
897 DESTDIR=$RPM_BUILD_ROOT \
898 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
900 install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
902 install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf
903 install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir}
904 install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir}
905 install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir}
906 install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir}
908 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
909 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
910 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
911 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
912 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
913 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
914 install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
915 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind
917 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib}
918 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib}
919 install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir}
921 # these are needed to build samba-pdbsql
922 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
923 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
924 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
925 %if %{without system_libtdb}
926 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
927 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
930 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
932 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
935 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
936 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
939 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
940 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
943 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
946 %if %{with system_libtdb}
947 # remove manuals of tdb if system lib used
948 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
949 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
950 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
953 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
954 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
955 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
958 rm -rf $RPM_BUILD_ROOT
961 /sbin/chkconfig --add smb
962 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
963 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
964 /sbin/service smb stop >&2
965 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
966 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
967 if [ -d /var/lock/samba/printing ]; then
968 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
970 /sbin/service smb start >&2
972 %service smb restart "Samba daemons"
976 if [ "$1" = "0" ]; then
978 /sbin/chkconfig --del smb
982 /sbin/chkconfig --add winbind
983 %service winbind restart "Winbind daemon"
986 if [ "$1" = "0" ]; then
987 %service winbind stop
988 /sbin/chkconfig --del winbind
992 %service -q rc-inetd reload
995 if [ "$1" = 0 ]; then
996 %service -q rc-inetd reload
999 %post -n openldap-schema-samba
1000 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1001 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1002 %service -q ldap restart
1004 %postun -n openldap-schema-samba
1005 if [ "$1" = "0" ]; then
1006 %openldap_schema_unregister %{schemadir}/samba.schema
1007 %service -q ldap restart
1011 %defattr(644,root,root,755)
1012 %attr(755,root,root) %{_sbindir}/nmbd
1013 %attr(755,root,root) %{_sbindir}/smbd
1014 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1015 %attr(755,root,root) %{_bindir}/reg*
1016 %attr(755,root,root) %{_bindir}/smbstatus
1017 %attr(755,root,root) %{_bindir}/smbpasswd
1018 %attr(755,root,root) %{_bindir}/smbta-util
1019 %attr(755,root,root) %{_bindir}/smbcontrol
1021 %dir %{_libdir}/samba/idmap
1022 %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so
1023 %{_mandir}/man8/idmap_autorid.8*
1024 %dir %{_libdir}/samba/pdb
1025 %dir %{_libdir}/samba/vfs
1026 %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so
1027 %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so
1028 %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so
1029 %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so
1030 %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so
1031 %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so
1032 %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so
1033 %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so
1034 %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so
1035 %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so
1036 %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so
1037 %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so
1038 %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so
1039 %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so
1040 %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so
1041 %{_mandir}/man8/vfs_acl_tdb.8*
1042 %{_mandir}/man8/vfs_acl_xattr.8*
1043 %{_mandir}/man8/vfs_crossrename.8*
1044 %{_mandir}/man8/vfs_dirsort.8*
1045 %{_mandir}/man8/vfs_fileid.8*
1046 %{_mandir}/man8/vfs_preopen.8*
1047 %{_mandir}/man8/vfs_shadow_copy2.8*
1048 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1049 %{_mandir}/man8/vfs_streams_xattr.8*
1050 %{_mandir}/man8/vfs_streams_depot.8*
1051 %{_mandir}/man8/vfs_time_audit.8*
1052 %{_mandir}/man8/vfs_xattr_tdb.8*
1055 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1056 %attr(754,root,root) /etc/rc.d/init.d/smb
1057 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1058 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1059 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1060 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1061 %{_mandir}/man1/log2pcap.1*
1062 %{_mandir}/man1/smbstatus.1*
1063 %{_mandir}/man1/smbcontrol.1*
1064 %{_mandir}/man5/smbpasswd.5*
1065 %{_mandir}/man7/samba.7*
1066 %{_mandir}/man8/nmbd.8*
1067 %{_mandir}/man8/smbd.8*
1068 %{_mandir}/man8/smbpasswd.8*
1072 %ghost /var/lib/samba/*.dat
1073 %dir /var/lib/samba/printing
1075 %attr(750,root,root) %dir /var/log/samba
1076 %attr(750,root,root) %dir /var/log/samba/cores
1077 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1078 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1079 %attr(750,root,root) %dir /var/log/archive/samba
1080 %attr(1777,root,root) %dir /var/spool/samba
1086 %defattr(644,root,root,755)
1087 %attr(755,root,root) %{_sbindir}/winbindd
1088 %attr(755,root,root) %{_bindir}/wbinfo
1089 #%attr(755,root,root) %{_bindir}/wbinfo4
1090 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1091 %attr(755,root,root) /%{_lib}/libnss_winbind*
1092 %attr(754,root,root) /etc/rc.d/init.d/winbind
1093 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1094 %{_mandir}/man1/wbinfo*.1*
1095 %{_mandir}/man5/pam_winbind.conf.5*
1096 %{_mandir}/man8/pam_winbind.8*
1097 %{_mandir}/man8/winbindd*.8*
1100 %defattr(644,root,root,755)
1101 %attr(755,root,root) /%{_lib}/libnss_wins*
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{_bindir}/nmblookup4
1106 %attr(755,root,root) %{_bindir}/smbclient4
1107 %attr(755,root,root) %{_bindir}/net
1108 %attr(755,root,root) %{_bindir}/nmblookup
1109 %attr(755,root,root) %{_bindir}/rpcclient
1110 %attr(755,root,root) %{_bindir}/sharesec
1111 %attr(755,root,root) %{_bindir}/smbcacls
1112 %attr(755,root,root) %{_bindir}/smbclient
1113 %attr(755,root,root) %{_bindir}/smbtree
1114 %{_mandir}/man1/findsmb.1*
1115 %{_mandir}/man1/nmblookup.1*
1116 %{_mandir}/man1/rpcclient.1*
1117 %{_mandir}/man1/sharesec.1*
1118 %{_mandir}/man1/smbcacls.1*
1119 %{_mandir}/man1/smbclient.1*
1120 %{_mandir}/man1/smbtar.1*
1121 %{_mandir}/man1/smbtree.1*
1122 %{_mandir}/man8/net.8*
1125 %defattr(644,root,root,755)
1126 %doc README WHATSNEW.txt Roadmap
1127 %dir %{_sysconfdir}/samba
1128 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1129 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1130 %attr(755,root,root) %{_bindir}/eventlogadm
1131 %attr(755,root,root) %{_bindir}/ntlm_auth
1132 %attr(755,root,root) %{_bindir}/pdbedit
1133 %attr(755,root,root) %{_bindir}/profiles
1134 %attr(755,root,root) %{_bindir}/smbcquotas
1135 %attr(755,root,root) %{_bindir}/testparm
1136 %attr(755,root,root) %{_bindir}/vfstest
1137 %dir %{_libdir}/samba
1138 %dir %{_libdir}/samba/auth
1139 %attr(755,root,root) %{_libdir}/samba/auth/script.so
1140 %{_mandir}/man1/ntlm_auth.1*
1141 %{_mandir}/man1/profiles.1*
1142 %{_mandir}/man1/smbcquotas.1*
1143 %{_mandir}/man1/testparm.1*
1144 %{_mandir}/man1/vfstest.1*
1145 #%{_mandir}/man1/log2pcap.1*
1146 %{_mandir}/man5/lmhosts.5*
1147 %{_mandir}/man5/smb.conf.5*
1148 %{_mandir}/man8/pdbedit.8*
1149 %{_mandir}/man8/eventlogadm.8*
1150 %{_mandir}/man8/idmap_ad.8*
1151 %{_mandir}/man8/idmap_hash.8*
1152 %{_mandir}/man8/idmap_ldap.8*
1153 %{_mandir}/man8/idmap_nss.8*
1154 %{_mandir}/man8/idmap_rid.8*
1155 %{_mandir}/man8/idmap_tdb.8*
1156 %{_mandir}/man8/idmap_tdb2.8*
1159 %defattr(644,root,root,755)
1160 #%doc swat/README* swat/help/*
1162 %attr(755,root,root) %{_sbindir}/swat
1163 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1164 %dir %{_datadir}/samba/swat
1165 %{_datadir}/samba/swat/help
1166 %{_datadir}/samba/swat/images
1167 %{_datadir}/samba/swat/include
1168 %dir %{_datadir}/samba/swat/lang
1169 %lang(ja) %{_datadir}/samba/swat/lang/ja
1170 %lang(tr) %{_datadir}/samba/swat/lang/tr
1171 %lang(de) %{_datadir}/samba/codepages/de.msg
1172 %{_datadir}/samba/codepages/en.msg
1173 %lang(fi) %{_datadir}/samba/codepages/fi.msg
1174 %lang(fr) %{_datadir}/samba/codepages/fr.msg
1175 %lang(it) %{_datadir}/samba/codepages/it.msg
1176 %lang(ja) %{_datadir}/samba/codepages/ja.msg
1177 %lang(nl) %{_datadir}/samba/codepages/nl.msg
1178 %lang(pl) %{_datadir}/samba/codepages/pl.msg
1179 %lang(ru) %{_datadir}/samba/codepages/ru.msg
1180 %lang(tr) %{_datadir}/samba/codepages/tr.msg
1181 %{_mandir}/man8/swat.8*
1183 %files -n pam-pam_smbpass
1184 %defattr(644,root,root,755)
1185 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1186 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1188 %files -n libsmbclient
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1191 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1192 %{_mandir}/man7/libsmbclient.7*
1194 %files -n libsmbclient-devel
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{_libdir}/libsmbclient.so
1197 %attr(755,root,root) %{_libdir}/libwbclient.so
1198 %{_includedir}/libsmbclient.h
1199 %{_includedir}/wbclient.h
1201 %if %{without system_libtalloc}
1203 %defattr(644,root,root,755)
1204 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1206 %files -n libtalloc-devel
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_libdir}/libtalloc.so
1209 %{_includedir}/talloc.h
1212 %if %{without system_libtdb}
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_bindir}/tdbbackup
1216 %attr(755,root,root) %{_bindir}/tdbdump
1217 %attr(755,root,root) %{_bindir}/tdbtool
1218 %attr(755,root,root) %{_bindir}/tdbbackup4
1219 %attr(755,root,root) %{_bindir}/tdbdump4
1220 %attr(755,root,root) %{_bindir}/tdbtool4
1221 %attr(755,root,root) %{_bindir}/tdbtorture4
1222 %attr(755,root,root) %{_libdir}/libtdb.so.*
1223 %{_mandir}/man8/tdbbackup.8*
1224 %{_mandir}/man8/tdbdump.8*
1225 %{_mandir}/man8/tdbtool.8*
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_libdir}/libtdb.so
1230 %{_includedir}/tdb.h
1234 %defattr(644,root,root,755)
1235 %{_includedir}/%{name}
1237 %files -n libsmbclient-static
1238 %defattr(644,root,root,755)
1239 %{_libdir}/libsmbclient.a
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_bindir}/smbget
1244 %{_mandir}/man1/smbget.1*
1245 %{_mandir}/man5/smbgetrc.5*
1248 %files -n cups-backend-smb
1249 %defattr(644,root,root,755)
1250 %attr(755,root,root) %{_bindir}/smbspool
1251 %attr(755,root,root) %{cups_serverbin}/backend/smb
1252 %{_mandir}/man8/smbspool.8*
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{_libdir}/samba/vfs/audit.so
1258 %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so
1259 %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so
1260 %{_mandir}/man8/vfs_audit.8*
1261 %{_mandir}/man8/vfs_extd_audit.8*
1262 %{_mandir}/man8/vfs_full_audit.8*
1265 %defattr(644,root,root,755)
1266 %attr(755,root,root) %{_libdir}/samba/vfs/cap.so
1267 %{_mandir}/man8/vfs_cap.8*
1269 %files vfs-default_quota
1270 %defattr(644,root,root,755)
1271 %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so
1272 %{_mandir}/man8/vfs_default_quota.8*
1274 %files vfs-expand_msdfs
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so
1278 %files vfs-fake_perms
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so
1281 %{_mandir}/man8/vfs_fake_perms.8*
1283 %files vfs-notify_fam
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so
1286 %{_mandir}/man8/vfs_notify_fam.8*
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so
1291 %{_mandir}/man8/vfs_netatalk.8*
1293 %files vfs-readahead
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so
1296 %{_mandir}/man8/vfs_readahead.8*
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so
1301 %{_mandir}/man8/vfs_readonly.8*
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so
1306 %{_mandir}/man8/vfs_recycle.8*
1308 %files vfs-shadow_copy
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so
1311 %{_mandir}/man8/vfs_shadow_copy.8*
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_libdir}/samba/vfs/catia.so
1316 %{_mandir}/man8/vfs_catia.8*
1318 %files vfs-scannedonly
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so
1321 %{_mandir}/man8/vfs_scannedonly.8*
1324 %files -n openldap-schema-samba
1325 %defattr(644,root,root,755)
1326 %{schemadir}/*.schema
1330 %defattr(644,root,root,755)
1331 %doc docs/htmldocs/*
1334 %defattr(644,root,root,755)
1338 %files -n python-samba
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{py_sitedir}/*.so
1341 %dir %{py_sitedir}/samba
1342 %attr(755,root,root) %{py_sitedir}/samba/*.so
1343 %{py_sitedir}/samba/*.py[co]
1344 %dir %{py_sitedir}/samba/dcerpc
1345 %{py_sitedir}/samba/dcerpc/*.py[co]
1346 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1347 %dir %{py_sitedir}/samba/tests
1348 %{py_sitedir}/samba/tests/*.py[co]
1349 %dir %{py_sitedir}/samba/tests/dcerpc
1350 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1351 %dir %{py_sitedir}/samba/torture
1352 %{py_sitedir}/samba/torture/*.py[co]