]> git.pld-linux.org Git - packages/samba.git/blame_incremental - samba.spec
- dropped repeated %description
[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: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.6
59Release: 1
60Epoch: 1
61License: GPL v3
62Group: Networking/Daemons
63Source0: http://www.samba.org/samba/ftp/stable/%{name}-%{version}.tar.gz
64# Source0-md5: bf6c09ea497a166df8bd672db1d8da8f
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_libtalloc: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 es.UTF-8
347Cliente SMB de Samba.
348
349%description client -l ja.UTF-8
350Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
351クライアントを提供します。これらは SMB 共有のアクセスと SMB
352プリンタへの印刷を許可します。
353
354%description client -l pl.UTF-8
355Samba-client dostarcza programy uzupełniające obsługę systemu plików
356SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
357drukowanie w sieci SMB.
358
359%description client -l pt_BR.UTF-8
360O pacote samba-clientes prove alguns clientes SMB, que complementam o
361sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
362e também, à impressoras SMB.
363
364%description client -l ru.UTF-8
365Пакет samba-client предоставляет некоторые клиенты SMB для работы со
366встроенной файловой системой SMB в Linux. Эти клиенты позволяют
367получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
368
369%description client -l uk.UTF-8
370Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
371файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
372до каталогів спільного використання SMB та друк на SMB-прінтери.
373
374%package common
375Summary: Files used by both Samba servers and clients
376Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
377Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
378Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
379Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
380Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
381Group: Networking/Daemons
382%if %{without system_libtalloc}
383Requires: libtalloc >= %{epoch}:%{version}-%{release}
384%else
385Requires: libtalloc >= %{libtalloc_ver}
386%endif
387Requires: tdb >= %{epoch}:%{version}-%{release}
388
389%description common
390Samba-common provides files necessary for both the server and client
391packages of Samba.
392
393%description common -l ja.UTF-8
394Samba-common は Samba のサーバとクライアントの両方のパッケージで
395使用されるファイルを提供します。
396
397%description common -l pl.UTF-8
398Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
399klientów Samba.
400
401%description common -l pt_BR.UTF-8
402Arquivos em comum entre os pacotes samba e samba-clients.
403
404%description common -l ru.UTF-8
405Samba-common содержит файлы, необходимые для работы как клиента, так и
406сервера Samba.
407
408%description common -l uk.UTF-8
409Samba-common містить файли, необхідні для роботи як клієнта, так і
410сервера Samba.
411
412%package winbind
413Summary: Samba-winbind daemon, utilities and documentation
414Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
415Group: Networking/Daemons
416Requires(post,preun): /sbin/chkconfig
417Requires: %{name}-common = %{epoch}:%{version}-%{release}
418
419%description winbind
420Provides the winbind daemon and testing tools to allow authentication
421and group/user enumeration from a Windows or Samba domain controller.
422
423%description winbind -l pl.UTF-8
424Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
425uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
426Windows lub Samba.
427
428%package -n nss_wins
429Summary: Name Service Switch service for WINS
430Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
431Group: Base
432Requires: %{name}-common = %{epoch}:%{version}-%{release}
433
434%description -n nss_wins
435Provides the libnss_wins shared library which resolves NetBIOS names
436to IP addresses.
437
438%description -n nss_wins -l pl.UTF-8
439Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
440IP.
441
442%package -n pam-pam_smbpass
443Summary: PAM Samba Password Module
444Summary(pl.UTF-8): Moduł PAM smbpass
445Group: Base
446Obsoletes: pam_smbpass
447
448%description -n pam-pam_smbpass
449PAM module which can be used on conforming systems to keep the
450smbpasswd (Samba password) database in sync with the Unix password
451file.
452
453%description -n pam-pam_smbpass -l pl.UTF-8
454Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
455Samby) zsynchronizowanego z hasłami uniksowymi.
456
457%package -n libsmbclient
458Summary: libsmbclient - samba client library
459Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
460Group: Libraries
461
462%description -n libsmbclient
463libsmbclient - library that allows to use samba clients functions.
464
465%description -n libsmbclient -l pl.UTF-8
466libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
467samby.
468
469%package -n libsmbclient-devel
470Summary: libsmbclient - samba client library
471Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
472Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
473Group: Development/Libraries
474Requires: libsmbclient = %{epoch}:%{version}-%{release}
475
476%description -n libsmbclient-devel
477Header files for libsmbclient.
478
479%description -n libsmbclient-devel -l pl.UTF-8
480Pliki nagłówkowe dla libsmbclient.
481
482%description -n libsmbclient-devel -l pt_BR.UTF-8
483Arquivos de inclusão, bibliotecas e documentação necessários para
484desenvolver aplicativos clientes para o samba.
485
486%package -n libsmbclient-static
487Summary: Static version of libsmbclient - samba client library
488Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
489Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
490Group: Development/Libraries
491Requires: libsmbclient = %{epoch}:%{version}-%{release}
492
493%description -n libsmbclient-static
494Static libsmbclient library.
495
496%description -n libsmbclient-static -l pl.UTF-8
497Statyczna biblioteka libsmbclient.
498
499%package -n libtalloc
500Summary: The talloc library
501Group: Libraries
502
503%description -n libtalloc
504The talloc library from the Samba suite.
505
506%package -n libtalloc-devel
507Summary: Developer tools for the talloc library
508Group: Development/Libraries
509Requires: libtalloc = %{epoch}:%{version}-%{release}
510
511%description -n libtalloc-devel
512The libtalloc-devel package contains the header files and libraries
513needed to develop programs that link against the talloc library in the
514Samba suite.
515
516%package -n tdb
517Summary: TDB - Trivial Database
518Summary(pl.UTF-8): TDB - prosta baza danych
519Group: Libraries
520Obsoletes: tdb-extras
521
522%description -n tdb
523TDB is a Trivial Database. In concept, it is very much like GDBM, and
524BSD's DB except that it allows multiple simultaneous writers and uses
525locking internally to keep writers from trampling on each other. TDB
526is also extremely small.
527
528%description -n tdb -l pl.UTF-8
529TDB to Trivial Database, czyli prosta baza danych. W założeniach jest
530bardzo podobna do GDBM lub DB z BSD z wyjątkiem tego, że pozwala na
531zapis wielu procesom jednocześnie i używa wewnętrznie blokowania, aby
532nie pozwolić piszącym na zadeptanie się nawzajem. TDB jest ponadto
533ekstremalnie mała.
534
535%package -n tdb-devel
536Summary: Header files for TDB library
537Summary(pl.UTF-8): Pliki nagłówkowe biblioteki TDB
538Group: Development/Libraries
539Requires: tdb = %{epoch}:%{version}-%{release}
540
541%description -n tdb-devel
542Header files for TDB library.
543
544%description -n tdb-devel -l pl.UTF-8
545Pliki nagłówkowe biblioteki TDB.
546
547%package devel
548Summary: Header files for Samba
549Summary(pl.UTF-8): Pliki nagłówkowe Samby
550Group: Development/Libraries
551
552%description devel
553Header files for Samba.
554
555%description devel -l pl.UTF-8
556Pliki nagłówkowe Samby.
557
558%package -n smbget
559Summary: A utility for retrieving files using the SMB protocol
560Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
561Group: Applications/Networking
562
563%description -n smbget
564wget-like utility for download files over SMB.
565
566%description -n smbget -l pl.UTF-8
567Narzędzie podobne do wgeta do pobierania plików protokołem SMB
568używanym w sieciach MS Windows.
569
570%package -n cups-backend-smb
571Summary: CUPS backend for printing to SMB printers
572Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
573Group: Applications/Printing
574Requires: %{name}-client = %{epoch}:%{version}-%{release}
575Requires: cups >= 1:1.2.0
576
577%description -n cups-backend-smb
578CUPS backend for printing to SMB printers.
579
580%description -n cups-backend-smb -l pl.UTF-8
581Backend CUPS-a drukujący na drukarkach SMB.
582
583%package vfs-audit
584Summary: VFS module to audit file access
585Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
586Group: Networking/Daemons
587Requires: %{name} = %{epoch}:%{version}-%{release}
588
589%description vfs-audit
590A simple module to audit file access to the syslog facility. The
591following operations are logged:
592 - share connect/disconnect,
593 - directory opens/create/remove,
594 - file open/close/rename/unlink/chmod.
595
596%description vfs-audit -l pl.UTF-8
597Proste moduły do monitorowania dostępu do plików na serwerze samba do
598do sysloga. Monitorowane są następujące operacje:
599 - podłączenie do/odłączenie od zasobu,
600 - otwarcie/utworzenie/zmiana nazwy katalogu,
601 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
602
603Zawiera moduły audit, extd_audit i full_audit.
604
605%package vfs-cap
606Summary: VFS module for CAP and samba compatibility
607Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
608Group: Networking/Daemons
609Requires: %{name} = %{epoch}:%{version}-%{release}
610
611%description vfs-cap
612Convert an incoming Shift-JIS character to the 3 byte hex
613representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
614This is used for compatibility between Samba and CAP.
615
616%description vfs-cap -l pl.UTF-8
617Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
618reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
619
620%package vfs-default_quota
621Summary: VFS module to store default quotas in a specified quota record
622Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
623Group: Networking/Daemons
624Requires: %{name} = %{epoch}:%{version}-%{release}
625
626%description vfs-default_quota
627This VFS modules stores default quotas in a specified quota record.
628
629%description vfs-default_quota -l pl.UTF-8
630Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
631limitów.
632
633%package vfs-expand_msdfs
634Summary: VFS module for hosting a Microsoft Distributed File System Tree
635Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
636Group: Networking/Daemons
637Requires: %{name} = %{epoch}:%{version}-%{release}
638
639%description vfs-expand_msdfs
640A VFS module for hosting a Microsoft Distributed File System Tree.
641
642The Distributed File System (DFS) provides a means of separating the
643logical view of files and directories that users see from the actual
644physical locations of these resources on the network. It allows for
645higher availability, smoother storage expansion, load balancing, and
646so on.
647
648%description vfs-expand_msdfs -l pl.UTF-8
649Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
650File System.
651
652Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
653plików i katalogów widocznych przez użytkowników z fizycznego
654umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
655płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
656
657%package vfs-fake_perms
658Summary: VFS module to report read-only fires as writable
659Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
660Group: Networking/Daemons
661Requires: %{name} = %{epoch}:%{version}-%{release}
662
663%description vfs-fake_perms
664This module allow Roaming Profile files and directories to be set (on
665the Samba server under UNIX) as read only. This module will, if
666installed on the Profiles share, report to the client that the Profile
667files and directories are writeable. This satisfies the client even
668though the files will never be overwritten as the client logs out or
669shuts down.
670
671%description vfs-fake_perms -l pl.UTF-8
672Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
673profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
674przypadku zainstalowania na udziale z profilami będzie zgłaszał
675klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
676klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
677lub wylogowywaniu klienta.
678
679%package vfs-notify_fam
680Summary: VFS module to implement file change notifications
681Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
682Group: Networking/Daemons
683Requires: %{name} = %{epoch}:%{version}-%{release}
684
685%description vfs-notify_fam
686The vfs_notify_fam module makes use of the system FAM (File Alteration
687Monitor) daemon to implement file change notifications for Windows
688clients.
689
690%description vfs-notify_fam -l pl.UTF-8
691Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
692informowania o zmianach w plikach dla klientów Windows.
693
694%package vfs-netatalk
695Summary: VFS module for ease co-existence of samba and netatalk
696Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
697Group: Networking/Daemons
698Requires: %{name} = %{epoch}:%{version}-%{release}
699
700%description vfs-netatalk
701Package contains a netatalk VFS module for ease co-existence of Samba
702and netatalk file sharing services.
703
704%description vfs-netatalk -l pl.UTF-8
705Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
706i netatalk przy udostępnianiu zasobów.
707
708%package vfs-recycle
709Summary: VFS module to add recycle bin facility to a samba share
710Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
711Group: Networking/Daemons
712Requires: %{name} = %{epoch}:%{version}-%{release}
713
714%description vfs-recycle
715VFS module to add recycle bin facility to a samba share.
716
717%description vfs-recycle -l pl.UTF-8
718Moduł VFS dodający możliwość kosza do zasobu samby.
719
720%package vfs-readahead
721Summary: VFS module for pre-loading the kernel buffer cache
722Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
723Group: Networking/Daemons
724Requires: %{name} = %{epoch}:%{version}-%{release}
725
726%description vfs-readahead
727This VFS module detects read requests at multiples of a given offset
728(hex 0x80000 by default) and then tells the kernel via either the
729readahead system call (on Linux) or the posix_fadvise system call to
730pre-fetch this data into the buffer cache.
731
732This module is useful for Windows Vista clients reading data using the
733Windows Explorer program, which asynchronously does multiple file read
734requests at offset boundaries of 0x80000 bytes.
735
736%description vfs-readahead -l pl.UTF-8
737Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
738pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
739wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
740wczesnego odczytu tych danych do bufora cache.
741
742Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
743przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
744wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
745bajtów.
746
747%package vfs-readonly
748Summary: VFS module for read-only limitation for specified share
749Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
750Group: Networking/Daemons
751Requires: %{name} = %{epoch}:%{version}-%{release}
752
753%description vfs-readonly
754This module performs a read-only limitation for specified share (or
755all of them if it is loaded in a [global] section) based on period
756definition in smb.conf.
757
758%description vfs-readonly -l pl.UTF-8
759Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
760udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
761oparciu o definicje okresów w smb.conf.
762
763%package vfs-shadow_copy
764Summary: VFS module to make automatic copy of data in samba share
765Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
766Group: Networking/Daemons
767Requires: %{name} = %{epoch}:%{version}-%{release}
768
769%description vfs-shadow_copy
770VFS module to make automatic copy of data in samba share.
771
772%description vfs-shadow_copy -l pl.UTF-8
773Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
774
775%package vfs-vscan-antivir
776Summary: On-access virus scanning for samba using AntiVir
777Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
778Group: Networking/Daemons
779Requires: %{name} = %{epoch}:%{version}-%{release}
780Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
781
782%description vfs-vscan-antivir
783A vfs-module for samba to implement on-access scanning using the
784AntiVir antivirus software (which must be installed to use this).
785
786%description vfs-vscan-antivir -l pl.UTF-8
787Moduł vfs do samby implementujący skaning antywirusowy w czasie
788dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
789(które musi być zainstalowane, aby wykorzystać ten moduł).
790
791%package vfs-vscan-clamav
792Summary: On-access virus scanning for samba using ClamAV
793Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
794Group: Networking/Daemons
795Requires: %{name} = %{epoch}:%{version}-%{release}
796Requires: clamav
797Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
798
799%description vfs-vscan-clamav
800A vfs-module for samba to implement on-access scanning using the
801ClamAV antivirus software (which must be installed to use this).
802
803%description vfs-vscan-clamav -l pl.UTF-8
804Moduł vfs do samby implementujący skaning antywirusowy w czasie
805dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
806(które musi być zainstalowane, aby wykorzystać ten moduł).
807
808%package vfs-vscan-fprot
809Summary: On-access virus scanning for samba using FPROT
810Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
811Group: Networking/Daemons
812Requires: %{name} = %{epoch}:%{version}-%{release}
813Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
814Obsoletes: vscan-fprot
815
816%description vfs-vscan-fprot
817A vfs-module for samba to implement on-access scanning using the FPROT
818antivirus software (which must be installed to use this).
819
820%description vfs-vscan-fprot -l pl.UTF-8
821Moduł vfs do samby implementujący skaning antywirusowy w czasie
822dostępu do plików korzystając z oprogramowania antywirusowego FPROT
823(które musi być zainstalowane, aby wykorzystać ten moduł).
824
825%package vfs-vscan-fsav
826Summary: On-access virus scanning for samba using F-Secure AntiVirus
827Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
828Group: Networking/Daemons
829Requires: %{name} = %{epoch}:%{version}-%{release}
830Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
831Obsoletes: vscan-fsav
832
833%description vfs-vscan-fsav
834A vfs-module for samba to implement on-access scanning using the
835F-Secure AntiVirus antivirus software (which must be installed to use
836this).
837
838%description vfs-vscan-fsav -l pl.UTF-8
839Moduł vfs do samby implementujący skaning antywirusowy w czasie
840dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
841AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
842
843%package vfs-vscan-kavp
844Summary: On-access virus scanning for samba using Kaspersky AVP
845Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
846Group: Networking/Daemons
847Requires: %{name} = %{epoch}:%{version}-%{release}
848Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
849Obsoletes: vscan-kavp
850
851%description vfs-vscan-kavp
852A vfs-module for samba to implement on-access scanning using the
853Kaspersky AVP antivirus software (which must be installed to use
854this).
855
856%description vfs-vscan-kavp -l pl.UTF-8
857Moduł vfs do samby implementujący skaning antywirusowy w czasie
858dostępu do plików korzystając z oprogramowania antywirusowego
859Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
860moduł).
861
862%package vfs-vscan-mcafee
863Summary: On-access virus scanning for samba using mcafee
864Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
865Group: Networking/Daemons
866Requires: %{name} = %{epoch}:%{version}-%{release}
867#Requires: mcafee
868Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
869Obsoletes: vscan-mcafee
870
871%description vfs-vscan-mcafee
872A vfs-module for samba to implement on-access scanning using the
873mcafee antivirus software (which must be installed to use this).
874
875%description vfs-vscan-mcafee -l pl.UTF-8
876Moduł vfs do samby implementujący skaning antywirusowy w czasie
877dostępu do plików korzystając z oprogramowania antywirusowego mcafee
878(które musi być zainstalowane, aby wykorzystać ten moduł).
879
880%package vfs-vscan-mks
881Summary: On-access virus scanning for samba using mks
882Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
883Group: Networking/Daemons
884Requires: %{name} = %{epoch}:%{version}-%{release}
885Requires: mksd
886Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
887Obsoletes: vscan-mks
888
889%description vfs-vscan-mks
890A vfs-module for samba to implement on-access scanning using the mks
891antivirus software (which must be installed to use this).
892
893%description vfs-vscan-mks -l pl.UTF-8
894Moduł vfs do samby implementujący skaning antywirusowy w czasie
895dostępu do plików korzystając z oprogramowania antywirusowego mks
896(które musi być zainstalowane, aby wykorzystać ten moduł).
897
898%package vfs-vscan-openantivirus
899Summary: On-access virus scanning for samba using OpenAntivirus
900Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
901Group: Networking/Daemons
902Requires: %{name} = %{epoch}:%{version}-%{release}
903Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
904Obsoletes: vscan-openantivirus
905
906%description vfs-vscan-openantivirus
907A vfs-module for samba to implement on-access scanning using the
908OpenAntivirus antivirus software (which must be installed to use
909this).
910
911%description vfs-vscan-openantivirus -l pl.UTF-8
912Moduł vfs do samby implementujący skaning antywirusowy w czasie
913dostępu do plików korzystając z oprogramowania antywirusowego
914OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
915moduł).
916
917%package vfs-vscan-sophos
918Summary: On-access virus scanning for samba using Sophos
919Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
920Group: Networking/Daemons
921Requires: %{name} = %{epoch}:%{version}-%{release}
922Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
923Obsoletes: vscan-sophos
924
925%description vfs-vscan-sophos
926A vfs-module for samba to implement on-access scanning using the
927Sophos antivirus software (which must be installed to use this).
928
929%description vfs-vscan-sophos -l pl.UTF-8
930Moduł vfs do samby implementujący skaning antywirusowy w czasie
931dostępu do plików korzystając z oprogramowania antywirusowego Sophos
932(które musi być zainstalowane, aby wykorzystać ten moduł).
933
934%package vfs-vscan-symantec
935Summary: On-access virus scanning for samba using Symantec
936Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
937Group: Networking/Daemons
938Requires: %{name} = %{epoch}:%{version}-%{release}
939Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
940Obsoletes: vscan-symantec
941
942%description vfs-vscan-symantec
943A vfs-module for samba to implement on-access scanning using the
944Symantec antivirus software (which must be installed to use this).
945
946%description vfs-vscan-symantec -l pl.UTF-8
947Moduł vfs do samby implementujący skaning antywirusowy w czasie
948dostępu do plików korzystając z oprogramowania antywirusowego firmy
949Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
950
951%package vfs-vscan-trend
952Summary: On-access virus scanning for samba using Trend
953Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
954Group: Networking/Daemons
955Requires: %{name} = %{epoch}:%{version}-%{release}
956Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
957Obsoletes: vscan-trend
958
959%description vfs-vscan-trend
960A vfs-module for samba to implement on-access scanning using the Trend
961antivirus software (which must be installed to use this).
962
963%description vfs-vscan-trend -l pl.UTF-8
964Moduł vfs do samby implementujący skaning antywirusowy w czasie
965dostępu do plików korzystając z oprogramowania antywirusowego Trend
966(które musi być zainstalowane, aby wykorzystać ten moduł).
967
968%package vfs-catia
969Summary: VFS module to fix Catia CAD filenames
970Group: Networking/Daemons
971Requires: %{name} = %{epoch}:%{version}-%{release}
972
973%description vfs-catia
974The Catia CAD package commonly creates filenames that use characters
975that are illegal in CIFS filenames. The vfs_catia VFS module
976implements a fixed character mapping so that these files can be shared
977with CIFS clients.
978
979%package vfs-scannedonly
980Summary: Anti-virus solution as VFS module
981Group: Networking/Daemons
982Requires: %{name} = %{epoch}:%{version}-%{release}
983
984%description vfs-scannedonly
985The vfs_scannedonly VFS module ensures that only files that have been
986scanned for viruses are visible and accessible to the end user. If
987non-scanned files are found an anti-virus scanning daemon is notified.
988
989%package -n openldap-schema-samba
990Summary: Samba LDAP schema
991Summary(pl.UTF-8): Schemat LDAP dla samby
992Group: Networking/Daemons
993Requires(post,postun): sed >= 4.0
994Requires: openldap-servers
995
996%description -n openldap-schema-samba
997This package contains samba.schema for openldap.
998
999%description -n openldap-schema-samba -l pl.UTF-8
1000Ten pakiet zawiera schemat samby dla openldap-a.
1001
1002%package doc-html
1003Summary: Samba HTML documentation
1004Summary(pl.UTF-8): Documentacja samby w formacie HTML
1005Group: Documentation
1006
1007%description doc-html
1008Samba HTML documentation.
1009
1010%description doc-html -l pl.UTF-8
1011Documentacja samby w formacie HTML.
1012
1013%package doc-pdf
1014Summary: Samba documentation - PDF format
1015Summary(pl.UTF-8): Documentacja samby w formacie PDF
1016Group: Documentation
1017
1018%description doc-pdf
1019Samba PDF documentation.
1020
1021%description doc-pdf -l pl.UTF-8
1022Documentacja samby w formacie PDF.
1023
1024%package -n python-samba
1025Summary: Samba Module for Python
1026Group: Development/Languages/Python
1027%pyrequires_eq python
1028Requires: %{name}-common = %{epoch}:%{version}-%{release}
1029
1030%description -n python-samba
1031Samba Module for Python.
1032
1033%prep
1034%setup -q
1035%patch0 -p1
1036%patch1 -p1
1037%patch2 -p1
1038%patch3 -p1
1039%patch4 -p1
1040%if "%{pld_release}" == "ti"
1041%patch5 -p1
1042%endif
1043
1044%{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
1045
1046cd examples/VFS
1047tar xzf %{SOURCE7}
1048mv README{,.vfs}
1049cd ../..
1050
1051install %{SOURCE10} source4/heimdal/lib/wind/rfc3454.txt
1052
1053%build
1054cd source3
1055%{__libtoolize}
1056%{__autoconf} -Im4 -I../m4 -I../lib/replace -Ilib/replace -I../source4
1057%configure \
1058 --with-modulesdir=%{_sambalibdir} \
1059 --with-rootsbindir=/sbin \
1060 --with-pammodulesdir=/%{_lib}/security \
1061 --with-acl-support \
1062 --with-aio-support \
1063 --with-automount \
1064 --with-cifsmount \
1065 --with-cifsumount \
1066 --with-cifsupcall \
1067 --with-libsmbclient \
1068 --with-lockdir=/var/lib/samba \
1069 --with-pam \
1070 --with-pam_smbpass \
1071 --with%{!?with_ads:out}-ads \
1072 --with-privatedir=%{_sysconfdir}/samba \
1073 --with-quotas \
1074 --with-readline \
1075 --with-swatdir=%{_datadir}/swat \
1076 --with-syslog \
1077 --with-utmp \
1078 --with-fhs \
1079%if %{with system_libtalloc}
1080 --with-libtalloc=no \
1081 --enable-external-libtalloc=yes \
1082%endif
1083 --without-included-popt \
1084 --%{?with_merged_build:en}%{!?with_merged_build:dis}able-merged-build \
1085 --enable-automatic-dependencies \
1086 --enable-dso \
1087 --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
1088 --disable-dnssd \
1089 --with%{!?with_ldap:out}-ldap \
1090 --with%{!?with_kerberos5:out}-krb5
1091
1092%{__make} -j1 everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest \
1093 LD=ld
1094
1095cd ../examples
1096%{__make} -C libsmbclient/smbwrapper \
1097 CC="%{__cc}" \
1098 CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1099
1100cd VFS
1101%{__autoheader}
1102%{__autoconf}
1103%configure \
1104 CFLAGS="%{rpmcflags} -fPIC"
1105%{__make}
1106
1107%if %{with vscan}
1108cd samba-vscan-%{vscan_version}
1109cp -f /usr/share/automake/config.sub .
1110%configure
1111ln -s ../../../source3/lib .
1112%{__make} all
1113%endif
1114
1115%install
1116rm -rf $RPM_BUILD_ROOT
1117install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1118 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1119 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1120 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1121
1122%{__make} -C source3 install \
1123 DESTDIR=$RPM_BUILD_ROOT \
1124 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1125
1126install source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1127
1128install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1129install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1130install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1131install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1132install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1133install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1134install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1135install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1136
1137install nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1138ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1139install nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1140ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1141install source3/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1142install source3/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1143install source3/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1144
1145install source3/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1146
1147# smbwrapper
1148install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1149install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1150install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1151
1152# these are needed to build samba-pdbsql
1153install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1154cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1155cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1156cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1157
1158%if %{with vscan}
1159# vscan modules
1160install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1161install examples/VFS/samba-vscan-%{vscan_version}/{antivir,clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
1162%endif
1163
1164touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1165
1166echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1167
1168%if %{with cups}
1169install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1170ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1171%endif
1172
1173> $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1174> $RPM_BUILD_ROOT/etc/security/blacklist.samba
1175
1176# unneeded
1177#rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
1178
1179# tests
1180%if %{with merged_build}
1181rm -r $RPM_BUILD_ROOT%{_bindir}/{gentest4,locktest4,masktest4,nsstest4}
1182%endif
1183
1184%if %{with ldap}
1185install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1186%endif
1187
1188%find_lang pam_winbind
1189
1190%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1191%py_comp $RPM_BUILD_ROOT%{py_sitedir}
1192find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1193
1194%clean
1195rm -rf $RPM_BUILD_ROOT
1196
1197%post
1198/sbin/chkconfig --add smb
1199if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1200 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1201 /sbin/service smb stop >&2
1202 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1203 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1204 if [ -d /var/lock/samba/printing ]; then
1205 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1206 fi
1207 /sbin/service smb start >&2
1208else
1209 %service smb restart "Samba daemons"
1210fi
1211
1212%preun
1213if [ "$1" = "0" ]; then
1214 %service smb stop
1215 /sbin/chkconfig --del smb
1216fi
1217
1218%post winbind
1219/sbin/chkconfig --add winbind
1220%service winbind restart "Winbind daemon"
1221
1222%preun winbind
1223if [ "$1" = "0" ]; then
1224 %service winbind stop
1225 /sbin/chkconfig --del winbind
1226fi
1227
1228%post swat
1229%service -q rc-inetd reload
1230
1231%postun swat
1232if [ "$1" = 0 ]; then
1233 %service -q rc-inetd reload
1234fi
1235
1236%post -n openldap-schema-samba
1237# dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1238%openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1239%service -q ldap restart
1240
1241%postun -n openldap-schema-samba
1242if [ "$1" = "0" ]; then
1243 %openldap_schema_unregister %{schemadir}/samba.schema
1244 %service -q ldap restart
1245fi
1246
1247%triggerpostun -- samba < 1.9.18p7
1248if [ "$1" != "0" ]; then
1249 /sbin/chkconfig --add smb
1250fi
1251
1252%if "%{pld_release}" != "ti"
1253%triggerpostun -- samba < 3.4.0
1254%banner %{name} << EOF
1255!!! WARNING !!! The default passdb backend has been changed to 'tdbsam'!
1256That breaks existing setups using the 'smbpasswd' backend without explicit declaration!
1257Please use 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
1258backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e tdbsam'.
1259EOF
1260%endif
1261
1262%files
1263%defattr(644,root,root,755)
1264%attr(755,root,root) %{_sbindir}/nmbd
1265%attr(755,root,root) %{_sbindir}/smbd
1266%attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1267%if %{with merged_build}
1268#%attr(755,root,root) %{_bindir}/ad2oLschema4
1269%attr(755,root,root) %{_bindir}/oLschema2ldif4
1270%attr(755,root,root) %{_bindir}/reg*
1271# "This utility disabled until rewritten"
1272#%attr(755,root,root) %{_bindir}/setnttoken4
1273%endif
1274%attr(755,root,root) %{_bindir}/ldb*
1275%attr(755,root,root) %{_bindir}/smbstatus
1276%attr(755,root,root) %{_bindir}/smbpasswd
1277%attr(755,root,root) %{_bindir}/smbcontrol
1278
1279%dir %{_libdir}/%{name}/pdb
1280%dir %{_vfsdir}
1281%attr(755,root,root) %{_vfsdir}/acl_tdb.so
1282%attr(755,root,root) %{_vfsdir}/acl_xattr.so
1283%attr(755,root,root) %{_vfsdir}/aio_fork.so
1284%attr(755,root,root) %{_vfsdir}/dirsort.so
1285%attr(755,root,root) %{_vfsdir}/fileid.so
1286%attr(755,root,root) %{_vfsdir}/preopen.so
1287%attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1288%attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1289%attr(755,root,root) %{_vfsdir}/streams_depot.so
1290%attr(755,root,root) %{_vfsdir}/streams_xattr.so
1291%attr(755,root,root) %{_vfsdir}/syncops.so
1292%attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1293%{_mandir}/man8/vfs_acl_tdb.8*
1294%{_mandir}/man8/vfs_acl_xattr.8*
1295%{_mandir}/man8/vfs_dirsort.8*
1296%{_mandir}/man8/vfs_fileid.8*
1297%{_mandir}/man8/vfs_preopen.8*
1298%{_mandir}/man8/vfs_shadow_copy2.8*
1299%{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1300%{_mandir}/man8/vfs_streams_xattr.8*
1301%{_mandir}/man8/vfs_streams_depot.8*
1302%{_mandir}/man8/vfs_xattr_tdb.8*
1303
1304
1305%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1306%attr(754,root,root) /etc/rc.d/init.d/smb
1307%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1308%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1309%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1310%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1311%{_mandir}/man1/ldb*.1*
1312%{_mandir}/man1/log2pcap.1*
1313%{_mandir}/man1/smbstatus.1*
1314%{_mandir}/man1/smbcontrol.1*
1315%{_mandir}/man5/smbpasswd.5*
1316%{_mandir}/man7/samba.7*
1317%{_mandir}/man8/nmbd.8*
1318%{_mandir}/man8/smbd.8*
1319%{_mandir}/man8/smbpasswd.8*
1320
1321%dir %{_sambahome}
1322%dir /var/lib/samba
1323%ghost /var/lib/samba/*.dat
1324%dir /var/lib/samba/printing
1325
1326%attr(750,root,root) %dir /var/log/samba
1327%attr(750,root,root) %dir /var/log/samba/cores
1328%attr(750,root,root) %dir /var/log/samba/cores/smbd
1329%attr(750,root,root) %dir /var/log/samba/cores/nmbd
1330%attr(750,root,root) %dir /var/log/archive/samba
1331%attr(1777,root,root) %dir /var/spool/samba
1332%if %{with ldap}
1333%doc examples/LDAP
1334%endif
1335
1336%files winbind -f pam_winbind.lang
1337%defattr(644,root,root,755)
1338%attr(755,root,root) %{_sbindir}/winbindd
1339%attr(755,root,root) %{_bindir}/wbinfo
1340#%if %{with merged_build}
1341#%attr(755,root,root) %{_bindir}/wbinfo4
1342#%endif
1343%attr(755,root,root) /%{_lib}/security/pam_winbind*
1344%attr(755,root,root) /%{_lib}/libnss_winbind*
1345%attr(754,root,root) /etc/rc.d/init.d/winbind
1346%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1347%{_mandir}/man1/wbinfo*.1*
1348%{_mandir}/man5/pam_winbind.conf.5*
1349%{_mandir}/man8/pam_winbind.8*
1350%{_mandir}/man8/winbindd*.8*
1351
1352%files -n nss_wins
1353%defattr(644,root,root,755)
1354%attr(755,root,root) /%{_lib}/libnss_wins*
1355
1356%files client
1357%defattr(644,root,root,755)
1358%if %{with merged_build}
1359%attr(755,root,root) %{_bindir}/cifsdd4
1360%attr(755,root,root) %{_bindir}/net4
1361%attr(755,root,root) %{_bindir}/nmblookup4
1362%attr(755,root,root) %{_bindir}/smbclient4
1363%attr(755,root,root) %{_bindir}/mount.cifs4
1364%attr(755,root,root) %{_bindir}/umount.cifs4
1365%attr(755,root,root) %{_bindir}/setnttoken4
1366%attr(755,root,root) %{_bindir}/smbtorture4
1367%endif
1368%attr(755,root,root) /sbin/mount.cifs
1369%attr(755,root,root) /sbin/umount.cifs
1370%attr(755,root,root) %{_bindir}/findsmb
1371%attr(755,root,root) %{_bindir}/net
1372%attr(755,root,root) %{_bindir}/nmblookup
1373%attr(755,root,root) %{_bindir}/rpcclient
1374%attr(755,root,root) %{_bindir}/sharesec
1375%attr(755,root,root) %{_bindir}/smbcacls
1376%attr(755,root,root) %{_bindir}/smbclient
1377%attr(755,root,root) %{_bindir}/smbsh
1378%attr(755,root,root) %{_bindir}/smbtar
1379%attr(755,root,root) %{_bindir}/smbtree
1380%attr(755,root,root) %{_sbindir}/cifs.upcall
1381%attr(755,root,root) %{_libdir}/smbwrapper.so
1382%{_mandir}/man1/findsmb.1*
1383%{_mandir}/man1/nmblookup.1*
1384%{_mandir}/man1/rpcclient.1*
1385%{_mandir}/man1/sharesec.1*
1386%{_mandir}/man1/smbcacls.1*
1387%{_mandir}/man1/smbclient.1*
1388%{_mandir}/man1/smbsh.1*
1389%{_mandir}/man1/smbtar.1*
1390%{_mandir}/man1/smbtree.1*
1391%{_mandir}/man8/net.8*
1392%{_mandir}/man8/*mount.cifs.8*
1393%{_mandir}/man8/cifs.upcall.8*
1394
1395%files common
1396%defattr(644,root,root,755)
1397%if %{with merged_build}
1398%attr(755,root,root) %{_bindir}/getntacl4
1399%attr(755,root,root) %{_bindir}/ndrdump4
1400%attr(755,root,root) %{_bindir}/ntlm_auth4
1401%attr(755,root,root) %{_bindir}/testparm4
1402%endif
1403%doc README Manifest WHATSNEW.txt
1404%doc Roadmap docs/registry/*
1405%doc docs/{history,THANKS}
1406%dir %{_sysconfdir}/samba
1407%attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1408%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1409%attr(755,root,root) %{_bindir}/eventlogadm
1410%attr(755,root,root) %{_bindir}/ntlm_auth
1411%attr(755,root,root) %{_bindir}/pdbedit
1412%attr(755,root,root) %{_bindir}/profiles
1413%attr(755,root,root) %{_bindir}/smbcquotas
1414%attr(755,root,root) %{_bindir}/testparm
1415%attr(755,root,root) %{_bindir}/vfstest
1416%dir %{_libdir}/%{name}
1417%{_libdir}/%{name}/*.dat
1418%dir %{_libdir}/%{name}/auth
1419%attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1420%dir %{_libdir}/%{name}/charset
1421%attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1422%{_mandir}/man1/ntlm_auth.1*
1423%{_mandir}/man1/profiles.1*
1424%{_mandir}/man1/smbcquotas.1*
1425%{_mandir}/man1/testparm.1*
1426%{_mandir}/man1/vfstest.1*
1427#%{_mandir}/man1/log2pcap.1*
1428%{_mandir}/man5/lmhosts.5*
1429%{_mandir}/man5/smb.conf.5*
1430%{_mandir}/man8/pdbedit.8*
1431%{_mandir}/man8/eventlogadm.8*
1432%{_mandir}/man8/idmap_ad.8*
1433%{_mandir}/man8/idmap_adex.8*
1434%{_mandir}/man8/idmap_hash.8*
1435%{_mandir}/man8/idmap_ldap.8*
1436%{_mandir}/man8/idmap_nss.8*
1437%{_mandir}/man8/idmap_rid.8*
1438%{_mandir}/man8/idmap_tdb.8*
1439%{_mandir}/man8/idmap_tdb2.8*
1440
1441%files swat
1442%defattr(644,root,root,755)
1443#%doc swat/README* swat/help/*
1444%doc swat/help/*
1445%attr(755,root,root) %{_sbindir}/swat
1446%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1447%dir %{_datadir}/swat
1448%{_datadir}/swat/help
1449%{_datadir}/swat/images
1450%{_datadir}/swat/include
1451%dir %{_datadir}/swat/lang
1452%lang(ja) %{_datadir}/swat/lang/ja
1453%lang(tr) %{_datadir}/swat/lang/tr
1454%lang(de) %{_libdir}/%{name}/de.msg
1455%{_libdir}/%{name}/en.msg
1456%lang(fi) %{_libdir}/%{name}/fi.msg
1457%lang(fr) %{_libdir}/%{name}/fr.msg
1458%lang(it) %{_libdir}/%{name}/it.msg
1459%lang(ja) %{_libdir}/%{name}/ja.msg
1460%lang(nl) %{_libdir}/%{name}/nl.msg
1461%lang(pl) %{_libdir}/%{name}/pl.msg
1462%lang(ru) %{_libdir}/%{name}/ru.msg
1463%lang(tr) %{_libdir}/%{name}/tr.msg
1464%{_mandir}/man8/swat.8*
1465
1466%files -n pam-pam_smbpass
1467%defattr(644,root,root,755)
1468%doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1469%attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1470
1471%files -n libsmbclient
1472%defattr(644,root,root,755)
1473%attr(755,root,root) %{_libdir}/libsmbclient.so.*
1474%attr(755,root,root) %{_libdir}/libwbclient.so.*
1475%{_mandir}/man7/libsmbclient.7*
1476
1477%files -n libsmbclient-devel
1478%defattr(644,root,root,755)
1479%attr(755,root,root) %{_libdir}/libsmbclient.so
1480%attr(755,root,root) %{_libdir}/libwbclient.so
1481%{_includedir}/libsmbclient.h
1482%{_includedir}/wbclient.h
1483
1484%if %{without system_libtalloc}
1485%files -n libtalloc
1486%defattr(644,root,root,755)
1487%attr(755,root,root) %{_libdir}/libtalloc.so.*
1488
1489%files -n libtalloc-devel
1490%defattr(644,root,root,755)
1491%attr(755,root,root) %{_libdir}/libtalloc.so
1492%{_includedir}/talloc.h
1493%endif
1494
1495%files -n tdb
1496%defattr(644,root,root,755)
1497%attr(755,root,root) %{_bindir}/tdbbackup
1498%attr(755,root,root) %{_bindir}/tdbdump
1499%attr(755,root,root) %{_bindir}/tdbtool
1500%if %{with merged_build}
1501%attr(755,root,root) %{_bindir}/tdbbackup4
1502%attr(755,root,root) %{_bindir}/tdbdump4
1503%attr(755,root,root) %{_bindir}/tdbtool4
1504%attr(755,root,root) %{_bindir}/tdbtorture4
1505%endif
1506%attr(755,root,root) %{_libdir}/libtdb.so.*
1507%{_mandir}/man8/tdbbackup.8*
1508%{_mandir}/man8/tdbdump.8*
1509%{_mandir}/man8/tdbtool.8*
1510
1511%files -n tdb-devel
1512%defattr(644,root,root,755)
1513%attr(755,root,root) %{_libdir}/libtdb.so
1514%{_includedir}/tdb.h
1515
1516%files devel
1517%defattr(644,root,root,755)
1518%{_includedir}/%{name}
1519
1520%files -n libsmbclient-static
1521%defattr(644,root,root,755)
1522%{_libdir}/libsmbclient.a
1523
1524%files -n smbget
1525%defattr(644,root,root,755)
1526%attr(755,root,root) %{_bindir}/smbget
1527%{_mandir}/man1/smbget.1*
1528%{_mandir}/man5/smbgetrc.5*
1529
1530%if %{with cups}
1531%files -n cups-backend-smb
1532%defattr(644,root,root,755)
1533%attr(755,root,root) %{_bindir}/smbspool
1534%attr(755,root,root) %{cups_serverbin}/backend/smb
1535%{_mandir}/man8/smbspool.8*
1536%endif
1537
1538%files vfs-audit
1539%defattr(644,root,root,755)
1540%attr(755,root,root) %{_vfsdir}/audit.so
1541%attr(755,root,root) %{_vfsdir}/extd_audit.so
1542%attr(755,root,root) %{_vfsdir}/full_audit.so
1543%{_mandir}/man8/vfs_audit.8*
1544%{_mandir}/man8/vfs_extd_audit.8*
1545%{_mandir}/man8/vfs_full_audit.8*
1546
1547%files vfs-cap
1548%defattr(644,root,root,755)
1549%attr(755,root,root) %{_vfsdir}/cap.so
1550%{_mandir}/man8/vfs_cap.8*
1551
1552%files vfs-default_quota
1553%defattr(644,root,root,755)
1554%attr(755,root,root) %{_vfsdir}/default_quota.so
1555%{_mandir}/man8/vfs_default_quota.8*
1556
1557%files vfs-expand_msdfs
1558%defattr(644,root,root,755)
1559%attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1560
1561%files vfs-fake_perms
1562%defattr(644,root,root,755)
1563%attr(755,root,root) %{_vfsdir}/fake_perms.so
1564%{_mandir}/man8/vfs_fake_perms.8*
1565
1566%files vfs-notify_fam
1567%defattr(644,root,root,755)
1568%attr(755,root,root) %{_vfsdir}/notify_fam.so
1569%{_mandir}/man8/vfs_notify_fam.8*
1570
1571%files vfs-netatalk
1572%defattr(644,root,root,755)
1573%attr(755,root,root) %{_vfsdir}/netatalk.so
1574%{_mandir}/man8/vfs_netatalk.8*
1575
1576%files vfs-readahead
1577%defattr(644,root,root,755)
1578%attr(755,root,root) %{_vfsdir}/readahead.so
1579%{_mandir}/man8/vfs_readahead.8*
1580
1581%files vfs-readonly
1582%defattr(644,root,root,755)
1583%attr(755,root,root) %{_vfsdir}/readonly.so
1584%{_mandir}/man8/vfs_readonly.8*
1585
1586%files vfs-recycle
1587%defattr(644,root,root,755)
1588%attr(755,root,root) %{_vfsdir}/recycle.so
1589%{_mandir}/man8/vfs_recycle.8*
1590
1591%files vfs-shadow_copy
1592%defattr(644,root,root,755)
1593%attr(755,root,root) %{_vfsdir}/shadow_copy.so
1594%{_mandir}/man8/vfs_shadow_copy.8*
1595
1596%if %{with vscan}
1597%files vfs-vscan-antivir
1598%defattr(644,root,root,755)
1599#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1600%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1601%attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1602
1603%files vfs-vscan-clamav
1604%defattr(644,root,root,755)
1605#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1606%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1607%attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1608
1609%files vfs-vscan-fprot
1610%defattr(644,root,root,755)
1611#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1612%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1613%attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1614
1615%files vfs-vscan-fsav
1616%defattr(644,root,root,755)
1617#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1618%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1619%attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1620
1621%files vfs-vscan-kavp
1622%defattr(644,root,root,755)
1623#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1624%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1625%attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1626
1627%files vfs-vscan-mcafee
1628%defattr(644,root,root,755)
1629#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1630%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1631%attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1632
1633%if %{with mks}
1634%ifarch %{ix86} %{x8664}
1635%files vfs-vscan-mks
1636%defattr(644,root,root,755)
1637#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1638%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1639%attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1640%endif
1641%endif
1642
1643%files vfs-vscan-openantivirus
1644%defattr(644,root,root,755)
1645#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1646%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1647%attr(755,root,root) %{_vfsdir}/vscan-oav.so
1648
1649%files vfs-vscan-sophos
1650%defattr(644,root,root,755)
1651#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1652%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1653%attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1654
1655%files vfs-vscan-symantec
1656%defattr(644,root,root,755)
1657#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1658%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1659%attr(755,root,root) %{_vfsdir}/vscan-icap.so
1660
1661%files vfs-vscan-trend
1662%defattr(644,root,root,755)
1663#%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1664%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1665%attr(755,root,root) %{_vfsdir}/vscan-trend.so
1666%endif
1667
1668%files vfs-catia
1669%defattr(644,root,root,755)
1670%attr(755,root,root) %{_vfsdir}/catia.so
1671%{_mandir}/man8/vfs_catia.8*
1672
1673%files vfs-scannedonly
1674%defattr(644,root,root,755)
1675%attr(755,root,root) %{_vfsdir}/scannedonly.so
1676%{_mandir}/man8/vfs_scannedonly.8*
1677
1678%if %{with ldap}
1679%files -n openldap-schema-samba
1680%defattr(644,root,root,755)
1681%{schemadir}/*.schema
1682%endif
1683
1684%files doc-html
1685%defattr(644,root,root,755)
1686%doc docs/htmldocs/*
1687
1688%files doc-pdf
1689%defattr(644,root,root,755)
1690%doc docs/*.pdf
1691
1692%if 0
1693%files -n python-samba
1694%defattr(644,root,root,755)
1695%attr(755,root,root) %{py_sitedir}/*.so
1696%dir %{py_sitedir}/samba
1697%attr(755,root,root) %{py_sitedir}/samba/*.so
1698%{py_sitedir}/samba/*.py[co]
1699%dir %{py_sitedir}/samba/dcerpc
1700%{py_sitedir}/samba/dcerpc/*.py[co]
1701%attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1702%dir %{py_sitedir}/samba/tests
1703%{py_sitedir}/samba/tests/*.py[co]
1704%dir %{py_sitedir}/samba/tests/dcerpc
1705%{py_sitedir}/samba/tests/dcerpc/*.py[co]
1706%dir %{py_sitedir}/samba/torture
1707%{py_sitedir}/samba/torture/*.py[co]
1708%endif
This page took 0.081967 seconds and 4 git commands to generate.