]> git.pld-linux.org Git - packages/samba.git/blame - samba4.spec
- cleanup samba3 packages naming scheme
[packages/samba.git] / samba4.spec
CommitLineData
29511e6d 1#
e4bb74d8 2# Conditional build:
34895621
JR
3%bcond_without ads # without ActiveDirectory support
4%bcond_without cups # without CUPS support
5%bcond_without kerberos5 # without Kerberos V support
6%bcond_without ldap # without LDAP support
7%bcond_without avahi
e71e0470 8%bcond_without system_libs
105507bc 9
07069da4 10# ADS requires kerberos5 and LDAP
aceac5ef 11%if %{without kerberos5} || %{without ldap}
1e2a5fcf
JB
12%undefine with_ads
13%endif
aceac5ef 14
e71e0470
JR
15%if %{with system_libs}
16%define talloc_ver 2.0.7
17%define tdb_ver 2:1.2.10
c083eea8 18%define ldb_ver 1.1.15
e71e0470 19%define tevent_ver 0.9.17
4ecf4d28
JB
20%endif
21
7d14b7f3 22%define virusfilter_version 0.1.3
ac6f9d13 23Summary: SMB server
fa1faeca
ER
24Summary(cs.UTF-8): Server SMB
25Summary(da.UTF-8): SMB server
26Summary(de.UTF-8): SMB-Server
27Summary(es.UTF-8): El servidor SMB
28Summary(fi.UTF-8): SMB-palvelin
29Summary(fr.UTF-8): Serveur SMB
30Summary(it.UTF-8): Server SMB
31Summary(ja.UTF-8): Samba SMB サーバー
32Summary(ko.UTF-8): 삼바 SMB 서버
33Summary(pl.UTF-8): Serwer SMB
34Summary(pt_BR.UTF-8): Cliente e servidor SMB
35Summary(ru.UTF-8): SMB клиент и сервер
36Summary(tr.UTF-8): SMB sunucusu
37Summary(uk.UTF-8): SMB клієнт та сервер
38Summary(zh_CN.UTF-8): Samba 客户端和服务器
670da5b0 39Name: samba4
c083eea8 40Version: 4.0.3
ed426448 41Release: 0.11
6646cd44 42Epoch: 1
6bef715a 43License: GPL v3
11d2c190 44Group: Networking/Daemons
670da5b0 45Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz
c083eea8 46# Source0-md5: fdb093fb362109dae0ccadc314318da7
ba850b61 47Source1: smb.init
46c25e95 48Source2: samba.pamd
d7dadfd6 49Source3: swat.inetd
46c25e95
JR
50Source4: samba.sysconfig
51Source5: samba.logrotate
138aecb0 52Source6: smb.conf
68134596 53Source7: winbind.init
54Source8: winbind.sysconfig
46c25e95 55Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2
7d14b7f3 56# Source10-md5: a3a30d5fbf309d356e8c5833db680c17
34895621 57Patch0: system-heimdal.patch
46c25e95
JR
58Patch1: samba-c++-nofail.patch
59Patch3: samba-nscd.patch
60Patch4: samba-lprng-no-dot-printers.patch
450db13e 61Patch5: samba-fam.patch
7a52c5df 62URL: http://www.samba.org/
bd658e80 63BuildRequires: acl-devel
ea8d81e5 64BuildRequires: autoconf
017136ce 65BuildRequires: automake
a0d23d1e 66%{?with_avahi:BuildRequires: avahi-devel}
aceac5ef 67BuildRequires: ctdb-devel
62dc8910 68%{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
51bcdd9a 69BuildRequires: dmapi-devel
5b010594 70BuildRequires: gamin-devel
ff01b4ff 71BuildRequires: gdbm-devel
9f74dab7 72BuildRequires: gettext-devel
34895621 73%{?with_kerberos5:BuildRequires: heimdal-devel >= 1.5.3-1}
9f74dab7 74BuildRequires: iconv
1125cc60 75BuildRequires: keyutils-devel
34895621 76BuildRequires: libcom_err-devel
53ce942a 77BuildRequires: libmagic-devel
4d8c5e20 78BuildRequires: libnscd-devel
f092c096 79BuildRequires: libtool >= 2:1.4d
40d90f9e 80BuildRequires: make >= 3.81
0f00e211 81BuildRequires: ncurses-devel >= 5.2
78d04323 82%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
c951a08c 83BuildRequires: openssl-devel >= 0.9.7d
793ad0f8 84BuildRequires: pam-devel >= 0.99.8.1
6646cd44
JR
85BuildRequires: perl(ExtUtils::MakeMaker)
86BuildRequires: perl(Parse::Yapp)
9f74dab7 87BuildRequires: pkgconfig
f092c096 88BuildRequires: popt-devel
16c4fca4 89%{?with_pgsql:BuildRequires: postgresql-devel}
190a259b
JR
90BuildRequires: python-devel
91BuildRequires: python-dns
6bf53014 92BuildRequires: python-modules
190a259b 93BuildRequires: python-testtools
f092c096 94BuildRequires: readline-devel >= 4.2
dce29ff7 95BuildRequires: rpmbuild(macros) >= 1.647
e155c475 96BuildRequires: sed >= 4.0
e71e0470 97%if %{with system_libs}
e71e0470
JR
98BuildRequires: ldb-devel >= %{ldb_ver}
99BuildRequires: python-ldb-devel >= %{ldb_ver}
100BuildRequires: python-talloc-devel >= %{talloc_ver}
101BuildRequires: python-tevent >= %{tevent_ver}
05913998
JR
102BuildRequires: talloc-devel >= %{talloc_ver}
103BuildRequires: tdb-devel >= %{tdb_ver}
104BuildRequires: tevent-devel >= %{tevent_ver}
e71e0470 105%endif
bd658e80 106BuildRequires: xfsprogs-devel
34895621 107BuildConflicts: libbsd-devel
656b05ab 108Requires(post,preun): /sbin/chkconfig
6646cd44 109Requires: %{name}-common = %{epoch}:%{version}-%{release}
cd83be60 110Requires: logrotate >= 3.7-4
793ad0f8 111Requires: pam >= 0.99.8.1
8bf54aa6 112Requires: rc-scripts >= 0.4.0.12
27879fe9 113Requires: setup >= 2.4.6-7
dce29ff7 114Requires: systemd-units >= 38
62dc8910 115# smbd links with libcups
ac083993 116%{?with_cups:Requires: cups-lib >= 1:1.2.0}
e765216e
JR
117Obsoletes: samba-doc-html
118Obsoletes: samba-doc-pdf
05913998
JR
119Obsoletes: samba-pdb-xml
120Obsoletes: samba-vfs-block
da3dadf3 121BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1925a8b4 122
c10bc67e 123%define _sambahome /home/services/samba
ddea14b0 124%if %{with cups}
478e9eab 125%define cups_serverbin %{_prefix}/lib/cups
fd9d8b85 126%endif
99795f36 127%define schemadir /usr/share/openldap/schema
92c45d25 128
01485082
ER
129# CFLAGS modified (the second ./configure)
130%undefine configure_cache
131
e11c6ca1 132%description
cfa67cf6 133Samba provides an SMB server which can be used to provide network
134services to SMB (sometimes called "Lan Manager") clients, including
135various versions of MS Windows, OS/2, and other Linux machines. Samba
136also provides some SMB clients, which complement the built-in SMB
137filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
138and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
e11c6ca1 139
140This release is known as the "Locking Update" and has full support for
cfa67cf6 141Opportunistic File Locking. In addition this update includes native
142support for Microsoft encrypted passwords, improved browse list and
143WINS database management.
e11c6ca1 144
cfa67cf6 145Please refer to the WHATSNEW.txt document for fixup information. This
146binary release includes encrypted password support. Please read the
dc18070c 147smb.conf file for implementation details.
d68d5e15 148
96088f7b
JR
149%description -l cs.UTF-8
150Samba poskytuje server SMB, který lze použít pro poskytování síťových
151služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
152klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
153Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
154souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
155TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
156NetBIOS od společnosti Microsoft.
157
158%description -l da.UTF-8
159Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
160services til SMB (også kaldet "Lan Manager") klienter, incl.
cfa67cf6 161forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
96088f7b 162Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
cfa67cf6 163filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
96088f7b 164protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
cfa67cf6 165protokollen.
d1d64cbe 166
96088f7b
JR
167%description -l de.UTF-8
168Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
169SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
cfa67cf6 170verschiedenen Versionen von MS Windows-, OS/2- und anderen
96088f7b
JR
171Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
172Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
173NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
cfa67cf6 174(Microsoft Raw NetBIOS frame)-Protokoll.
d1d64cbe 175
96088f7b 176%description -l es.UTF-8
da957f7e 177Samba provee un servidor SMB que se puede usar para ofrecer servicios
178de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
96088f7b
JR
179incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
180Linux. Samba también ofrece algunos clientes SMB, que complementan el
da957f7e 181sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
182TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
183NetBIOS frame).
184
96088f7b
JR
185%description -l fi.UTF-8
186Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
cfa67cf6 187verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
188Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
189Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
96088f7b
JR
190myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
191kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
192over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
cfa67cf6 193NetBEUI-protokollaa.
d1d64cbe 194
96088f7b 195%description -l it.UTF-8
cfa67cf6 196Samba fornisce un server SMB che puo` essere usato per fornire servizi
197di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
198altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
199NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
e11c6ca1 200
96088f7b
JR
201%description -l ja.UTF-8
202Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
203を含む SMB (たまに "Lan Manager" と呼ばれる)
204クライアントにネットワーク サービスを提供するために使用される SMB
205サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
206プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
207プロトコルは必要ありません。
208
209Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
210好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
211新しい SWAT (Samba Web Administration Tool) を含みます。
212目下のところこれは inetd を通して TCP ポート 901 で有効になります。
213
214%description -l ko.UTF-8
215삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
216"Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
217있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
218사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
219않다.
220
221삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
222SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
223삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
224TCP 901 포트를 사용하게 된다.
225
226최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
227릴리즈는 암호화된 패스워드를 제공한다.
228
229%description -l pl.UTF-8
230Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
231usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
232takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
233znajduje się również oprogramowanie klienckie. Samba używa protokołu
234NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
235pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
236haseł w standardzie MS i zarządzania bazą WINS.
237
238%description -l pt_BR.UTF-8
239O Samba provê um servidor SMB que pode ser usado para oferecer
240serviços de rede a clientes SMB (algumas vezes chamado de "Lan
241Manager"), incluindo várias versões de MS Windows, OS/2, e outras
242máquinas Linux. O Samba também fornece alguns clientes SMB, que
da957f7e 243complementam o sistema de arquivos SMB do Linux. O Samba usa o
96088f7b 244protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
da957f7e 245NetBEUI (Microsoft Raw NetBIOS frame).
246
96088f7b
JR
247O Samba inclui a maioria das características de um servidor de
248Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
249permite que o arquivo smb.conf seja gerenciado remotamente através de
250um navegador. Atualmente isto está sendo habilitado na porta TCP 901
da957f7e 251via inetd.
252
96088f7b
JR
253%description -l ru.UTF-8
254Samba предоставляет SMB-сервер, который может быть использован для
255предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
256клиентам, включая разнообразные версии MS Windows, OS/2, и другие
257Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
258со встроенной в Linux файловой системой SMB.
da957f7e 259
96088f7b
JR
260Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
261протоколе NetBEUI (Microsoft Raw NetBIOS frame).
da957f7e 262
96088f7b
JR
263Samba содержит практически работающую реализацию NT Domain Control и
264включает новый SWAT (Samba Web Administration Tool), который позволяет
265удаленно управлять конфигурационным файлом smb.conf при помощи вашего
266любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
da957f7e 267901.
268
96088f7b
JR
269%description -l uk.UTF-8
270Samba надає SMB-сервер, що може бути використаний для надання
271мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
272включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
273Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
274файловою системою SMB.
da957f7e 275
96088f7b
JR
276Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
277протоколу NetBEUI (Microsoft Raw NetBIOS frame).
da957f7e 278
96088f7b
JR
279Samba містить майже працюючу реализацію NT Domain Control та новый
280SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
281керувати конфігураційним файлом smb.conf за допомогою вашого
282улюбленого WEB-броузера. Поки що він дозволений через inetd на
283TCP-порту 901.
da957f7e 284
c083eea8 285%package -n samba3-swat
11d2c190 286Summary: Samba Web Administration Tool
fa1faeca
ER
287Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
288Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
289Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
290Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
11d2c190 291Group: Networking/Admin
ed426448 292Requires: %{name}-samba3 = %{epoch}:%{version}-%{release}
d7dadfd6 293Requires: inetdaemon
bd658e80 294Requires: rc-inetd >= 0.8.2
29511e6d 295Obsoletes: swat
11d2c190 296
c083eea8 297%description -n samba3-swat
cfa67cf6 298swat allows a Samba administrator to configure the complex smb.conf
299file via a Web browser. In addition, a swat configuration page has
300help links to all the configurable options in the smb.conf file
301allowing an administrator to easily look up the effects of any change.
11d2c190 302
c083eea8 303%description -n samba3-swat -l pl.UTF-8
96088f7b
JR
304swat pozwala na kompleksową konfigurację smb.conf przy pomocy
305przeglądarki WWW.
11d2c190 306
c083eea8 307%description -n samba3-swat -l pt_BR.UTF-8
96088f7b 308SWAT - ferramentada Web de configuração do Samba.
da957f7e 309
c083eea8 310%description -n samba3-swat -l ru.UTF-8
96088f7b
JR
311Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
312для удаленного администрирования файла smb.conf при помощи вашего
313любимого Web-браузера.
da957f7e 314
c083eea8 315%description -n samba3-swat -l uk.UTF-8
96088f7b
JR
316Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
317для дистанційного адміністрування файлу smb.conf за допомогою вашого
318улюбленого Web-браузеру.
da957f7e 319
ac6f9d13 320%package client
ea8d81e5 321Summary: Samba client programs
fa1faeca
ER
322Summary(es.UTF-8): Cliente SMB de Samba
323Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
324Summary(pl.UTF-8): Klienci serwera Samba
325Summary(pt_BR.UTF-8): Cliente SMB do samba
326Summary(ru.UTF-8): Клиентские программы Samba (SMB)
327Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
2eedd257 328Group: Applications/Networking
6646cd44 329Requires: %{name}-common = %{epoch}:%{version}-%{release}
34895621 330%{?with_kerberos5:Requires: heimdal-libs >= 1.5.3-1}
c083eea8 331Requires: libsmbclient-raw = %{epoch}:%{version}-%{release}
b0b9dc36 332Suggests: cifs-utils
85d322d3 333Obsoletes: smbfs
ac6f9d13
MC
334
335%description client
336Samba-client provides some SMB clients, which complement the build-in
337SMB filesystem in Linux. These allow accessing of SMB shares and
338printing to SMB printers.
339
96088f7b 340%description client -l es.UTF-8
da957f7e 341Cliente SMB de Samba.
342
96088f7b
JR
343%description client -l ja.UTF-8
344Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
345クライアントを提供します。これらは SMB 共有のアクセスと SMB
346プリンタへの印刷を許可します。
da957f7e 347
96088f7b
JR
348%description client -l pl.UTF-8
349Samba-client dostarcza programy uzupełniające obsługę systemu plików
350SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
bd658e80 351drukowanie w sieci SMB.
ac6f9d13 352
96088f7b 353%description client -l pt_BR.UTF-8
da957f7e 354O pacote samba-clientes prove alguns clientes SMB, que complementam o
355sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
96088f7b 356e também, à impressoras SMB.
da957f7e 357
96088f7b
JR
358%description client -l ru.UTF-8
359Пакет samba-client предоставляет некоторые клиенты SMB для работы со
360встроенной файловой системой SMB в Linux. Эти клиенты позволяют
361получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
da957f7e 362
96088f7b
JR
363%description client -l uk.UTF-8
364Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
365файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
366до каталогів спільного використання SMB та друк на SMB-прінтери.
da957f7e 367
ac6f9d13 368%package common
ea8d81e5 369Summary: Files used by both Samba servers and clients
fa1faeca 370Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
4ecf4d28 371Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samby
fa1faeca
ER
372Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
373Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
374Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
2eedd257 375Group: Networking/Daemons
0b940f4e
JR
376Requires: talloc >= %{talloc_ver}
377Requires: tdb >= %{tdb_ver}
ac6f9d13
MC
378
379%description common
380Samba-common provides files necessary for both the server and client
381packages of Samba.
382
96088f7b
JR
383%description common -l ja.UTF-8
384Samba-common は Samba のサーバとクライアントの両方のパッケージで
385使用されるファイルを提供します。
da957f7e 386
96088f7b
JR
387%description common -l pl.UTF-8
388Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
4ecf4d28 389klientów Samby.
ac6f9d13 390
96088f7b 391%description common -l pt_BR.UTF-8
da957f7e 392Arquivos em comum entre os pacotes samba e samba-clients.
393
96088f7b
JR
394%description common -l ru.UTF-8
395Samba-common содержит файлы, необходимые для работы как клиента, так и
396сервера Samba.
da957f7e 397
96088f7b
JR
398%description common -l uk.UTF-8
399Samba-common містить файли, необхідні для роботи як клієнта, так і
400сервера Samba.
da957f7e 401
29511e6d 402%package winbind
29511e6d 403Summary: Samba-winbind daemon, utilities and documentation
fa1faeca 404Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
29511e6d 405Group: Networking/Daemons
29511e6d 406Requires(post,preun): /sbin/chkconfig
6646cd44 407Requires: %{name}-common = %{epoch}:%{version}-%{release}
29511e6d 408
409%description winbind
410Provides the winbind daemon and testing tools to allow authentication
411and group/user enumeration from a Windows or Samba domain controller.
412
96088f7b
JR
413%description winbind -l pl.UTF-8
414Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
415uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
4d750758
JB
416Windows lub Samba.
417
450db13e
JR
418%package -n samba3-winbind
419Summary: Samba-winbind daemon, utilities and documentation
420Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
421Group: Networking/Daemons
422Requires(post,preun): /sbin/chkconfig
ed426448 423Requires: %{name}-samba3-common = %{epoch}:%{version}-%{release}
450db13e
JR
424Requires: systemd-units >= 38
425
426%description -n samba3-winbind
427Provides the winbind daemon and testing tools to allow authentication
428and group/user enumeration from a Windows or Samba domain controller.
429
430%description -n samba3-winbind -l pl.UTF-8
431Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
432uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
433Windows lub Samba.
434
29511e6d 435%package -n nss_wins
29511e6d 436Summary: Name Service Switch service for WINS
fa1faeca 437Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
29511e6d 438Group: Base
17937b31 439Requires: samba3-common = %{epoch}:%{version}-%{release}
29511e6d 440
441%description -n nss_wins
4d750758
JB
442Provides the libnss_wins shared library which resolves NetBIOS names
443to IP addresses.
444
96088f7b
JR
445%description -n nss_wins -l pl.UTF-8
446Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
4d750758 447IP.
29511e6d 448
d6883a30 449%package -n pam-pam_smbpass
b36aa9d5 450Summary: PAM Samba Password Module
fa1faeca 451Summary(pl.UTF-8): Moduł PAM smbpass
b36aa9d5 452Group: Base
d6883a30 453Obsoletes: pam_smbpass
b36aa9d5 454
d6883a30 455%description -n pam-pam_smbpass
da957f7e 456PAM module which can be used on conforming systems to keep the
864ca994 457smbpasswd (Samba password) database in sync with the Unix password
da957f7e 458file.
b36aa9d5 459
96088f7b
JR
460%description -n pam-pam_smbpass -l pl.UTF-8
461Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
462Samby) zsynchronizowanego z hasłami uniksowymi.
b36aa9d5 463
c083eea8
JR
464%package -n libsmbclient-raw
465Summary: libsmbclient-raw - samba client library
466Summary(pl.UTF-8): libsmbclient-raw - biblioteka klienta samby
467Group: Libraries
468
469%description -n libsmbclient-raw
470libsmbclient-raw - library that allows to use samba clients functions.
471
472%description -n libsmbclient-raw -l pl.UTF-8
473libsmbclient-raw - biblioteka pozwalająca korzystać z funcji klienta
474samby.
475
476%package -n libsmbclient-raw-devel
477Summary: libsmbclient-raw - samba client library
478Summary(pl.UTF-8): libsmbclient-raw - biblioteka klienta samby
479Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
480Group: Development/Libraries
481Requires: libsmbclient-raw = %{epoch}:%{version}-%{release}
482
483%description -n libsmbclient-raw-devel
484Header files for libsmbclient.
485
486%description -n libsmbclient-raw-devel -l pl.UTF-8
487Pliki nagłówkowe dla libsmbclient-raw.
488
489%description -n libsmbclient-raw-devel -l pt_BR.UTF-8
490Arquivos de inclusão, bibliotecas e documentação necessários para
491desenvolver aplicativos clientes para o samba.
492
493%package -n samba3-libsmbclient
5dd16f0e 494Summary: libsmbclient - samba client library
fa1faeca 495Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
79d8a749 496Group: Libraries
c083eea8 497Obsoletes: libsmbclient < 1:4.0.0-1
79d8a749 498
c083eea8 499%description -n samba3-libsmbclient
5dd16f0e
PG
500libsmbclient - library that allows to use samba clients functions.
501
c083eea8 502%description -n samba3-libsmbclient -l pl.UTF-8
96088f7b 503libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
da957f7e 504samby.
79d8a749 505
c083eea8 506%package -n samba3-libsmbclient-devel
5dd16f0e 507Summary: libsmbclient - samba client library
fa1faeca
ER
508Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
509Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
5dd16f0e 510Group: Development/Libraries
c083eea8
JR
511Requires: samba3-libsmbclient = %{epoch}:%{version}-%{release}
512Obsoletes: libsmbclient-devel < 1:4.0.0-1
79d8a749 513
c083eea8 514%description -n samba3-libsmbclient-devel
5dd16f0e
PG
515Header files for libsmbclient.
516
c083eea8 517%description -n samba3-libsmbclient-devel -l pl.UTF-8
96088f7b 518Pliki nagłówkowe dla libsmbclient.
79d8a749 519
c083eea8 520%description -n samba3-libsmbclient-devel -l pt_BR.UTF-8
96088f7b 521Arquivos de inclusão, bibliotecas e documentação necessários para
da957f7e 522desenvolver aplicativos clientes para o samba.
523
f2b0247b
ER
524%package devel
525Summary: Header files for Samba
fa1faeca 526Summary(pl.UTF-8): Pliki nagłówkowe Samby
f2b0247b
ER
527Group: Development/Libraries
528
529%description devel
530Header files for Samba.
531
96088f7b
JR
532%description devel -l pl.UTF-8
533Pliki nagłówkowe Samby.
9c05ac07 534
f1c7ad61
JR
535%package -n samba3-devel
536Summary: Header files for Samba
537Summary(pl.UTF-8): Pliki nagłówkowe Samby
538Group: Development/Libraries
539
540%description -n samba3-devel
541Header files for Samba.
542
543%description -n samba3-devel -l pl.UTF-8
544Pliki nagłówkowe Samby.
545
c083eea8 546%package -n samba3-smbget
e1c0d47d 547Summary: A utility for retrieving files using the SMB protocol
fa1faeca 548Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
e1c0d47d 549Group: Applications/Networking
29511e6d 550
c083eea8 551%description -n samba3-smbget
29511e6d 552wget-like utility for download files over SMB.
553
c083eea8 554%description -n samba3-smbget -l pl.UTF-8
96088f7b
JR
555Narzędzie podobne do wgeta do pobierania plików protokołem SMB
556używanym w sieciach MS Windows.
29511e6d 557
c083eea8 558%package -n cups-backend-samba3-smb
9f6f5df1 559Summary: CUPS backend for printing to SMB printers
fa1faeca 560Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
61dbeaec 561Group: Applications/Printing
17937b31 562Requires: samba3-client = %{epoch}:%{version}-%{release}
62dc8910 563Requires: cups >= 1:1.2.0
9f6f5df1 564
c083eea8 565%description -n cups-backend-samba3-smb
9f6f5df1
AF
566CUPS backend for printing to SMB printers.
567
c083eea8 568%description -n cups-backend-samba3-smb -l pl.UTF-8
96088f7b 569Backend CUPS-a drukujący na drukarkach SMB.
6ab56661 570
c083eea8
JR
571%package -n samba3-vfs-audit
572Summary: VFS module to audit file access
573Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
4c0ad0d2 574Group: Networking/Daemons
17937b31 575Requires: samba3 = %{epoch}:%{version}-%{release}
70ff6d03 576
c083eea8
JR
577%description -n samba3-vfs-audit
578A simple module to audit file access to the syslog facility. The
579following operations are logged:
8d59ae13 580 - share connect/disconnect,
581 - directory opens/create/remove,
582 - file open/close/rename/unlink/chmod.
70ff6d03 583
c083eea8
JR
584%description -n samba3-vfs-audit -l pl.UTF-8
585Proste moduły do monitorowania dostępu do plików na serwerze samba do
586do sysloga. Monitorowane są następujące operacje:
96088f7b 587 - podłączenie do/odłączenie od zasobu,
8d59ae13 588 - otwarcie/utworzenie/zmiana nazwy katalogu,
96088f7b 589 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
0719a8a7 590
c083eea8
JR
591Zawiera moduły audit, extd_audit i full_audit.
592
593%package -n samba3-vfs-cap
cc6b68cd 594Summary: VFS module for CAP and samba compatibility
fa1faeca 595Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
d1f5710a 596Group: Networking/Daemons
17937b31 597Requires: samba3 = %{epoch}:%{version}-%{release}
d1f5710a 598
c083eea8 599%description -n samba3-vfs-cap
e1c0d47d 600Convert an incoming Shift-JIS character to the 3 byte hex
601representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
602This is used for compatibility between Samba and CAP.
d1f5710a 603
c083eea8 604%description -n samba3-vfs-cap -l pl.UTF-8
cc6b68cd 605Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
96088f7b 606reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
d1f5710a 607
c083eea8 608%package -n samba3-vfs-default_quota
97334e11 609Summary: VFS module to store default quotas in a specified quota record
fa1faeca 610Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
d1f5710a 611Group: Networking/Daemons
17937b31 612Requires: samba3 = %{epoch}:%{version}-%{release}
d1f5710a 613
c083eea8 614%description -n samba3-vfs-default_quota
97334e11 615This VFS modules stores default quotas in a specified quota record.
d1f5710a 616
c083eea8 617%description -n samba3-vfs-default_quota -l pl.UTF-8
96088f7b
JR
618Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
619limitów.
d1f5710a 620
c083eea8 621%package -n samba3-vfs-expand_msdfs
cc6b68cd 622Summary: VFS module for hosting a Microsoft Distributed File System Tree
fa1faeca 623Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
d1f5710a 624Group: Networking/Daemons
17937b31 625Requires: samba3 = %{epoch}:%{version}-%{release}
d1f5710a 626
c083eea8 627%description -n samba3-vfs-expand_msdfs
cc6b68cd 628A VFS module for hosting a Microsoft Distributed File System Tree.
d1f5710a 629
cc6b68cd 630The Distributed File System (DFS) provides a means of separating the
631logical view of files and directories that users see from the actual
e1c0d47d 632physical locations of these resources on the network. It allows for
633higher availability, smoother storage expansion, load balancing, and
634so on.
d1f5710a 635
c083eea8 636%description -n samba3-vfs-expand_msdfs -l pl.UTF-8
96088f7b 637Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
727a2c6a
JB
638File System.
639
96088f7b
JR
640Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
641plików i katalogów widocznych przez użytkowników z fizycznego
642umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
643płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
cc6b68cd 644
c083eea8 645%package -n samba3-vfs-fake_perms
727a2c6a 646Summary: VFS module to report read-only fires as writable
fa1faeca 647Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
d1f5710a 648Group: Networking/Daemons
17937b31 649Requires: samba3 = %{epoch}:%{version}-%{release}
d1f5710a 650
c083eea8 651%description -n samba3-vfs-fake_perms
e1c0d47d 652This module allow Roaming Profile files and directories to be set (on
653the Samba server under UNIX) as read only. This module will, if
654installed on the Profiles share, report to the client that the Profile
655files and directories are writeable. This satisfies the client even
656though the files will never be overwritten as the client logs out or
657shuts down.
d1f5710a 658
c083eea8 659%description -n samba3-vfs-fake_perms -l pl.UTF-8
96088f7b
JR
660Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
661profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
662przypadku zainstalowania na udziale z profilami będzie zgłaszał
663klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
664klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
727a2c6a 665lub wylogowywaniu klienta.
d1f5710a 666
c083eea8 667%package -n samba3-vfs-notify_fam
9f74dab7 668Summary: VFS module to implement file change notifications
8ba454ef
AM
669Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
670Group: Networking/Daemons
17937b31 671Requires: samba3 = %{epoch}:%{version}-%{release}
8ba454ef 672
c083eea8 673%description -n samba3-vfs-notify_fam
8ba454ef
AM
674The vfs_notify_fam module makes use of the system FAM (File Alteration
675Monitor) daemon to implement file change notifications for Windows
676clients.
677
c083eea8 678%description -n samba3-vfs-notify_fam -l pl.UTF-8
8ba454ef
AM
679Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
680informowania o zmianach w plikach dla klientów Windows.
681
c083eea8
JR
682%package -n samba3-vfs-netatalk
683Summary: VFS module for ease co-existence of samba and netatalk
684Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
d1f5710a 685Group: Networking/Daemons
17937b31 686Requires: samba3 = %{epoch}:%{version}-%{release}
d1f5710a 687
c083eea8 688%description -n samba3-vfs-netatalk
727a2c6a 689Package contains a netatalk VFS module for ease co-existence of Samba
e1c0d47d 690and netatalk file sharing services.
d1f5710a 691
c083eea8
JR
692%description -n samba3-vfs-netatalk -l pl.UTF-8
693Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
96088f7b 694i netatalk przy udostępnianiu zasobów.
d1f5710a 695
c083eea8 696%package -n samba3-vfs-recycle
97334e11 697Summary: VFS module to add recycle bin facility to a samba share
4ecf4d28 698Summary(pl.UTF-8): Moduł VFS dodający funkcję kosza do zasobu Samby
97334e11 699Group: Networking/Daemons
17937b31 700Requires: samba3 = %{epoch}:%{version}-%{release}
97334e11 701
c083eea8 702%description -n samba3-vfs-recycle
97334e11
JB
703VFS module to add recycle bin facility to a samba share.
704
c083eea8
JR
705%description -n samba3-vfs-recycle -l pl.UTF-8
706Moduł VFS dodający możliwość kosza do zasobu samby.
97334e11 707
c083eea8 708%package -n samba3-vfs-readahead
05756483 709Summary: VFS module for pre-loading the kernel buffer cache
8134e830 710Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
05756483 711Group: Networking/Daemons
17937b31 712Requires: samba3 = %{epoch}:%{version}-%{release}
4d8c5e20 713
c083eea8 714%description -n samba3-vfs-readahead
4d8c5e20
JB
715This VFS module detects read requests at multiples of a given offset
716(hex 0x80000 by default) and then tells the kernel via either the
717readahead system call (on Linux) or the posix_fadvise system call to
718pre-fetch this data into the buffer cache.
719
720This module is useful for Windows Vista clients reading data using the
721Windows Explorer program, which asynchronously does multiple file read
722requests at offset boundaries of 0x80000 bytes.
723
c083eea8 724%description -n samba3-vfs-readahead -l pl.UTF-8
8134e830
JB
725Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
726pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
727wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
728wczesnego odczytu tych danych do bufora cache.
4d8c5e20 729
8134e830
JB
730Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
731przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
732wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
733bajtów.
4d8c5e20 734
c083eea8 735%package -n samba3-vfs-readonly
97334e11 736Summary: VFS module for read-only limitation for specified share
fa1faeca 737Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
97334e11 738Group: Networking/Daemons
17937b31 739Requires: samba3 = %{epoch}:%{version}-%{release}
97334e11 740
c083eea8 741%description -n samba3-vfs-readonly
97334e11
JB
742This module performs a read-only limitation for specified share (or
743all of them if it is loaded in a [global] section) based on period
744definition in smb.conf.
745
c083eea8 746%description -n samba3-vfs-readonly -l pl.UTF-8
96088f7b
JR
747Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
748udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
749oparciu o definicje okresów w smb.conf.
97334e11 750
c083eea8 751%package -n samba3-vfs-shadow_copy
670da5b0
JR
752Summary: VFS module to make automatic copy of data in samba share
753Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
754Group: Networking/Daemons
17937b31 755Requires: samba3 = %{epoch}:%{version}-%{release}
670da5b0 756
c083eea8 757%description -n samba3-vfs-shadow_copy
670da5b0
JR
758VFS module to make automatic copy of data in samba share.
759
c083eea8 760%description -n samba3-vfs-shadow_copy -l pl.UTF-8
670da5b0
JR
761Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
762
c083eea8 763%package -n samba3-vfs-catia
670da5b0
JR
764Summary: VFS module to fix Catia CAD filenames
765Group: Networking/Daemons
17937b31 766Requires: samba3 = %{epoch}:%{version}-%{release}
670da5b0 767
c083eea8 768%description -n samba3-vfs-catia
670da5b0
JR
769The Catia CAD package commonly creates filenames that use characters
770that are illegal in CIFS filenames. The vfs_catia VFS module
771implements a fixed character mapping so that these files can be shared
772with CIFS clients.
773
c083eea8 774%package -n samba3-vfs-scannedonly
d718c2e1 775Summary: Anti-virus solution as VFS module
4ecf4d28 776Summary(pl.UTF-8): Rozwiązanie antywirusowe jako moduł VFS
d718c2e1 777Group: Networking/Daemons
17937b31 778Requires: samba3 = %{epoch}:%{version}-%{release}
d718c2e1 779
c083eea8 780%description -n samba3-vfs-scannedonly
aceac5ef
ER
781The vfs_scannedonly VFS module ensures that only files that have been
782scanned for viruses are visible and accessible to the end user. If
783non-scanned files are found an anti-virus scanning daemon is notified.
d718c2e1 784
4ecf4d28
JB
785%description vfs-scannedonly -l pl.UTF-8
786Moduł VFS vfs_scannedonly zapewnia, że tylko pliki, które zostały
787wcześniej przeskanowane pod kątem wirusów, są widoczne i dostępne dla
788użytkownika końcowego. Jeśli zostaną znalezione pliki nie
789przeskanowane, powiadamiany jest antywirusowy demon skanujący.
790
791%package vfs-shadow_copy
792Summary: VFS module to make automatic copy of data in Samba share
793Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby
794Group: Networking/Daemons
795Requires: %{name} = %{epoch}:%{version}-%{release}
796
797%description vfs-shadow_copy
798VFS module to make automatic copy of data in Samba share.
799
800%description vfs-shadow_copy -l pl.UTF-8
801Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby.
802
99795f36
ER
803%package -n openldap-schema-samba
804Summary: Samba LDAP schema
fa1faeca 805Summary(pl.UTF-8): Schemat LDAP dla samby
99795f36
ER
806Group: Networking/Daemons
807Requires(post,postun): sed >= 4.0
808Requires: openldap-servers
85d322d3
ER
809%if "%{_rpmversion}" >= "5"
810BuildArch: noarch
811%endif
99795f36
ER
812
813%description -n openldap-schema-samba
4ecf4d28 814This package contains samba.schema for OpenLDAP.
99795f36 815
96088f7b 816%description -n openldap-schema-samba -l pl.UTF-8
4ecf4d28 817Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a.
e611fed4 818
e765216e
JR
819%package -n python-samba4
820Summary: Samba Module for Python
9f74dab7 821Group: Development/Languages/Python
ed426448 822%pyrequires_eq python
6646cd44 823Requires: %{name}-common = %{epoch}:%{version}-%{release}
1a8c003b 824
e765216e
JR
825%description -n python-samba4
826Samba Module for Python.
1a8c003b 827
c083eea8
JR
828%package -n python-samba3
829Summary: Samba Module for Python
830Group: Development/Languages/Python
ed426448 831%pyrequires_eq python
c083eea8
JR
832Requires: %{name}-common = %{epoch}:%{version}-%{release}
833
834%description -n python-samba3
835Samba Module for Python.
836
6646cd44
JR
837%package test
838Summary: Testing tools for Samba servers and clients
839Group: Applications/System
840Requires: %{name} = %{epoch}:%{version}-%{release}
841Requires: %{name}-common = %{epoch}:%{version}-%{release}
842Requires: %{name}-winbind = %{epoch}:%{version}-%{release}
843
844%description test
845samba4-test provides testing tools for both the server and client
846packages of Samba.
847
848%package test-devel
849Summary: Testing devel files for Samba servers and clients
850Group: Applications/System
851Requires: %{name}-test = %{epoch}:%{version}-%{release}
852
853%description test-devel
05913998
JR
854samba-test-devel provides testing devel files for both the server and
855client packages of Samba.
6646cd44
JR
856
857%package pidl
858Summary: Perl IDL compiler
859Group: Development/Tools
860Requires: perl(Parse::Yapp)
861
862%description pidl
863The samba4-pidl package contains the Perl IDL compiler used by Samba
864and Wireshark to parse IDL and similar protocols.
865
17937b31 866%package -n samba3
c083eea8
JR
867Summary: samba3
868Group: Networking/Daemons
869
17937b31 870%description -n samba3
c083eea8
JR
871samba3
872
17937b31 873%package -n samba3-common
ed426448
JR
874Summary: samba3
875Group: Networking/Daemons
876
17937b31 877%description -n samba3-common
ed426448
JR
878samba3
879
17937b31 880%package -n samba3-client
ed426448
JR
881Summary: samba3
882Group: Networking/Daemons
883
17937b31 884%description -n samba3-client
ed426448
JR
885samba3
886
c083eea8
JR
887%package todo
888Summary: todo
889Group: Networking/Daemons
890
891%description todo
892todo
893
1925a8b4 894%prep
670da5b0 895%setup -q -n samba-%{version}
34895621 896%patch0 -p1
8932759c 897%patch1 -p1
f4ecaf8b 898%patch3 -p1
ce9af3e2 899%patch4 -p1
450db13e 900%patch5 -p1
6fb3721a 901
1925a8b4 902%build
34895621
JR
903LDFLAGS="${LDFLAGS:-%rpmldflags}" \
904CFLAGS="${CFLAGS:-%rpmcflags}" \
905CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \
906FFLAGS="${FFLAGS:-%rpmcflags}" \
907FCFLAGS="${FCFLAGS:-%rpmcflags}" \
908CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \
909%{?__cc:CC="%{__cc}"} \
910%{?__cxx:CXX="%{__cxx}"} \
911./configure \
912 --enable-fhs \
913 --prefix=%{_prefix} \
914 --exec-prefix=%{_exec_prefix} \
915 --bindir=%{_bindir} \
916 --sbindir=%{_sbindir} \
917 --sysconfdir=%{_sysconfdir} \
918 --datadir=%{_datadir} \
919 --includedir=%{_includedir} \
920 --libdir=%{_libdir} \
921 --libexecdir=%{_libexecdir} \
922 --localstatedir=%{_localstatedir} \
923 --sharedstatedir=%{_sharedstatedir} \
924 --mandir=%{_mandir} \
925 --infodir=%{_infodir} \
2e711b12
JR
926 --with-privatelibdir=%{_libdir}/samba \
927 --with-modulesdir=%{_libdir}/samba \
01485082 928 --with-pammodulesdir=/%{_lib}/security \
34895621
JR
929 --with-lockdir=/var/lib/samba \
930 --with-privatedir=%{_sysconfdir}/samba \
931 --disable-gnutls \
932 --disable-rpath-install \
5c9e395f 933 --builtin-libraries=replace,ccan \
e71e0470 934 --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libs:talloc,tdb,ldb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util} \
34895621
JR
935 --private-libraries=smbclient,smbsharemodes,wbclient \
936 --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4 \
f4f0ea2d 937 --with-acl-support \
34895621 938 --with%{!?with_ads:out}-ads \
40d90f9e 939 --with-aio-support \
432ee34d 940 --with-automount \
34895621
JR
941 --with-dmapi \
942 --with-dnsupdate \
943 --with-iconv \
944 --with%{!?with_ldap:out}-ldap \
d1d64cbe 945 --with-pam \
29511e6d 946 --with-pam_smbpass \
4ef99dd8 947 --with-quotas \
34895621
JR
948 --with-sendfile-support \
949 --with-swat \
4ef99dd8 950 --with-syslog \
951 --with-utmp \
34895621 952 --with-winbind \
66e5c63e 953 --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
34895621
JR
954 --enable-cups \
955 --enable-iprint
1925a8b4 956
70ff6d03 957%{__make}
192f48a8 958
6646cd44
JR
959# Build PIDL for installation into vendor directories before
960# 'make proto' gets to it.
961cd pidl
962%{__perl} Makefile.PL \
963 INSTALLDIRS=vendor
964
1925a8b4 965%install
966rm -rf $RPM_BUILD_ROOT
a60823b9 967install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
2e711b12 968 $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \
08bf002e 969 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
2e711b12
JR
970 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \
971 $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}}
ba850b61 972
34895621 973%{__make} install \
bd658e80 974 DESTDIR=$RPM_BUILD_ROOT \
29511e6d 975 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
bd658e80 976
6646cd44
JR
977# Undo the PIDL install, we want to try again with the right options.
978%{__rm} -r $RPM_BUILD_ROOT/%{_datadir}/perl5
979
980# Install PIDL
981cd pidl
982%{__make} install \
983 PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
984cd ..
985
986# Clean out crap left behind by the PIDL install
987%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/wscript_build
988%{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp
989
42039dcb
JR
990# not ready for production, and no MIT kerberos in PLD
991%{__rm} $RPM_BUILD_ROOT%{_libdir}/mit_samba.so
992
b25f7233 993install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1925a8b4 994
2e711b12
JR
995install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf
996install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir}
997install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir}
998install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir}
999install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir}
1000
b25f7233
ER
1001install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1002cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1003install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1004cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1005cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1006cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1007install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1008cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind
29511e6d 1009
37a62870
JR
1010# move lib{smb,wb}client where they always were for compatibility
1011%{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so.* $RPM_BUILD_ROOT%{_libdir}
1012ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
1013ln -s libwbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libwbclient.so
1014%{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libwbclient.so.* $RPM_BUILD_ROOT%{_libdir}
1015%{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
1016%{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/wbclient.h $RPM_BUILD_ROOT%{_includedir}
1017
34895621
JR
1018%{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib}
1019%{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib}
1020install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir}
79d8a749 1021
6a2e83e0 1022touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1925a8b4 1023
01485082 1024echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
8b604b68 1025
ddea14b0 1026%if %{with cups}
fd9d8b85
JB
1027install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1028ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1029%endif
9f6f5df1 1030
29511e6d 1031> $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
8b604b68 1032> $RPM_BUILD_ROOT/etc/security/blacklist.samba
11d2c190 1033
105507bc 1034%if %{with ldap}
99795f36 1035install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
105507bc 1036%endif
99795f36 1037
b25f7233
ER
1038%if %{with system_libtdb}
1039# remove manuals of tdb if system lib used
1040%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
1041%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
1042%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
1043%endif
1044
1a8c003b
AM
1045%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1046%py_comp $RPM_BUILD_ROOT%{py_sitedir}
1047find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1048
ea8d81e5
JB
1049%clean
1050rm -rf $RPM_BUILD_ROOT
9661cd11 1051
1925a8b4 1052%post
9ac29548 1053/sbin/chkconfig --add smb
dce29ff7
JR
1054%service smb restart "Samba daemons"
1055#systemd_post smb.service nmb.service
1056%systemd_post samba.service
1925a8b4 1057
1058%preun
9ac29548 1059if [ "$1" = "0" ]; then
27879fe9 1060 %service smb stop
9ac29548 1061 /sbin/chkconfig --del smb
1062fi
dce29ff7
JR
1063#systemd_preun smb.service nmb.service
1064%systemd_preun samba.service
1065
1066%postun
1067%systemd_reload
11d2c190 1068
0b940f4e
JR
1069%post common -p /sbin/ldconfig
1070%postun common -p /sbin/ldconfig
70975be6 1071
29511e6d 1072%post winbind
1073/sbin/chkconfig --add winbind
27879fe9 1074%service winbind restart "Winbind daemon"
dce29ff7 1075%systemd_post winbind.service
29511e6d 1076
1077%preun winbind
1078if [ "$1" = "0" ]; then
27879fe9 1079 %service winbind stop
29511e6d 1080 /sbin/chkconfig --del winbind
1081fi
dce29ff7
JR
1082%systemd_preun winbind.service
1083
1084%postun winbind
1085%systemd_reload
29511e6d 1086
c083eea8 1087%post -n samba3-swat
27879fe9 1088%service -q rc-inetd reload
d7dadfd6 1089
c083eea8 1090%postun -n samba3-swat
27879fe9
ER
1091if [ "$1" = 0 ]; then
1092 %service -q rc-inetd reload
9ac29548 1093fi
d7dadfd6 1094
99795f36 1095%post -n openldap-schema-samba
c4db757c
ER
1096# dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1097%openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
27879fe9 1098%service -q ldap restart
99795f36
ER
1099
1100%postun -n openldap-schema-samba
1101if [ "$1" = "0" ]; then
c4db757c 1102 %openldap_schema_unregister %{schemadir}/samba.schema
27879fe9 1103 %service -q ldap restart
99795f36
ER
1104fi
1105
1925a8b4 1106%files
1107%defattr(644,root,root,755)
0b940f4e
JR
1108%{systemdunitdir}/samba.service
1109%{systemdtmpfilesdir}/samba.conf
c083eea8 1110%attr(755,root,root) %{_bindir}/oLschema2ldif
0b940f4e
JR
1111%attr(755,root,root) %{_sbindir}/samba
1112%attr(755,root,root) %{_sbindir}/samba_dnsupdate
1113%attr(755,root,root) %{_sbindir}/samba_spnupdate
1114%attr(755,root,root) %{_sbindir}/samba_upgradedns
1115%attr(755,root,root) %{_sbindir}/samba_upgradeprovision
1116%attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.*
1117%attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0
5c9e395f
JR
1118
1119
0b940f4e 1120%attr(755,root,root) %{_libdir}/samba/libdb-glue.so
0b940f4e
JR
1121%attr(755,root,root) %{_libdir}/samba/libdsdb-module.so
1122%attr(755,root,root) %{_libdir}/samba/libHDB_SAMBA4.so
c083eea8
JR
1123%attr(755,root,root) %{_libdir}/samba/libntvfs.so
1124%attr(755,root,root) %{_libdir}/samba/libpac.so
c083eea8
JR
1125%attr(755,root,root) %{_libdir}/samba/libprocess_model.so
1126%attr(755,root,root) %{_libdir}/samba/libservice.so
0b940f4e 1127%attr(755,root,root) %{_libdir}/samba/libshares.so
0b940f4e
JR
1128%dir %{_libdir}/samba/bind9
1129%attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so
1130%attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so
1131%dir %{_libdir}/samba/hdb
1132%attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so
05913998 1133%dir %{_libdir}/samba/process_model
6646cd44
JR
1134%attr(755,root,root) %{_libdir}/samba/process_model/onefork.so
1135%attr(755,root,root) %{_libdir}/samba/process_model/prefork.so
1136%attr(755,root,root) %{_libdir}/samba/process_model/standard.so
05913998 1137%dir %{_libdir}/samba/service
6646cd44
JR
1138%attr(755,root,root) %{_libdir}/samba/service/cldap.so
1139%attr(755,root,root) %{_libdir}/samba/service/dcerpc.so
1140%attr(755,root,root) %{_libdir}/samba/service/dns.so
1141%attr(755,root,root) %{_libdir}/samba/service/dns_update.so
1142%attr(755,root,root) %{_libdir}/samba/service/drepl.so
1143%attr(755,root,root) %{_libdir}/samba/service/kcc.so
1144%attr(755,root,root) %{_libdir}/samba/service/kdc.so
1145%attr(755,root,root) %{_libdir}/samba/service/ldap.so
1146%attr(755,root,root) %{_libdir}/samba/service/nbtd.so
1147%attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so
1148%attr(755,root,root) %{_libdir}/samba/service/s3fs.so
1149%attr(755,root,root) %{_libdir}/samba/service/smb.so
1150%attr(755,root,root) %{_libdir}/samba/service/web.so
1151%attr(755,root,root) %{_libdir}/samba/service/winbind.so
1152%attr(755,root,root) %{_libdir}/samba/service/wrepl.so
0b940f4e
JR
1153%dir %{_libdir}/samba/gensec
1154%attr(755,root,root) %{_libdir}/samba/gensec/krb5.so
e4310f27 1155%dir %{_libdir}/samba/ldb
e4310f27 1156%attr(755,root,root) %{_libdir}/samba/ldb/aclread.so
0b940f4e 1157%attr(755,root,root) %{_libdir}/samba/ldb/acl.so
e4310f27
JR
1158%attr(755,root,root) %{_libdir}/samba/ldb/anr.so
1159%attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so
1160%attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so
1161%attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so
1162%attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so
1163%attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so
1164%attr(755,root,root) %{_libdir}/samba/ldb/ildap.so
1165%attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so
1166%attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so
1167%attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so
1168%attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so
1169%attr(755,root,root) %{_libdir}/samba/ldb/local_password.so
1170%attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so
e4310f27 1171%attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so
0b940f4e 1172%attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so
e4310f27
JR
1173%attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so
1174%attr(755,root,root) %{_libdir}/samba/ldb/operational.so
1175%attr(755,root,root) %{_libdir}/samba/ldb/partition.so
1176%attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so
1177%attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so
1178%attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so
1179%attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so
1180%attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so
1181%attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so
1182%attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so
1183%attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so
1184%attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so
1185%attr(755,root,root) %{_libdir}/samba/ldb/samldb.so
1186%attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so
1187%attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so
1188%attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so
1189%attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so
1190%attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so
1191%attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so
1192%attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so
1193%attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so
1194%attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so
1195%attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so
0b940f4e
JR
1196%{_datadir}/samba/setup
1197%{_mandir}/man1/oLschema2ldif.1*
1198%{_mandir}/man8/samba.8*
c9c921bd 1199
34895621 1200%files winbind
29511e6d 1201%defattr(644,root,root,755)
c083eea8 1202# winbind4
29511e6d 1203%attr(755,root,root) %{_bindir}/wbinfo
1204%attr(755,root,root) /%{_lib}/security/pam_winbind*
1205%attr(755,root,root) /%{_lib}/libnss_winbind*
481bc0b7 1206%attr(755,root,root) %{_libdir}/winbind_krb5_locator.so
29511e6d 1207%{_mandir}/man1/wbinfo*.1*
45a544fa 1208%{_mandir}/man5/pam_winbind.conf.5*
481bc0b7 1209%{_mandir}/man7/winbind_krb5_locator.7*
a4c31844 1210%{_mandir}/man8/pam_winbind.8*
29511e6d 1211
450db13e
JR
1212%files -n samba3-winbind
1213%attr(755,root,root) %{_sbindir}/winbindd
1214%attr(754,root,root) /etc/rc.d/init.d/winbind
1215%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1216%{systemdunitdir}/winbind.service
1217%{_mandir}/man8/winbindd*.8*
1218
29511e6d 1219%files -n nss_wins
1220%defattr(644,root,root,755)
f1c7ad61 1221%attr(755,root,root) /%{_lib}/libnss_wins*
29511e6d 1222
ac6f9d13 1223%files client
2eedd257 1224%defattr(644,root,root,755)
6646cd44 1225%attr(755,root,root) %{_bindir}/cifsdd
6646cd44 1226%attr(755,root,root) %{_bindir}/nmblookup4
0b940f4e 1227%attr(755,root,root) %{_bindir}/reg*
6646cd44 1228%attr(755,root,root) %{_bindir}/smbclient4
6c886cab 1229%{_mandir}/man1/findsmb.1*
481bc0b7 1230%{_mandir}/man1/nmblookup4.1*
0b940f4e 1231%{_mandir}/man1/reg*.1*
ac6f9d13 1232
ac6f9d13 1233%files common
2eedd257 1234%defattr(644,root,root,755)
2e711b12 1235%doc README WHATSNEW.txt Roadmap
c083eea8
JR
1236%attr(755,root,root) %{_sbindir}/samba_kcc
1237%attr(755,root,root) %{_bindir}/samba-tool
2f0e4f6e 1238%dir %{_sysconfdir}/samba
d0e87ba8
ER
1239%attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1240%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
70975be6
JR
1241%dir %{_datadir}/samba
1242%dir %{_datadir}/samba/codepages
1243%{_datadir}/samba/codepages/lowcase.dat
1244%{_datadir}/samba/codepages/upcase.dat
1245%{_datadir}/samba/codepages/valid.dat
c083eea8 1246%{_mandir}/man8/samba-tool.8*
70975be6
JR
1247%{_mandir}/man5/lmhosts.5*
1248%{_mandir}/man5/smb.conf.5*
42039dcb 1249%{_mandir}/man7/samba.7*
70975be6
JR
1250%if %{without system_libs}
1251%attr(755,root,root) %{_bindir}/tdbbackup
1252%attr(755,root,root) %{_bindir}/tdbdump
1253%attr(755,root,root) %{_bindir}/tdbtool
1254%{_mandir}/man8/tdbbackup.8*
1255%{_mandir}/man8/tdbdump.8*
1256%{_mandir}/man8/tdbtool.8*
1257%endif
70975be6
JR
1258%attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.*
1259%attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0
e4310f27
JR
1260%attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so.*.*.*
1261%attr(755,root,root) %ghost %{_libdir}/libdcerpc-atsvc.so.0
70975be6
JR
1262%attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.*
1263%attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0
0b940f4e
JR
1264%attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.*
1265%attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0
70975be6
JR
1266%attr(755,root,root) %{_libdir}/libgensec.so.*.*.*
1267%attr(755,root,root) %ghost %{_libdir}/libgensec.so.0
1268%attr(755,root,root) %{_libdir}/libndr.so.*.*.*
1269%attr(755,root,root) %ghost %{_libdir}/libndr.so.0
1270%attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.*
1271%attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0
1272%attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.*
1273%attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0
1274%attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.*
1275%attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0
ed426448
JR
1276%attr(755,root,root) %{_libdir}/libregistry.so.*.*.*
1277%attr(755,root,root) %ghost %{_libdir}/libregistry.so.0
70975be6
JR
1278%attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.*
1279%attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0
1280%attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.*
1281%attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0
1282%attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.*
1283%attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0
1284%attr(755,root,root) %{_libdir}/libsamdb.so.*.*.*
1285%attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0
1286%attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.*
1287%attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0
e4310f27
JR
1288%attr(755,root,root) %{_libdir}/libsamba-policy.so.*.*.*
1289%attr(755,root,root) %ghost %{_libdir}/libsamba-policy.so.0
0b940f4e 1290%dir %{_libdir}/samba
5c9e395f
JR
1291%attr(755,root,root) %{_libdir}/samba/libauth_unix_token.so
1292%attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so
1293%attr(755,root,root) %{_libdir}/samba/libsamba_python.so
1294%attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser.so
1295%attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT_OLD.so
1296%attr(755,root,root) %{_libdir}/samba/libauth4.so
1297%attr(755,root,root) %{_libdir}/samba/libcluster.so
1298%attr(755,root,root) %{_libdir}/samba/libdfs_server_ad.so
1299%attr(755,root,root) %{_libdir}/samba/libndr-samba4.so
1300%attr(755,root,root) %{_libdir}/samba/libposix_eadb.so
1301%attr(755,root,root) %{_libdir}/samba/libsamba-net.so
1302%attr(755,root,root) %{_libdir}/samba/libcli_cldap.so
1303%attr(755,root,root) %{_libdir}/samba/libsmbd_shim.so
1304%attr(755,root,root) %{_libdir}/samba/libcli-nbt.so
1305%attr(755,root,root) %{_libdir}/samba/libcliauth.so
1306%attr(755,root,root) %{_libdir}/samba/libcli-ldap.so
1307%attr(755,root,root) %{_libdir}/samba/libsamba3-util.so
1308%attr(755,root,root) %{_libdir}/samba/libcli-ldap-common.so
1309%attr(755,root,root) %{_libdir}/samba/libcli_smb_common.so
1310%attr(755,root,root) %{_libdir}/samba/libutil_reg.so
1311%attr(755,root,root) %{_libdir}/samba/libcmdline-credentials.so
1312%attr(755,root,root) %{_libdir}/samba/libMESSAGING.so
1313%attr(755,root,root) %{_libdir}/samba/libauth_sam_reply.so
1314%attr(755,root,root) %{_libdir}/samba/libinterfaces.so
0b940f4e
JR
1315%attr(755,root,root) %{_libdir}/samba/libaddns.so
1316%attr(755,root,root) %{_libdir}/samba/libasn1util.so
70975be6 1317%attr(755,root,root) %{_libdir}/samba/libauthkrb5.so
0b940f4e 1318%attr(755,root,root) %{_libdir}/samba/libdbwrap.so
c083eea8
JR
1319%attr(755,root,root) %{_libdir}/samba/libdcerpc-samba.so
1320%attr(755,root,root) %{_libdir}/samba/liberrors.so
1321%attr(755,root,root) %{_libdir}/samba/libevents.so
1322%attr(755,root,root) %{_libdir}/samba/libflag_mapping.so
c083eea8 1323%attr(755,root,root) %{_libdir}/samba/libiniparser.so
0b940f4e 1324%attr(755,root,root) %{_libdir}/samba/libkrb5samba.so
e4310f27 1325%attr(755,root,root) %{_libdir}/samba/libldb-cmdline.so
0b940f4e
JR
1326%attr(755,root,root) %{_libdir}/samba/libldbsamba.so
1327%attr(755,root,root) %{_libdir}/samba/libndr-samba.so
1328%attr(755,root,root) %{_libdir}/samba/libnetif.so
1329%attr(755,root,root) %{_libdir}/samba/libnpa_tstream.so
0b940f4e
JR
1330%attr(755,root,root) %{_libdir}/samba/libsamba-modules.so
1331%attr(755,root,root) %{_libdir}/samba/libsamba-security.so
1332%attr(755,root,root) %{_libdir}/samba/libsamba-sockets.so
1333%attr(755,root,root) %{_libdir}/samba/libsamdb-common.so
1334%attr(755,root,root) %{_libdir}/samba/libserver-role.so
1335%attr(755,root,root) %{_libdir}/samba/libsmb_transport.so
1336%attr(755,root,root) %{_libdir}/samba/libtdb-wrap.so
1337%attr(755,root,root) %{_libdir}/samba/libutil_setid.so
1338%attr(755,root,root) %{_libdir}/samba/libutil_tdb.so
1339%attr(755,root,root) %{_libdir}/samba/libwinbind-client.so
e71e0470 1340%if %{without system_libs}
e71e0470
JR
1341%attr(755,root,root) %{_libdir}/samba/libtalloc.so.*
1342%attr(755,root,root) %{_libdir}/samba/libtdb.so.*
e71e0470
JR
1343%endif
1344
d6883a30 1345%files -n pam-pam_smbpass
b36aa9d5 1346%defattr(644,root,root,755)
f1c7ad61
JR
1347%doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1348%attr(755,root,root) /%{_lib}/security/pam_smbpass.so
79d8a749 1349
c083eea8 1350%files -n libsmbclient-raw
79d8a749 1351%defattr(644,root,root,755)
6646cd44
JR
1352%attr(755,root,root) %{_libdir}/libsmbclient-raw.so.*.*.*
1353%attr(755,root,root) %ghost %{_libdir}/libsmbclient-raw.so.0
c083eea8
JR
1354
1355%files -n libsmbclient-raw-devel
1356%defattr(644,root,root,755)
f1c7ad61
JR
1357%{_includedir}/samba-4.0/gen_ndr/drsblobs.h
1358%{_includedir}/samba-4.0/gen_ndr/drsuapi.h
1359%{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
1360%{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
1361%{_includedir}/samba-4.0/ndr/ndr_drsblobs.h
1362%{_includedir}/samba-4.0/ndr/ndr_drsuapi.h
1363%{_includedir}/samba-4.0/read_smb.h
1364%{_includedir}/samba-4.0/smb2.h
1365%{_includedir}/samba-4.0/smb2_constants.h
1366%{_includedir}/samba-4.0/smb2_create_blob.h
1367%{_includedir}/samba-4.0/smb2_signing.h
1368%{_includedir}/samba-4.0/smb_cli.h
1369%{_includedir}/samba-4.0/smb_cliraw.h
1370%{_includedir}/samba-4.0/smb_common.h
1371%{_includedir}/samba-4.0/smb_composite.h
1372%{_includedir}/samba-4.0/smb_constants.h
1373%{_includedir}/samba-4.0/smb_raw.h
1374%{_includedir}/samba-4.0/smb_raw_interfaces.h
1375%{_includedir}/samba-4.0/smb_raw_signing.h
1376%{_includedir}/samba-4.0/smb_raw_trans2.h
1377%{_includedir}/samba-4.0/smb_request.h
1378%{_includedir}/samba-4.0/smb_seal.h
1379%{_includedir}/samba-4.0/smb_signing.h
1380%{_includedir}/samba-4.0/smb_unix_ext.h
1381%{_includedir}/samba-4.0/smb_util.h
c083eea8
JR
1382%attr(755,root,root) %{_libdir}/libsmbclient-raw.so
1383%{_pkgconfigdir}/smbclient-raw.pc
1384
1385%files -n samba3-libsmbclient
1386%defattr(644,root,root,755)
37a62870 1387%attr(755,root,root) %{_libdir}/libsmbclient.so.*
f1c7ad61
JR
1388%attr(755,root,root) %{_libdir}/libsmbconf.so.0
1389%attr(755,root,root) %{_libdir}/libwbclient.so.*
2545d2ae 1390%{_mandir}/man7/libsmbclient.7*
f1c7ad61 1391%attr(755,root,root) %{_libdir}/samba/libCHARSET3.so
0b940f4e 1392%attr(755,root,root) %{_libdir}/samba/libgse.so
c083eea8
JR
1393%attr(755,root,root) %{_libdir}/samba/liblibcli_lsa3.so
1394%attr(755,root,root) %{_libdir}/samba/liblibsmb.so
1395%attr(755,root,root) %{_libdir}/samba/libmsrpc3.so
0b940f4e
JR
1396%attr(755,root,root) %{_libdir}/samba/libsecrets3.so
1397%attr(755,root,root) %{_libdir}/samba/libsmbregistry.so
1398%attr(755,root,root) %{_libdir}/samba/libutil_cmdline.so
79d8a749 1399
c083eea8 1400%files -n samba3-libsmbclient-devel
79d8a749 1401%defattr(644,root,root,755)
37a62870 1402%attr(755,root,root) %{_libdir}/libsmbclient.so
f1c7ad61
JR
1403%attr(755,root,root) %{_libdir}/libsmbconf.so
1404%attr(755,root,root) %{_libdir}/libwbclient.so
37a62870
JR
1405%{_includedir}/libsmbclient.h
1406%{_includedir}/wbclient.h
bd658e80 1407
f2b0247b
ER
1408%files devel
1409%defattr(644,root,root,755)
f1c7ad61
JR
1410%dir %{_includedir}/samba-4.0
1411%{_includedir}/samba-4.0/charset.h
1412%dir %{_includedir}/samba-4.0/core
1413%{_includedir}/samba-4.0/core/doserr.h
1414%{_includedir}/samba-4.0/core/error.h
1415%{_includedir}/samba-4.0/core/ntstatus.h
1416%{_includedir}/samba-4.0/core/werror.h
1417%{_includedir}/samba-4.0/credentials.h
1418%{_includedir}/samba-4.0/dcerpc.h
1419%{_includedir}/samba-4.0/dcerpc_server.h
1420%{_includedir}/samba-4.0/dlinklist.h
1421%{_includedir}/samba-4.0/domain_credentials.h
1422%dir %{_includedir}/samba-4.0/gen_ndr
1423%{_includedir}/samba-4.0/gen_ndr/atsvc.h
1424%{_includedir}/samba-4.0/gen_ndr/auth.h
1425%{_includedir}/samba-4.0/gen_ndr/dcerpc.h
1426%{_includedir}/samba-4.0/gen_ndr/epmapper.h
1427%{_includedir}/samba-4.0/gen_ndr/krb5pac.h
1428%{_includedir}/samba-4.0/gen_ndr/lsa.h
1429%{_includedir}/samba-4.0/gen_ndr/mgmt.h
1430%{_includedir}/samba-4.0/gen_ndr/misc.h
1431%{_includedir}/samba-4.0/gen_ndr/nbt.h
1432%{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h
1433%{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h
1434%{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h
1435%{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h
1436%{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h
1437%{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h
1438%{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h
1439%{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h
1440%{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
1441%{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
1442%{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h
1443%{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
1444%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h
1445%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h
1446%{_includedir}/samba-4.0/gen_ndr/netlogon.h
1447%{_includedir}/samba-4.0/gen_ndr/samr.h
1448%{_includedir}/samba-4.0/gen_ndr/security.h
1449%{_includedir}/samba-4.0/gen_ndr/server_id.h
1450%{_includedir}/samba-4.0/gen_ndr/svcctl.h
1451%{_includedir}/samba-4.0/gensec.h
1452%{_includedir}/samba-4.0/ldap_errors.h
1453%{_includedir}/samba-4.0/ldap_message.h
1454%{_includedir}/samba-4.0/ldap_ndr.h
1455%{_includedir}/samba-4.0/ldap-util.h
1456%{_includedir}/samba-4.0/ldb_wrap.h
1457%{_includedir}/samba-4.0/ndr.h
1458%dir %{_includedir}/samba-4.0/ndr
1459%{_includedir}/samba-4.0/ndr/ndr_nbt.h
1460%{_includedir}/samba-4.0/ndr/ndr_svcctl.h
1461%{_includedir}/samba-4.0/param.h
1462%{_includedir}/samba-4.0/policy.h
1463%{_includedir}/samba-4.0/registry.h
1464%{_includedir}/samba-4.0/roles.h
1465%{_includedir}/samba-4.0/rpc_common.h
1466%dir %{_includedir}/samba-4.0/samba
1467%{_includedir}/samba-4.0/samba/session.h
1468%{_includedir}/samba-4.0/samba_util.h
1469%{_includedir}/samba-4.0/samba/version.h
1470%{_includedir}/samba-4.0/share.h
1471%{_includedir}/samba-4.0/tdr.h
1472%{_includedir}/samba-4.0/tsocket.h
1473%{_includedir}/samba-4.0/tsocket_internal.h
1474%dir %{_includedir}/samba-4.0/util
1475%{_includedir}/samba-4.0/util/attr.h
1476%{_includedir}/samba-4.0/util/byteorder.h
1477%{_includedir}/samba-4.0/util/data_blob.h
1478%{_includedir}/samba-4.0/util/debug.h
1479%{_includedir}/samba-4.0/util_ldb.h
1480%{_includedir}/samba-4.0/util/memory.h
1481%{_includedir}/samba-4.0/util/safe_string.h
1482%{_includedir}/samba-4.0/util/string_wrappers.h
1483%{_includedir}/samba-4.0/util/talloc_stack.h
1484%{_includedir}/samba-4.0/util/tevent_ntstatus.h
1485%{_includedir}/samba-4.0/util/tevent_unix.h
1486%{_includedir}/samba-4.0/util/tevent_werror.h
1487%{_includedir}/samba-4.0/util/time.h
1488%{_includedir}/samba-4.0/util/xfile.h
1489%{_libdir}/libdcerpc-atsvc.so
1490%{_libdir}/libdcerpc-binding.so
1491%{_libdir}/libdcerpc-samr.so
1492%{_libdir}/libdcerpc-server.so
1493%{_libdir}/libdcerpc.so
1494%{_libdir}/libgensec.so
1495%{_libdir}/libndr-krb5pac.so
1496%{_libdir}/libndr-nbt.so
1497%{_libdir}/libndr.so
1498%{_libdir}/libndr-standard.so
1499%{_libdir}/libregistry.so
1500%{_libdir}/libsamba-credentials.so
1501%{_libdir}/libsamba-hostconfig.so
1502%{_libdir}/libsamba-policy.so
1503%{_libdir}/libsamba-util.so
1504%{_libdir}/libsamdb.so
1505%{_libdir}/libtevent-util.so
05913998 1506%{_pkgconfigdir}/dcerpc_atsvc.pc
f1c7ad61 1507%{_pkgconfigdir}/dcerpc.pc
05913998
JR
1508%{_pkgconfigdir}/dcerpc_samr.pc
1509%{_pkgconfigdir}/dcerpc_server.pc
1510%{_pkgconfigdir}/gensec.pc
05913998
JR
1511%{_pkgconfigdir}/ndr_krb5pac.pc
1512%{_pkgconfigdir}/ndr_nbt.pc
f1c7ad61 1513%{_pkgconfigdir}/ndr.pc
05913998 1514%{_pkgconfigdir}/ndr_standard.pc
05913998
JR
1515%{_pkgconfigdir}/registry.pc
1516%{_pkgconfigdir}/samba-credentials.pc
1517%{_pkgconfigdir}/samba-hostconfig.pc
1518%{_pkgconfigdir}/samba-policy.pc
1519%{_pkgconfigdir}/samba-util.pc
1520%{_pkgconfigdir}/samdb.pc
9f6f5df1 1521
c083eea8
JR
1522%if %{with ldap}
1523%files -n openldap-schema-samba
29511e6d 1524%defattr(644,root,root,755)
c083eea8
JR
1525%{schemadir}/samba.schema
1526%endif
29511e6d 1527
c083eea8 1528%files -n python-samba4
9f6f5df1 1529%defattr(644,root,root,755)
c083eea8
JR
1530%dir %{py_sitedir}/samba
1531%attr(755,root,root) %{py_sitedir}/samba/*.so
1532%{py_sitedir}/samba/*.py[co]
1533%dir %{py_sitedir}/samba/dcerpc
1534%{py_sitedir}/samba/dcerpc/*.py[co]
1535%attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1536%dir %{py_sitedir}/samba/external
1537%{py_sitedir}/samba/external/*.py[co]
1538%dir %{py_sitedir}/samba/external/subunit
1539%{py_sitedir}/samba/external/subunit/*.py[co]
1540%dir %{py_sitedir}/samba/external/subunit/tests
1541%{py_sitedir}/samba/external/subunit/tests/*.py[co]
1542%dir %{py_sitedir}/samba/netcmd
1543%{py_sitedir}/samba/netcmd/*.py[co]
1544%dir %{py_sitedir}/samba/provision
1545%{py_sitedir}/samba/provision/*.py[co]
1546%dir %{py_sitedir}/samba/tests
1547%{py_sitedir}/samba/tests/*.py[co]
1548%dir %{py_sitedir}/samba/tests/blackbox
1549%{py_sitedir}/samba/tests/blackbox/*.py[co]
1550%dir %{py_sitedir}/samba/tests/samba_tool
1551%{py_sitedir}/samba/tests/samba_tool/*.py[co]
1552%dir %{py_sitedir}/samba/tests/dcerpc
1553%{py_sitedir}/samba/tests/dcerpc/*.py[co]
1554%dir %{py_sitedir}/samba/web_server
1555%{py_sitedir}/samba/web_server/*.py[co]
1556%if %{without system_libs}
1557%attr(755,root,root) %{py_sitedir}/*.so
1558%{py_sitedir}/tevent.py[co]
fd9d8b85 1559%endif
70ff6d03 1560
c083eea8 1561%files -n python-samba3
192f48a8 1562%defattr(644,root,root,755)
c083eea8
JR
1563%dir %{py_sitedir}/samba
1564%dir %{py_sitedir}/samba/samba3
1565%attr(755,root,root) %{py_sitedir}/samba/samba3/*.so
1566%{py_sitedir}/samba/samba3/*.py[co]
b0225e99 1567
c083eea8 1568%files test
d1f5710a 1569%defattr(644,root,root,755)
c083eea8
JR
1570%attr(755,root,root) %{_bindir}/gentest
1571%attr(755,root,root) %{_bindir}/locktest
1572%attr(755,root,root) %{_bindir}/masktest
1573%attr(755,root,root) %{_bindir}/ndrdump
1574%attr(755,root,root) %{_bindir}/smbtorture
1575%attr(755,root,root) %{_libdir}/libtorture.so.*.*.*
1576%attr(755,root,root) %ghost %{_libdir}/libtorture.so.0
1577%attr(755,root,root) %{_libdir}/samba/libsubunit.so
1578%attr(755,root,root) %{_libdir}/samba/libdlz_bind9_for_torture.so
c083eea8
JR
1579%{_mandir}/man1/gentest.1*
1580%{_mandir}/man1/locktest.1*
1581%{_mandir}/man1/masktest.1*
1582%{_mandir}/man1/ndrdump.1*
1583%{_mandir}/man1/smbtorture.1*
d1f5710a 1584
c083eea8 1585%files test-devel
4ecf4d28 1586%defattr(644,root,root,755)
c083eea8
JR
1587%attr(755,root,root) %{_libdir}/libtorture.so
1588%{_includedir}/samba-4.0/torture.h
1589%{_pkgconfigdir}/torture.pc
4ecf4d28 1590
c083eea8
JR
1591%files pidl
1592%defattr(644,root,root,755)
1593%attr(755,root,root) %{_bindir}/pidl
1594%{_mandir}/man1/pidl.1*
1595%{_mandir}/man3/Parse::Pidl*.3*
1596%{perl_vendorlib}/Parse/Pidl*
1597
17937b31 1598%files -n samba3
c083eea8 1599%defattr(644,root,root,755)
0b940f4e 1600%attr(754,root,root) /etc/rc.d/init.d/smb
c083eea8
JR
1601%{systemdunitdir}/nmb.service
1602%{systemdunitdir}/smb.service
c083eea8 1603%attr(755,root,root) %{_bindir}/dbwrap_tool
c083eea8 1604%attr(755,root,root) %{_bindir}/smbcontrol
c083eea8 1605%attr(755,root,root) %{_bindir}/smbpasswd
c083eea8 1606%attr(755,root,root) %{_bindir}/smbstatus
c083eea8 1607%attr(755,root,root) %{_bindir}/smbta-util
450db13e 1608%attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
c083eea8
JR
1609%attr(755,root,root) %{_sbindir}/nmbd
1610%attr(755,root,root) %{_sbindir}/smbd
0b940f4e 1611%attr(755,root,root) %{_libdir}/libnetapi.so.0
0b940f4e 1612%attr(755,root,root) %{_libdir}/libpdb.so.0
0b940f4e
JR
1613%attr(755,root,root) %{_libdir}/libsmbldap.so.0
1614%attr(755,root,root) %{_libdir}/samba/libads.so
1615%attr(755,root,root) %{_libdir}/samba/libauth.so
0b940f4e
JR
1616%attr(755,root,root) %{_libdir}/samba/libcli_spoolss.so
1617%attr(755,root,root) %{_libdir}/samba/libgpo.so
450db13e 1618%attr(755,root,root) %{_libdir}/samba/libidmap.so
0b940f4e
JR
1619%attr(755,root,root) %{_libdir}/samba/liblibcli_netlogon3.so
1620%attr(755,root,root) %{_libdir}/samba/libnet_keytab.so
1621%attr(755,root,root) %{_libdir}/samba/libnss_info.so
1622%attr(755,root,root) %{_libdir}/samba/libpopt_samba3.so
1623%attr(755,root,root) %{_libdir}/samba/libprinting_migrate.so
0b940f4e
JR
1624%attr(755,root,root) %{_libdir}/samba/libsmbd_base.so
1625%attr(755,root,root) %{_libdir}/samba/libsmbd_conn.so
0b940f4e 1626%attr(755,root,root) %{_libdir}/samba/libsmbldaphelper.so
f1c7ad61 1627%attr(755,root,root) %{_libdir}/samba/libsmbsharemodes.so.0
0b940f4e 1628%attr(755,root,root) %{_libdir}/samba/libtrusts_util.so
0b940f4e 1629%attr(755,root,root) %{_libdir}/samba/libxattr_tdb.so
5c9e395f 1630%attr(755,root,root) %{_libdir}/samba/libtdb_compat.so
42039dcb
JR
1631%attr(755,root,root) %{_libdir}/samba/auth/samba4.so
1632%attr(755,root,root) %{_libdir}/samba/auth/unix.so
1633%attr(755,root,root) %{_libdir}/samba/auth/wbc.so
c083eea8 1634%dir %{_libdir}/samba/idmap
c083eea8 1635%attr(755,root,root) %{_libdir}/samba/idmap/ad.so
0b940f4e 1636%attr(755,root,root) %{_libdir}/samba/idmap/autorid.so
c083eea8
JR
1637%attr(755,root,root) %{_libdir}/samba/idmap/hash.so
1638%attr(755,root,root) %{_libdir}/samba/idmap/rid.so
1639%attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so
c083eea8 1640%dir %{_libdir}/samba/vfs
c083eea8
JR
1641%attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so
1642%attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so
1643%attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so
450db13e
JR
1644%attr(755,root,root) %{_libdir}/samba/vfs/aio_linux.so
1645%attr(755,root,root) %{_libdir}/samba/vfs/aio_posix.so
1646%attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so
1647%attr(755,root,root) %{_libdir}/samba/vfs/commit.so
c083eea8
JR
1648%attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so
1649%attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so
1650%attr(755,root,root) %{_libdir}/samba/vfs/fileid.so
1651%attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so
450db13e
JR
1652%attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so
1653%attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so
c083eea8
JR
1654%attr(755,root,root) %{_libdir}/samba/vfs/preopen.so
1655%attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so
1656%attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so
1657%attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so
1658%attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so
1659%attr(755,root,root) %{_libdir}/samba/vfs/syncops.so
1660%attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so
1661%attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so
0b940f4e
JR
1662%dir %{_libdir}/samba/pdb
1663%attr(755,root,root) %{_libdir}/samba/pdb/ldap.so
1664%attr(755,root,root) %{_libdir}/samba/pdb/smbpasswd.so
1665%attr(755,root,root) %{_libdir}/samba/pdb/tdbsam.so
1666%attr(755,root,root) %{_libdir}/samba/pdb/wbc_sam.so
1667%dir %{_libdir}/samba/nss_info
1668%attr(755,root,root) %{_libdir}/samba/nss_info/hash.so
1669%attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so
0b940f4e 1670%attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so
450db13e 1671%attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so
0b940f4e 1672%{_mandir}/man1/dbwrap_tool.1*
0b940f4e 1673%{_mandir}/man1/smbcontrol.1*
0b940f4e 1674%{_mandir}/man1/smbstatus.1*
0b940f4e 1675%{_mandir}/man5/smbpasswd.5*
0b940f4e
JR
1676%{_mandir}/man8/idmap_ad.8*
1677%{_mandir}/man8/idmap_autorid.8*
1678%{_mandir}/man8/idmap_hash.8*
1679%{_mandir}/man8/idmap_ldap.8*
1680%{_mandir}/man8/idmap_nss.8*
1681%{_mandir}/man8/idmap_rid.8*
1682%{_mandir}/man8/idmap_tdb2.8*
1683%{_mandir}/man8/idmap_tdb.8*
0b940f4e 1684%{_mandir}/man8/nmbd.8*
0b940f4e
JR
1685%{_mandir}/man8/smbd.8*
1686%{_mandir}/man8/smbpasswd.8*
1687%{_mandir}/man8/smbta-util.8*
c083eea8
JR
1688%{_mandir}/man8/vfs_acl_tdb.8*
1689%{_mandir}/man8/vfs_acl_xattr.8*
0b940f4e
JR
1690%{_mandir}/man8/vfs_aio_fork.8*
1691%{_mandir}/man8/vfs_aio_linux.8*
1692%{_mandir}/man8/vfs_aio_pthread.8*
450db13e 1693%{_mandir}/man8/vfs_commit.8*
c083eea8
JR
1694%{_mandir}/man8/vfs_crossrename.8*
1695%{_mandir}/man8/vfs_dirsort.8*
1696%{_mandir}/man8/vfs_fileid.8*
0b940f4e 1697%{_mandir}/man8/vfs_media_harmony.8*
c083eea8
JR
1698%{_mandir}/man8/vfs_preopen.8*
1699%{_mandir}/man8/vfs_shadow_copy2.8*
1700%{_mandir}/man8/vfs_smb_traffic_analyzer.8*
c083eea8 1701%{_mandir}/man8/vfs_streams_depot.8*
0b940f4e 1702%{_mandir}/man8/vfs_streams_xattr.8*
c083eea8
JR
1703%{_mandir}/man8/vfs_time_audit.8*
1704%{_mandir}/man8/vfs_xattr_tdb.8*
c083eea8 1705
17937b31 1706%files -n samba3-common
ed426448
JR
1707%defattr(644,root,root,755)
1708%attr(755,root,root) %{_bindir}/eventlogadm
1709%attr(755,root,root) %{_bindir}/ntlm_auth
1710%attr(755,root,root) %{_bindir}/pdbedit
1711%attr(755,root,root) %{_bindir}/profiles
1712%attr(755,root,root) %{_bindir}/smbcquotas
1713%attr(755,root,root) %{_bindir}/testparm
1714%attr(755,root,root) %{_bindir}/vfstest
1715%dir %{_libdir}/samba/auth
1716%attr(755,root,root) %{_libdir}/samba/auth/script.so
1717%{_mandir}/man1/ntlm_auth.1*
1718%{_mandir}/man1/profiles.1*
1719%{_mandir}/man1/smbcquotas.1*
1720%{_mandir}/man1/testparm.1*
1721%{_mandir}/man1/vfstest.1*
1722%{_mandir}/man8/eventlogadm.8*
1723%{_mandir}/man8/pdbedit.8*
1724
17937b31 1725%files -n samba3-client
ed426448
JR
1726%defattr(644,root,root,755)
1727%attr(755,root,root) %{_bindir}/net
1728%attr(755,root,root) %{_bindir}/nmblookup
1729%attr(755,root,root) %{_bindir}/rpcclient
1730%attr(755,root,root) %{_bindir}/sharesec
1731%attr(755,root,root) %{_bindir}/smbcacls
1732%attr(755,root,root) %{_bindir}/smbclient
1733%attr(755,root,root) %{_bindir}/smbtree
1734%{_mandir}/man8/net.8*
1735%{_mandir}/man1/nmblookup.1*
1736%{_mandir}/man1/rpcclient.1*
1737%{_mandir}/man1/sharesec.1*
1738%{_mandir}/man1/smbcacls.1*
1739%{_mandir}/man1/smbclient.1*
1740%{_mandir}/man1/smbtree.1*
1741
f1c7ad61
JR
1742%files -n samba3-devel
1743%defattr(644,root,root,755)
450db13e
JR
1744%attr(755,root,root) %{_libdir}/libnetapi.so
1745%attr(755,root,root) %{_libdir}/libpdb.so
1746%attr(755,root,root) %{_libdir}/libsmbldap.so
f1c7ad61
JR
1747%{_includedir}/samba-4.0/netapi.h
1748%{_includedir}/samba-4.0/smbconf.h
1749%{_includedir}/samba-4.0/smb_share_modes.h
1750%{_includedir}/samba-4.0/machine_sid.h
1751%{_includedir}/samba-4.0/lookup_sid.h
1752%{_includedir}/samba-4.0/passdb.h
1753%{_includedir}/samba-4.0/smb_ldap.h
1754%{_includedir}/samba-4.0/smbldap.h
1755%{_pkgconfigdir}/netapi.pc
1756
c083eea8
JR
1757%files -n samba3-vfs-audit
1758%defattr(644,root,root,755)
1759%attr(755,root,root) %{_libdir}/samba/vfs/audit.so
1760%attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so
1761%attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so
1762%{_mandir}/man8/vfs_audit.8*
1763%{_mandir}/man8/vfs_extd_audit.8*
1764%{_mandir}/man8/vfs_full_audit.8*
1765
1766%files -n samba3-vfs-cap
1767%defattr(644,root,root,755)
1768%attr(755,root,root) %{_libdir}/samba/vfs/cap.so
1769%{_mandir}/man8/vfs_cap.8*
1770
1771%files -n samba3-vfs-default_quota
d1f5710a 1772%defattr(644,root,root,755)
2e711b12 1773%attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so
4d8c5e20 1774%{_mandir}/man8/vfs_default_quota.8*
d1f5710a 1775
c083eea8 1776%files -n samba3-vfs-expand_msdfs
d1f5710a 1777%defattr(644,root,root,755)
2e711b12 1778%attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so
d1f5710a 1779
c083eea8 1780%files -n samba3-vfs-fake_perms
d1f5710a 1781%defattr(644,root,root,755)
2e711b12 1782%attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so
4d8c5e20 1783%{_mandir}/man8/vfs_fake_perms.8*
d1f5710a 1784
450db13e
JR
1785%files -n samba3-vfs-notify_fam
1786%defattr(644,root,root,755)
1787%attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so
1788%{_mandir}/man8/vfs_notify_fam.8*
8ba454ef 1789
c083eea8 1790%files -n samba3-vfs-netatalk
d1f5710a 1791%defattr(644,root,root,755)
2e711b12 1792%attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so
4d8c5e20
JB
1793%{_mandir}/man8/vfs_netatalk.8*
1794
c083eea8 1795%files -n samba3-vfs-readahead
4d8c5e20 1796%defattr(644,root,root,755)
2e711b12 1797%attr(755,root,root) %{_libdir}/samba/vfs/readahead.so
4d8c5e20 1798%{_mandir}/man8/vfs_readahead.8*
d1f5710a 1799
c083eea8 1800%files -n samba3-vfs-readonly
97334e11 1801%defattr(644,root,root,755)
2e711b12 1802%attr(755,root,root) %{_libdir}/samba/vfs/readonly.so
4d8c5e20 1803%{_mandir}/man8/vfs_readonly.8*
97334e11 1804
c083eea8 1805%files -n samba3-vfs-recycle
97334e11 1806%defattr(644,root,root,755)
2e711b12 1807%attr(755,root,root) %{_libdir}/samba/vfs/recycle.so
4d8c5e20 1808%{_mandir}/man8/vfs_recycle.8*
97334e11 1809
c083eea8 1810%files -n samba3-vfs-shadow_copy
2e711b12
JR
1811%defattr(644,root,root,755)
1812%attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so
1813%{_mandir}/man8/vfs_shadow_copy.8*
1814
c083eea8 1815%files -n samba3-vfs-catia
2e711b12
JR
1816%defattr(644,root,root,755)
1817%attr(755,root,root) %{_libdir}/samba/vfs/catia.so
1818%{_mandir}/man8/vfs_catia.8*
1819
c083eea8 1820%files -n samba3-vfs-scannedonly
d718c2e1 1821%defattr(644,root,root,755)
2e711b12 1822%attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so
d718c2e1
AF
1823%{_mandir}/man8/vfs_scannedonly.8*
1824
c083eea8 1825%files -n samba3-smbget
4ecf4d28 1826%defattr(644,root,root,755)
c083eea8
JR
1827%attr(755,root,root) %{_bindir}/smbget
1828%{_mandir}/man1/smbget.1*
1829%{_mandir}/man5/smbgetrc.5*
4ecf4d28 1830
c083eea8
JR
1831%if %{with cups}
1832%files -n cups-backend-samba3-smb
99795f36 1833%defattr(644,root,root,755)
c083eea8
JR
1834%attr(755,root,root) %{cups_serverbin}/backend/smb
1835%attr(755,root,root) %{_bindir}/smbspool
1836%{_mandir}/man8/smbspool.8*
105507bc 1837%endif
8d59ae13 1838
c083eea8 1839%files -n samba3-swat
1a8c003b 1840%defattr(644,root,root,755)
c083eea8
JR
1841#%doc swat/README* swat/help/*
1842%doc swat/help/*
1843%attr(755,root,root) %{_sbindir}/swat
1844%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1845%dir %{_datadir}/samba/swat
1846%{_datadir}/samba/swat/help
1847%{_datadir}/samba/swat/images
1848%{_datadir}/samba/swat/include
1849%dir %{_datadir}/samba/swat/lang
1850%lang(ja) %{_datadir}/samba/swat/lang/ja
450db13e 1851%lang(ru) %{_datadir}/samba/swat/lang/ru
c083eea8
JR
1852%lang(tr) %{_datadir}/samba/swat/lang/tr
1853%{_mandir}/man8/swat.8*
1854%lang(de) %{_datadir}/samba/codepages/de.msg
1855%{_datadir}/samba/codepages/en.msg
1856%lang(fi) %{_datadir}/samba/codepages/fi.msg
1857%lang(fr) %{_datadir}/samba/codepages/fr.msg
1858%lang(it) %{_datadir}/samba/codepages/it.msg
1859%lang(ja) %{_datadir}/samba/codepages/ja.msg
1860%lang(nl) %{_datadir}/samba/codepages/nl.msg
1861%lang(pl) %{_datadir}/samba/codepages/pl.msg
1862%lang(ru) %{_datadir}/samba/codepages/ru*
1863%lang(tr) %{_datadir}/samba/codepages/tr.msg
6646cd44 1864
c083eea8 1865%files todo
6646cd44 1866%defattr(644,root,root,755)
c083eea8 1867%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
c083eea8
JR
1868%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1869%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1870%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1871%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
c083eea8
JR
1872
1873%dir %{_sambahome}
1874%dir /var/lib/samba
1875%ghost /var/lib/samba/*.dat
1876%dir /var/lib/samba/printing
1877
1878%attr(750,root,root) %dir /var/log/samba
1879%attr(750,root,root) %dir /var/log/samba/cores
1880%attr(750,root,root) %dir /var/log/samba/cores/smbd
1881%attr(750,root,root) %dir /var/log/samba/cores/nmbd
1882%attr(750,root,root) %dir /var/log/archive/samba
1883%attr(1777,root,root) %dir /var/spool/samba
1884%if %{with ldap}
1885%doc examples/LDAP
1886%endif
This page took 0.588938 seconds and 4 git commands to generate.