3 # - review python-samba
4 # - drop tdb.spec and build tdb,tdb-devel,tdb-static package from samba
5 # - look into other distro specs for valid %descriptions for samba 3
6 # - unpackaged man pages for modules that are not built by default,
7 # maybe we should build them?
8 # /usr/share/man/man8/vfs_cacheprime.8*
9 # /usr/share/man/man8/vfs_catia.8*
10 # /usr/share/man/man8/vfs_commit.8*
11 # /usr/share/man/man8/vfs_gpfs.8*
12 # /usr/share/man/man8/vfs_notify_fam.8*
13 # /usr/share/man/man8/vfs_prealloc.8*
14 # - libmsrpc.so is broken (references smbc_attr_server() which is no longer exported from libsmbclient)
18 # - MERGE vfs modules into main package, what was the point of splitting these?
22 %bcond_without ads # without ActiveDirectory support
23 %bcond_without cups # without CUPS support
24 %bcond_without kerberos5 # without Kerberos V support
25 %bcond_without ldap # without LDAP support
27 %bcond_with mks # with vfs-mks (mksd dependency not distributale)
30 # ADS requires kerberos5 and LDAP
31 %if !%{with kerberos5} || !%{with ldap}
34 %define vscan_version 0.3.6c-beta5
36 Summary(cs.UTF-8): Server SMB
37 Summary(da.UTF-8): SMB server
38 Summary(de.UTF-8): SMB-Server
39 Summary(es.UTF-8): El servidor SMB
40 Summary(fi.UTF-8): SMB-palvelin
41 Summary(fr.UTF-8): Serveur SMB
42 Summary(it.UTF-8): Server SMB
43 Summary(ja.UTF-8): Samba SMB サーバー
44 Summary(ko.UTF-8): 삼바 SMB 서버
45 Summary(pl.UTF-8): Serwer SMB
46 Summary(pt_BR.UTF-8): Cliente e servidor SMB
47 Summary(ru.UTF-8): SMB клиент и сервер
48 Summary(tr.UTF-8): SMB sunucusu
49 Summary(uk.UTF-8): SMB клієнт та сервер
50 Summary(zh_CN.UTF-8): Samba 客户端和服务器
56 Group: Networking/Daemons
57 Source0: http://www.samba.org/samba/ftp/stable/%{name}-%{version}.tar.gz
58 # Source0-md5: 322379680c12057f57685652a35a6b05
62 Source4: %{name}.sysconfig
63 Source5: %{name}.logrotate
65 Source7: http://www.openantivirus.org/download/%{name}-vscan-%{vscan_version}.tar.gz
66 # Source7-md5: 8f1dd119172e04e6d7c2d05526a4cf8b
68 Source9: winbind.sysconfig
69 Source10: %{name}-rfc3454.txt
70 Patch0: %{name}-smbwrapper.patch
71 Patch1: %{name}-c++-nofail.patch
72 Patch2: %{name}-pthread.patch
73 Patch3: %{name}-nscd.patch
74 Patch4: %{name}-lprng-no-dot-printers.patch
75 Patch5: %{name}-python.patch
76 Patch6: %{name}-client-upcall-buildfix.patch
77 URL: http://www.samba.org/
78 BuildRequires: acl-devel
79 BuildRequires: autoconf
80 BuildRequires: automake
81 %{?with_avahi:BuildRequires: avahi-devel}
82 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
83 BuildRequires: dmapi-devel
84 BuildRequires: fam-devel
85 BuildRequires: gettext-devel
86 %{?with_kerberos5:BuildRequires: heimdal-devel}
88 BuildRequires: keyutils-devel
89 BuildRequires: libmagic-devel
90 BuildRequires: libnscd-devel
91 BuildRequires: libtool >= 2:1.4d
92 BuildRequires: make >= 3.81
93 BuildRequires: ncurses-devel >= 5.2
94 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
95 BuildRequires: openssl-devel >= 0.9.7d
96 BuildRequires: pam-devel >= 0.99.8.1
97 BuildRequires: pkgconfig
98 BuildRequires: popt-devel
99 %{?with_pgsql:BuildRequires: postgresql-devel}
100 BuildRequires: python-devel
101 BuildRequires: python-modules
102 BuildRequires: readline-devel >= 4.2
103 BuildRequires: rpmbuild(macros) >= 1.304
104 BuildRequires: sed >= 4.0
105 BuildRequires: tdb-devel
106 BuildRequires: xfsprogs-devel
107 Requires(post,preun): /sbin/chkconfig
108 Requires: %{name}-common = %{epoch}:%{version}-%{release}
109 Requires: logrotate >= 3.7-4
110 Requires: pam >= 0.99.8.1
112 Requires: setup >= 2.4.6-7
113 # smbd links with libcups
114 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
115 Obsoletes: python-samba
116 Obsoletes: samba-pdb-xml
117 Obsoletes: samba-vfs-block
118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
120 %define _vfsdir %{_libdir}/%{name}/vfs
121 %define _sambahome /home/services/samba
122 %define _sambalibdir %{_libdir}/%{name}
124 %define cups_serverbin %{_prefix}/lib/cups
126 %define schemadir /usr/share/openldap/schema
128 # CFLAGS modified (the second ./configure)
129 %undefine configure_cache
132 Samba provides an SMB server which can be used to provide network
133 services to SMB (sometimes called "Lan Manager") clients, including
134 various versions of MS Windows, OS/2, and other Linux machines. Samba
135 also provides some SMB clients, which complement the built-in SMB
136 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
137 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
139 This release is known as the "Locking Update" and has full support for
140 Opportunistic File Locking. In addition this update includes native
141 support for Microsoft encrypted passwords, improved browse list and
142 WINS database management.
144 Please refer to the WHATSNEW.txt document for fixup information. This
145 binary release includes encrypted password support. Please read the
146 smb.conf file for implementation details.
148 %description -l cs.UTF-8
149 Samba poskytuje server SMB, který lze použít pro poskytování síťových
150 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
151 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
152 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
153 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
154 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
155 NetBIOS od společnosti Microsoft.
157 %description -l da.UTF-8
158 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
159 services til SMB (også kaldet "Lan Manager") klienter, incl.
160 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
161 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
162 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
163 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
166 %description -l de.UTF-8
167 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
168 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
169 verschiedenen Versionen von MS Windows-, OS/2- und anderen
170 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
171 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
172 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
173 (Microsoft Raw NetBIOS frame)-Protokoll.
175 %description -l es.UTF-8
176 Samba provee un servidor SMB que se puede usar para ofrecer servicios
177 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
178 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
179 Linux. Samba también ofrece algunos clientes SMB, que complementan el
180 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
181 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
184 %description -l fi.UTF-8
185 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
186 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
187 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
188 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
189 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
190 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
191 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
194 %description -l it.UTF-8
195 Samba fornisce un server SMB che puo` essere usato per fornire servizi
196 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
197 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
198 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
200 %description -l ja.UTF-8
201 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
202 を含む SMB (たまに "Lan Manager" と呼ばれる)
203 クライアントにネットワーク サービスを提供するために使用される SMB
204 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
205 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
208 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
209 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
210 新しい SWAT (Samba Web Administration Tool) を含みます。
211 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
213 %description -l ko.UTF-8
214 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
215 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
216 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
217 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
220 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
221 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
222 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
225 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
226 릴리즈는 암호화된 패스워드를 제공한다.
228 %description -l pl.UTF-8
229 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
230 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
231 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
232 znajduje się również oprogramowanie klienckie. Samba używa protokołu
233 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
234 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
235 haseł w standardzie MS i zarządzania bazą WINS.
237 %description -l pt_BR.UTF-8
238 O Samba provê um servidor SMB que pode ser usado para oferecer
239 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
240 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
241 máquinas Linux. O Samba também fornece alguns clientes SMB, que
242 complementam o sistema de arquivos SMB do Linux. O Samba usa o
243 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
244 NetBEUI (Microsoft Raw NetBIOS frame).
246 O Samba inclui a maioria das características de um servidor de
247 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
248 permite que o arquivo smb.conf seja gerenciado remotamente através de
249 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
252 %description -l ru.UTF-8
253 Samba предоставляет SMB-сервер, который может быть использован для
254 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
255 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
256 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
257 со встроенной в Linux файловой системой SMB.
259 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
260 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
262 Samba содержит практически работающую реализацию NT Domain Control и
263 включает новый SWAT (Samba Web Administration Tool), который позволяет
264 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
265 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
268 %description -l uk.UTF-8
269 Samba надає SMB-сервер, що може бути використаний для надання
270 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
271 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
272 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
273 файловою системою SMB.
275 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
276 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
278 Samba містить майже працюючу реализацію NT Domain Control та новый
279 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
280 керувати конфігураційним файлом smb.conf за допомогою вашого
281 улюбленого WEB-броузера. Поки що він дозволений через inetd на
285 Summary: Samba Web Administration Tool
286 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
287 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
288 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
289 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
290 Group: Networking/Admin
291 Requires: %{name} = %{epoch}:%{version}-%{release}
293 Requires: rc-inetd >= 0.8.2
297 swat allows a Samba administrator to configure the complex smb.conf
298 file via a Web browser. In addition, a swat configuration page has
299 help links to all the configurable options in the smb.conf file
300 allowing an administrator to easily look up the effects of any change.
302 %description swat -l pl.UTF-8
303 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
306 %description swat -l pt_BR.UTF-8
307 SWAT - ferramentada Web de configuração do Samba.
309 %description swat -l ru.UTF-8
310 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
311 для удаленного администрирования файла smb.conf при помощи вашего
312 любимого Web-браузера.
314 %description swat -l uk.UTF-8
315 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
316 для дистанційного адміністрування файлу smb.conf за допомогою вашого
317 улюбленого Web-браузеру.
320 Summary: Samba client programs
321 Summary(es.UTF-8): Cliente SMB de Samba
322 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
323 Summary(pl.UTF-8): Klienci serwera Samba
324 Summary(pt_BR.UTF-8): Cliente SMB do samba
325 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
326 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
327 Group: Applications/Networking
328 Requires: %{name}-common = %{epoch}:%{version}-%{release}
329 %{?with_kerberos5:Requires: heimdal-libs}
330 Requires: libsmbclient = %{epoch}:%{version}-%{release}
331 Obsoletes: mount-cifs
335 Samba-client provides some SMB clients, which complement the build-in
336 SMB filesystem in Linux. These allow accessing of SMB shares and
337 printing to SMB printers.
339 %description client -l pt_BR.UTF-8
340 O pacote samba-clientes prove alguns clientes SMB, que complementam o
341 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
342 e também, à impressoras SMB.
344 %description client -l es.UTF-8
345 Cliente SMB de Samba.
347 %description client -l ja.UTF-8
348 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
349 クライアントを提供します。これらは SMB 共有のアクセスと SMB
352 %description client -l pl.UTF-8
353 Samba-client dostarcza programy uzupełniające obsługę systemu plików
354 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
355 drukowanie w sieci SMB.
357 %description client -l pt_BR.UTF-8
358 O pacote samba-clientes prove alguns clientes SMB, que complementam o
359 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
360 e também, à impressoras SMB.
362 %description client -l ru.UTF-8
363 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
364 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
365 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
367 %description client -l uk.UTF-8
368 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
369 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
370 до каталогів спільного використання SMB та друк на SMB-прінтери.
373 Summary: Files used by both Samba servers and clients
374 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
375 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
376 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
377 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
378 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
379 Group: Networking/Daemons
380 Requires: libtalloc >= %{version}-%{release}
381 Requires: tdb >= 1.1.3
384 Samba-common provides files necessary for both the server and client
387 %description common -l ja.UTF-8
388 Samba-common は Samba のサーバとクライアントの両方のパッケージで
391 %description common -l pl.UTF-8
392 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
395 %description common -l pt_BR.UTF-8
396 Arquivos em comum entre os pacotes samba e samba-clients.
398 %description common -l ru.UTF-8
399 Samba-common содержит файлы, необходимые для работы как клиента, так и
402 %description common -l uk.UTF-8
403 Samba-common містить файли, необхідні для роботи як клієнта, так і
407 Summary: Samba-winbind daemon, utilities and documentation
408 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
409 Group: Networking/Daemons
410 Requires(post,preun): /sbin/chkconfig
411 Requires: %{name}-common = %{epoch}:%{version}-%{release}
414 Provides the winbind daemon and testing tools to allow authentication
415 and group/user enumeration from a Windows or Samba domain controller.
417 %description winbind -l pl.UTF-8
418 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
419 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
423 Summary: Name Service Switch service for WINS
424 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
426 Requires: %{name}-common = %{epoch}:%{version}-%{release}
428 %description -n nss_wins
429 Provides the libnss_wins shared library which resolves NetBIOS names
432 %description -n nss_wins -l pl.UTF-8
433 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
436 %package -n pam-pam_smbpass
437 Summary: PAM Samba Password Module
438 Summary(pl.UTF-8): Moduł PAM smbpass
440 Obsoletes: pam_smbpass
442 %description -n pam-pam_smbpass
443 PAM module which can be used on conforming systems to keep the
444 smbpasswd (Samba password) database in sync with the Unix password
447 %description -n pam-pam_smbpass -l pl.UTF-8
448 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
449 Samby) zsynchronizowanego z hasłami uniksowymi.
451 %package -n libsmbclient
452 Summary: libsmbclient - samba client library
453 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
456 %description -n libsmbclient
457 libsmbclient - library that allows to use samba clients functions.
459 %description -n libsmbclient -l pl.UTF-8
460 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
463 %package -n libsmbclient-devel
464 Summary: libsmbclient - samba client library
465 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
466 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
467 Group: Development/Libraries
468 Requires: libsmbclient = %{epoch}:%{version}-%{release}
470 %description -n libsmbclient-devel
471 Header files for libsmbclient.
473 %description -n libsmbclient-devel -l pl.UTF-8
474 Pliki nagłówkowe dla libsmbclient.
476 %description -n libsmbclient-devel -l pt_BR.UTF-8
477 Arquivos de inclusão, bibliotecas e documentação necessários para
478 desenvolver aplicativos clientes para o samba.
480 %package -n libsmbclient-static
481 Summary: Static version of libsmbclient - samba client library
482 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
483 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
484 Group: Development/Libraries
485 Requires: libsmbclient = %{epoch}:%{version}-%{release}
487 %description -n libsmbclient-static
488 Static libsmbclient library.
490 %description -n libsmbclient-static -l pl.UTF-8
491 Statyczna biblioteka libsmbclient.
493 %package -n libtalloc
494 Summary: The talloc library
497 %description -n libtalloc
498 The talloc library from the Samba suite.
500 %package -n libtalloc-devel
501 Summary: Developer tools for the talloc library
502 Group: Development/Libraries
503 Requires: libtalloc = %{epoch}:%{version}-%{release}
505 %description -n libtalloc-devel
506 The libtalloc-devel package contains the header files and libraries needed to
507 develop programs that link against the talloc library in the Samba suite.
510 Summary: Header files for Samba
511 Summary(pl.UTF-8): Pliki nagłówkowe Samby
512 Group: Development/Libraries
515 Header files for Samba.
517 %description devel -l pl.UTF-8
518 Pliki nagłówkowe Samby.
521 Summary: A utility for retrieving files using the SMB protocol
522 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
523 Group: Applications/Networking
525 %description -n smbget
526 wget-like utility for download files over SMB.
528 %description -n smbget -l pl.UTF-8
529 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
530 używanym w sieciach MS Windows.
532 %package -n cups-backend-smb
533 Summary: CUPS backend for printing to SMB printers
534 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
535 Group: Applications/Printing
536 Requires: %{name}-client = %{epoch}:%{version}-%{release}
537 Requires: cups >= 1:1.2.0
539 %description -n cups-backend-smb
540 CUPS backend for printing to SMB printers.
542 %description -n cups-backend-smb -l pl.UTF-8
543 Backend CUPS-a drukujący na drukarkach SMB.
546 Summary: VFS module to audit file access
547 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
548 Group: Networking/Daemons
549 Requires: %{name} = %{epoch}:%{version}-%{release}
551 %description vfs-audit
552 A simple module to audit file access to the syslog facility. The
553 following operations are logged:
554 - share connect/disconnect,
555 - directory opens/create/remove,
556 - file open/close/rename/unlink/chmod.
558 %description vfs-audit -l pl.UTF-8
559 Proste moduły do monitorowania dostępu do plików na serwerze samba do
560 do sysloga. Monitorowane są następujące operacje:
561 - podłączenie do/odłączenie od zasobu,
562 - otwarcie/utworzenie/zmiana nazwy katalogu,
563 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
565 Zawiera moduły audit, extd_audit i full_audit.
568 Summary: VFS module for CAP and samba compatibility
569 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
570 Group: Networking/Daemons
571 Requires: %{name} = %{epoch}:%{version}-%{release}
574 Convert an incoming Shift-JIS character to the 3 byte hex
575 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
576 This is used for compatibility between Samba and CAP.
578 %description vfs-cap -l pl.UTF-8
579 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
580 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
582 %package vfs-default_quota
583 Summary: VFS module to store default quotas in a specified quota record
584 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
585 Group: Networking/Daemons
586 Requires: %{name} = %{epoch}:%{version}-%{release}
588 %description vfs-default_quota
589 This VFS modules stores default quotas in a specified quota record.
591 %description vfs-default_quota -l pl.UTF-8
592 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
595 %package vfs-expand_msdfs
596 Summary: VFS module for hosting a Microsoft Distributed File System Tree
597 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
598 Group: Networking/Daemons
599 Requires: %{name} = %{epoch}:%{version}-%{release}
601 %description vfs-expand_msdfs
602 A VFS module for hosting a Microsoft Distributed File System Tree.
604 The Distributed File System (DFS) provides a means of separating the
605 logical view of files and directories that users see from the actual
606 physical locations of these resources on the network. It allows for
607 higher availability, smoother storage expansion, load balancing, and
610 %description vfs-expand_msdfs -l pl.UTF-8
611 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
614 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
615 plików i katalogów widocznych przez użytkowników z fizycznego
616 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
617 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
619 %package vfs-fake_perms
620 Summary: VFS module to report read-only fires as writable
621 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
622 Group: Networking/Daemons
623 Requires: %{name} = %{epoch}:%{version}-%{release}
625 %description vfs-fake_perms
626 This module allow Roaming Profile files and directories to be set (on
627 the Samba server under UNIX) as read only. This module will, if
628 installed on the Profiles share, report to the client that the Profile
629 files and directories are writeable. This satisfies the client even
630 though the files will never be overwritten as the client logs out or
633 %description vfs-fake_perms -l pl.UTF-8
634 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
635 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
636 przypadku zainstalowania na udziale z profilami będzie zgłaszał
637 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
638 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
639 lub wylogowywaniu klienta.
641 %package vfs-notify_fam
642 Summary: VFS module to implement file change notifications
643 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
644 Group: Networking/Daemons
645 Requires: %{name} = %{epoch}:%{version}-%{release}
647 %description vfs-notify_fam
648 The vfs_notify_fam module makes use of the system FAM (File Alteration
649 Monitor) daemon to implement file change notifications for Windows
652 %description vfs-notify_fam -l pl.UTF-8
653 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
654 informowania o zmianach w plikach dla klientów Windows.
656 %package vfs-netatalk
657 Summary: VFS module for ease co-existence of samba and netatalk
658 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
659 Group: Networking/Daemons
660 Requires: %{name} = %{epoch}:%{version}-%{release}
662 %description vfs-netatalk
663 Package contains a netatalk VFS module for ease co-existence of Samba
664 and netatalk file sharing services.
666 %description vfs-netatalk -l pl.UTF-8
667 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
668 i netatalk przy udostępnianiu zasobów.
671 Summary: VFS module to add recycle bin facility to a samba share
672 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
673 Group: Networking/Daemons
674 Requires: %{name} = %{epoch}:%{version}-%{release}
676 %description vfs-recycle
677 VFS module to add recycle bin facility to a samba share.
679 %description vfs-recycle -l pl.UTF-8
680 Moduł VFS dodający możliwość kosza do zasobu samby.
682 %package vfs-readahead
683 Summary: VFS module for pre-loading the kernel buffer cache
684 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
685 Group: Networking/Daemons
686 Requires: %{name} = %{epoch}:%{version}-%{release}
688 %description vfs-readahead
689 This VFS module detects read requests at multiples of a given offset
690 (hex 0x80000 by default) and then tells the kernel via either the
691 readahead system call (on Linux) or the posix_fadvise system call to
692 pre-fetch this data into the buffer cache.
694 This module is useful for Windows Vista clients reading data using the
695 Windows Explorer program, which asynchronously does multiple file read
696 requests at offset boundaries of 0x80000 bytes.
698 %description vfs-readahead -l pl.UTF-8
699 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
700 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
701 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
702 wczesnego odczytu tych danych do bufora cache.
704 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
705 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
706 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
709 %package vfs-readonly
710 Summary: VFS module for read-only limitation for specified share
711 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
712 Group: Networking/Daemons
713 Requires: %{name} = %{epoch}:%{version}-%{release}
715 %description vfs-readonly
716 This module performs a read-only limitation for specified share (or
717 all of them if it is loaded in a [global] section) based on period
718 definition in smb.conf.
720 %description vfs-readonly -l pl.UTF-8
721 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
722 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
723 oparciu o definicje okresów w smb.conf.
725 %package vfs-shadow_copy
726 Summary: VFS module to make automatic copy of data in samba share
727 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
728 Group: Networking/Daemons
729 Requires: %{name} = %{epoch}:%{version}-%{release}
731 %description vfs-shadow_copy
732 VFS module to make automatic copy of data in samba share.
734 %description vfs-shadow_copy -l pl.UTF-8
735 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
737 %package vfs-vscan-antivir
738 Summary: On-access virus scanning for samba using AntiVir
739 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
740 Group: Networking/Daemons
741 Requires: %{name} = %{epoch}:%{version}-%{release}
742 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
744 %description vfs-vscan-antivir
745 A vfs-module for samba to implement on-access scanning using the
746 AntiVir antivirus software (which must be installed to use this).
748 %description vfs-vscan-antivir -l pl.UTF-8
749 Moduł vfs do samby implementujący skaning antywirusowy w czasie
750 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
751 (które musi być zainstalowane, aby wykorzystać ten moduł).
753 %package vfs-vscan-clamav
754 Summary: On-access virus scanning for samba using ClamAV
755 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
756 Group: Networking/Daemons
757 Requires: %{name} = %{epoch}:%{version}-%{release}
759 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
761 %description vfs-vscan-clamav
762 A vfs-module for samba to implement on-access scanning using the
763 ClamAV antivirus software (which must be installed to use this).
765 %description vfs-vscan-clamav -l pl.UTF-8
766 Moduł vfs do samby implementujący skaning antywirusowy w czasie
767 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
768 (które musi być zainstalowane, aby wykorzystać ten moduł).
770 %package vfs-vscan-fprot
771 Summary: On-access virus scanning for samba using FPROT
772 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
773 Group: Networking/Daemons
774 Requires: %{name} = %{epoch}:%{version}-%{release}
775 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
776 Obsoletes: vscan-fprot
778 %description vfs-vscan-fprot
779 A vfs-module for samba to implement on-access scanning using the FPROT
780 antivirus software (which must be installed to use this).
782 %description vfs-vscan-fprot -l pl.UTF-8
783 Moduł vfs do samby implementujący skaning antywirusowy w czasie
784 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
785 (które musi być zainstalowane, aby wykorzystać ten moduł).
787 %package vfs-vscan-fsav
788 Summary: On-access virus scanning for samba using F-Secure AntiVirus
789 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
790 Group: Networking/Daemons
791 Requires: %{name} = %{epoch}:%{version}-%{release}
792 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
793 Obsoletes: vscan-fsav
795 %description vfs-vscan-fsav
796 A vfs-module for samba to implement on-access scanning using the
797 F-Secure AntiVirus antivirus software (which must be installed to use
800 %description vfs-vscan-fsav -l pl.UTF-8
801 Moduł vfs do samby implementujący skaning antywirusowy w czasie
802 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
803 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
805 %package vfs-vscan-kavp
806 Summary: On-access virus scanning for samba using Kaspersky AVP
807 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
808 Group: Networking/Daemons
809 Requires: %{name} = %{epoch}:%{version}-%{release}
810 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
811 Obsoletes: vscan-kavp
813 %description vfs-vscan-kavp
814 A vfs-module for samba to implement on-access scanning using the
815 Kaspersky AVP antivirus software (which must be installed to use
818 %description vfs-vscan-kavp -l pl.UTF-8
819 Moduł vfs do samby implementujący skaning antywirusowy w czasie
820 dostępu do plików korzystając z oprogramowania antywirusowego
821 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
824 %package vfs-vscan-mcafee
825 Summary: On-access virus scanning for samba using mcafee
826 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
827 Group: Networking/Daemons
828 Requires: %{name} = %{epoch}:%{version}-%{release}
830 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
831 Obsoletes: vscan-mcafee
833 %description vfs-vscan-mcafee
834 A vfs-module for samba to implement on-access scanning using the
835 mcafee antivirus software (which must be installed to use this).
837 %description vfs-vscan-mcafee -l pl.UTF-8
838 Moduł vfs do samby implementujący skaning antywirusowy w czasie
839 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
840 (które musi być zainstalowane, aby wykorzystać ten moduł).
842 %package vfs-vscan-mks
843 Summary: On-access virus scanning for samba using mks
844 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
845 Group: Networking/Daemons
846 Requires: %{name} = %{epoch}:%{version}-%{release}
848 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
851 %description vfs-vscan-mks
852 A vfs-module for samba to implement on-access scanning using the mks
853 antivirus software (which must be installed to use this).
855 %description vfs-vscan-mks -l pl.UTF-8
856 Moduł vfs do samby implementujący skaning antywirusowy w czasie
857 dostępu do plików korzystając z oprogramowania antywirusowego mks
858 (które musi być zainstalowane, aby wykorzystać ten moduł).
860 %package vfs-vscan-openantivirus
861 Summary: On-access virus scanning for samba using OpenAntivirus
862 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
863 Group: Networking/Daemons
864 Requires: %{name} = %{epoch}:%{version}-%{release}
865 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
866 Obsoletes: vscan-openantivirus
868 %description vfs-vscan-openantivirus
869 A vfs-module for samba to implement on-access scanning using the
870 OpenAntivirus antivirus software (which must be installed to use
873 %description vfs-vscan-openantivirus -l pl.UTF-8
874 Moduł vfs do samby implementujący skaning antywirusowy w czasie
875 dostępu do plików korzystając z oprogramowania antywirusowego
876 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
879 %package vfs-vscan-sophos
880 Summary: On-access virus scanning for samba using Sophos
881 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
882 Group: Networking/Daemons
883 Requires: %{name} = %{epoch}:%{version}-%{release}
884 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
885 Obsoletes: vscan-sophos
887 %description vfs-vscan-sophos
888 A vfs-module for samba to implement on-access scanning using the
889 Sophos antivirus software (which must be installed to use this).
891 %description vfs-vscan-sophos -l pl.UTF-8
892 Moduł vfs do samby implementujący skaning antywirusowy w czasie
893 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
894 (które musi być zainstalowane, aby wykorzystać ten moduł).
896 %package vfs-vscan-symantec
897 Summary: On-access virus scanning for samba using Symantec
898 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
899 Group: Networking/Daemons
900 Requires: %{name} = %{epoch}:%{version}-%{release}
901 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
902 Obsoletes: vscan-symantec
904 %description vfs-vscan-symantec
905 A vfs-module for samba to implement on-access scanning using the
906 Symantec antivirus software (which must be installed to use this).
908 %description vfs-vscan-symantec -l pl.UTF-8
909 Moduł vfs do samby implementujący skaning antywirusowy w czasie
910 dostępu do plików korzystając z oprogramowania antywirusowego firmy
911 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
913 %package vfs-vscan-trend
914 Summary: On-access virus scanning for samba using Trend
915 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
916 Group: Networking/Daemons
917 Requires: %{name} = %{epoch}:%{version}-%{release}
918 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
919 Obsoletes: vscan-trend
921 %description vfs-vscan-trend
922 A vfs-module for samba to implement on-access scanning using the Trend
923 antivirus software (which must be installed to use this).
925 %description vfs-vscan-trend -l pl.UTF-8
926 Moduł vfs do samby implementujący skaning antywirusowy w czasie
927 dostępu do plików korzystając z oprogramowania antywirusowego Trend
928 (które musi być zainstalowane, aby wykorzystać ten moduł).
930 %package -n openldap-schema-samba
931 Summary: Samba LDAP schema
932 Summary(pl.UTF-8): Schemat LDAP dla samby
933 Group: Networking/Daemons
934 Requires(post,postun): sed >= 4.0
935 Requires: openldap-servers
937 %description -n openldap-schema-samba
938 This package contains samba.schema for openldap.
940 %description -n openldap-schema-samba -l pl.UTF-8
941 Ten pakiet zawiera schemat samby dla openldap-a.
944 Summary: Samba HTML documentation
945 Summary(pl.UTF-8): Documentacja samby w formacie HTML
948 %description doc-html
949 Samba HTML documentation.
951 %description doc-html -l pl.UTF-8
952 Documentacja samby w formacie HTML.
955 Summary: Samba documentation - PDF format
956 Summary(pl.UTF-8): Documentacja samby w formacie PDF
960 Samba PDF documentation.
962 %description doc-pdf -l pl.UTF-8
963 Documentacja samby w formacie PDF.
965 %package -n python-samba
966 Summary: Samba Module for Python
967 Group: Development/Languages/Python
968 %pyrequires_eq python
969 Requires: %{name}-common = %{epoch}:%{version}-%{release}
971 %description -n python-samba
972 Samba Module for Python.
984 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
991 install %{SOURCE10} source4/heimdal/lib/wind/rfc3454.txt
996 %{__autoconf} -Im4 -I../m4 -I../lib/replace -Ilib/replace -I../source4
998 --with-modulesdir=%{_sambalibdir} \
999 --with-rootsbindir=/sbin \
1000 --with-pammodulesdir=/%{_lib}/security \
1001 --with-acl-support \
1002 --with-aio-support \
1004 --with-libsmbclient \
1005 --with-lockdir=/var/lib/samba \
1007 --with-pam_smbpass \
1008 --with%{!?with_ads:out}-ads \
1009 --with-privatedir=%{_sysconfdir}/samba \
1012 --with-swatdir=%{_datadir}/swat \
1016 --without-included-popt \
1017 --enable-merged-build \
1018 --enable-automatic-dependencies \
1022 --with%{!?with_ldap:out}-ldap \
1023 --with%{!?with_kerberos5:out}-krb5
1025 %{__make} -j1 everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
1028 %{__make} -C libsmbclient/smbwrapper \
1030 CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1036 CFLAGS="%{rpmcflags} -fPIC"
1040 cd samba-vscan-%{vscan_version}
1041 cp -f /usr/share/automake/config.sub .
1043 ln -s ../../../source3/lib .
1048 rm -rf $RPM_BUILD_ROOT
1049 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1050 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1051 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1052 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1054 %{__make} -C source3 install \
1055 DESTDIR=$RPM_BUILD_ROOT \
1056 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1058 install source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1060 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1061 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1062 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1063 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1064 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1065 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1066 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1067 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1069 install nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1070 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1071 install nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1072 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1073 install source3/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1074 install source3/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1075 install source3/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1077 install source3/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1080 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1081 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1082 install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1084 # these are needed to build samba-pdbsql
1085 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1086 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1087 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1088 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1092 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1093 install examples/VFS/samba-vscan-%{vscan_version}/{antivir,clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
1096 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1098 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1101 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1102 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1105 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1106 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1108 # we have this utility in tdb package
1109 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdb{backup,dump}*,%{_mandir}/man8/tdb{backup,dump}.8*}
1112 rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
1115 rm -r $RPM_BUILD_ROOT%{_bindir}/{gentest4,locktest4,masktest4,nsstest4}
1117 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1118 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool4 $RPM_BUILD_ROOT%{_bindir}/tdbtool4_samba
1121 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1124 %find_lang pam_winbind
1126 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1127 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
1128 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1131 rm -rf $RPM_BUILD_ROOT
1134 /sbin/chkconfig --add smb
1135 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1136 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1137 /sbin/service smb stop >&2
1138 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1139 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1140 if [ -d /var/lock/samba/printing ]; then
1141 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1143 /sbin/service smb start >&2
1145 %service smb restart "Samba daemons"
1149 if [ "$1" = "0" ]; then
1151 /sbin/chkconfig --del smb
1155 /sbin/chkconfig --add winbind
1156 %service winbind restart "Winbind daemon"
1159 if [ "$1" = "0" ]; then
1160 %service winbind stop
1161 /sbin/chkconfig --del winbind
1165 %service -q rc-inetd reload
1168 if [ "$1" = 0 ]; then
1169 %service -q rc-inetd reload
1172 %post -n openldap-schema-samba
1173 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1174 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1175 %service -q ldap restart
1177 %postun -n openldap-schema-samba
1178 if [ "$1" = "0" ]; then
1179 %openldap_schema_unregister %{schemadir}/samba.schema
1180 %service -q ldap restart
1183 %triggerpostun -- samba < 1.9.18p7
1184 if [ "$1" != "0" ]; then
1185 /sbin/chkconfig --add smb
1188 %triggerpostun -- samba < 3.4.0
1189 %banner %{name} << EOF
1190 !!! WARNING !!! The default passdb backend has been changed to 'tdbsam'!
1191 That breaks existing setups using the 'smbpasswd' backend without explicit declaration!
1192 Please use 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
1193 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e tdbsam'.
1197 %defattr(644,root,root,755)
1198 %attr(755,root,root) %{_sbindir}/nmbd
1199 %attr(755,root,root) %{_sbindir}/smbd
1200 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1201 %attr(755,root,root) %{_bindir}/ad2oLschema4
1202 %attr(755,root,root) %{_bindir}/oLschema2ldif4
1203 %attr(755,root,root) %{_bindir}/ldb*
1204 %attr(755,root,root) %{_bindir}/reg*
1205 # "This utility disabled until rewritten"
1206 #%attr(755,root,root) %{_bindir}/setnttoken4
1207 %attr(755,root,root) %{_bindir}/smbstatus
1208 %attr(755,root,root) %{_bindir}/smbpasswd
1209 %attr(755,root,root) %{_bindir}/smbcontrol
1210 %attr(755,root,root) %{_bindir}/tdbtool_samba
1212 %dir %{_libdir}/%{name}/pdb
1214 %attr(755,root,root) %{_vfsdir}/acl_tdb.so
1215 %attr(755,root,root) %{_vfsdir}/acl_xattr.so
1216 %attr(755,root,root) %{_vfsdir}/aio_fork.so
1217 %attr(755,root,root) %{_vfsdir}/dirsort.so
1218 %attr(755,root,root) %{_vfsdir}/fileid.so
1219 %attr(755,root,root) %{_vfsdir}/preopen.so
1220 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1221 %attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1222 %attr(755,root,root) %{_vfsdir}/streams_depot.so
1223 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1224 %attr(755,root,root) %{_vfsdir}/syncops.so
1225 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1226 %{_mandir}/man8/vfs_acl_tdb.8*
1227 %{_mandir}/man8/vfs_acl_xattr.8*
1228 %{_mandir}/man8/vfs_dirsort.8*
1229 %{_mandir}/man8/vfs_fileid.8*
1230 %{_mandir}/man8/vfs_preopen.8*
1231 %{_mandir}/man8/vfs_shadow_copy2.8*
1232 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1233 %{_mandir}/man8/vfs_streams_xattr.8*
1234 %{_mandir}/man8/vfs_streams_depot.8*
1235 %{_mandir}/man8/vfs_xattr_tdb.8*
1238 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1239 %attr(754,root,root) /etc/rc.d/init.d/smb
1240 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1241 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1242 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1243 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1244 %{_mandir}/man1/ldb*.1*
1245 %{_mandir}/man1/log2pcap.1*
1246 %{_mandir}/man1/smbstatus.1*
1247 %{_mandir}/man1/smbcontrol.1*
1248 %{_mandir}/man5/smbpasswd.5*
1249 %{_mandir}/man7/samba.7*
1250 %{_mandir}/man8/nmbd.8*
1251 %{_mandir}/man8/smbd.8*
1252 %{_mandir}/man8/smbpasswd.8*
1256 %ghost /var/lib/samba/*.dat
1257 %dir /var/lib/samba/printing
1259 %attr(750,root,root) %dir /var/log/samba
1260 %attr(750,root,root) %dir /var/log/samba/cores
1261 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1262 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1263 %attr(750,root,root) %dir /var/log/archive/samba
1264 %attr(1777,root,root) %dir /var/spool/samba
1269 %files winbind -f pam_winbind.lang
1270 %defattr(644,root,root,755)
1271 %attr(755,root,root) %{_sbindir}/winbindd
1272 %attr(755,root,root) %{_bindir}/wbinfo
1273 %attr(755,root,root) %{_bindir}/wbinfo4
1274 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1275 %attr(755,root,root) /%{_lib}/libnss_winbind*
1276 %attr(754,root,root) /etc/rc.d/init.d/winbind
1277 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1278 %{_mandir}/man1/wbinfo*.1*
1279 %{_mandir}/man8/pam_winbind.8*
1280 %{_mandir}/man8/winbindd*.8*
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) /%{_lib}/libnss_wins*
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) /sbin/mount.cifs
1289 %attr(755,root,root) /sbin/umount.cifs
1290 %attr(755,root,root) %{_bindir}/cifsdd4
1291 %attr(755,root,root) %{_bindir}/findsmb
1292 %attr(755,root,root) %{_bindir}/net
1293 %attr(755,root,root) %{_bindir}/net4
1294 %attr(755,root,root) %{_bindir}/nmblookup
1295 %attr(755,root,root) %{_bindir}/nmblookup4
1296 %attr(755,root,root) %{_bindir}/rpcclient
1297 %attr(755,root,root) %{_bindir}/sharesec
1298 %attr(755,root,root) %{_bindir}/smbcacls
1299 %attr(755,root,root) %{_bindir}/smbclient
1300 %attr(755,root,root) %{_bindir}/smbclient4
1301 %attr(755,root,root) %{_bindir}/smbsh
1302 %attr(755,root,root) %{_bindir}/smbtar
1303 %attr(755,root,root) %{_bindir}/smbtree
1304 %attr(755,root,root) %{_sbindir}/cifs.upcall
1305 %attr(755,root,root) %{_libdir}/smbwrapper.so
1306 %{_mandir}/man1/findsmb.1*
1307 %{_mandir}/man1/nmblookup.1*
1308 %{_mandir}/man1/rpcclient.1*
1309 %{_mandir}/man1/sharesec.1*
1310 %{_mandir}/man1/smbcacls.1*
1311 %{_mandir}/man1/smbclient.1*
1312 %{_mandir}/man1/smbsh.1*
1313 %{_mandir}/man1/smbtar.1*
1314 %{_mandir}/man1/smbtree.1*
1315 %{_mandir}/man8/cifs.upcall.8*
1316 %{_mandir}/man8/net.8*
1317 %{_mandir}/man8/*mount.cifs.8*
1320 %defattr(644,root,root,755)
1321 %doc README Manifest WHATSNEW.txt
1322 %doc Roadmap docs/registry/*
1323 %doc docs/{history,THANKS}
1324 %dir %{_sysconfdir}/samba
1325 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1326 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1327 %attr(755,root,root) %{_bindir}/eventlogadm
1328 %attr(755,root,root) %{_bindir}/getntacl4
1329 %attr(755,root,root) %{_bindir}/ndrdump4
1330 %attr(755,root,root) %{_bindir}/ntlm_auth
1331 %attr(755,root,root) %{_bindir}/ntlm_auth4
1332 %attr(755,root,root) %{_bindir}/pdbedit
1333 %attr(755,root,root) %{_bindir}/profiles
1334 %attr(755,root,root) %{_bindir}/smbcquotas
1335 %attr(755,root,root) %{_bindir}/testparm
1336 %attr(755,root,root) %{_bindir}/testparm4
1337 %attr(755,root,root) %{_bindir}/vfstest
1338 %dir %{_libdir}/%{name}
1339 %{_libdir}/%{name}/*.dat
1340 %dir %{_libdir}/%{name}/auth
1341 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1342 %dir %{_libdir}/%{name}/charset
1343 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1344 %{_mandir}/man1/ntlm_auth.1*
1345 %{_mandir}/man1/profiles.1*
1346 %{_mandir}/man1/smbcquotas.1*
1347 %{_mandir}/man1/testparm.1*
1348 %{_mandir}/man1/vfstest.1*
1349 #%{_mandir}/man1/log2pcap.1*
1350 %{_mandir}/man5/lmhosts.5*
1351 %{_mandir}/man5/smb.conf.5*
1352 %{_mandir}/man8/pdbedit.8*
1353 %{_mandir}/man8/eventlogadm.8*
1354 %{_mandir}/man8/idmap_ad.8*
1355 %{_mandir}/man8/idmap_adex.8*
1356 %{_mandir}/man8/idmap_hash.8*
1357 %{_mandir}/man8/idmap_ldap.8*
1358 %{_mandir}/man8/idmap_nss.8*
1359 %{_mandir}/man8/idmap_rid.8*
1360 %{_mandir}/man8/idmap_tdb.8*
1361 %{_mandir}/man8/idmap_tdb2.8*
1362 %{_mandir}/man8/tdbtool.8*
1365 %defattr(644,root,root,755)
1366 #%doc swat/README* swat/help/*
1368 %attr(755,root,root) %{_sbindir}/swat
1369 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1370 %dir %{_datadir}/swat
1371 %{_datadir}/swat/help
1372 %{_datadir}/swat/images
1373 %{_datadir}/swat/include
1374 %dir %{_datadir}/swat/lang
1375 %lang(ja) %{_datadir}/swat/lang/ja
1376 %lang(tr) %{_datadir}/swat/lang/tr
1377 %lang(de) %{_libdir}/%{name}/de.msg
1378 %{_libdir}/%{name}/en.msg
1379 %lang(fi) %{_libdir}/%{name}/fi.msg
1380 %lang(fr) %{_libdir}/%{name}/fr.msg
1381 %lang(it) %{_libdir}/%{name}/it.msg
1382 %lang(ja) %{_libdir}/%{name}/ja.msg
1383 %lang(nl) %{_libdir}/%{name}/nl.msg
1384 %lang(pl) %{_libdir}/%{name}/pl.msg
1385 %lang(ru) %{_libdir}/%{name}/ru.msg
1386 %lang(tr) %{_libdir}/%{name}/tr.msg
1387 %{_mandir}/man8/swat.8*
1389 %files -n pam-pam_smbpass
1390 %defattr(644,root,root,755)
1391 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1392 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1394 %files -n libsmbclient
1395 %defattr(644,root,root,755)
1396 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1397 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1398 %{_mandir}/man7/libsmbclient.7*
1400 %files -n libsmbclient-devel
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/libsmbclient.so
1403 %attr(755,root,root) %{_libdir}/libwbclient.so
1404 %{_includedir}/libsmbclient.h
1405 %{_includedir}/wbclient.h
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1411 %files -n libtalloc-devel
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_libdir}/libtalloc.so
1414 %{_includedir}/talloc.h
1417 %defattr(644,root,root,755)
1418 %{_includedir}/%{name}
1420 %files -n libsmbclient-static
1421 %defattr(644,root,root,755)
1422 %{_libdir}/libsmbclient.a
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_bindir}/smbget
1427 %{_mandir}/man1/smbget.1*
1428 %{_mandir}/man5/smbgetrc.5*
1431 %files -n cups-backend-smb
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_bindir}/smbspool
1434 %attr(755,root,root) %{cups_serverbin}/backend/smb
1435 %{_mandir}/man8/smbspool.8*
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_vfsdir}/audit.so
1441 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1442 %attr(755,root,root) %{_vfsdir}/full_audit.so
1443 %{_mandir}/man8/vfs_audit.8*
1444 %{_mandir}/man8/vfs_extd_audit.8*
1445 %{_mandir}/man8/vfs_full_audit.8*
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{_vfsdir}/cap.so
1450 %{_mandir}/man8/vfs_cap.8*
1452 %files vfs-default_quota
1453 %defattr(644,root,root,755)
1454 %attr(755,root,root) %{_vfsdir}/default_quota.so
1455 %{_mandir}/man8/vfs_default_quota.8*
1457 %files vfs-expand_msdfs
1458 %defattr(644,root,root,755)
1459 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1461 %files vfs-fake_perms
1462 %defattr(644,root,root,755)
1463 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1464 %{_mandir}/man8/vfs_fake_perms.8*
1466 %files vfs-notify_fam
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1469 %{_mandir}/man8/vfs_notify_fam.8*
1472 %defattr(644,root,root,755)
1473 %attr(755,root,root) %{_vfsdir}/netatalk.so
1474 %{_mandir}/man8/vfs_netatalk.8*
1476 %files vfs-readahead
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_vfsdir}/readahead.so
1479 %{_mandir}/man8/vfs_readahead.8*
1482 %defattr(644,root,root,755)
1483 %attr(755,root,root) %{_vfsdir}/readonly.so
1484 %{_mandir}/man8/vfs_readonly.8*
1487 %defattr(644,root,root,755)
1488 %attr(755,root,root) %{_vfsdir}/recycle.so
1489 %{_mandir}/man8/vfs_recycle.8*
1491 %files vfs-shadow_copy
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1494 %{_mandir}/man8/vfs_shadow_copy.8*
1497 %files vfs-vscan-antivir
1498 %defattr(644,root,root,755)
1499 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1500 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1501 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1503 %files vfs-vscan-clamav
1504 %defattr(644,root,root,755)
1505 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1506 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1507 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1509 %files vfs-vscan-fprot
1510 %defattr(644,root,root,755)
1511 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1512 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1513 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1515 %files vfs-vscan-fsav
1516 %defattr(644,root,root,755)
1517 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1518 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1519 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1521 %files vfs-vscan-kavp
1522 %defattr(644,root,root,755)
1523 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1525 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1527 %files vfs-vscan-mcafee
1528 %defattr(644,root,root,755)
1529 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1531 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1534 %ifarch %{ix86} %{x8664}
1535 %files vfs-vscan-mks
1536 %defattr(644,root,root,755)
1537 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1538 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1539 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1543 %files vfs-vscan-openantivirus
1544 %defattr(644,root,root,755)
1545 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1546 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1547 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1549 %files vfs-vscan-sophos
1550 %defattr(644,root,root,755)
1551 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1552 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1553 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1555 %files vfs-vscan-symantec
1556 %defattr(644,root,root,755)
1557 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1558 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1559 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1561 %files vfs-vscan-trend
1562 %defattr(644,root,root,755)
1563 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1564 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1565 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1569 %files -n openldap-schema-samba
1570 %defattr(644,root,root,755)
1571 %{schemadir}/*.schema
1575 %defattr(644,root,root,755)
1576 %doc docs/htmldocs/*
1579 %defattr(644,root,root,755)
1583 %files -n python-samba
1584 %defattr(644,root,root,755)
1585 %attr(755,root,root) %{py_sitedir}/*.so
1586 %dir %{py_sitedir}/samba
1587 %attr(755,root,root) %{py_sitedir}/samba/*.so
1588 %{py_sitedir}/samba/*.py[co]
1589 %dir %{py_sitedir}/samba/dcerpc
1590 %{py_sitedir}/samba/dcerpc/*.py[co]
1591 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1592 %dir %{py_sitedir}/samba/tests
1593 %{py_sitedir}/samba/tests/*.py[co]
1594 %dir %{py_sitedir}/samba/tests/dcerpc
1595 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1596 %dir %{py_sitedir}/samba/torture
1597 %{py_sitedir}/samba/torture/*.py[co]