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?
17 # - remove vscan - project is dead - samba 3.5 will have vfs_scannedonly
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_without merged_build # without samba3+samba4 merge
28 # http://wiki.samba.org/index.php/Franky
29 %bcond_with mks # with vfs-mks (mksd dependency not distributale)
32 # ADS requires kerberos5 and LDAP
33 %if %{without kerberos5} || %{without ldap}
37 %define vscan_version 0.3.6c-beta5
39 Summary(cs.UTF-8): Server SMB
40 Summary(da.UTF-8): SMB server
41 Summary(de.UTF-8): SMB-Server
42 Summary(es.UTF-8): El servidor SMB
43 Summary(fi.UTF-8): SMB-palvelin
44 Summary(fr.UTF-8): Serveur SMB
45 Summary(it.UTF-8): Server SMB
46 Summary(ja.UTF-8): Samba SMB サーバー
47 Summary(ko.UTF-8): 삼바 SMB 서버
48 Summary(pl.UTF-8): Serwer SMB
49 Summary(pt_BR.UTF-8): Cliente e servidor SMB
50 Summary(ru.UTF-8): SMB клиент и сервер
51 Summary(tr.UTF-8): SMB sunucusu
52 Summary(uk.UTF-8): SMB клієнт та сервер
53 Summary(zh_CN.UTF-8): Samba 客户端和服务器
59 Group: Networking/Daemons
60 Source0: http://www.samba.org/samba/ftp/stable/%{name}-%{version}.tar.gz
61 # Source0-md5: 7c8d2a34b649380d5df838c3e030dbec
65 Source4: %{name}.sysconfig
66 Source5: %{name}.logrotate
68 Source7: http://www.openantivirus.org/download/%{name}-vscan-%{vscan_version}.tar.gz
69 # Source7-md5: 8f1dd119172e04e6d7c2d05526a4cf8b
71 Source9: winbind.sysconfig
72 Source10: %{name}-rfc3454.txt
73 Patch0: %{name}-smbwrapper.patch
74 Patch1: %{name}-c++-nofail.patch
75 Patch2: %{name}-pthread.patch
76 Patch3: %{name}-nscd.patch
77 Patch4: %{name}-lprng-no-dot-printers.patch
78 Patch5: %{name}-passdb-smbpasswd.patch
79 URL: http://www.samba.org/
80 BuildRequires: acl-devel
81 BuildRequires: autoconf
82 BuildRequires: automake
83 %{?with_avahi:BuildRequires: avahi-devel}
84 BuildRequires: ctdb-devel
85 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
86 BuildRequires: dmapi-devel
87 BuildRequires: fam-devel
88 BuildRequires: gdbm-devel
89 BuildRequires: gettext-devel
90 %{?with_kerberos5:BuildRequires: heimdal-devel}
92 BuildRequires: keyutils-devel
93 BuildRequires: libmagic-devel
94 BuildRequires: libnscd-devel
95 BuildRequires: libtool >= 2:1.4d
96 BuildRequires: make >= 3.81
97 BuildRequires: ncurses-devel >= 5.2
98 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
99 BuildRequires: openssl-devel >= 0.9.7d
100 BuildRequires: pam-devel >= 0.99.8.1
101 BuildRequires: pkgconfig
102 BuildRequires: popt-devel
103 %{?with_pgsql:BuildRequires: postgresql-devel}
104 BuildRequires: python-devel
105 BuildRequires: python-modules
106 BuildRequires: readline-devel >= 4.2
107 BuildRequires: rpmbuild(macros) >= 1.304
108 BuildRequires: sed >= 4.0
109 BuildRequires: xfsprogs-devel
110 Requires(post,preun): /sbin/chkconfig
111 Requires: %{name}-common = %{epoch}:%{version}-%{release}
112 Requires: logrotate >= 3.7-4
113 Requires: pam >= 0.99.8.1
115 Requires: setup >= 2.4.6-7
116 # smbd links with libcups
117 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
118 Obsoletes: python-samba
119 Obsoletes: samba-pdb-xml
120 Obsoletes: samba-vfs-block
121 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
123 %define _vfsdir %{_libdir}/%{name}/vfs
124 %define _sambahome /home/services/samba
125 %define _sambalibdir %{_libdir}/%{name}
127 %define cups_serverbin %{_prefix}/lib/cups
129 %define schemadir /usr/share/openldap/schema
131 # CFLAGS modified (the second ./configure)
132 %undefine configure_cache
135 Samba provides an SMB server which can be used to provide network
136 services to SMB (sometimes called "Lan Manager") clients, including
137 various versions of MS Windows, OS/2, and other Linux machines. Samba
138 also provides some SMB clients, which complement the built-in SMB
139 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
140 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
142 This release is known as the "Locking Update" and has full support for
143 Opportunistic File Locking. In addition this update includes native
144 support for Microsoft encrypted passwords, improved browse list and
145 WINS database management.
147 Please refer to the WHATSNEW.txt document for fixup information. This
148 binary release includes encrypted password support. Please read the
149 smb.conf file for implementation details.
151 %description -l cs.UTF-8
152 Samba poskytuje server SMB, který lze použít pro poskytování síťových
153 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
154 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
155 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
156 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
157 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
158 NetBIOS od společnosti Microsoft.
160 %description -l da.UTF-8
161 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
162 services til SMB (også kaldet "Lan Manager") klienter, incl.
163 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
164 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
165 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
166 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
169 %description -l de.UTF-8
170 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
171 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
172 verschiedenen Versionen von MS Windows-, OS/2- und anderen
173 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
174 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
175 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
176 (Microsoft Raw NetBIOS frame)-Protokoll.
178 %description -l es.UTF-8
179 Samba provee un servidor SMB que se puede usar para ofrecer servicios
180 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
181 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
182 Linux. Samba también ofrece algunos clientes SMB, que complementan el
183 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
184 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
187 %description -l fi.UTF-8
188 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
189 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
190 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
191 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
192 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
193 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
194 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
197 %description -l it.UTF-8
198 Samba fornisce un server SMB che puo` essere usato per fornire servizi
199 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
200 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
201 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
203 %description -l ja.UTF-8
204 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
205 を含む SMB (たまに "Lan Manager" と呼ばれる)
206 クライアントにネットワーク サービスを提供するために使用される SMB
207 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
208 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
211 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
212 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
213 新しい SWAT (Samba Web Administration Tool) を含みます。
214 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
216 %description -l ko.UTF-8
217 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
218 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
219 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
220 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
223 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
224 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
225 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
228 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
229 릴리즈는 암호화된 패스워드를 제공한다.
231 %description -l pl.UTF-8
232 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
233 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
234 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
235 znajduje się również oprogramowanie klienckie. Samba używa protokołu
236 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
237 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
238 haseł w standardzie MS i zarządzania bazą WINS.
240 %description -l pt_BR.UTF-8
241 O Samba provê um servidor SMB que pode ser usado para oferecer
242 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
243 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
244 máquinas Linux. O Samba também fornece alguns clientes SMB, que
245 complementam o sistema de arquivos SMB do Linux. O Samba usa o
246 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
247 NetBEUI (Microsoft Raw NetBIOS frame).
249 O Samba inclui a maioria das características de um servidor de
250 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
251 permite que o arquivo smb.conf seja gerenciado remotamente através de
252 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
255 %description -l ru.UTF-8
256 Samba предоставляет SMB-сервер, который может быть использован для
257 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
258 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
259 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
260 со встроенной в Linux файловой системой SMB.
262 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
263 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
265 Samba содержит практически работающую реализацию NT Domain Control и
266 включает новый SWAT (Samba Web Administration Tool), который позволяет
267 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
268 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
271 %description -l uk.UTF-8
272 Samba надає SMB-сервер, що може бути використаний для надання
273 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
274 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
275 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
276 файловою системою SMB.
278 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
279 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
281 Samba містить майже працюючу реализацію NT Domain Control та новый
282 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
283 керувати конфігураційним файлом smb.conf за допомогою вашого
284 улюбленого WEB-броузера. Поки що він дозволений через inetd на
288 Summary: Samba Web Administration Tool
289 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
290 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
291 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
292 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
293 Group: Networking/Admin
294 Requires: %{name} = %{epoch}:%{version}-%{release}
296 Requires: rc-inetd >= 0.8.2
300 swat allows a Samba administrator to configure the complex smb.conf
301 file via a Web browser. In addition, a swat configuration page has
302 help links to all the configurable options in the smb.conf file
303 allowing an administrator to easily look up the effects of any change.
305 %description swat -l pl.UTF-8
306 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
309 %description swat -l pt_BR.UTF-8
310 SWAT - ferramentada Web de configuração do Samba.
312 %description swat -l ru.UTF-8
313 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
314 для удаленного администрирования файла smb.conf при помощи вашего
315 любимого Web-браузера.
317 %description swat -l uk.UTF-8
318 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
319 для дистанційного адміністрування файлу smb.conf за допомогою вашого
320 улюбленого Web-браузеру.
323 Summary: Samba client programs
324 Summary(es.UTF-8): Cliente SMB de Samba
325 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
326 Summary(pl.UTF-8): Klienci serwera Samba
327 Summary(pt_BR.UTF-8): Cliente SMB do samba
328 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
329 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
330 Group: Applications/Networking
331 Requires: %{name}-common = %{epoch}:%{version}-%{release}
332 %{?with_kerberos5:Requires: heimdal-libs}
333 Requires: libsmbclient = %{epoch}:%{version}-%{release}
334 Obsoletes: mount-cifs
338 Samba-client provides some SMB clients, which complement the build-in
339 SMB filesystem in Linux. These allow accessing of SMB shares and
340 printing to SMB printers.
342 %description client -l pt_BR.UTF-8
343 O pacote samba-clientes prove alguns clientes SMB, que complementam o
344 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
345 e também, à impressoras SMB.
347 %description client -l es.UTF-8
348 Cliente SMB de Samba.
350 %description client -l ja.UTF-8
351 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
352 クライアントを提供します。これらは SMB 共有のアクセスと SMB
355 %description client -l pl.UTF-8
356 Samba-client dostarcza programy uzupełniające obsługę systemu plików
357 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
358 drukowanie w sieci SMB.
360 %description client -l pt_BR.UTF-8
361 O pacote samba-clientes prove alguns clientes SMB, que complementam o
362 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
363 e também, à impressoras SMB.
365 %description client -l ru.UTF-8
366 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
367 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
368 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
370 %description client -l uk.UTF-8
371 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
372 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
373 до каталогів спільного використання SMB та друк на SMB-прінтери.
376 Summary: Files used by both Samba servers and clients
377 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
378 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
379 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
380 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
381 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
382 Group: Networking/Daemons
383 Requires: libtalloc >= %{epoch}:%{version}-%{release}
384 Requires: tdb >= %{epoch}:%{version}-%{release}
387 Samba-common provides files necessary for both the server and client
390 %description common -l ja.UTF-8
391 Samba-common は Samba のサーバとクライアントの両方のパッケージで
394 %description common -l pl.UTF-8
395 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
398 %description common -l pt_BR.UTF-8
399 Arquivos em comum entre os pacotes samba e samba-clients.
401 %description common -l ru.UTF-8
402 Samba-common содержит файлы, необходимые для работы как клиента, так и
405 %description common -l uk.UTF-8
406 Samba-common містить файли, необхідні для роботи як клієнта, так і
410 Summary: Samba-winbind daemon, utilities and documentation
411 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
412 Group: Networking/Daemons
413 Requires(post,preun): /sbin/chkconfig
414 Requires: %{name}-common = %{epoch}:%{version}-%{release}
417 Provides the winbind daemon and testing tools to allow authentication
418 and group/user enumeration from a Windows or Samba domain controller.
420 %description winbind -l pl.UTF-8
421 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
422 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
426 Summary: Name Service Switch service for WINS
427 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
429 Requires: %{name}-common = %{epoch}:%{version}-%{release}
431 %description -n nss_wins
432 Provides the libnss_wins shared library which resolves NetBIOS names
435 %description -n nss_wins -l pl.UTF-8
436 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
439 %package -n pam-pam_smbpass
440 Summary: PAM Samba Password Module
441 Summary(pl.UTF-8): Moduł PAM smbpass
443 Obsoletes: pam_smbpass
445 %description -n pam-pam_smbpass
446 PAM module which can be used on conforming systems to keep the
447 smbpasswd (Samba password) database in sync with the Unix password
450 %description -n pam-pam_smbpass -l pl.UTF-8
451 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
452 Samby) zsynchronizowanego z hasłami uniksowymi.
454 %package -n libsmbclient
455 Summary: libsmbclient - samba client library
456 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
459 %description -n libsmbclient
460 libsmbclient - library that allows to use samba clients functions.
462 %description -n libsmbclient -l pl.UTF-8
463 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
466 %package -n libsmbclient-devel
467 Summary: libsmbclient - samba client library
468 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
469 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
470 Group: Development/Libraries
471 Requires: libsmbclient = %{epoch}:%{version}-%{release}
473 %description -n libsmbclient-devel
474 Header files for libsmbclient.
476 %description -n libsmbclient-devel -l pl.UTF-8
477 Pliki nagłówkowe dla libsmbclient.
479 %description -n libsmbclient-devel -l pt_BR.UTF-8
480 Arquivos de inclusão, bibliotecas e documentação necessários para
481 desenvolver aplicativos clientes para o samba.
483 %package -n libsmbclient-static
484 Summary: Static version of libsmbclient - samba client library
485 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
486 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
487 Group: Development/Libraries
488 Requires: libsmbclient = %{epoch}:%{version}-%{release}
490 %description -n libsmbclient-static
491 Static libsmbclient library.
493 %description -n libsmbclient-static -l pl.UTF-8
494 Statyczna biblioteka libsmbclient.
496 %package -n libtalloc
497 Summary: The talloc library
500 %description -n libtalloc
501 The talloc library from the Samba suite.
503 %package -n libtalloc-devel
504 Summary: Developer tools for the talloc library
505 Group: Development/Libraries
506 Requires: libtalloc = %{epoch}:%{version}-%{release}
508 %description -n libtalloc-devel
509 The libtalloc-devel package contains the header files and libraries
510 needed to develop programs that link against the talloc library in the
514 Summary: TDB - Trivial Database
515 Summary(pl.UTF-8): TDB - prosta baza danych
517 Obsoletes: tdb-extras
520 TDB is a Trivial Database. In concept, it is very much like GDBM, and
521 BSD's DB except that it allows multiple simultaneous writers and uses
522 locking internally to keep writers from trampling on each other. TDB
523 is also extremely small.
525 %description -n tdb -l pl.UTF-8
526 TDB to Trivial Database, czyli prosta baza danych. W założeniach jest
527 bardzo podobna do GDBM lub DB z BSD z wyjątkiem tego, że pozwala na
528 zapis wielu procesom jednocześnie i używa wewnętrznie blokowania, aby
529 nie pozwolić piszącym na zadeptanie się nawzajem. TDB jest ponadto
532 %package -n tdb-devel
533 Summary: Header files for TDB library
534 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki TDB
535 Group: Development/Libraries
536 Requires: tdb = %{epoch}:%{version}-%{release}
538 %description -n tdb-devel
539 Header files for TDB library.
541 %description -n tdb-devel -l pl.UTF-8
542 Pliki nagłówkowe biblioteki TDB.
545 Summary: Header files for Samba
546 Summary(pl.UTF-8): Pliki nagłówkowe Samby
547 Group: Development/Libraries
550 Header files for Samba.
552 %description devel -l pl.UTF-8
553 Pliki nagłówkowe Samby.
556 Summary: A utility for retrieving files using the SMB protocol
557 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
558 Group: Applications/Networking
560 %description -n smbget
561 wget-like utility for download files over SMB.
563 %description -n smbget -l pl.UTF-8
564 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
565 używanym w sieciach MS Windows.
567 %package -n cups-backend-smb
568 Summary: CUPS backend for printing to SMB printers
569 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
570 Group: Applications/Printing
571 Requires: %{name}-client = %{epoch}:%{version}-%{release}
572 Requires: cups >= 1:1.2.0
574 %description -n cups-backend-smb
575 CUPS backend for printing to SMB printers.
577 %description -n cups-backend-smb -l pl.UTF-8
578 Backend CUPS-a drukujący na drukarkach SMB.
581 Summary: VFS module to audit file access
582 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
583 Group: Networking/Daemons
584 Requires: %{name} = %{epoch}:%{version}-%{release}
586 %description vfs-audit
587 A simple module to audit file access to the syslog facility. The
588 following operations are logged:
589 - share connect/disconnect,
590 - directory opens/create/remove,
591 - file open/close/rename/unlink/chmod.
593 %description vfs-audit -l pl.UTF-8
594 Proste moduły do monitorowania dostępu do plików na serwerze samba do
595 do sysloga. Monitorowane są następujące operacje:
596 - podłączenie do/odłączenie od zasobu,
597 - otwarcie/utworzenie/zmiana nazwy katalogu,
598 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
600 Zawiera moduły audit, extd_audit i full_audit.
603 Summary: VFS module for CAP and samba compatibility
604 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
605 Group: Networking/Daemons
606 Requires: %{name} = %{epoch}:%{version}-%{release}
609 Convert an incoming Shift-JIS character to the 3 byte hex
610 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
611 This is used for compatibility between Samba and CAP.
613 %description vfs-cap -l pl.UTF-8
614 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
615 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
617 %package vfs-default_quota
618 Summary: VFS module to store default quotas in a specified quota record
619 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
620 Group: Networking/Daemons
621 Requires: %{name} = %{epoch}:%{version}-%{release}
623 %description vfs-default_quota
624 This VFS modules stores default quotas in a specified quota record.
626 %description vfs-default_quota -l pl.UTF-8
627 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
630 %package vfs-expand_msdfs
631 Summary: VFS module for hosting a Microsoft Distributed File System Tree
632 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
633 Group: Networking/Daemons
634 Requires: %{name} = %{epoch}:%{version}-%{release}
636 %description vfs-expand_msdfs
637 A VFS module for hosting a Microsoft Distributed File System Tree.
639 The Distributed File System (DFS) provides a means of separating the
640 logical view of files and directories that users see from the actual
641 physical locations of these resources on the network. It allows for
642 higher availability, smoother storage expansion, load balancing, and
645 %description vfs-expand_msdfs -l pl.UTF-8
646 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
649 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
650 plików i katalogów widocznych przez użytkowników z fizycznego
651 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
652 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
654 %package vfs-fake_perms
655 Summary: VFS module to report read-only fires as writable
656 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
657 Group: Networking/Daemons
658 Requires: %{name} = %{epoch}:%{version}-%{release}
660 %description vfs-fake_perms
661 This module allow Roaming Profile files and directories to be set (on
662 the Samba server under UNIX) as read only. This module will, if
663 installed on the Profiles share, report to the client that the Profile
664 files and directories are writeable. This satisfies the client even
665 though the files will never be overwritten as the client logs out or
668 %description vfs-fake_perms -l pl.UTF-8
669 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
670 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
671 przypadku zainstalowania na udziale z profilami będzie zgłaszał
672 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
673 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
674 lub wylogowywaniu klienta.
676 %package vfs-notify_fam
677 Summary: VFS module to implement file change notifications
678 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
679 Group: Networking/Daemons
680 Requires: %{name} = %{epoch}:%{version}-%{release}
682 %description vfs-notify_fam
683 The vfs_notify_fam module makes use of the system FAM (File Alteration
684 Monitor) daemon to implement file change notifications for Windows
687 %description vfs-notify_fam -l pl.UTF-8
688 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
689 informowania o zmianach w plikach dla klientów Windows.
691 %package vfs-netatalk
692 Summary: VFS module for ease co-existence of samba and netatalk
693 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
694 Group: Networking/Daemons
695 Requires: %{name} = %{epoch}:%{version}-%{release}
697 %description vfs-netatalk
698 Package contains a netatalk VFS module for ease co-existence of Samba
699 and netatalk file sharing services.
701 %description vfs-netatalk -l pl.UTF-8
702 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
703 i netatalk przy udostępnianiu zasobów.
706 Summary: VFS module to add recycle bin facility to a samba share
707 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
708 Group: Networking/Daemons
709 Requires: %{name} = %{epoch}:%{version}-%{release}
711 %description vfs-recycle
712 VFS module to add recycle bin facility to a samba share.
714 %description vfs-recycle -l pl.UTF-8
715 Moduł VFS dodający możliwość kosza do zasobu samby.
717 %package vfs-readahead
718 Summary: VFS module for pre-loading the kernel buffer cache
719 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
720 Group: Networking/Daemons
721 Requires: %{name} = %{epoch}:%{version}-%{release}
723 %description vfs-readahead
724 This VFS module detects read requests at multiples of a given offset
725 (hex 0x80000 by default) and then tells the kernel via either the
726 readahead system call (on Linux) or the posix_fadvise system call to
727 pre-fetch this data into the buffer cache.
729 This module is useful for Windows Vista clients reading data using the
730 Windows Explorer program, which asynchronously does multiple file read
731 requests at offset boundaries of 0x80000 bytes.
733 %description vfs-readahead -l pl.UTF-8
734 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
735 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
736 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
737 wczesnego odczytu tych danych do bufora cache.
739 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
740 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
741 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
744 %package vfs-readonly
745 Summary: VFS module for read-only limitation for specified share
746 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
747 Group: Networking/Daemons
748 Requires: %{name} = %{epoch}:%{version}-%{release}
750 %description vfs-readonly
751 This module performs a read-only limitation for specified share (or
752 all of them if it is loaded in a [global] section) based on period
753 definition in smb.conf.
755 %description vfs-readonly -l pl.UTF-8
756 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
757 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
758 oparciu o definicje okresów w smb.conf.
760 %package vfs-shadow_copy
761 Summary: VFS module to make automatic copy of data in samba share
762 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
763 Group: Networking/Daemons
764 Requires: %{name} = %{epoch}:%{version}-%{release}
766 %description vfs-shadow_copy
767 VFS module to make automatic copy of data in samba share.
769 %description vfs-shadow_copy -l pl.UTF-8
770 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
772 %package vfs-vscan-antivir
773 Summary: On-access virus scanning for samba using AntiVir
774 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
775 Group: Networking/Daemons
776 Requires: %{name} = %{epoch}:%{version}-%{release}
777 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
779 %description vfs-vscan-antivir
780 A vfs-module for samba to implement on-access scanning using the
781 AntiVir antivirus software (which must be installed to use this).
783 %description vfs-vscan-antivir -l pl.UTF-8
784 Moduł vfs do samby implementujący skaning antywirusowy w czasie
785 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
786 (które musi być zainstalowane, aby wykorzystać ten moduł).
788 %package vfs-vscan-clamav
789 Summary: On-access virus scanning for samba using ClamAV
790 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
791 Group: Networking/Daemons
792 Requires: %{name} = %{epoch}:%{version}-%{release}
794 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
796 %description vfs-vscan-clamav
797 A vfs-module for samba to implement on-access scanning using the
798 ClamAV antivirus software (which must be installed to use this).
800 %description vfs-vscan-clamav -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 ClamAV
803 (które musi być zainstalowane, aby wykorzystać ten moduł).
805 %package vfs-vscan-fprot
806 Summary: On-access virus scanning for samba using FPROT
807 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
808 Group: Networking/Daemons
809 Requires: %{name} = %{epoch}:%{version}-%{release}
810 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
811 Obsoletes: vscan-fprot
813 %description vfs-vscan-fprot
814 A vfs-module for samba to implement on-access scanning using the FPROT
815 antivirus software (which must be installed to use this).
817 %description vfs-vscan-fprot -l pl.UTF-8
818 Moduł vfs do samby implementujący skaning antywirusowy w czasie
819 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
820 (które musi być zainstalowane, aby wykorzystać ten moduł).
822 %package vfs-vscan-fsav
823 Summary: On-access virus scanning for samba using F-Secure AntiVirus
824 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
825 Group: Networking/Daemons
826 Requires: %{name} = %{epoch}:%{version}-%{release}
827 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
828 Obsoletes: vscan-fsav
830 %description vfs-vscan-fsav
831 A vfs-module for samba to implement on-access scanning using the
832 F-Secure AntiVirus antivirus software (which must be installed to use
835 %description vfs-vscan-fsav -l pl.UTF-8
836 Moduł vfs do samby implementujący skaning antywirusowy w czasie
837 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
838 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
840 %package vfs-vscan-kavp
841 Summary: On-access virus scanning for samba using Kaspersky AVP
842 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
843 Group: Networking/Daemons
844 Requires: %{name} = %{epoch}:%{version}-%{release}
845 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
846 Obsoletes: vscan-kavp
848 %description vfs-vscan-kavp
849 A vfs-module for samba to implement on-access scanning using the
850 Kaspersky AVP antivirus software (which must be installed to use
853 %description vfs-vscan-kavp -l pl.UTF-8
854 Moduł vfs do samby implementujący skaning antywirusowy w czasie
855 dostępu do plików korzystając z oprogramowania antywirusowego
856 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
859 %package vfs-vscan-mcafee
860 Summary: On-access virus scanning for samba using mcafee
861 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
862 Group: Networking/Daemons
863 Requires: %{name} = %{epoch}:%{version}-%{release}
865 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
866 Obsoletes: vscan-mcafee
868 %description vfs-vscan-mcafee
869 A vfs-module for samba to implement on-access scanning using the
870 mcafee antivirus software (which must be installed to use this).
872 %description vfs-vscan-mcafee -l pl.UTF-8
873 Moduł vfs do samby implementujący skaning antywirusowy w czasie
874 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
875 (które musi być zainstalowane, aby wykorzystać ten moduł).
877 %package vfs-vscan-mks
878 Summary: On-access virus scanning for samba using mks
879 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
880 Group: Networking/Daemons
881 Requires: %{name} = %{epoch}:%{version}-%{release}
883 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
886 %description vfs-vscan-mks
887 A vfs-module for samba to implement on-access scanning using the mks
888 antivirus software (which must be installed to use this).
890 %description vfs-vscan-mks -l pl.UTF-8
891 Moduł vfs do samby implementujący skaning antywirusowy w czasie
892 dostępu do plików korzystając z oprogramowania antywirusowego mks
893 (które musi być zainstalowane, aby wykorzystać ten moduł).
895 %package vfs-vscan-openantivirus
896 Summary: On-access virus scanning for samba using OpenAntivirus
897 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
898 Group: Networking/Daemons
899 Requires: %{name} = %{epoch}:%{version}-%{release}
900 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
901 Obsoletes: vscan-openantivirus
903 %description vfs-vscan-openantivirus
904 A vfs-module for samba to implement on-access scanning using the
905 OpenAntivirus antivirus software (which must be installed to use
908 %description vfs-vscan-openantivirus -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
911 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
914 %package vfs-vscan-sophos
915 Summary: On-access virus scanning for samba using Sophos
916 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
917 Group: Networking/Daemons
918 Requires: %{name} = %{epoch}:%{version}-%{release}
919 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
920 Obsoletes: vscan-sophos
922 %description vfs-vscan-sophos
923 A vfs-module for samba to implement on-access scanning using the
924 Sophos antivirus software (which must be installed to use this).
926 %description vfs-vscan-sophos -l pl.UTF-8
927 Moduł vfs do samby implementujący skaning antywirusowy w czasie
928 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
929 (które musi być zainstalowane, aby wykorzystać ten moduł).
931 %package vfs-vscan-symantec
932 Summary: On-access virus scanning for samba using Symantec
933 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
934 Group: Networking/Daemons
935 Requires: %{name} = %{epoch}:%{version}-%{release}
936 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
937 Obsoletes: vscan-symantec
939 %description vfs-vscan-symantec
940 A vfs-module for samba to implement on-access scanning using the
941 Symantec antivirus software (which must be installed to use this).
943 %description vfs-vscan-symantec -l pl.UTF-8
944 Moduł vfs do samby implementujący skaning antywirusowy w czasie
945 dostępu do plików korzystając z oprogramowania antywirusowego firmy
946 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
948 %package vfs-vscan-trend
949 Summary: On-access virus scanning for samba using Trend
950 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
951 Group: Networking/Daemons
952 Requires: %{name} = %{epoch}:%{version}-%{release}
953 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
954 Obsoletes: vscan-trend
956 %description vfs-vscan-trend
957 A vfs-module for samba to implement on-access scanning using the Trend
958 antivirus software (which must be installed to use this).
960 %description vfs-vscan-trend -l pl.UTF-8
961 Moduł vfs do samby implementujący skaning antywirusowy w czasie
962 dostępu do plików korzystając z oprogramowania antywirusowego Trend
963 (które musi być zainstalowane, aby wykorzystać ten moduł).
966 Summary: VFS module to fix Catia CAD filenames
967 Group: Networking/Daemons
968 Requires: %{name} = %{epoch}:%{version}-%{release}
970 %description vfs-catia
971 The Catia CAD package commonly creates filenames that use characters
972 that are illegal in CIFS filenames. The vfs_catia VFS module
973 implements a fixed character mapping so that these files can be shared
976 %package vfs-scannedonly
977 Summary: Anti-virus solution as VFS module
978 Group: Networking/Daemons
979 Requires: %{name} = %{epoch}:%{version}-%{release}
981 %description vfs-scannedonly
982 The vfs_scannedonly VFS module ensures that only files that have been
983 scanned for viruses are visible and accessible to the end user. If
984 non-scanned files are found an anti-virus scanning daemon is notified.
986 %package -n openldap-schema-samba
987 Summary: Samba LDAP schema
988 Summary(pl.UTF-8): Schemat LDAP dla samby
989 Group: Networking/Daemons
990 Requires(post,postun): sed >= 4.0
991 Requires: openldap-servers
993 %description -n openldap-schema-samba
994 This package contains samba.schema for openldap.
996 %description -n openldap-schema-samba -l pl.UTF-8
997 Ten pakiet zawiera schemat samby dla openldap-a.
1000 Summary: Samba HTML documentation
1001 Summary(pl.UTF-8): Documentacja samby w formacie HTML
1002 Group: Documentation
1004 %description doc-html
1005 Samba HTML documentation.
1007 %description doc-html -l pl.UTF-8
1008 Documentacja samby w formacie HTML.
1011 Summary: Samba documentation - PDF format
1012 Summary(pl.UTF-8): Documentacja samby w formacie PDF
1013 Group: Documentation
1015 %description doc-pdf
1016 Samba PDF documentation.
1018 %description doc-pdf -l pl.UTF-8
1019 Documentacja samby w formacie PDF.
1021 %package -n python-samba
1022 Summary: Samba Module for Python
1023 Group: Development/Languages/Python
1024 %pyrequires_eq python
1025 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1027 %description -n python-samba
1028 Samba Module for Python.
1037 %if "%{pld_release}" == "ti"
1041 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
1048 install %{SOURCE10} source4/heimdal/lib/wind/rfc3454.txt
1053 %{__autoconf} -Im4 -I../m4 -I../lib/replace -Ilib/replace -I../source4
1055 --with-modulesdir=%{_sambalibdir} \
1056 --with-rootsbindir=/sbin \
1057 --with-pammodulesdir=/%{_lib}/security \
1058 --with-acl-support \
1059 --with-aio-support \
1064 --with-libsmbclient \
1065 --with-lockdir=/var/lib/samba \
1067 --with-pam_smbpass \
1068 --with%{!?with_ads:out}-ads \
1069 --with-privatedir=%{_sysconfdir}/samba \
1072 --with-swatdir=%{_datadir}/swat \
1076 --without-included-popt \
1077 --%{?with_merged_build:en}%{!?with_merged_build:dis}able-merged-build \
1078 --enable-automatic-dependencies \
1080 --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
1082 --with%{!?with_ldap:out}-ldap \
1083 --with%{!?with_kerberos5:out}-krb5
1085 %{__make} -j1 everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest \
1089 %{__make} -C libsmbclient/smbwrapper \
1091 CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1097 CFLAGS="%{rpmcflags} -fPIC"
1101 cd samba-vscan-%{vscan_version}
1102 cp -f /usr/share/automake/config.sub .
1104 ln -s ../../../source3/lib .
1109 rm -rf $RPM_BUILD_ROOT
1110 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1111 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1112 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1113 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1115 %{__make} -C source3 install \
1116 DESTDIR=$RPM_BUILD_ROOT \
1117 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1119 install source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1121 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1122 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1123 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1124 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1125 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1126 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1127 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1128 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1130 install nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1131 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1132 install nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1133 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1134 install source3/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1135 install source3/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1136 install source3/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1138 install source3/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1141 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1142 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1143 install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1145 # these are needed to build samba-pdbsql
1146 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1147 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1148 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1149 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1153 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1154 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
1157 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1159 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1162 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1163 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1166 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1167 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1170 #rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
1173 %if %{with merged_build}
1174 rm -r $RPM_BUILD_ROOT%{_bindir}/{gentest4,locktest4,masktest4,nsstest4}
1178 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1181 %find_lang pam_winbind
1183 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1184 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
1185 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1188 rm -rf $RPM_BUILD_ROOT
1191 /sbin/chkconfig --add smb
1192 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1193 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1194 /sbin/service smb stop >&2
1195 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1196 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1197 if [ -d /var/lock/samba/printing ]; then
1198 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1200 /sbin/service smb start >&2
1202 %service smb restart "Samba daemons"
1206 if [ "$1" = "0" ]; then
1208 /sbin/chkconfig --del smb
1212 /sbin/chkconfig --add winbind
1213 %service winbind restart "Winbind daemon"
1216 if [ "$1" = "0" ]; then
1217 %service winbind stop
1218 /sbin/chkconfig --del winbind
1222 %service -q rc-inetd reload
1225 if [ "$1" = 0 ]; then
1226 %service -q rc-inetd reload
1229 %post -n openldap-schema-samba
1230 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1231 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1232 %service -q ldap restart
1234 %postun -n openldap-schema-samba
1235 if [ "$1" = "0" ]; then
1236 %openldap_schema_unregister %{schemadir}/samba.schema
1237 %service -q ldap restart
1240 %triggerpostun -- samba < 1.9.18p7
1241 if [ "$1" != "0" ]; then
1242 /sbin/chkconfig --add smb
1245 %if "%{pld_release}" != "ti"
1246 %triggerpostun -- samba < 3.4.0
1247 %banner %{name} << EOF
1248 !!! WARNING !!! The default passdb backend has been changed to 'tdbsam'!
1249 That breaks existing setups using the 'smbpasswd' backend without explicit declaration!
1250 Please use 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
1251 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e tdbsam'.
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{_sbindir}/nmbd
1258 %attr(755,root,root) %{_sbindir}/smbd
1259 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1260 %if %{with merged_build}
1261 #%attr(755,root,root) %{_bindir}/ad2oLschema4
1262 %attr(755,root,root) %{_bindir}/oLschema2ldif4
1263 %attr(755,root,root) %{_bindir}/reg*
1264 # "This utility disabled until rewritten"
1265 #%attr(755,root,root) %{_bindir}/setnttoken4
1267 %attr(755,root,root) %{_bindir}/ldb*
1268 %attr(755,root,root) %{_bindir}/smbstatus
1269 %attr(755,root,root) %{_bindir}/smbpasswd
1270 %attr(755,root,root) %{_bindir}/smbcontrol
1272 %dir %{_libdir}/%{name}/pdb
1274 %attr(755,root,root) %{_vfsdir}/acl_tdb.so
1275 %attr(755,root,root) %{_vfsdir}/acl_xattr.so
1276 %attr(755,root,root) %{_vfsdir}/aio_fork.so
1277 %attr(755,root,root) %{_vfsdir}/dirsort.so
1278 %attr(755,root,root) %{_vfsdir}/fileid.so
1279 %attr(755,root,root) %{_vfsdir}/preopen.so
1280 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1281 %attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1282 %attr(755,root,root) %{_vfsdir}/streams_depot.so
1283 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1284 %attr(755,root,root) %{_vfsdir}/syncops.so
1285 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1286 %{_mandir}/man8/vfs_acl_tdb.8*
1287 %{_mandir}/man8/vfs_acl_xattr.8*
1288 %{_mandir}/man8/vfs_dirsort.8*
1289 %{_mandir}/man8/vfs_fileid.8*
1290 %{_mandir}/man8/vfs_preopen.8*
1291 %{_mandir}/man8/vfs_shadow_copy2.8*
1292 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1293 %{_mandir}/man8/vfs_streams_xattr.8*
1294 %{_mandir}/man8/vfs_streams_depot.8*
1295 %{_mandir}/man8/vfs_xattr_tdb.8*
1298 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1299 %attr(754,root,root) /etc/rc.d/init.d/smb
1300 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1301 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1302 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1303 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1304 %{_mandir}/man1/ldb*.1*
1305 %{_mandir}/man1/log2pcap.1*
1306 %{_mandir}/man1/smbstatus.1*
1307 %{_mandir}/man1/smbcontrol.1*
1308 %{_mandir}/man5/smbpasswd.5*
1309 %{_mandir}/man7/samba.7*
1310 %{_mandir}/man8/nmbd.8*
1311 %{_mandir}/man8/smbd.8*
1312 %{_mandir}/man8/smbpasswd.8*
1316 %ghost /var/lib/samba/*.dat
1317 %dir /var/lib/samba/printing
1319 %attr(750,root,root) %dir /var/log/samba
1320 %attr(750,root,root) %dir /var/log/samba/cores
1321 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1322 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1323 %attr(750,root,root) %dir /var/log/archive/samba
1324 %attr(1777,root,root) %dir /var/spool/samba
1329 %files winbind -f pam_winbind.lang
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_sbindir}/winbindd
1332 %attr(755,root,root) %{_bindir}/wbinfo
1333 #%if %{with merged_build}
1334 #%attr(755,root,root) %{_bindir}/wbinfo4
1336 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1337 %attr(755,root,root) /%{_lib}/libnss_winbind*
1338 %attr(754,root,root) /etc/rc.d/init.d/winbind
1339 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1340 %{_mandir}/man1/wbinfo*.1*
1341 %{_mandir}/man8/pam_winbind.8*
1342 %{_mandir}/man8/winbindd*.8*
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) /%{_lib}/libnss_wins*
1349 %defattr(644,root,root,755)
1350 %if %{with merged_build}
1351 %attr(755,root,root) %{_bindir}/cifsdd4
1352 %attr(755,root,root) %{_bindir}/net4
1353 %attr(755,root,root) %{_bindir}/nmblookup4
1354 %attr(755,root,root) %{_bindir}/smbclient4
1355 %attr(755,root,root) %{_bindir}/mount.cifs4
1356 %attr(755,root,root) %{_bindir}/umount.cifs4
1357 %attr(755,root,root) %{_bindir}/setnttoken4
1358 %attr(755,root,root) %{_bindir}/smbtorture4
1359 %attr(755,root,root) %{_sbindir}/cifs.upcall
1360 %{_mandir}/man8/cifs.upcall.8*
1362 %attr(755,root,root) /sbin/mount.cifs
1363 %attr(755,root,root) /sbin/umount.cifs
1364 %attr(755,root,root) %{_bindir}/findsmb
1365 %attr(755,root,root) %{_bindir}/net
1366 %attr(755,root,root) %{_bindir}/nmblookup
1367 %attr(755,root,root) %{_bindir}/rpcclient
1368 %attr(755,root,root) %{_bindir}/sharesec
1369 %attr(755,root,root) %{_bindir}/smbcacls
1370 %attr(755,root,root) %{_bindir}/smbclient
1371 %attr(755,root,root) %{_bindir}/smbsh
1372 %attr(755,root,root) %{_bindir}/smbtar
1373 %attr(755,root,root) %{_bindir}/smbtree
1374 %attr(755,root,root) %{_libdir}/smbwrapper.so
1375 %{_mandir}/man1/findsmb.1*
1376 %{_mandir}/man1/nmblookup.1*
1377 %{_mandir}/man1/rpcclient.1*
1378 %{_mandir}/man1/sharesec.1*
1379 %{_mandir}/man1/smbcacls.1*
1380 %{_mandir}/man1/smbclient.1*
1381 %{_mandir}/man1/smbsh.1*
1382 %{_mandir}/man1/smbtar.1*
1383 %{_mandir}/man1/smbtree.1*
1384 %{_mandir}/man8/net.8*
1385 %{_mandir}/man8/*mount.cifs.8*
1388 %defattr(644,root,root,755)
1389 %if %{with merged_build}
1390 %attr(755,root,root) %{_bindir}/getntacl4
1391 %attr(755,root,root) %{_bindir}/ndrdump4
1392 %attr(755,root,root) %{_bindir}/ntlm_auth4
1393 %attr(755,root,root) %{_bindir}/testparm4
1395 %doc README Manifest WHATSNEW.txt
1396 %doc Roadmap docs/registry/*
1397 %doc docs/{history,THANKS}
1398 %dir %{_sysconfdir}/samba
1399 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1401 %attr(755,root,root) %{_bindir}/eventlogadm
1402 %attr(755,root,root) %{_bindir}/ntlm_auth
1403 %attr(755,root,root) %{_bindir}/pdbedit
1404 %attr(755,root,root) %{_bindir}/profiles
1405 %attr(755,root,root) %{_bindir}/smbcquotas
1406 %attr(755,root,root) %{_bindir}/testparm
1407 %attr(755,root,root) %{_bindir}/vfstest
1408 %dir %{_libdir}/%{name}
1409 %{_libdir}/%{name}/*.dat
1410 %dir %{_libdir}/%{name}/auth
1411 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1412 %dir %{_libdir}/%{name}/charset
1413 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1414 %{_mandir}/man1/ntlm_auth.1*
1415 %{_mandir}/man1/profiles.1*
1416 %{_mandir}/man1/smbcquotas.1*
1417 %{_mandir}/man1/testparm.1*
1418 %{_mandir}/man1/vfstest.1*
1419 #%{_mandir}/man1/log2pcap.1*
1420 %{_mandir}/man5/lmhosts.5*
1421 %{_mandir}/man5/smb.conf.5*
1422 %{_mandir}/man8/pdbedit.8*
1423 %{_mandir}/man8/eventlogadm.8*
1424 %{_mandir}/man8/idmap_ad.8*
1425 %{_mandir}/man8/idmap_adex.8*
1426 %{_mandir}/man8/idmap_hash.8*
1427 %{_mandir}/man8/idmap_ldap.8*
1428 %{_mandir}/man8/idmap_nss.8*
1429 %{_mandir}/man8/idmap_rid.8*
1430 %{_mandir}/man8/idmap_tdb.8*
1431 %{_mandir}/man8/idmap_tdb2.8*
1434 %defattr(644,root,root,755)
1435 #%doc swat/README* swat/help/*
1437 %attr(755,root,root) %{_sbindir}/swat
1438 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1439 %dir %{_datadir}/swat
1440 %{_datadir}/swat/help
1441 %{_datadir}/swat/images
1442 %{_datadir}/swat/include
1443 %dir %{_datadir}/swat/lang
1444 %lang(ja) %{_datadir}/swat/lang/ja
1445 %lang(tr) %{_datadir}/swat/lang/tr
1446 %lang(de) %{_libdir}/%{name}/de.msg
1447 %{_libdir}/%{name}/en.msg
1448 %lang(fi) %{_libdir}/%{name}/fi.msg
1449 %lang(fr) %{_libdir}/%{name}/fr.msg
1450 %lang(it) %{_libdir}/%{name}/it.msg
1451 %lang(ja) %{_libdir}/%{name}/ja.msg
1452 %lang(nl) %{_libdir}/%{name}/nl.msg
1453 %lang(pl) %{_libdir}/%{name}/pl.msg
1454 %lang(ru) %{_libdir}/%{name}/ru.msg
1455 %lang(tr) %{_libdir}/%{name}/tr.msg
1456 %{_mandir}/man8/swat.8*
1458 %files -n pam-pam_smbpass
1459 %defattr(644,root,root,755)
1460 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1461 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1463 %files -n libsmbclient
1464 %defattr(644,root,root,755)
1465 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1466 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1467 %{_mandir}/man7/libsmbclient.7*
1469 %files -n libsmbclient-devel
1470 %defattr(644,root,root,755)
1471 %attr(755,root,root) %{_libdir}/libsmbclient.so
1472 %attr(755,root,root) %{_libdir}/libwbclient.so
1473 %{_includedir}/libsmbclient.h
1474 %{_includedir}/wbclient.h
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1480 %files -n libtalloc-devel
1481 %defattr(644,root,root,755)
1482 %attr(755,root,root) %{_libdir}/libtalloc.so
1483 %{_includedir}/talloc.h
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_bindir}/tdbbackup
1488 %attr(755,root,root) %{_bindir}/tdbdump
1489 %attr(755,root,root) %{_bindir}/tdbtool
1490 %if %{with merged_build}
1491 %attr(755,root,root) %{_bindir}/tdbbackup4
1492 %attr(755,root,root) %{_bindir}/tdbdump4
1493 %attr(755,root,root) %{_bindir}/tdbtool4
1494 %attr(755,root,root) %{_bindir}/tdbtorture4
1496 %attr(755,root,root) %{_libdir}/libtdb.so.*
1497 %{_mandir}/man8/tdbbackup.8*
1498 %{_mandir}/man8/tdbdump.8*
1499 %{_mandir}/man8/tdbtool.8*
1502 %defattr(644,root,root,755)
1503 %attr(755,root,root) %{_libdir}/libtdb.so
1504 %{_includedir}/tdb.h
1507 %defattr(644,root,root,755)
1508 %{_includedir}/%{name}
1510 %files -n libsmbclient-static
1511 %defattr(644,root,root,755)
1512 %{_libdir}/libsmbclient.a
1515 %defattr(644,root,root,755)
1516 %attr(755,root,root) %{_bindir}/smbget
1517 %{_mandir}/man1/smbget.1*
1518 %{_mandir}/man5/smbgetrc.5*
1521 %files -n cups-backend-smb
1522 %defattr(644,root,root,755)
1523 %attr(755,root,root) %{_bindir}/smbspool
1524 %attr(755,root,root) %{cups_serverbin}/backend/smb
1525 %{_mandir}/man8/smbspool.8*
1529 %defattr(644,root,root,755)
1530 %attr(755,root,root) %{_vfsdir}/audit.so
1531 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1532 %attr(755,root,root) %{_vfsdir}/full_audit.so
1533 %{_mandir}/man8/vfs_audit.8*
1534 %{_mandir}/man8/vfs_extd_audit.8*
1535 %{_mandir}/man8/vfs_full_audit.8*
1538 %defattr(644,root,root,755)
1539 %attr(755,root,root) %{_vfsdir}/cap.so
1540 %{_mandir}/man8/vfs_cap.8*
1542 %files vfs-default_quota
1543 %defattr(644,root,root,755)
1544 %attr(755,root,root) %{_vfsdir}/default_quota.so
1545 %{_mandir}/man8/vfs_default_quota.8*
1547 %files vfs-expand_msdfs
1548 %defattr(644,root,root,755)
1549 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1551 %files vfs-fake_perms
1552 %defattr(644,root,root,755)
1553 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1554 %{_mandir}/man8/vfs_fake_perms.8*
1556 %files vfs-notify_fam
1557 %defattr(644,root,root,755)
1558 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1559 %{_mandir}/man8/vfs_notify_fam.8*
1562 %defattr(644,root,root,755)
1563 %attr(755,root,root) %{_vfsdir}/netatalk.so
1564 %{_mandir}/man8/vfs_netatalk.8*
1566 %files vfs-readahead
1567 %defattr(644,root,root,755)
1568 %attr(755,root,root) %{_vfsdir}/readahead.so
1569 %{_mandir}/man8/vfs_readahead.8*
1572 %defattr(644,root,root,755)
1573 %attr(755,root,root) %{_vfsdir}/readonly.so
1574 %{_mandir}/man8/vfs_readonly.8*
1577 %defattr(644,root,root,755)
1578 %attr(755,root,root) %{_vfsdir}/recycle.so
1579 %{_mandir}/man8/vfs_recycle.8*
1581 %files vfs-shadow_copy
1582 %defattr(644,root,root,755)
1583 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1584 %{_mandir}/man8/vfs_shadow_copy.8*
1587 %files vfs-vscan-antivir
1588 %defattr(644,root,root,755)
1589 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1590 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1591 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1593 %files vfs-vscan-clamav
1594 %defattr(644,root,root,755)
1595 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1597 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1599 %files vfs-vscan-fprot
1600 %defattr(644,root,root,755)
1601 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1603 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1605 %files vfs-vscan-fsav
1606 %defattr(644,root,root,755)
1607 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1608 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1609 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1611 %files vfs-vscan-kavp
1612 %defattr(644,root,root,755)
1613 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1615 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1617 %files vfs-vscan-mcafee
1618 %defattr(644,root,root,755)
1619 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1620 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1621 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1624 %ifarch %{ix86} %{x8664}
1625 %files vfs-vscan-mks
1626 %defattr(644,root,root,755)
1627 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1629 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1633 %files vfs-vscan-openantivirus
1634 %defattr(644,root,root,755)
1635 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1636 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1637 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1639 %files vfs-vscan-sophos
1640 %defattr(644,root,root,755)
1641 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1643 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1645 %files vfs-vscan-symantec
1646 %defattr(644,root,root,755)
1647 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1648 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1649 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1651 %files vfs-vscan-trend
1652 %defattr(644,root,root,755)
1653 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1654 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1655 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1659 %defattr(644,root,root,755)
1660 %attr(755,root,root) %{_vfsdir}/catia.so
1661 %{_mandir}/man8/vfs_catia.8*
1663 %files vfs-scannedonly
1664 %defattr(644,root,root,755)
1665 %attr(755,root,root) %{_vfsdir}/scannedonly.so
1666 %{_mandir}/man8/vfs_scannedonly.8*
1669 %files -n openldap-schema-samba
1670 %defattr(644,root,root,755)
1671 %{schemadir}/*.schema
1675 %defattr(644,root,root,755)
1676 %doc docs/htmldocs/*
1679 %defattr(644,root,root,755)
1683 %files -n python-samba
1684 %defattr(644,root,root,755)
1685 %attr(755,root,root) %{py_sitedir}/*.so
1686 %dir %{py_sitedir}/samba
1687 %attr(755,root,root) %{py_sitedir}/samba/*.so
1688 %{py_sitedir}/samba/*.py[co]
1689 %dir %{py_sitedir}/samba/dcerpc
1690 %{py_sitedir}/samba/dcerpc/*.py[co]
1691 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1692 %dir %{py_sitedir}/samba/tests
1693 %{py_sitedir}/samba/tests/*.py[co]
1694 %dir %{py_sitedir}/samba/tests/dcerpc
1695 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1696 %dir %{py_sitedir}/samba/torture
1697 %{py_sitedir}/samba/torture/*.py[co]