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