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