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