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