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 >= 1:2.4.2
96 BuildRequires: python-modules
97 BuildRequires: readline-devel >= 4.2
98 BuildRequires: rpmbuild(macros) >= 1.304
99 BuildRequires: sed >= 4.0
100 %{?with_system_libtevent:BuildRequires: tevent-devel >= %{libtevent_ver}}
101 %{?with_system_libtalloc:BuildRequires: talloc-devel >= %{libtalloc_ver}}
102 %{?with_system_libtdb:BuildRequires: tdb-devel >= %{libtdb_ver}}
103 BuildRequires: xfsprogs-devel
104 BuildConflicts: libbsd-devel
105 Requires(post,preun): /sbin/chkconfig
106 Requires: %{name}-common = %{version}-%{release}
107 Requires: logrotate >= 3.7-4
108 Requires: pam >= 0.99.8.1
109 Requires: rc-scripts >= 0.4.0.12
110 Requires: setup >= 2.4.6-7
111 # smbd links with libcups
112 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
113 Obsoletes: python-samba
114 Obsoletes: samba-pdb-xml
115 Obsoletes: samba-vfs-block
116 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
118 %define _sambahome /home/services/samba
120 %define cups_serverbin %{_prefix}/lib/cups
122 %define schemadir /usr/share/openldap/schema
124 # CFLAGS modified (the second ./configure)
125 %undefine configure_cache
128 Samba provides an SMB server which can be used to provide network
129 services to SMB (sometimes called "Lan Manager") clients, including
130 various versions of MS Windows, OS/2, and other Linux machines. Samba
131 also provides some SMB clients, which complement the built-in SMB
132 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
133 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
135 This release is known as the "Locking Update" and has full support for
136 Opportunistic File Locking. In addition this update includes native
137 support for Microsoft encrypted passwords, improved browse list and
138 WINS database management.
140 Please refer to the WHATSNEW.txt document for fixup information. This
141 binary release includes encrypted password support. Please read the
142 smb.conf file for implementation details.
144 %description -l cs.UTF-8
145 Samba poskytuje server SMB, který lze použít pro poskytování síťových
146 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
147 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
148 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
149 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
150 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
151 NetBIOS od společnosti Microsoft.
153 %description -l da.UTF-8
154 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
155 services til SMB (også kaldet "Lan Manager") klienter, incl.
156 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
157 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
158 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
159 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
162 %description -l de.UTF-8
163 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
164 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
165 verschiedenen Versionen von MS Windows-, OS/2- und anderen
166 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
167 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
168 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
169 (Microsoft Raw NetBIOS frame)-Protokoll.
171 %description -l es.UTF-8
172 Samba provee un servidor SMB que se puede usar para ofrecer servicios
173 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
174 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
175 Linux. Samba también ofrece algunos clientes SMB, que complementan el
176 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
177 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
180 %description -l fi.UTF-8
181 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
182 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
183 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
184 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
185 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
186 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
187 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
190 %description -l it.UTF-8
191 Samba fornisce un server SMB che puo` essere usato per fornire servizi
192 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
193 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
194 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
196 %description -l ja.UTF-8
197 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
198 を含む SMB (たまに "Lan Manager" と呼ばれる)
199 クライアントにネットワーク サービスを提供するために使用される SMB
200 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
201 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
204 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
205 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
206 新しい SWAT (Samba Web Administration Tool) を含みます。
207 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
209 %description -l ko.UTF-8
210 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
211 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
212 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
213 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
216 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
217 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
218 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
221 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
222 릴리즈는 암호화된 패스워드를 제공한다.
224 %description -l pl.UTF-8
225 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
226 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
227 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
228 znajduje się również oprogramowanie klienckie. Samba używa protokołu
229 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
230 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
231 haseł w standardzie MS i zarządzania bazą WINS.
233 %description -l pt_BR.UTF-8
234 O Samba provê um servidor SMB que pode ser usado para oferecer
235 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
236 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
237 máquinas Linux. O Samba também fornece alguns clientes SMB, que
238 complementam o sistema de arquivos SMB do Linux. O Samba usa o
239 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
240 NetBEUI (Microsoft Raw NetBIOS frame).
242 O Samba inclui a maioria das características de um servidor de
243 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
244 permite que o arquivo smb.conf seja gerenciado remotamente através de
245 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
248 %description -l ru.UTF-8
249 Samba предоставляет SMB-сервер, который может быть использован для
250 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
251 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
252 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
253 со встроенной в Linux файловой системой SMB.
255 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
256 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
258 Samba содержит практически работающую реализацию NT Domain Control и
259 включает новый SWAT (Samba Web Administration Tool), который позволяет
260 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
261 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
264 %description -l uk.UTF-8
265 Samba надає SMB-сервер, що може бути використаний для надання
266 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
267 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
268 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
269 файловою системою SMB.
271 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
272 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
274 Samba містить майже працюючу реализацію NT Domain Control та новый
275 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
276 керувати конфігураційним файлом smb.conf за допомогою вашого
277 улюбленого WEB-броузера. Поки що він дозволений через inetd на
281 Summary: Samba Web Administration Tool
282 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
283 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
284 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
285 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
286 Group: Networking/Admin
287 Requires: %{name} = %{version}-%{release}
289 Requires: rc-inetd >= 0.8.2
293 swat allows a Samba administrator to configure the complex smb.conf
294 file via a Web browser. In addition, a swat configuration page has
295 help links to all the configurable options in the smb.conf file
296 allowing an administrator to easily look up the effects of any change.
298 %description swat -l pl.UTF-8
299 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
302 %description swat -l pt_BR.UTF-8
303 SWAT - ferramentada Web de configuração do Samba.
305 %description swat -l ru.UTF-8
306 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
307 для удаленного администрирования файла smb.conf при помощи вашего
308 любимого Web-браузера.
310 %description swat -l uk.UTF-8
311 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
312 для дистанційного адміністрування файлу smb.conf за допомогою вашого
313 улюбленого Web-браузеру.
316 Summary: Samba client programs
317 Summary(es.UTF-8): Cliente SMB de Samba
318 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
319 Summary(pl.UTF-8): Klienci serwera Samba
320 Summary(pt_BR.UTF-8): Cliente SMB do samba
321 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
322 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
323 Group: Applications/Networking
324 Requires: %{name}-common = %{version}-%{release}
325 %{?with_kerberos5:Requires: heimdal-libs >= 1.5.3-1}
326 Requires: libsmbclient = %{version}-%{release}
332 Samba-client provides some SMB clients, which complement the build-in
333 SMB filesystem in Linux. These allow accessing of SMB shares and
334 printing to SMB printers.
336 %description client -l es.UTF-8
337 Cliente SMB de Samba.
339 %description client -l ja.UTF-8
340 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
341 クライアントを提供します。これらは SMB 共有のアクセスと SMB
344 %description client -l pl.UTF-8
345 Samba-client dostarcza programy uzupełniające obsługę systemu plików
346 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
347 drukowanie w sieci SMB.
349 %description client -l pt_BR.UTF-8
350 O pacote samba-clientes prove alguns clientes SMB, que complementam o
351 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
352 e também, à impressoras SMB.
354 %description client -l ru.UTF-8
355 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
356 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
357 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
359 %description client -l uk.UTF-8
360 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
361 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
362 до каталогів спільного використання SMB та друк на SMB-прінтери.
365 Summary: Files used by both Samba servers and clients
366 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
367 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samby
368 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
369 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
370 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
371 Group: Networking/Daemons
372 Requires: tevent >= %{libtevent_ver}
373 Requires: talloc >= %{libtalloc_ver}
374 Requires: tdb >= %{libtdb_ver}
377 Samba-common provides files necessary for both the server and client
380 %description common -l ja.UTF-8
381 Samba-common は Samba のサーバとクライアントの両方のパッケージで
384 %description common -l pl.UTF-8
385 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
388 %description common -l pt_BR.UTF-8
389 Arquivos em comum entre os pacotes samba e samba-clients.
391 %description common -l ru.UTF-8
392 Samba-common содержит файлы, необходимые для работы как клиента, так и
395 %description common -l uk.UTF-8
396 Samba-common містить файли, необхідні для роботи як клієнта, так і
400 Summary: Samba-winbind daemon, utilities and documentation
401 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
402 Group: Networking/Daemons
403 Requires(post,preun): /sbin/chkconfig
404 Requires: %{name}-common = %{version}-%{release}
407 Provides the winbind daemon and testing tools to allow authentication
408 and group/user enumeration from a Windows or Samba domain controller.
410 %description winbind -l pl.UTF-8
411 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
412 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
416 Summary: Name Service Switch service for WINS
417 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
419 Requires: %{name}-common = %{version}-%{release}
421 %description -n nss_wins
422 Provides the libnss_wins shared library which resolves NetBIOS names
425 %description -n nss_wins -l pl.UTF-8
426 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
429 %package -n pam-pam_smbpass
430 Summary: PAM Samba Password Module
431 Summary(pl.UTF-8): Moduł PAM smbpass
433 Obsoletes: pam_smbpass
435 %description -n pam-pam_smbpass
436 PAM module which can be used on conforming systems to keep the
437 smbpasswd (Samba password) database in sync with the Unix password
440 %description -n pam-pam_smbpass -l pl.UTF-8
441 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
442 Samby) zsynchronizowanego z hasłami uniksowymi.
444 %package -n libsmbclient
445 Summary: libsmbclient - samba client library
446 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
449 %description -n libsmbclient
450 libsmbclient - library that allows to use samba clients functions.
452 %description -n libsmbclient -l pl.UTF-8
453 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
456 %package -n libsmbclient-devel
457 Summary: libsmbclient - samba client library
458 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
459 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
460 Group: Development/Libraries
461 Requires: libsmbclient = %{version}-%{release}
463 %description -n libsmbclient-devel
464 Header files for libsmbclient.
466 %description -n libsmbclient-devel -l pl.UTF-8
467 Pliki nagłówkowe dla libsmbclient.
469 %description -n libsmbclient-devel -l pt_BR.UTF-8
470 Arquivos de inclusão, bibliotecas e documentação necessários para
471 desenvolver aplicativos clientes para o samba.
473 %package -n libsmbclient-static
474 Summary: Static version of libsmbclient - samba client library
475 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
476 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
477 Group: Development/Libraries
478 Requires: libsmbclient = %{version}-%{release}
480 %description -n libsmbclient-static
481 Static libsmbclient library.
483 %description -n libsmbclient-static -l pl.UTF-8
484 Statyczna biblioteka libsmbclient.
486 %package -n libtalloc
487 Summary: The talloc library
490 %description -n libtalloc
491 The talloc library from the Samba suite.
493 %package -n libtalloc-devel
494 Summary: Developer tools for the talloc library
495 Group: Development/Libraries
496 Requires: libtalloc = %{version}-%{release}
498 %description -n libtalloc-devel
499 The libtalloc-devel package contains the header files and libraries
500 needed to develop programs that link against the talloc library in the
504 Summary: TDB - Trivial Database
505 Summary(pl.UTF-8): TDB - prosta baza danych
507 Obsoletes: tdb-extras
510 TDB is a Trivial Database. In concept, it is very much like GDBM, and
511 BSD's DB except that it allows multiple simultaneous writers and uses
512 locking internally to keep writers from trampling on each other. TDB
513 is also extremely small.
515 %description -n tdb -l pl.UTF-8
516 TDB to Trivial Database, czyli prosta baza danych. W założeniach jest
517 bardzo podobna do GDBM lub DB z BSD z wyjątkiem tego, że pozwala na
518 zapis wielu procesom jednocześnie i używa wewnętrznie blokowania, aby
519 nie pozwolić piszącym na zadeptanie się nawzajem. TDB jest ponadto
522 %package -n tdb-devel
523 Summary: Header files for TDB library
524 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki TDB
525 Group: Development/Libraries
526 Requires: tdb = %{version}-%{release}
528 %description -n tdb-devel
529 Header files for TDB library.
531 %description -n tdb-devel -l pl.UTF-8
532 Pliki nagłówkowe biblioteki TDB.
535 Summary: Header files for Samba
536 Summary(pl.UTF-8): Pliki nagłówkowe Samby
537 Group: Development/Libraries
540 Header files for Samba.
542 %description devel -l pl.UTF-8
543 Pliki nagłówkowe Samby.
546 Summary: A utility for retrieving files using the SMB protocol
547 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
548 Group: Applications/Networking
550 %description -n smbget
551 wget-like utility for download files over SMB.
553 %description -n smbget -l pl.UTF-8
554 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
555 używanym w sieciach MS Windows.
557 %package -n cups-backend-smb
558 Summary: CUPS backend for printing to SMB printers
559 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
560 Group: Applications/Printing
561 Requires: %{name}-client = %{version}-%{release}
562 Requires: cups >= 1:1.2.0
564 %description -n cups-backend-smb
565 CUPS backend for printing to SMB printers.
567 %description -n cups-backend-smb -l pl.UTF-8
568 Backend CUPS-a drukujący na drukarkach SMB.
571 Summary: VFS modules to audit file access
572 Summary(pl.UTF-8): Moduły VFS do monitorowania operacji na plikach
573 Group: Networking/Daemons
574 Requires: %{name} = %{version}-%{release}
576 %description vfs-audit
577 A simple modules (audit, extd_audit, full_audit) to audit file access
578 to the syslog facility. The following operations are logged:
579 - share connect/disconnect,
580 - directory opens/create/remove,
581 - file open/close/rename/unlink/chmod.
583 %description vfs-audit -l pl.UTF-8
584 Proste moduły (audit, extd_audit, full_audit) do monitorowania dostępu
585 do plików na serwerze samba do sysloga. Monitorowane są następujące
587 - podłączenie do/odłączenie od zasobu,
588 - otwarcie/utworzenie/zmiana nazwy katalogu,
589 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
592 Summary: VFS module for CAP and samba compatibility
593 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
594 Group: Networking/Daemons
595 Requires: %{name} = %{version}-%{release}
598 Convert an incoming Shift-JIS character to the 3 byte hex
599 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
600 This is used for compatibility between Samba and CAP.
602 %description vfs-cap -l pl.UTF-8
603 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
604 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
607 Summary: VFS module to fix Catia CAD filenames
608 Summary(pl.UTF-8): Moduł VFS poprawiający nazwy plików z pakietu CAD Catia
609 Group: Networking/Daemons
610 Requires: %{name} = %{epoch}:%{version}-%{release}
612 %description vfs-catia
613 The Catia CAD package commonly creates filenames that use characters
614 that are illegal in CIFS filenames. The vfs_catia VFS module
615 implements a fixed character mapping so that these files can be shared
618 %description vfs-catia -l pl.UTF-8
619 Pakiet CAD Catia często tworzy nazwy plików, wykorzystujące znaki,
620 które nie są dozwolone w nazwach plików CIFS. Moduł VFS vfs_catia
621 implementuje stałe odwzorowanie znaków, pozwalające na współdzielenie
622 plików z innymi klientami CIFS.
624 %package vfs-default_quota
625 Summary: VFS module to store default quotas in a specified quota record
626 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
627 Group: Networking/Daemons
628 Requires: %{name} = %{version}-%{release}
630 %description vfs-default_quota
631 This VFS modules stores default quotas in a specified quota record.
633 %description vfs-default_quota -l pl.UTF-8
634 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
637 %package vfs-expand_msdfs
638 Summary: VFS module for hosting a Microsoft Distributed File System Tree
639 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
640 Group: Networking/Daemons
641 Requires: %{name} = %{version}-%{release}
643 %description vfs-expand_msdfs
644 A VFS module for hosting a Microsoft Distributed File System Tree.
646 The Distributed File System (DFS) provides a means of separating the
647 logical view of files and directories that users see from the actual
648 physical locations of these resources on the network. It allows for
649 higher availability, smoother storage expansion, load balancing, and
652 %description vfs-expand_msdfs -l pl.UTF-8
653 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
656 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
657 plików i katalogów widocznych przez użytkowników z fizycznego
658 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
659 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
661 %package vfs-fake_perms
662 Summary: VFS module to report read-only fires as writable
663 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
664 Group: Networking/Daemons
665 Requires: %{name} = %{version}-%{release}
667 %description vfs-fake_perms
668 This module allow Roaming Profile files and directories to be set (on
669 the Samba server under UNIX) as read only. This module will, if
670 installed on the Profiles share, report to the client that the Profile
671 files and directories are writeable. This satisfies the client even
672 though the files will never be overwritten as the client logs out or
675 %description vfs-fake_perms -l pl.UTF-8
676 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
677 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
678 przypadku zainstalowania na udziale z profilami będzie zgłaszał
679 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
680 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
681 lub wylogowywaniu klienta.
683 %package vfs-notify_fam
684 Summary: VFS module to implement file change notifications
685 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
686 Group: Networking/Daemons
687 Requires: %{name} = %{version}-%{release}
689 %description vfs-notify_fam
690 The vfs_notify_fam module makes use of the system FAM (File Alteration
691 Monitor) daemon to implement file change notifications for Windows
694 %description vfs-notify_fam -l pl.UTF-8
695 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
696 informowania o zmianach w plikach dla klientów Windows.
698 %package vfs-netatalk
699 Summary: VFS module for ease co-existence of Samba and netatalk
700 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę usług Samba i netatalk
701 Group: Networking/Daemons
702 Requires: %{name} = %{version}-%{release}
704 %description vfs-netatalk
705 Package contains a netatalk VFS module for ease co-existence of Samba
706 and netatalk file sharing services.
708 %description vfs-netatalk -l pl.UTF-8
709 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług Samba
710 i netatalk przy udostępnianiu zasobów.
713 Summary: VFS module to add recycle bin facility to a samba share
714 Summary(pl.UTF-8): Moduł VFS dodający funkcję kosza do zasobu Samby
715 Group: Networking/Daemons
716 Requires: %{name} = %{version}-%{release}
718 %description vfs-recycle
719 VFS module to add recycle bin facility to a samba share.
721 %description vfs-recycle -l pl.UTF-8
722 Moduł VFS dodający funkcję kosza do zasobu Samby.
724 %package vfs-readahead
725 Summary: VFS module for pre-loading the kernel buffer cache
726 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
727 Group: Networking/Daemons
728 Requires: %{name} = %{version}-%{release}
730 %description vfs-readahead
731 This VFS module detects read requests at multiples of a given offset
732 (hex 0x80000 by default) and then tells the kernel via either the
733 readahead system call (on Linux) or the posix_fadvise system call to
734 pre-fetch this data into the buffer cache.
736 This module is useful for Windows Vista clients reading data using the
737 Windows Explorer program, which asynchronously does multiple file read
738 requests at offset boundaries of 0x80000 bytes.
740 %description vfs-readahead -l pl.UTF-8
741 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
742 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
743 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
744 wczesnego odczytu tych danych do bufora cache.
746 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
747 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
748 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
751 %package vfs-readonly
752 Summary: VFS module for read-only limitation for specified share
753 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
754 Group: Networking/Daemons
755 Requires: %{name} = %{version}-%{release}
757 %description vfs-readonly
758 This module performs a read-only limitation for specified share (or
759 all of them if it is loaded in a [global] section) based on period
760 definition in smb.conf.
762 %description vfs-readonly -l pl.UTF-8
763 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
764 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
765 oparciu o definicje okresów w smb.conf.
767 %package vfs-shadow_copy
768 Summary: VFS module to make automatic copy of data in samba share
769 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
770 Group: Networking/Daemons
771 Requires: %{name} = %{version}-%{release}
773 %description vfs-shadow_copy
774 VFS module to make automatic copy of data in samba share.
776 %description vfs-shadow_copy -l pl.UTF-8
777 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
780 Summary: VFS module to fix Catia CAD filenames
781 Group: Networking/Daemons
782 Requires: %{name} = %{version}-%{release}
784 %description vfs-catia
785 The Catia CAD package commonly creates filenames that use characters
786 that are illegal in CIFS filenames. The vfs_catia VFS module
787 implements a fixed character mapping so that these files can be shared
790 %package vfs-scannedonly
791 Summary: Anti-virus solution as VFS module
792 Summary(pl.UTF-8): Rozwiązanie antywirusowe jako moduł VFS
793 Group: Networking/Daemons
794 Requires: %{name} = %{version}-%{release}
796 %description vfs-scannedonly
797 The vfs_scannedonly VFS module ensures that only files that have been
798 scanned for viruses are visible and accessible to the end user. If
799 non-scanned files are found an anti-virus scanning daemon is notified.
801 %description vfs-scannedonly -l pl.UTF-8
802 Moduł VFS vfs_scannedonly zapewnia, że tylko pliki, które zostały
803 wcześniej przeskanowane pod kątem wirusów, są widoczne i dostępne dla
804 użytkownika końcowego. Jeśli zostaną znalezione pliki nie
805 przeskanowane, powiadamiany jest antywirusowy demon skanujący.
807 %package vfs-shadow_copy
808 Summary: VFS module to make automatic copy of data in Samba share
809 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby
810 Group: Networking/Daemons
811 Requires: %{name} = %{epoch}:%{version}-%{release}
813 %description vfs-shadow_copy
814 VFS module to make automatic copy of data in Samba share.
816 %description vfs-shadow_copy -l pl.UTF-8
817 Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby.
819 %package -n openldap-schema-samba
820 Summary: Samba LDAP schema
821 Summary(pl.UTF-8): Schemat LDAP dla samby
822 Group: Networking/Daemons
823 Requires(post,postun): sed >= 4.0
824 Requires: openldap-servers
825 %if "%{_rpmversion}" >= "5"
829 %description -n openldap-schema-samba
830 This package contains samba.schema for OpenLDAP.
832 %description -n openldap-schema-samba -l pl.UTF-8
833 Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a.
836 Summary: Samba HTML documentation
837 Summary(pl.UTF-8): Documentacja samby w formacie HTML
840 %description doc-html
841 Samba HTML documentation.
843 %description doc-html -l pl.UTF-8
844 Documentacja samby w formacie HTML.
847 Summary: Samba documentation - PDF format
848 Summary(pl.UTF-8): Documentacja samby w formacie PDF
852 Samba PDF documentation.
854 %description doc-pdf -l pl.UTF-8
855 Documentacja samby w formacie PDF.
857 %package -n python-samba
858 Summary: Samba modules for Python
859 Summary(pl.UTF-8): Moduły Samby dla Pythona
860 Group: Development/Languages/Python
861 %pyrequires_eq python
862 Requires: %{name}-common = %{version}-%{release}
864 %description -n python-samba
865 Samba modules for Python.
867 %description -n python-samba -l pl.UTF-8
868 Moduły Samby dla Pythona.
871 %setup -q -n samba-%{version}
878 LDFLAGS="${LDFLAGS:-%rpmldflags}" \
879 CFLAGS="${CFLAGS:-%rpmcflags}" \
880 CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \
881 FFLAGS="${FFLAGS:-%rpmcflags}" \
882 FCFLAGS="${FCFLAGS:-%rpmcflags}" \
883 CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \
884 %{?__cc:CC="%{__cc}"} \
885 %{?__cxx:CXX="%{__cxx}"} \
888 --prefix=%{_prefix} \
889 --exec-prefix=%{_exec_prefix} \
890 --bindir=%{_bindir} \
891 --sbindir=%{_sbindir} \
892 --sysconfdir=%{_sysconfdir} \
893 --datadir=%{_datadir} \
894 --includedir=%{_includedir} \
895 --libdir=%{_libdir} \
896 --libexecdir=%{_libexecdir} \
897 --localstatedir=%{_localstatedir} \
898 --sharedstatedir=%{_sharedstatedir} \
899 --mandir=%{_mandir} \
900 --infodir=%{_infodir} \
901 --with-privatelibdir=%{_libdir}/samba \
902 --with-modulesdir=%{_libdir}/samba \
903 --with-pammodulesdir=/%{_lib}/security \
904 --with-lockdir=/var/lib/samba \
905 --with-privatedir=%{_sysconfdir}/samba \
907 --disable-rpath-install \
908 --builtin-libraries=ccan \
909 --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libtalloc:talloc},pytalloc,pytalloc-util,%{!?with_system_libtdb:tdb},pytdb,tevent,pytevent,ldb,pyldb,pyldb-util \
910 --private-libraries=smbclient,smbsharemodes,wbclient \
911 --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 \
913 --with%{!?with_ads:out}-ads \
919 --with%{!?with_ldap:out}-ldap \
923 --with-sendfile-support \
928 --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
935 rm -rf $RPM_BUILD_ROOT
936 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
937 $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \
938 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
939 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \
940 $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}}
943 DESTDIR=$RPM_BUILD_ROOT \
944 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
946 install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
948 install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf
949 install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir}
950 install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir}
951 install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir}
952 install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir}
954 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
955 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
956 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
957 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
958 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
959 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
960 install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
961 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind
963 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib}
964 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib}
965 install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir}
967 # these are needed to build samba-pdbsql
968 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
969 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
970 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
971 %if %{without system_libtdb}
972 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
973 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
976 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
978 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
981 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
982 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
985 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
986 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
989 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
992 %if %{with system_libtdb}
993 # remove manuals of tdb if system lib used
994 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
995 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
996 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
999 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1000 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
1001 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1004 rm -rf $RPM_BUILD_ROOT
1007 /sbin/chkconfig --add smb
1008 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1009 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1010 /sbin/service smb stop >&2
1011 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1012 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1013 if [ -d /var/lock/samba/printing ]; then
1014 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1016 /sbin/service smb start >&2
1018 %service smb restart "Samba daemons"
1022 if [ "$1" = "0" ]; then
1024 /sbin/chkconfig --del smb
1028 /sbin/chkconfig --add winbind
1029 %service winbind restart "Winbind daemon"
1032 if [ "$1" = "0" ]; then
1033 %service winbind stop
1034 /sbin/chkconfig --del winbind
1038 %service -q rc-inetd reload
1041 if [ "$1" = 0 ]; then
1042 %service -q rc-inetd reload
1045 %post -n openldap-schema-samba
1046 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1047 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1048 %service -q ldap restart
1050 %postun -n openldap-schema-samba
1051 if [ "$1" = "0" ]; then
1052 %openldap_schema_unregister %{schemadir}/samba.schema
1053 %service -q ldap restart
1057 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{_sbindir}/nmbd
1059 %attr(755,root,root) %{_sbindir}/smbd
1060 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1061 %attr(755,root,root) %{_bindir}/reg*
1062 %attr(755,root,root) %{_bindir}/smbstatus
1063 %attr(755,root,root) %{_bindir}/smbpasswd
1064 %attr(755,root,root) %{_bindir}/smbta-util
1065 %attr(755,root,root) %{_bindir}/smbcontrol
1067 %dir %{_libdir}/samba/idmap
1068 %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so
1069 %{_mandir}/man8/idmap_autorid.8*
1070 %dir %{_libdir}/samba/pdb
1071 %dir %{_libdir}/samba/vfs
1072 %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so
1073 %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so
1074 %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so
1075 %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so
1076 %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so
1077 %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so
1078 %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so
1079 %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so
1080 %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so
1081 %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so
1082 %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so
1083 %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so
1084 %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so
1085 %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so
1086 %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so
1087 %{_mandir}/man8/vfs_acl_tdb.8*
1088 %{_mandir}/man8/vfs_acl_xattr.8*
1089 %{_mandir}/man8/vfs_crossrename.8*
1090 %{_mandir}/man8/vfs_dirsort.8*
1091 %{_mandir}/man8/vfs_fileid.8*
1092 %{_mandir}/man8/vfs_preopen.8*
1093 %{_mandir}/man8/vfs_shadow_copy2.8*
1094 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1095 %{_mandir}/man8/vfs_streams_xattr.8*
1096 %{_mandir}/man8/vfs_streams_depot.8*
1097 %{_mandir}/man8/vfs_time_audit.8*
1098 %{_mandir}/man8/vfs_xattr_tdb.8*
1101 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1102 %attr(754,root,root) /etc/rc.d/init.d/smb
1103 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1104 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1105 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1106 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1107 %{_mandir}/man1/log2pcap.1*
1108 %{_mandir}/man1/smbstatus.1*
1109 %{_mandir}/man1/smbcontrol.1*
1110 %{_mandir}/man5/smbpasswd.5*
1111 %{_mandir}/man7/samba.7*
1112 %{_mandir}/man8/nmbd.8*
1113 %{_mandir}/man8/smbd.8*
1114 %{_mandir}/man8/smbpasswd.8*
1115 %{_mandir}/man8/smbta-util.8*
1119 %ghost /var/lib/samba/*.dat
1120 %dir /var/lib/samba/printing
1122 %attr(750,root,root) %dir /var/log/samba
1123 %attr(750,root,root) %dir /var/log/samba/cores
1124 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1125 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1126 %attr(750,root,root) %dir /var/log/archive/samba
1127 %attr(1777,root,root) %dir /var/spool/samba
1133 %defattr(644,root,root,755)
1134 %attr(755,root,root) %{_sbindir}/winbindd
1135 %attr(755,root,root) %{_bindir}/wbinfo
1136 #%attr(755,root,root) %{_bindir}/wbinfo4
1137 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1138 %attr(755,root,root) /%{_lib}/libnss_winbind*
1139 %attr(754,root,root) /etc/rc.d/init.d/winbind
1140 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1141 %{_mandir}/man1/wbinfo*.1*
1142 %{_mandir}/man5/pam_winbind.conf.5*
1143 %{_mandir}/man8/pam_winbind.8*
1144 %{_mandir}/man8/winbindd*.8*
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) /%{_lib}/libnss_wins*
1151 %defattr(644,root,root,755)
1152 %attr(755,root,root) %{_bindir}/nmblookup4
1153 %attr(755,root,root) %{_bindir}/smbclient4
1154 %attr(755,root,root) %{_bindir}/net
1155 %attr(755,root,root) %{_bindir}/nmblookup
1156 %attr(755,root,root) %{_bindir}/rpcclient
1157 %attr(755,root,root) %{_bindir}/sharesec
1158 %attr(755,root,root) %{_bindir}/smbcacls
1159 %attr(755,root,root) %{_bindir}/smbclient
1160 %attr(755,root,root) %{_bindir}/smbtree
1161 %{_mandir}/man1/findsmb.1*
1162 %{_mandir}/man1/nmblookup.1*
1163 %{_mandir}/man1/rpcclient.1*
1164 %{_mandir}/man1/sharesec.1*
1165 %{_mandir}/man1/smbcacls.1*
1166 %{_mandir}/man1/smbclient.1*
1167 %{_mandir}/man1/smbtar.1*
1168 %{_mandir}/man1/smbtree.1*
1169 %{_mandir}/man8/net.8*
1172 %defattr(644,root,root,755)
1173 %doc README WHATSNEW.txt Roadmap
1174 %dir %{_sysconfdir}/samba
1175 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1176 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1177 %attr(755,root,root) %{_bindir}/eventlogadm
1178 %attr(755,root,root) %{_bindir}/ntlm_auth
1179 %attr(755,root,root) %{_bindir}/pdbedit
1180 %attr(755,root,root) %{_bindir}/profiles
1181 %attr(755,root,root) %{_bindir}/smbcquotas
1182 %attr(755,root,root) %{_bindir}/testparm
1183 %attr(755,root,root) %{_bindir}/vfstest
1184 %dir %{_libdir}/samba
1185 %dir %{_libdir}/samba/auth
1186 %attr(755,root,root) %{_libdir}/samba/auth/script.so
1187 %{_mandir}/man1/ntlm_auth.1*
1188 %{_mandir}/man1/profiles.1*
1189 %{_mandir}/man1/smbcquotas.1*
1190 %{_mandir}/man1/testparm.1*
1191 %{_mandir}/man1/vfstest.1*
1192 #%{_mandir}/man1/log2pcap.1*
1193 %{_mandir}/man5/lmhosts.5*
1194 %{_mandir}/man5/smb.conf.5*
1195 %{_mandir}/man8/pdbedit.8*
1196 %{_mandir}/man8/eventlogadm.8*
1197 %{_mandir}/man8/idmap_ad.8*
1198 %{_mandir}/man8/idmap_hash.8*
1199 %{_mandir}/man8/idmap_ldap.8*
1200 %{_mandir}/man8/idmap_nss.8*
1201 %{_mandir}/man8/idmap_rid.8*
1202 %{_mandir}/man8/idmap_tdb.8*
1203 %{_mandir}/man8/idmap_tdb2.8*
1206 %defattr(644,root,root,755)
1207 #%doc swat/README* swat/help/*
1209 %attr(755,root,root) %{_sbindir}/swat
1210 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1211 %dir %{_datadir}/samba/swat
1212 %{_datadir}/samba/swat/help
1213 %{_datadir}/samba/swat/images
1214 %{_datadir}/samba/swat/include
1215 %dir %{_datadir}/samba/swat/lang
1216 %lang(ja) %{_datadir}/samba/swat/lang/ja
1217 %lang(tr) %{_datadir}/samba/swat/lang/tr
1218 %lang(de) %{_datadir}/samba/codepages/de.msg
1219 %{_datadir}/samba/codepages/en.msg
1220 %lang(fi) %{_datadir}/samba/codepages/fi.msg
1221 %lang(fr) %{_datadir}/samba/codepages/fr.msg
1222 %lang(it) %{_datadir}/samba/codepages/it.msg
1223 %lang(ja) %{_datadir}/samba/codepages/ja.msg
1224 %lang(nl) %{_datadir}/samba/codepages/nl.msg
1225 %lang(pl) %{_datadir}/samba/codepages/pl.msg
1226 %lang(ru) %{_datadir}/samba/codepages/ru.msg
1227 %lang(tr) %{_datadir}/samba/codepages/tr.msg
1228 %{_mandir}/man8/swat.8*
1230 %files -n pam-pam_smbpass
1231 %defattr(644,root,root,755)
1232 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1233 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1235 %files -n libsmbclient
1236 %defattr(644,root,root,755)
1237 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1238 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1239 %{_mandir}/man7/libsmbclient.7*
1241 %files -n libsmbclient-devel
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_libdir}/libsmbclient.so
1244 %attr(755,root,root) %{_libdir}/libwbclient.so
1245 %{_includedir}/libsmbclient.h
1246 %{_includedir}/wbclient.h
1247 %{_pkgconfigdir}/smbclient.pc
1248 %{_pkgconfigdir}/wbclient.pc
1250 %if %{without system_libtalloc}
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1255 %files -n libtalloc-devel
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{_libdir}/libtalloc.so
1258 %{_includedir}/talloc.h
1261 %if %{without system_libtdb}
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_bindir}/tdbbackup
1265 %attr(755,root,root) %{_bindir}/tdbdump
1266 %attr(755,root,root) %{_bindir}/tdbtool
1267 %attr(755,root,root) %{_bindir}/tdbbackup4
1268 %attr(755,root,root) %{_bindir}/tdbdump4
1269 %attr(755,root,root) %{_bindir}/tdbtool4
1270 %attr(755,root,root) %{_bindir}/tdbtorture4
1271 %attr(755,root,root) %{_libdir}/libtdb.so.*
1272 %{_mandir}/man8/tdbbackup.8*
1273 %{_mandir}/man8/tdbdump.8*
1274 %{_mandir}/man8/tdbtool.8*
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_libdir}/libtdb.so
1279 %{_includedir}/tdb.h
1283 %defattr(644,root,root,755)
1284 %{_includedir}/%{name}
1286 %files -n libsmbclient-static
1287 %defattr(644,root,root,755)
1288 %{_libdir}/libsmbclient.a
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_bindir}/smbget
1293 %{_mandir}/man1/smbget.1*
1294 %{_mandir}/man5/smbgetrc.5*
1297 %files -n cups-backend-smb
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_bindir}/smbspool
1300 %attr(755,root,root) %{cups_serverbin}/backend/smb
1301 %{_mandir}/man8/smbspool.8*
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_libdir}/samba/vfs/audit.so
1307 %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so
1308 %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so
1309 %{_mandir}/man8/vfs_audit.8*
1310 %{_mandir}/man8/vfs_extd_audit.8*
1311 %{_mandir}/man8/vfs_full_audit.8*
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_libdir}/samba/vfs/cap.so
1316 %{_mandir}/man8/vfs_cap.8*
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_vfsdir}/catia.so
1321 %{_mandir}/man8/vfs_catia.8*
1323 %files vfs-default_quota
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so
1326 %{_mandir}/man8/vfs_default_quota.8*
1328 %files vfs-expand_msdfs
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so
1332 %files vfs-fake_perms
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so
1335 %{_mandir}/man8/vfs_fake_perms.8*
1337 %files vfs-notify_fam
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so
1340 %{_mandir}/man8/vfs_notify_fam.8*
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so
1345 %{_mandir}/man8/vfs_netatalk.8*
1347 %files vfs-readahead
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so
1350 %{_mandir}/man8/vfs_readahead.8*
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so
1355 %{_mandir}/man8/vfs_readonly.8*
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so
1360 %{_mandir}/man8/vfs_recycle.8*
1362 %files vfs-shadow_copy
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so
1365 %{_mandir}/man8/vfs_shadow_copy.8*
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_libdir}/samba/vfs/catia.so
1370 %{_mandir}/man8/vfs_catia.8*
1372 %files vfs-scannedonly
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so
1375 %{_mandir}/man8/vfs_scannedonly.8*
1377 %files vfs-shadow_copy
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1380 %{_mandir}/man8/vfs_shadow_copy.8*
1383 %files -n openldap-schema-samba
1384 %defattr(644,root,root,755)
1385 %{schemadir}/samba.schema
1389 %defattr(644,root,root,755)
1390 %doc docs/htmldocs/*
1393 %defattr(644,root,root,755)
1397 %files -n python-samba
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{py_sitedir}/*.so
1400 %dir %{py_sitedir}/samba
1401 %attr(755,root,root) %{py_sitedir}/samba/*.so
1402 %{py_sitedir}/samba/*.py[co]
1403 %dir %{py_sitedir}/samba/dcerpc
1404 %{py_sitedir}/samba/dcerpc/*.py[co]
1405 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1406 %dir %{py_sitedir}/samba/tests
1407 %{py_sitedir}/samba/tests/*.py[co]
1408 %dir %{py_sitedir}/samba/tests/dcerpc
1409 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1410 %dir %{py_sitedir}/samba/torture
1411 %{py_sitedir}/samba/torture/*.py[co]