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