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