3 # - review python-samba
4 # - look into other distro specs for valid %descriptions for samba 3
5 # - unpackaged man pages for modules that are not built by default,
6 # maybe we should build them?
7 # /usr/share/man/man8/vfs_cacheprime.8*
8 # /usr/share/man/man8/vfs_catia.8*
9 # /usr/share/man/man8/fs_commit.8*
10 # /usr/share/man/man8/vfs_gpfs.8*
11 # /usr/share/man/man8/vfs_prealloc.8*
15 # - MERGE vfs modules into main package, what was the point of splitting these?
20 %bcond_without ads # without ActiveDirectory support
21 %bcond_without cups # without CUPS support
22 %bcond_without kerberos5 # without Kerberos V support
23 %bcond_without ldap # without LDAP support
25 %bcond_with merged_build # without samba3+samba4 merge
26 %bcond_without system_libtevent
27 %bcond_without system_libtalloc
28 %bcond_without system_libtdb
29 # http://wiki.samba.org/index.php/Franky
30 %bcond_with mks # with vfs-mks (mksd dependency not distributale)
32 # ADS requires kerberos5 and LDAP
33 %if %{without kerberos5} || %{without ldap}
37 %if %{with system_libtevent}
38 %define libtevent_ver 0.9.11
40 %define libtevent_ver %{epoch}:%{version}-%{release}
43 %if %{with system_libtalloc}
44 %define libtalloc_ver 2.0.1
46 %define libtalloc_ver %{epoch}:%{version}-%{release}
49 %if %{with system_libtdb}
50 %define libtdb_ver 2:1.2.9
52 %define libtdb_ver %{epoch}:%{version}-%{release}
55 %define virusfilter_version 0.1.3
57 Summary(cs.UTF-8): Server SMB
58 Summary(da.UTF-8): SMB server
59 Summary(de.UTF-8): SMB-Server
60 Summary(es.UTF-8): El servidor SMB
61 Summary(fi.UTF-8): SMB-palvelin
62 Summary(fr.UTF-8): Serveur SMB
63 Summary(it.UTF-8): Server SMB
64 Summary(ja.UTF-8): Samba SMB サーバー
65 Summary(ko.UTF-8): 삼바 SMB 서버
66 Summary(pl.UTF-8): Serwer SMB
67 Summary(pt_BR.UTF-8): Cliente e servidor SMB
68 Summary(ru.UTF-8): SMB клиент и сервер
69 Summary(tr.UTF-8): SMB sunucusu
70 Summary(uk.UTF-8): SMB клієнт та сервер
71 Summary(zh_CN.UTF-8): Samba 客户端和服务器
77 Group: Networking/Daemons
78 Source0: http://www.samba.org/samba/ftp/stable/%{name}-%{version}.tar.gz
79 # Source0-md5: 59add4bb178ebc188d857bc13a508c0b
83 Source4: %{name}.sysconfig
84 Source5: %{name}.logrotate
87 Source8: winbind.sysconfig
88 Source9: %{name}-rfc3454.txt
89 Source10: https://github.com/downloads/fumiyas/samba-virusfilter/%{name}-virusfilter-%{virusfilter_version}.tar.bz2
90 # Source10-md5: a3a30d5fbf309d356e8c5833db680c17
91 Patch0: %{name}-smbwrapper.patch
92 Patch1: %{name}-c++-nofail.patch
93 Patch2: %{name}-pthread.patch
94 Patch3: %{name}-nscd.patch
95 Patch4: %{name}-lprng-no-dot-printers.patch
96 Patch5: %{name}-passdb-smbpasswd.patch
97 URL: http://www.samba.org/
98 BuildRequires: acl-devel
99 BuildRequires: autoconf
100 BuildRequires: automake
101 %{?with_avahi:BuildRequires: avahi-devel}
102 BuildRequires: ctdb-devel
103 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
104 BuildRequires: dmapi-devel
105 BuildRequires: gamin-devel
106 BuildRequires: gdbm-devel
107 BuildRequires: gettext-devel
108 %{?with_kerberos5:BuildRequires: heimdal-devel}
110 BuildRequires: keyutils-devel
111 BuildRequires: libmagic-devel
112 BuildRequires: libnscd-devel
113 BuildRequires: libtool >= 2:1.4d
114 BuildRequires: make >= 3.81
115 BuildRequires: ncurses-devel >= 5.2
116 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
117 BuildRequires: openssl-devel >= 0.9.7d
118 BuildRequires: pam-devel >= 0.99.8.1
119 BuildRequires: pkgconfig
120 BuildRequires: popt-devel
121 %{?with_pgsql:BuildRequires: postgresql-devel}
122 BuildRequires: python-devel
123 BuildRequires: python-modules
124 BuildRequires: readline-devel >= 4.2
125 BuildRequires: rpmbuild(macros) >= 1.304
126 BuildRequires: sed >= 4.0
127 %{?with_system_libtevent:BuildRequires: tevent-devel >= %{libtevent_ver}}
128 %{?with_system_libtalloc:BuildRequires: talloc-devel >= %{libtalloc_ver}}
129 %{?with_system_libtdb:BuildRequires: tdb-devel >= %{libtdb_ver}}
130 BuildRequires: xfsprogs-devel
131 # python-talloc 2.0.7+ is API incompatible with samba3
132 BuildConflicts: python-talloc-devel
133 # samen goes for python-ldb 1.1.14
134 BuildConflicts: python-ldb-devel
135 Requires(post,preun): /sbin/chkconfig
136 Requires: %{name}-common = %{epoch}:%{version}-%{release}
137 Requires: logrotate >= 3.7-4
138 Requires: pam >= 0.99.8.1
139 Requires: rc-scripts >= 0.4.0.12
140 Requires: setup >= 2.4.6-7
141 # smbd links with libcups
142 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
143 Obsoletes: python-samba
144 Obsoletes: samba-pdb-xml
145 Obsoletes: samba-vfs-block
146 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
148 %define _vfsdir %{_libdir}/%{name}/vfs
149 %define _sambahome /home/services/samba
150 %define _sambalibdir %{_libdir}/%{name}
152 %define cups_serverbin %{_prefix}/lib/cups
154 %define schemadir /usr/share/openldap/schema
156 # CFLAGS modified (the second ./configure)
157 %undefine configure_cache
160 Samba provides an SMB server which can be used to provide network
161 services to SMB (sometimes called "Lan Manager") clients, including
162 various versions of MS Windows, OS/2, and other Linux machines. Samba
163 also provides some SMB clients, which complement the built-in SMB
164 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
165 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
167 This release is known as the "Locking Update" and has full support for
168 Opportunistic File Locking. In addition this update includes native
169 support for Microsoft encrypted passwords, improved browse list and
170 WINS database management.
172 Please refer to the WHATSNEW.txt document for fixup information. This
173 binary release includes encrypted password support. Please read the
174 smb.conf file for implementation details.
176 %description -l cs.UTF-8
177 Samba poskytuje server SMB, který lze použít pro poskytování síťových
178 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
179 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
180 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
181 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
182 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
183 NetBIOS od společnosti Microsoft.
185 %description -l da.UTF-8
186 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
187 services til SMB (også kaldet "Lan Manager") klienter, incl.
188 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
189 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
190 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
191 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
194 %description -l de.UTF-8
195 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
196 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
197 verschiedenen Versionen von MS Windows-, OS/2- und anderen
198 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
199 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
200 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
201 (Microsoft Raw NetBIOS frame)-Protokoll.
203 %description -l es.UTF-8
204 Samba provee un servidor SMB que se puede usar para ofrecer servicios
205 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
206 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
207 Linux. Samba también ofrece algunos clientes SMB, que complementan el
208 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
209 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
212 %description -l fi.UTF-8
213 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
214 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
215 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
216 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
217 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
218 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
219 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
222 %description -l it.UTF-8
223 Samba fornisce un server SMB che puo` essere usato per fornire servizi
224 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
225 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
226 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
228 %description -l ja.UTF-8
229 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
230 を含む SMB (たまに "Lan Manager" と呼ばれる)
231 クライアントにネットワーク サービスを提供するために使用される SMB
232 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
233 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
236 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
237 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
238 新しい SWAT (Samba Web Administration Tool) を含みます。
239 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
241 %description -l ko.UTF-8
242 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
243 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
244 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
245 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
248 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
249 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
250 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
253 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
254 릴리즈는 암호화된 패스워드를 제공한다.
256 %description -l pl.UTF-8
257 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
258 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
259 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
260 znajduje się również oprogramowanie klienckie. Samba używa protokołu
261 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
262 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
263 haseł w standardzie MS i zarządzania bazą WINS.
265 %description -l pt_BR.UTF-8
266 O Samba provê um servidor SMB que pode ser usado para oferecer
267 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
268 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
269 máquinas Linux. O Samba também fornece alguns clientes SMB, que
270 complementam o sistema de arquivos SMB do Linux. O Samba usa o
271 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
272 NetBEUI (Microsoft Raw NetBIOS frame).
274 O Samba inclui a maioria das características de um servidor de
275 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
276 permite que o arquivo smb.conf seja gerenciado remotamente através de
277 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
280 %description -l ru.UTF-8
281 Samba предоставляет SMB-сервер, который может быть использован для
282 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
283 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
284 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
285 со встроенной в Linux файловой системой SMB.
287 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
288 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
290 Samba содержит практически работающую реализацию NT Domain Control и
291 включает новый SWAT (Samba Web Administration Tool), который позволяет
292 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
293 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
296 %description -l uk.UTF-8
297 Samba надає SMB-сервер, що може бути використаний для надання
298 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
299 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
300 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
301 файловою системою SMB.
303 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
304 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
306 Samba містить майже працюючу реализацію NT Domain Control та новый
307 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
308 керувати конфігураційним файлом smb.conf за допомогою вашого
309 улюбленого WEB-броузера. Поки що він дозволений через inetd на
313 Summary: Samba Web Administration Tool
314 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
315 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
316 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
317 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
318 Group: Networking/Admin
319 Requires: %{name} = %{epoch}:%{version}-%{release}
321 Requires: rc-inetd >= 0.8.2
325 swat allows a Samba administrator to configure the complex smb.conf
326 file via a Web browser. In addition, a swat configuration page has
327 help links to all the configurable options in the smb.conf file
328 allowing an administrator to easily look up the effects of any change.
330 %description swat -l pl.UTF-8
331 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
334 %description swat -l pt_BR.UTF-8
335 SWAT - ferramentada Web de configuração do Samba.
337 %description swat -l ru.UTF-8
338 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
339 для удаленного администрирования файла smb.conf при помощи вашего
340 любимого Web-браузера.
342 %description swat -l uk.UTF-8
343 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
344 для дистанційного адміністрування файлу smb.conf за допомогою вашого
345 улюбленого Web-браузеру.
348 Summary: Samba client programs
349 Summary(es.UTF-8): Cliente SMB de Samba
350 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
351 Summary(pl.UTF-8): Klienci serwera Samba
352 Summary(pt_BR.UTF-8): Cliente SMB do samba
353 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
354 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
355 Group: Applications/Networking
356 Requires: %{name}-common = %{epoch}:%{version}-%{release}
357 %{?with_kerberos5:Requires: heimdal-libs}
358 Requires: libsmbclient = %{epoch}:%{version}-%{release}
363 Samba-client provides some SMB clients, which complement the build-in
364 SMB filesystem in Linux. These allow accessing of SMB shares and
365 printing to SMB printers.
367 %description client -l es.UTF-8
368 Cliente SMB de Samba.
370 %description client -l ja.UTF-8
371 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
372 クライアントを提供します。これらは SMB 共有のアクセスと SMB
375 %description client -l pl.UTF-8
376 Samba-client dostarcza programy uzupełniające obsługę systemu plików
377 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
378 drukowanie w sieci SMB.
380 %description client -l pt_BR.UTF-8
381 O pacote samba-clientes prove alguns clientes SMB, que complementam o
382 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
383 e também, à impressoras SMB.
385 %description client -l ru.UTF-8
386 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
387 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
388 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
390 %description client -l uk.UTF-8
391 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
392 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
393 до каталогів спільного використання SMB та друк на SMB-прінтери.
396 Summary: Files used by both Samba servers and clients
397 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
398 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
399 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
400 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
401 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
402 Group: Networking/Daemons
403 Requires: tevent >= %{libtevent_ver}
404 Requires: talloc >= %{libtalloc_ver}
405 Requires: tdb >= %{libtdb_ver}
408 Samba-common provides files necessary for both the server and client
411 %description common -l ja.UTF-8
412 Samba-common は Samba のサーバとクライアントの両方のパッケージで
415 %description common -l pl.UTF-8
416 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
419 %description common -l pt_BR.UTF-8
420 Arquivos em comum entre os pacotes samba e samba-clients.
422 %description common -l ru.UTF-8
423 Samba-common содержит файлы, необходимые для работы как клиента, так и
426 %description common -l uk.UTF-8
427 Samba-common містить файли, необхідні для роботи як клієнта, так і
431 Summary: Samba-winbind daemon, utilities and documentation
432 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
433 Group: Networking/Daemons
434 Requires(post,preun): /sbin/chkconfig
435 Requires: %{name}-common = %{epoch}:%{version}-%{release}
438 Provides the winbind daemon and testing tools to allow authentication
439 and group/user enumeration from a Windows or Samba domain controller.
441 %description winbind -l pl.UTF-8
442 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
443 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
447 Summary: Name Service Switch service for WINS
448 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
450 Requires: %{name}-common = %{epoch}:%{version}-%{release}
452 %description -n nss_wins
453 Provides the libnss_wins shared library which resolves NetBIOS names
456 %description -n nss_wins -l pl.UTF-8
457 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
460 %package -n pam-pam_smbpass
461 Summary: PAM Samba Password Module
462 Summary(pl.UTF-8): Moduł PAM smbpass
464 Obsoletes: pam_smbpass
466 %description -n pam-pam_smbpass
467 PAM module which can be used on conforming systems to keep the
468 smbpasswd (Samba password) database in sync with the Unix password
471 %description -n pam-pam_smbpass -l pl.UTF-8
472 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
473 Samby) zsynchronizowanego z hasłami uniksowymi.
475 %package -n libsmbclient
476 Summary: libsmbclient - samba client library
477 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
480 %description -n libsmbclient
481 libsmbclient - library that allows to use samba clients functions.
483 %description -n libsmbclient -l pl.UTF-8
484 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
487 %package -n libsmbclient-devel
488 Summary: libsmbclient - samba client library
489 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
490 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
491 Group: Development/Libraries
492 Requires: libsmbclient = %{epoch}:%{version}-%{release}
494 %description -n libsmbclient-devel
495 Header files for libsmbclient.
497 %description -n libsmbclient-devel -l pl.UTF-8
498 Pliki nagłówkowe dla libsmbclient.
500 %description -n libsmbclient-devel -l pt_BR.UTF-8
501 Arquivos de inclusão, bibliotecas e documentação necessários para
502 desenvolver aplicativos clientes para o samba.
504 %package -n libsmbclient-static
505 Summary: Static version of libsmbclient - samba client library
506 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
507 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
508 Group: Development/Libraries
509 Requires: libsmbclient = %{epoch}:%{version}-%{release}
511 %description -n libsmbclient-static
512 Static libsmbclient library.
514 %description -n libsmbclient-static -l pl.UTF-8
515 Statyczna biblioteka libsmbclient.
517 %package -n libtalloc
518 Summary: The talloc library
521 %description -n libtalloc
522 The talloc library from the Samba suite.
524 %package -n libtalloc-devel
525 Summary: Developer tools for the talloc library
526 Group: Development/Libraries
527 Requires: libtalloc = %{epoch}:%{version}-%{release}
529 %description -n libtalloc-devel
530 The libtalloc-devel package contains the header files and libraries
531 needed to develop programs that link against the talloc library in the
535 Summary: TDB - Trivial Database
536 Summary(pl.UTF-8): TDB - prosta baza danych
538 Obsoletes: tdb-extras
541 TDB is a Trivial Database. In concept, it is very much like GDBM, and
542 BSD's DB except that it allows multiple simultaneous writers and uses
543 locking internally to keep writers from trampling on each other. TDB
544 is also extremely small.
546 %description -n tdb -l pl.UTF-8
547 TDB to Trivial Database, czyli prosta baza danych. W założeniach jest
548 bardzo podobna do GDBM lub DB z BSD z wyjątkiem tego, że pozwala na
549 zapis wielu procesom jednocześnie i używa wewnętrznie blokowania, aby
550 nie pozwolić piszącym na zadeptanie się nawzajem. TDB jest ponadto
553 %package -n tdb-devel
554 Summary: Header files for TDB library
555 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki TDB
556 Group: Development/Libraries
557 Requires: tdb = %{epoch}:%{version}-%{release}
559 %description -n tdb-devel
560 Header files for TDB library.
562 %description -n tdb-devel -l pl.UTF-8
563 Pliki nagłówkowe biblioteki TDB.
566 Summary: Header files for Samba
567 Summary(pl.UTF-8): Pliki nagłówkowe Samby
568 Group: Development/Libraries
571 Header files for Samba.
573 %description devel -l pl.UTF-8
574 Pliki nagłówkowe Samby.
577 Summary: A utility for retrieving files using the SMB protocol
578 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
579 Group: Applications/Networking
581 %description -n smbget
582 wget-like utility for download files over SMB.
584 %description -n smbget -l pl.UTF-8
585 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
586 używanym w sieciach MS Windows.
588 %package -n cups-backend-smb
589 Summary: CUPS backend for printing to SMB printers
590 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
591 Group: Applications/Printing
592 Requires: %{name}-client = %{epoch}:%{version}-%{release}
593 Requires: cups >= 1:1.2.0
595 %description -n cups-backend-smb
596 CUPS backend for printing to SMB printers.
598 %description -n cups-backend-smb -l pl.UTF-8
599 Backend CUPS-a drukujący na drukarkach SMB.
602 Summary: VFS module to audit file access
603 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
604 Group: Networking/Daemons
605 Requires: %{name} = %{epoch}:%{version}-%{release}
607 %description vfs-audit
608 A simple module to audit file access to the syslog facility. The
609 following operations are logged:
610 - share connect/disconnect,
611 - directory opens/create/remove,
612 - file open/close/rename/unlink/chmod.
614 %description vfs-audit -l pl.UTF-8
615 Proste moduły do monitorowania dostępu do plików na serwerze samba do
616 do sysloga. Monitorowane są następujące operacje:
617 - podłączenie do/odłączenie od zasobu,
618 - otwarcie/utworzenie/zmiana nazwy katalogu,
619 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
621 Zawiera moduły audit, extd_audit i full_audit.
624 Summary: VFS module for CAP and samba compatibility
625 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
626 Group: Networking/Daemons
627 Requires: %{name} = %{epoch}:%{version}-%{release}
630 Convert an incoming Shift-JIS character to the 3 byte hex
631 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
632 This is used for compatibility between Samba and CAP.
634 %description vfs-cap -l pl.UTF-8
635 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
636 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
638 %package vfs-default_quota
639 Summary: VFS module to store default quotas in a specified quota record
640 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
641 Group: Networking/Daemons
642 Requires: %{name} = %{epoch}:%{version}-%{release}
644 %description vfs-default_quota
645 This VFS modules stores default quotas in a specified quota record.
647 %description vfs-default_quota -l pl.UTF-8
648 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
651 %package vfs-expand_msdfs
652 Summary: VFS module for hosting a Microsoft Distributed File System Tree
653 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
654 Group: Networking/Daemons
655 Requires: %{name} = %{epoch}:%{version}-%{release}
657 %description vfs-expand_msdfs
658 A VFS module for hosting a Microsoft Distributed File System Tree.
660 The Distributed File System (DFS) provides a means of separating the
661 logical view of files and directories that users see from the actual
662 physical locations of these resources on the network. It allows for
663 higher availability, smoother storage expansion, load balancing, and
666 %description vfs-expand_msdfs -l pl.UTF-8
667 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
670 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
671 plików i katalogów widocznych przez użytkowników z fizycznego
672 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
673 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
675 %package vfs-fake_perms
676 Summary: VFS module to report read-only fires as writable
677 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
678 Group: Networking/Daemons
679 Requires: %{name} = %{epoch}:%{version}-%{release}
681 %description vfs-fake_perms
682 This module allow Roaming Profile files and directories to be set (on
683 the Samba server under UNIX) as read only. This module will, if
684 installed on the Profiles share, report to the client that the Profile
685 files and directories are writeable. This satisfies the client even
686 though the files will never be overwritten as the client logs out or
689 %description vfs-fake_perms -l pl.UTF-8
690 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
691 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
692 przypadku zainstalowania na udziale z profilami będzie zgłaszał
693 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
694 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
695 lub wylogowywaniu klienta.
697 %package vfs-notify_fam
698 Summary: VFS module to implement file change notifications
699 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
700 Group: Networking/Daemons
701 Requires: %{name} = %{epoch}:%{version}-%{release}
703 %description vfs-notify_fam
704 The vfs_notify_fam module makes use of the system FAM (File Alteration
705 Monitor) daemon to implement file change notifications for Windows
708 %description vfs-notify_fam -l pl.UTF-8
709 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
710 informowania o zmianach w plikach dla klientów Windows.
712 %package vfs-netatalk
713 Summary: VFS module for ease co-existence of samba and netatalk
714 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
715 Group: Networking/Daemons
716 Requires: %{name} = %{epoch}:%{version}-%{release}
718 %description vfs-netatalk
719 Package contains a netatalk VFS module for ease co-existence of Samba
720 and netatalk file sharing services.
722 %description vfs-netatalk -l pl.UTF-8
723 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
724 i netatalk przy udostępnianiu zasobów.
727 Summary: VFS module to add recycle bin facility to a samba share
728 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
729 Group: Networking/Daemons
730 Requires: %{name} = %{epoch}:%{version}-%{release}
732 %description vfs-recycle
733 VFS module to add recycle bin facility to a samba share.
735 %description vfs-recycle -l pl.UTF-8
736 Moduł VFS dodający możliwość kosza do zasobu samby.
738 %package vfs-readahead
739 Summary: VFS module for pre-loading the kernel buffer cache
740 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
741 Group: Networking/Daemons
742 Requires: %{name} = %{epoch}:%{version}-%{release}
744 %description vfs-readahead
745 This VFS module detects read requests at multiples of a given offset
746 (hex 0x80000 by default) and then tells the kernel via either the
747 readahead system call (on Linux) or the posix_fadvise system call to
748 pre-fetch this data into the buffer cache.
750 This module is useful for Windows Vista clients reading data using the
751 Windows Explorer program, which asynchronously does multiple file read
752 requests at offset boundaries of 0x80000 bytes.
754 %description vfs-readahead -l pl.UTF-8
755 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
756 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
757 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
758 wczesnego odczytu tych danych do bufora cache.
760 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
761 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
762 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
765 %package vfs-readonly
766 Summary: VFS module for read-only limitation for specified share
767 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
768 Group: Networking/Daemons
769 Requires: %{name} = %{epoch}:%{version}-%{release}
771 %description vfs-readonly
772 This module performs a read-only limitation for specified share (or
773 all of them if it is loaded in a [global] section) based on period
774 definition in smb.conf.
776 %description vfs-readonly -l pl.UTF-8
777 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
778 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
779 oparciu o definicje okresów w smb.conf.
781 %package vfs-shadow_copy
782 Summary: VFS module to make automatic copy of data in samba share
783 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
784 Group: Networking/Daemons
785 Requires: %{name} = %{epoch}:%{version}-%{release}
787 %description vfs-shadow_copy
788 VFS module to make automatic copy of data in samba share.
790 %description vfs-shadow_copy -l pl.UTF-8
791 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
794 Summary: VFS module to fix Catia CAD filenames
795 Group: Networking/Daemons
796 Requires: %{name} = %{epoch}:%{version}-%{release}
798 %description vfs-catia
799 The Catia CAD package commonly creates filenames that use characters
800 that are illegal in CIFS filenames. The vfs_catia VFS module
801 implements a fixed character mapping so that these files can be shared
804 %package vfs-scannedonly
805 Summary: Anti-virus solution as VFS module
806 Group: Networking/Daemons
807 Requires: %{name} = %{epoch}:%{version}-%{release}
809 %description vfs-scannedonly
810 The vfs_scannedonly VFS module ensures that only files that have been
811 scanned for viruses are visible and accessible to the end user. If
812 non-scanned files are found an anti-virus scanning daemon is notified.
814 %package -n openldap-schema-samba
815 Summary: Samba LDAP schema
816 Summary(pl.UTF-8): Schemat LDAP dla samby
817 Group: Networking/Daemons
818 Requires(post,postun): sed >= 4.0
819 Requires: openldap-servers
820 %if "%{_rpmversion}" >= "5"
824 %description -n openldap-schema-samba
825 This package contains samba.schema for openldap.
827 %description -n openldap-schema-samba -l pl.UTF-8
828 Ten pakiet zawiera schemat samby dla openldap-a.
831 Summary: Samba HTML documentation
832 Summary(pl.UTF-8): Documentacja samby w formacie HTML
835 %description doc-html
836 Samba HTML documentation.
838 %description doc-html -l pl.UTF-8
839 Documentacja samby w formacie HTML.
842 Summary: Samba documentation - PDF format
843 Summary(pl.UTF-8): Documentacja samby w formacie PDF
847 Samba PDF documentation.
849 %description doc-pdf -l pl.UTF-8
850 Documentacja samby w formacie PDF.
852 %package -n python-samba
853 Summary: Samba Module for Python
854 Group: Development/Languages/Python
855 Requires: %{name}-common = %{epoch}:%{version}-%{release}
858 %description -n python-samba
859 Samba Module for Python.
868 %if "%{pld_release}" == "ti"
872 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
874 # deprecated in gnutls 3.0
875 %{__sed} -i -e "s/gnutls_transport_set_lowat(tls->session, 0);//" source4/lib/tls/tls.c
876 %{__sed} -i -e "s/gnutls_transport_set_lowat(tlss->tls_session, 0);//" source4/lib/tls/tls_tstream.c
882 install %{SOURCE9} source4/heimdal/lib/wind/rfc3454.txt
885 # use ld.bfd because gold doesn't understand linker script
887 ln -s %{_bindir}/ld.bfd our-ld/ld
888 export PATH=$(pwd)/our-ld:$PATH
893 %{__autoconf} -Im4 -I../m4 -I../lib/replace -Ilib/replace -I../source4
895 --with-modulesdir=%{_sambalibdir} \
896 --with-rootsbindir=/sbin \
897 --with-pammodulesdir=/%{_lib}/security \
901 --with-libsmbclient \
902 --with-lockdir=/var/lib/samba \
905 --with%{!?with_ads:out}-ads \
906 --with-privatedir=%{_sysconfdir}/samba \
909 --with-swatdir=%{_datadir}/swat \
913 %if %{with system_libtevent}
914 --with-libtevent=no \
915 --enable-external-libtevent=yes \
917 %if %{with system_libtalloc}
918 --with-libtalloc=no \
919 --enable-external-libtalloc=yes \
921 %if %{with system_libtdb}
923 --enable-external-libtdb=yes \
925 --%{?with_merged_build:en}%{!?with_merged_build:dis}able-smbtorture4 \
926 --without-included-popt \
928 --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
930 --with%{!?with_ldap:out}-ldap \
931 --with%{!?with_kerberos5:out}-krb5
933 %{__make} -j1 everything pam_smbpass bin/smbget bin/vfstest \
937 %{__make} -C libsmbclient/smbwrapper \
939 CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \$(SMBINCLUDE)"
945 CFLAGS="%{rpmcflags} -fPIC"
949 rm -rf $RPM_BUILD_ROOT
950 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
951 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
952 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
953 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir},%{_pkgconfigdir}}
955 %{__make} -C source3 install \
956 DESTDIR=$RPM_BUILD_ROOT \
957 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
959 install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
961 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
962 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
963 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
964 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
965 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
966 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
967 install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
968 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind
970 install -p nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
971 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
972 install -p nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
973 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
974 install -p source3/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
975 install -p source3/bin/smbget $RPM_BUILD_ROOT%{_bindir}
976 install -p source3/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
978 cp -a source3/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
980 cp -a source3/pkgconfig/smbclient.pc $RPM_BUILD_ROOT%{_pkgconfigdir}/smbclient.pc
981 cp -a source3/pkgconfig/wbclient.pc $RPM_BUILD_ROOT%{_pkgconfigdir}/wbclient.pc
984 install -p examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
985 install -p examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
986 cp -p examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
988 # these are needed to build samba-pdbsql
989 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
990 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
991 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
992 %if %{without system_libtdb}
993 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
994 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
997 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
999 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1002 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1003 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1006 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1007 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1010 #rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
1013 %if %{with merged_build}
1014 rm -r $RPM_BUILD_ROOT%{_bindir}/{gentest4,locktest4,masktest4,nsstest4}
1018 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1021 %if %{with system_libtdb}
1022 # remove manuals of tdb if system lib used
1023 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
1024 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
1025 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
1028 %find_lang pam_winbind
1030 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1031 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
1032 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1035 rm -rf $RPM_BUILD_ROOT
1038 /sbin/chkconfig --add smb
1039 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1040 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1041 /sbin/service smb stop >&2
1042 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1043 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1044 if [ -d /var/lock/samba/printing ]; then
1045 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1047 /sbin/service smb start >&2
1049 %service smb restart "Samba daemons"
1053 if [ "$1" = "0" ]; then
1055 /sbin/chkconfig --del smb
1059 /sbin/chkconfig --add winbind
1060 %service winbind restart "Winbind daemon"
1063 if [ "$1" = "0" ]; then
1064 %service winbind stop
1065 /sbin/chkconfig --del winbind
1069 %service -q rc-inetd reload
1072 if [ "$1" = 0 ]; then
1073 %service -q rc-inetd reload
1076 %post -n openldap-schema-samba
1077 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1078 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1079 %service -q ldap restart
1081 %postun -n openldap-schema-samba
1082 if [ "$1" = "0" ]; then
1083 %openldap_schema_unregister %{schemadir}/samba.schema
1084 %service -q ldap restart
1087 %triggerpostun -- samba < 1.9.18p7
1088 if [ "$1" != "0" ]; then
1089 /sbin/chkconfig --add smb
1092 %if "%{pld_release}" != "ti"
1093 %triggerpostun -- samba < 3.4.0
1094 %banner %{name} << EOF
1095 !!! WARNING !!! The default passdb backend has been changed to 'tdbsam'!
1096 That breaks existing setups using the 'smbpasswd' backend without explicit declaration!
1097 Please use 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
1098 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e tdbsam'.
1103 %defattr(644,root,root,755)
1104 %attr(755,root,root) %{_sbindir}/nmbd
1105 %attr(755,root,root) %{_sbindir}/smbd
1106 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1107 %if %{with merged_build}
1108 #%attr(755,root,root) %{_bindir}/ad2oLschema4
1109 %attr(755,root,root) %{_bindir}/oLschema2ldif4
1110 %attr(755,root,root) %{_bindir}/reg*
1111 # "This utility disabled until rewritten"
1112 #%attr(755,root,root) %{_bindir}/setnttoken4
1114 %attr(755,root,root) %{_bindir}/smbstatus
1115 %attr(755,root,root) %{_bindir}/smbpasswd
1116 %attr(755,root,root) %{_bindir}/smbta-util
1117 %attr(755,root,root) %{_bindir}/smbcontrol
1119 %dir %{_libdir}/%{name}/idmap
1120 %attr(755,root,root) %{_libdir}/%{name}/idmap/autorid.so
1121 %{_mandir}/man8/idmap_autorid.8*
1122 %dir %{_libdir}/%{name}/pdb
1124 %attr(755,root,root) %{_vfsdir}/acl_tdb.so
1125 %attr(755,root,root) %{_vfsdir}/acl_xattr.so
1126 %attr(755,root,root) %{_vfsdir}/aio_fork.so
1127 %attr(755,root,root) %{_vfsdir}/crossrename.so
1128 %attr(755,root,root) %{_vfsdir}/dirsort.so
1129 %attr(755,root,root) %{_vfsdir}/fileid.so
1130 %attr(755,root,root) %{_vfsdir}/linux_xfs_sgid.so
1131 %attr(755,root,root) %{_vfsdir}/preopen.so
1132 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1133 %attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1134 %attr(755,root,root) %{_vfsdir}/streams_depot.so
1135 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1136 %attr(755,root,root) %{_vfsdir}/syncops.so
1137 %attr(755,root,root) %{_vfsdir}/time_audit.so
1138 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1139 %{_mandir}/man8/vfs_acl_tdb.8*
1140 %{_mandir}/man8/vfs_acl_xattr.8*
1141 %{_mandir}/man8/vfs_crossrename.8*
1142 %{_mandir}/man8/vfs_dirsort.8*
1143 %{_mandir}/man8/vfs_fileid.8*
1144 %{_mandir}/man8/vfs_preopen.8*
1145 %{_mandir}/man8/vfs_shadow_copy2.8*
1146 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1147 %{_mandir}/man8/vfs_streams_xattr.8*
1148 %{_mandir}/man8/vfs_streams_depot.8*
1149 %{_mandir}/man8/vfs_time_audit.8*
1150 %{_mandir}/man8/vfs_xattr_tdb.8*
1153 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1154 %attr(754,root,root) /etc/rc.d/init.d/smb
1155 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1156 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1157 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1158 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1159 %{_mandir}/man1/log2pcap.1*
1160 %{_mandir}/man1/smbstatus.1*
1161 %{_mandir}/man1/smbcontrol.1*
1162 %{_mandir}/man5/smbpasswd.5*
1163 %{_mandir}/man7/samba.7*
1164 %{_mandir}/man8/nmbd.8*
1165 %{_mandir}/man8/smbd.8*
1166 %{_mandir}/man8/smbpasswd.8*
1167 %{_mandir}/man8/smbta-util.8*
1171 %ghost /var/lib/samba/*.dat
1172 %dir /var/lib/samba/printing
1174 %attr(750,root,root) %dir /var/log/samba
1175 %attr(750,root,root) %dir /var/log/samba/cores
1176 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1177 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1178 %attr(750,root,root) %dir /var/log/archive/samba
1179 %attr(1777,root,root) %dir /var/spool/samba
1184 %files winbind -f pam_winbind.lang
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{_sbindir}/winbindd
1187 %attr(755,root,root) %{_bindir}/wbinfo
1188 #%if %{with merged_build}
1189 #%attr(755,root,root) %{_bindir}/wbinfo4
1191 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1192 %attr(755,root,root) /%{_lib}/libnss_winbind*
1193 %attr(754,root,root) /etc/rc.d/init.d/winbind
1194 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1195 %{_mandir}/man1/wbinfo*.1*
1196 %{_mandir}/man5/pam_winbind.conf.5*
1197 %{_mandir}/man8/pam_winbind.8*
1198 %{_mandir}/man8/winbindd*.8*
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) /%{_lib}/libnss_wins*
1205 %defattr(644,root,root,755)
1206 %if %{with merged_build}
1207 %attr(755,root,root) %{_bindir}/cifsdd4
1208 %attr(755,root,root) %{_bindir}/net4
1209 %attr(755,root,root) %{_bindir}/nmblookup4
1210 %attr(755,root,root) %{_bindir}/smbclient4
1211 %attr(755,root,root) %{_bindir}/setnttoken4
1212 %attr(755,root,root) %{_bindir}/smbtorture4
1214 %attr(755,root,root) %{_bindir}/findsmb
1215 %attr(755,root,root) %{_bindir}/net
1216 %attr(755,root,root) %{_bindir}/nmblookup
1217 %attr(755,root,root) %{_bindir}/rpcclient
1218 %attr(755,root,root) %{_bindir}/sharesec
1219 %attr(755,root,root) %{_bindir}/smbcacls
1220 %attr(755,root,root) %{_bindir}/smbclient
1221 %attr(755,root,root) %{_bindir}/smbsh
1222 %attr(755,root,root) %{_bindir}/smbtar
1223 %attr(755,root,root) %{_bindir}/smbtree
1224 %attr(755,root,root) %{_libdir}/smbwrapper.so
1225 %{_mandir}/man1/findsmb.1*
1226 %{_mandir}/man1/nmblookup.1*
1227 %{_mandir}/man1/rpcclient.1*
1228 %{_mandir}/man1/sharesec.1*
1229 %{_mandir}/man1/smbcacls.1*
1230 %{_mandir}/man1/smbclient.1*
1231 %{_mandir}/man1/smbsh.1*
1232 %{_mandir}/man1/smbtar.1*
1233 %{_mandir}/man1/smbtree.1*
1234 %{_mandir}/man8/net.8*
1237 %defattr(644,root,root,755)
1238 %if %{with merged_build}
1239 %attr(755,root,root) %{_bindir}/getntacl4
1240 %attr(755,root,root) %{_bindir}/ndrdump4
1241 %attr(755,root,root) %{_bindir}/ntlm_auth4
1242 %attr(755,root,root) %{_bindir}/testparm4
1244 %doc README Manifest WHATSNEW.txt
1245 %doc Roadmap docs/registry/*
1246 %doc docs/{history,THANKS}
1247 %dir %{_sysconfdir}/samba
1248 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1249 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1250 %attr(755,root,root) %{_bindir}/eventlogadm
1251 %attr(755,root,root) %{_bindir}/ntlm_auth
1252 %attr(755,root,root) %{_bindir}/pdbedit
1253 %attr(755,root,root) %{_bindir}/profiles
1254 %attr(755,root,root) %{_bindir}/smbcquotas
1255 %attr(755,root,root) %{_bindir}/testparm
1256 %attr(755,root,root) %{_bindir}/vfstest
1257 %dir %{_libdir}/%{name}
1258 %{_libdir}/%{name}/*.dat
1259 %dir %{_libdir}/%{name}/auth
1260 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1261 %dir %{_libdir}/%{name}/charset
1262 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1263 %{_mandir}/man1/ntlm_auth.1*
1264 %{_mandir}/man1/profiles.1*
1265 %{_mandir}/man1/smbcquotas.1*
1266 %{_mandir}/man1/testparm.1*
1267 %{_mandir}/man1/vfstest.1*
1268 #%{_mandir}/man1/log2pcap.1*
1269 %{_mandir}/man5/lmhosts.5*
1270 %{_mandir}/man5/smb.conf.5*
1271 %{_mandir}/man8/pdbedit.8*
1272 %{_mandir}/man8/eventlogadm.8*
1273 %{_mandir}/man8/idmap_ad.8*
1274 %{_mandir}/man8/idmap_adex.8*
1275 %{_mandir}/man8/idmap_hash.8*
1276 %{_mandir}/man8/idmap_ldap.8*
1277 %{_mandir}/man8/idmap_nss.8*
1278 %{_mandir}/man8/idmap_rid.8*
1279 %{_mandir}/man8/idmap_tdb.8*
1280 %{_mandir}/man8/idmap_tdb2.8*
1283 %defattr(644,root,root,755)
1284 #%doc swat/README* swat/help/*
1286 %attr(755,root,root) %{_sbindir}/swat
1287 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1288 %dir %{_datadir}/swat
1289 %{_datadir}/swat/help
1290 %{_datadir}/swat/images
1291 %{_datadir}/swat/include
1292 %dir %{_datadir}/swat/lang
1293 %lang(ja) %{_datadir}/swat/lang/ja
1294 %lang(tr) %{_datadir}/swat/lang/tr
1295 %lang(de) %{_libdir}/%{name}/de.msg
1296 %{_libdir}/%{name}/en.msg
1297 %lang(fi) %{_libdir}/%{name}/fi.msg
1298 %lang(fr) %{_libdir}/%{name}/fr.msg
1299 %lang(it) %{_libdir}/%{name}/it.msg
1300 %lang(ja) %{_libdir}/%{name}/ja.msg
1301 %lang(nl) %{_libdir}/%{name}/nl.msg
1302 %lang(pl) %{_libdir}/%{name}/pl.msg
1303 %lang(ru) %{_libdir}/%{name}/ru.msg
1304 %lang(tr) %{_libdir}/%{name}/tr.msg
1305 %{_mandir}/man8/swat.8*
1307 %files -n pam-pam_smbpass
1308 %defattr(644,root,root,755)
1309 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1310 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1312 %files -n libsmbclient
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1315 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1316 %{_mandir}/man7/libsmbclient.7*
1318 %files -n libsmbclient-devel
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_libdir}/libsmbclient.so
1321 %attr(755,root,root) %{_libdir}/libwbclient.so
1322 %{_includedir}/libsmbclient.h
1323 %{_includedir}/wbclient.h
1324 %{_pkgconfigdir}/smbclient.pc
1325 %{_pkgconfigdir}/wbclient.pc
1327 %if %{without system_libtalloc}
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1332 %files -n libtalloc-devel
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/libtalloc.so
1335 %{_includedir}/talloc.h
1338 %if %{without system_libtdb}
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_bindir}/tdbbackup
1342 %attr(755,root,root) %{_bindir}/tdbdump
1343 %attr(755,root,root) %{_bindir}/tdbtool
1344 %if %{with merged_build}
1345 %attr(755,root,root) %{_bindir}/tdbbackup4
1346 %attr(755,root,root) %{_bindir}/tdbdump4
1347 %attr(755,root,root) %{_bindir}/tdbtool4
1348 %attr(755,root,root) %{_bindir}/tdbtorture4
1350 %attr(755,root,root) %{_libdir}/libtdb.so.*
1351 %{_mandir}/man8/tdbbackup.8*
1352 %{_mandir}/man8/tdbdump.8*
1353 %{_mandir}/man8/tdbtool.8*
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_libdir}/libtdb.so
1358 %{_includedir}/tdb.h
1362 %defattr(644,root,root,755)
1363 %{_includedir}/%{name}
1365 %files -n libsmbclient-static
1366 %defattr(644,root,root,755)
1367 %{_libdir}/libsmbclient.a
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_bindir}/smbget
1372 %{_mandir}/man1/smbget.1*
1373 %{_mandir}/man5/smbgetrc.5*
1376 %files -n cups-backend-smb
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_bindir}/smbspool
1379 %attr(755,root,root) %{cups_serverbin}/backend/smb
1380 %{_mandir}/man8/smbspool.8*
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_vfsdir}/audit.so
1386 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1387 %attr(755,root,root) %{_vfsdir}/full_audit.so
1388 %{_mandir}/man8/vfs_audit.8*
1389 %{_mandir}/man8/vfs_extd_audit.8*
1390 %{_mandir}/man8/vfs_full_audit.8*
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_vfsdir}/cap.so
1395 %{_mandir}/man8/vfs_cap.8*
1397 %files vfs-default_quota
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_vfsdir}/default_quota.so
1400 %{_mandir}/man8/vfs_default_quota.8*
1402 %files vfs-expand_msdfs
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1406 %files vfs-fake_perms
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1409 %{_mandir}/man8/vfs_fake_perms.8*
1411 %files vfs-notify_fam
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1414 %{_mandir}/man8/vfs_notify_fam.8*
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_vfsdir}/netatalk.so
1419 %{_mandir}/man8/vfs_netatalk.8*
1421 %files vfs-readahead
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_vfsdir}/readahead.so
1424 %{_mandir}/man8/vfs_readahead.8*
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{_vfsdir}/readonly.so
1429 %{_mandir}/man8/vfs_readonly.8*
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_vfsdir}/recycle.so
1434 %{_mandir}/man8/vfs_recycle.8*
1436 %files vfs-shadow_copy
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1439 %{_mandir}/man8/vfs_shadow_copy.8*
1442 %defattr(644,root,root,755)
1443 %attr(755,root,root) %{_vfsdir}/catia.so
1444 %{_mandir}/man8/vfs_catia.8*
1446 %files vfs-scannedonly
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_vfsdir}/scannedonly.so
1449 %{_mandir}/man8/vfs_scannedonly.8*
1452 %files -n openldap-schema-samba
1453 %defattr(644,root,root,755)
1454 %{schemadir}/*.schema
1458 %defattr(644,root,root,755)
1459 %doc docs/htmldocs/*
1462 %defattr(644,root,root,755)
1466 %files -n python-samba
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{py_sitedir}/*.so
1469 %dir %{py_sitedir}/samba
1470 %attr(755,root,root) %{py_sitedir}/samba/*.so
1471 %{py_sitedir}/samba/*.py[co]
1472 %dir %{py_sitedir}/samba/dcerpc
1473 %{py_sitedir}/samba/dcerpc/*.py[co]
1474 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1475 %dir %{py_sitedir}/samba/tests
1476 %{py_sitedir}/samba/tests/*.py[co]
1477 %dir %{py_sitedir}/samba/tests/dcerpc
1478 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1479 %dir %{py_sitedir}/samba/torture
1480 %{py_sitedir}/samba/torture/*.py[co]