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